Page 1 of 1

Shields and two health types.

Posted: Tue Feb 13, 2007 4:07 am
by Odysseus55
Is adding a shield the only way to give a unit two health types?

Here is what I am trying to do: I wanted to make the armor on the empire troopers actually do something. so I have added a shield that recharges equal to the damage reduction, problem is I do not want them to show up as shielded and I do not want the shield effect when they are hit.
any ideas?

RE: Shields and two health types.

Posted: Tue Feb 13, 2007 2:53 pm
by SymbolS
You could just give the trooper more health :)

Posted: Tue Feb 13, 2007 4:26 pm
by Odysseus55
yeah I wanted to add a deeper aspect to it...but that does work in some cases. Thanks anyway

Posted: Tue Feb 13, 2007 4:29 pm
by Tuskenjedi
the shield effect is in the weapon ordinance file. "Impacteffectshield" or something. For the name problem I think you could rename the "shield" tag in localize text to something like outer armor.

Posted: Wed Feb 14, 2007 9:05 pm
by [RDH]Zerted
If you've added shields to non-shielded units, your map is going to crash in MP.

I forget exactly how to fix it. It has something to do with setting the class to have a shield value of vero when the server is starting up.

Checkout the Holocron game mode code (and its demo map's Lua) for the fix. Its in there somewhere.
http://75.75.101.193:81/~zerted/swbf2/f ... me%20Mode/