Lifebar drain speed?

afhc2x17

Active member
Hi, here I am with another noob question, sorry...

It's possible to increase, decrease, or otherwise alter the speed of the lifebar when it changes by damage/recovery? (i.e.: in SoR the change is instant, but some games decrease it progressively) Thanks to all the people who help this noob u_u
 
You can always craft your own lifebar from scratch and then have perfect control, but that's probably more than you want to do.

The lifebar "speed" as it were is tied directly to engine speed, so no, you can't control it directly. What you can do in the latest versions (not released but coming soon) is access the hp_old and mp_old entity properties. In actuality, those are the values that determine what the lifebars and mpbars show.

The way it works is whenever mp_old or hp_old are different from the actual value, the engine increments them by one on every update cycle until they match hp or mp respectively again. So by manipulating the values of those properties, you could effectively speed up or slow down the process.

DC
 
Back
Top Bottom