IceReaper / OpenKrush

A KKnD and KKnD2 mod on OpenRA engine.
https://kknd-game.com
GNU General Public License v3.0
99 stars 6 forks source link

HP bar #67

Open Dzierzan opened 4 years ago

Dzierzan commented 4 years ago

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.

IceReaper commented 4 years ago

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

GraionDilach commented 4 years ago

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?

IceReaper commented 4 years ago

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.