Author Topic: Health bar above players  (Read 1006 times)

I was wondering if there was a mod or something that put a health bar above all the players' heads.
It would be much like the HUD version but above every player's head.

If I remember correctly, Blockland Alpha and Tribes 2 had a feature where it would show a person's health when you're aimed at them. Pretty sure that's an engine thing, though. As for one above player heads, there's no good way to do it via modding.

You could have two overlapping static shapes, one with negative scale to make an outline, and one on the inside to show how much health the player has. Would have to use spheres otherwise you wouldn't be able to tell how much health they have from certain angles.

You could have two overlapping static shapes, one with negative scale to make an outline, and one on the inside to show how much health the player has. Would have to use spheres otherwise you wouldn't be able to tell how much health they have from certain angles.
What if they were done somewhat like player names, if that's possible?

What if they were done somewhat like player names, if that's possible?
Can't.

Static billboard texture maybe? Sliding through the different images depending on how much health they have?

Static billboard texture maybe? Sliding through the different images depending on how much health they have?
I suppose that could work. Would be best to have 10% increments probably.


I suppose that could work. Would be best to have 10% increments probably.
5% would probably look smoother.


And so would 2.5%
0.5%  :cookieMonster:


i think a single rectangular StaticShape above the player that gets smaller one on axis and is centred at a single point would look better than a 'health bar' sort of thing.

as an example, see Cube World.

5% would probably look smoother.
And so would 2.5%
0.5%
Hope you know that using this method is 3 datablocks for each different increment.
Having 10 increments is 33 datablocks itself. (11x3)

i think a single rectangular StaticShape above the player that gets smaller one on axis and is centred at a single point would look better than a 'health bar' sort of thing.

as an example, see Cube World.
Problem is that players wont be able to know the health of someone at certain angles, unless you use a cube or sphere that gets smaller on all axis.

Why would you even use datablocks :V

Why would you even use datablocks :V

Particle, emitter and weapon image? You can't magically display something above a player unless you're doing it client-sided via a GUI.

Particle, emitter and weapon image?
Mhmm, aside from the whole cube/sphere static shape option, there really isn't much else you can do really.