Blockland Forums > Modification Help

Vehicle HP bar

Pages: << < (3/7) > >>

DrenDran:

Okay, I finished it:
http://www.gamefront.com/files/20011564/server_vehiclehealthbar.zip

Remember that it more or less assumes everyone will be using the nojet player type, as any time you exit a vehicle you will become a nojet player type.
Other than that, if there are any problems, tell me.

Jorgur:

Thanks, I'll do some testing tonight.

DrenDran:

I will be making a new version where the datablock you are changed to when you dismount to be the datablock you were when you mounted, rather than just 'nojet', and I will post it to rtb.

Jorgur:

I tested it now, and seems to work, except it shows incorrect values on the vehicle health bar. On Jeep and Biplane (200-300 HP) the bar is to low, while on Magic Carpet (40 HP), the bar is higher than it should be.

DrenDran:


--- Quote from: Jorgur on February 16, 2011, 04:05:58 PM ---I tested it now, and seems to work, except it shows incorrect values on the vehicle health bar. On Jeep and Biplane (200-300 HP) the bar is to low, while on Magic Carpet (40 HP), the bar is higher than it should be.

--- End quote ---
Oh stuff, I just assumed all vehicles had 100 max hp.
Well, I guess I can make a new algorithm to fix that.
When are you going to hosting your server with this? (after I fix)

Pages: << < (3/7) > >>

Go to full version