• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

editing the base ("white") armor ingame

Status
Not open for further replies.
Level 7
Joined
Jan 30, 2011
Messages
267
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)
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
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?
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
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)...
 
Status
Not open for further replies.
Top