If you are taking about making them have more or fewer little green squares (in the way that the siege tank has like 12 and the zergling has 3 or 4) I know there's a way. Under the Actor tab, it's UI: Bar Width. Note that each unit doesn't equal one little health "square" so it will take some tinkering.
Also, making this value zero is also a good way, I find, to disguise the health bars of doors to make them seem more like pieces of the environment.
Hmm if you're talking about making it so a unit gets a powerup then suddenly has more HP boxes or something like that, the easiest way would be to just create a duplicate actor that has that a different value for UI: Bar Width and do the old switcheroo mid-game.
Is there a way to make HP bars smaller?
@jcraigk: Go
yes... data > unit actors
@jcraigk: Go
If you are taking about making them have more or fewer little green squares (in the way that the siege tank has like 12 and the zergling has 3 or 4) I know there's a way. Under the Actor tab, it's UI: Bar Width. Note that each unit doesn't equal one little health "square" so it will take some tinkering.
Also, making this value zero is also a good way, I find, to disguise the health bars of doors to make them seem more like pieces of the environment.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Thanks guys. Any way to change this during runtime instead of making permanent Data changes?
@jcraigk: Go
Hmm if you're talking about making it so a unit gets a powerup then suddenly has more HP boxes or something like that, the easiest way would be to just create a duplicate actor that has that a different value for UI: Bar Width and do the old switcheroo mid-game.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@Bilxor: Go
Okay I'll look into that...what trigger function would I use to make the switch on a given unit (or across all units)? Thanks!
Send actor a message via triggers to replace actor x with actor y
@sigmapl: Go
I've used that before to replace the Actor of a Unit, but how do I specifically get at the HP bar actor of a unit?