Discussion Obtaining 'Hidden' Stats.

13lade619

is now a game developer :)
Reaction score
398
you probably noticed that there is no direct way to interact with some of the stats in the game.

what i'm most interested in is getting / using some of these hidden values in calculations if possible.

i.e.

Can you calculate you're heroes Base Damage (+bonus from damage items / damage by main attribute) without getting into combat?

Is there a way to retrieve the hero/unit's Armor stat?
another thing is Magic Resistance

and another thing is Magic Resistance, is there any way of recording it and increasing or decreasing the value?

i maybe open to ideas concerning storing all data into arrays/hash.
since i'm restarting my map and i'll redo some coding.
 

Tom_Kazansky

--- wraith it ! ---
Reaction score
157
my way is: triggers (almost) everything, data are stored in struct, each unit has a struct attached to it.

these data can be changed via code (well, of course), some of them can't be changed physically, I mean changes can be seen in the info panel. (base attack damage, base armor,... )

but you must do some initialization for these data

anyways, give me your email, I will send you my map, I can't work on it right now but I think it's gonna be, somehow, useful for you :)
 

Laiev

Hey Listen!!
Reaction score
188
well, my 'way' is using Damage System by Jesus4Lyf and Armor Utils by Rising_Dusk

Calculate every damage in your map, and when you need to block some damage, use the block function, also you can save every data in some integer value and done.

For the armor just use to return the armor of that unit
 

13lade619

is now a game developer :)
Reaction score
398
these data can be changed via code (well, of course), some of them can't be changed physically, I mean changes can be seen in the info panel. (base attack damage, base armor,... )
what about if the unit gains some buffs / items?
change the value 'manually' in the code?..

Calculate every damage in your map, and when you need to block some damage, use the block function, also you can save every data in some integer value and done.

that calculates the damage upon hitting/combat.. so what if you proc some effects?..
what i mean is to calculate the current base damage in then use that value in some way.

i guess every system has its limits then.

i'll try out the ArmorUtils..
 

Tom_Kazansky

--- wraith it ! ---
Reaction score
157
what about if the unit gains some buffs / items?
change the value 'manually' in the code?..

buffs and items are triggered too
in my map, you will see buffs do nothing but show effects and items have no passive abilties, only active items have active abilities which do nothing also
---
with "my way", you can calculate the damage/armor whenever you want because the data have been attached to the units
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
Simple solution: take control of everything. Leave nothing to native WarCraft III.
 

Viikuna

No Marlo no game.
Reaction score
265
Use one of these:


-GMSI
-Widgetizer + [lJASS]//!loaddata[/lJASS]
-That one ObjectData tool those guys in wc3c.net are developing


Also using system like UnitProperties for bonus attributes is a good idea, because it allows you to know for example units attack cooldown for things like dynamic evasion and such. With one of above methods you can easily set initial values for all property stucts.

Simple solution: take control of everything. Leave nothing to native WarCraft III.

This is true. Generally you should trigger all you can and use as little normal wc3 stuff as possible. ( Something what Tides of Blood team thaught me. Those guys even trigger normal ranged attacks to make stuff like Blueshift possible )

It is the only real solution, really.




edit. People rarely realize how much is actually possible to do in wc3.

How many of you think that its impossible to make an ability that incereases Heros attack range for a duration?

Well its not. Its just that only crazy guys like Cassiel and Kaz and Tirion and others are ready to go through all the trouble to make it possible.
 

13lade619

is now a game developer :)
Reaction score
398
Also using system like UnitProperties for bonus attributes is a good idea, because it allows you to know for example units attack cooldown for things like dynamic evasion and such. With one of above methods you can easily set initial values for all property stucts.

every stat i recorded in the struct have 3 values: (Stat)Base, (Stat)ItemBonus and (Stat)AbilityBonus. so i can get/increase the separate values and get the total too.

People rarely realize how much is actually possible to do in wc3.
yes.. and i am trying to do more of those stuff.. wanna help with the project? :).


Blueshift
dude.. that was imba.. (like the mothership from SC2).
it's like EVERY trigger in the game is linked to that one ability.
 

ertaboy356b

Old School Gamer
Reaction score
86
How many of you think that its impossible to make an ability that incereases Heros attack range for a duration?

I made something like this a while back.. I made it using Upgrades though..
 

Tom_Kazansky

--- wraith it ! ---
Reaction score
157
Well its not. Its just that only crazy guys like Cassiel and Kaz and Tirion and others are ready to go through all the trouble to make it possible.

wow, I just think that's things involving upgrades are impossible, can you give me a link :D or just some hint for this ?

I only thing of a way of using Chaos ability :) but it's not safe :(
---
btw, that Blueshift is really amazing, have they got any "fps drop" due to triggering the projectiles like that ?
 

13lade619

is now a game developer :)
Reaction score
398
btw, that Blueshift is really amazing, have they got any "fps drop" due to triggering the projectiles like that ?

i dont think that it's that complicated though.

every projectile has a set value for speed.
that value just gets changed when they enter the Blueshift range..
the logic is simple but VERY hard to implement.
 

Kenny

Back for now.
Reaction score
202
I actually have a working version of Blueshift that I want to implement in a map if I ever get around to it.

It was actually really easy to make.

Projectile system + Damage detection + a few object editor changes = Blueshift.
 

Viikuna

No Marlo no game.
Reaction score
265
Chaos indeed has some problems, but in controlled envinronment ( All bonuses triggered with UnitProperties, all buffs done with buff system, etc. ) it becomes quite safe way to do cool stuff.


Anyways, here is a link to that gsl script which does pretty muchly the thing you wanna do.

edit. Fuck me. That shit has been updated and its cooler than I remembered.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top