Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
is there a way to edit the "white" armor (not the green bonus armor) of a unit ingame?
these ways wont work for me:
- changing agility amount
- using upgrades (unless theres a way to downgrade again)
The upgrade can be downgrade through trigger.
But I must clarify something: Why do u need to change the base armor? Is it because of the ability or because changing the unit?
yeah, I used to think that you can set upgrades below its current level too... but apparently, you cannot... one of the tons of peculiar things in the wc3 engine...
Oh wait. May be there is a solution. Can we use passive transformation to solve this problem? Like 1 unit with base armor is 2 and the alternate unit with base armor is the number he likes. Create the trigger that when the Hero pick it, he will transform into the alternate unit. Is it ok?
well, he will need tons of passive transformations for that... 1 per base-unit-type per armor value... so if he has 10 armor values, then he will need 10 abilities, but then if he has 10 different unit-types too, then he will need 100 abilities in total... and that is just for a 10x10 matrix... and of course 1 unit-type per base-unit-type per armor value too... so that will be a total of 200 object data generated just for 10 different base unit-types with 10 different armor values...
example:
I have two base unit types, Hero1,Hero2
now I want to have 5 different armor values
so first I'd create 5 versions of Hero1 and Hero2 [Hero1a,Hero1b,Hero1c, and so on]
then I'd create the transformations spells using the tutorial on passive transformations, so that will be one ability per hero version
(but maybe we can remove the one for the base Hero, so it will just be Hero1b,Hero1c,Hero1d and so on)
so the actual amount of object data will be numberOfArmorValues*numberOfBaseHero*2 - numberOfBaseHero
replacing units via triggers can eleminate the need for abilities, but it can cause problems in the map because he maybe using data that is tied to the unit and so changing units via triggers will erase those data... not to say that it will disrupt orders, remove buffs currently on the unit etc...
basically, it has a bit more downside than a goodside (if there is actually any goodside to doing the whole white armor thingy)...
I think its bearable if there are only a few armor values, but since he wants to do it using items, then it will possibly require a really huge amount of object data just to create the base requirement of that system...
There are some bugs with passively morphing units, one being that bonus armor is converted to white base armor with a formula. You can transform the unit into itself.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.