HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Armor Type

04-11-2009, 06:03 AM#1
Feroc1ty
Is there a way to change he units armor type through triggers, and be able to undo it?
04-11-2009, 11:07 AM#2
Anitarf
Morphing the unit to another unit is the only way as far as I know.

Well, there's also the ancient's root ability, that can change armour, but that likely doesn't help you.
04-11-2009, 06:42 PM#3
Feroc1ty
Quote:
Originally Posted by Anitarf
Morphing the unit to another unit is the only way as far as I know.

Well, there's also the ancient's root ability, that can change armour, but that likely doesn't help you.

I wouldn't want to change the unit type, because I'll be having around 5 different armor types, and than around 10 weapon types, that would make me create 50 different unit types per race, and I'm thinking of having 3-4 races.

But I'll see what I can do with that ancients roots ability.

Meh, thought I could somehow change how the root/unroot works, but it completely fucks up the movement type/speed, so I can't really use that.
04-11-2009, 08:37 PM#4
holyadvocate
Using upgrades could work...

order a hidden building to research the required upgrade...?
04-11-2009, 11:36 PM#5
Feroc1ty
Quote:
and be able to undo it?

You can't undo upgrades.
04-12-2009, 01:24 AM#6
Feroc1ty
Hmmm... Interesting, but that would mean the people would have limited armor switches, but I guess no one would drop/pick up armor items over 900 times, if lets say I created 900 levels of each upgrade...

I've never dealt with upgrades before, how would I create an upgrade that changes the armor type? Which upgrade would I base it off of, because I can only find upgrades that increase the armor value, not change the type.

Nevermind, I'm dumb, you simply change the effect :P, will give feedback on how this goes.

Well... I tried it, when the unit is without upgrades it's fine, and if the armor type upgrade goes to same type of armor it's fine, but when I upgrade it, the armor type icon disappears from the unit, the armor type changes, the text becomes gray and gets stuck at that. Attached an image...
Attached Images
File type: jpgfucked up armor types.JPG (18.3 KB)
04-12-2009, 01:36 AM#7
Tom_Kazansky
I have encountered a bug in Armor-Type upgrades:
My unit has an armor-type upgrade, after I increase the upgrade level, its armor type changes <- yeah, alright !
But when I add/remove a disabled SpellBook to this unit, its armor-type changes again (to another type)
And I try level up the above armor-type upgrade, the armor-type of that unit does not change.
04-12-2009, 12:48 PM#8
Anitarf
It seems to me that you're trying to do something that can't really be done easily in WC3.

You could of course always trigger all the bonus damage and everything but you won't get different armour and weapon types to display on the UI.
04-12-2009, 09:11 PM#9
Feroc1ty
Quote:
Originally Posted by Anitarf
It seems to me that you're trying to do something that can't really be done easily in WC3.

You could of course always trigger all the bonus damage and everything but you won't get different armour and weapon types to display on the UI.

All people care about these days are cosmetics, they don't care how it's done behind the closed doors.
04-13-2009, 01:55 AM#10
Feroc1ty
Quote:
Originally Posted by Litany
Then use Chaos. You'll need an extra copy of the unit and a Chaos ability for each armor type you want it to be able to have. Generation of this object data could be automated with a LUA script.

And have ~100 units for each race?
04-13-2009, 02:55 AM#11
Feroc1ty
Quote:
Originally Posted by Litany
Yes. As long as the data is in SLKs there's no difference in loading time. You'll want to write a script to automate generation of the data in the first place though.

Never dealt with SLK's, are there any tutorials?
04-13-2009, 03:22 AM#12
Magissia
Just f*** up some creep unit that you won't use to make you'r unit
04-13-2009, 05:32 AM#13
Feroc1ty
Quote:
Originally Posted by Magissia
Just f*** up some creep unit that you won't use to make you'r unit

Could you type that in English?