OpenKrush icon indicating copy to clipboard operation
OpenKrush copied to clipboard

HP bar

Open Dzierzan opened this issue 4 years ago • 3 comments

As soon as an actor takes damage, HP bar changes its color from green to yellow. In the original KKND1, an actor can withstand a bit more before the bar changes its color.

Dzierzan avatar Jun 07 '20 18:06 Dzierzan

Its tied to OpenRA's damage state. Needs a custom damage state to work as desired.

IceReaper avatar Jun 08 '20 21:06 IceReaper

I haven't looked deeply into what got exposed with the isometric selection bar additions but couldn't those overrides be used to override the color for a damagestate?

GraionDilach avatar Jun 09 '20 07:06 GraionDilach

Hm.. possible, but i was thinking on simply measuring the percent in the original game when specific colors appear, and then manualy calculate the color in the healthbar.

IceReaper avatar Jun 09 '20 07:06 IceReaper