i did not find anything about that health which is displayed if you are near a truck…
that healt icon is what i need
health icon
Hmm, if your truck can be hurt, has a health value and a name to be displayed… it should have a health meter. I advise you recheck that you have everything needed.
i do not need it for my truck but for a script_mover so it is the same… it is a not-moving script_mover entity with a health key…
what a name should it have ???
I haven’t ever checked the tank stuff inside the W:ET source, but I would say you have to check the ET source and search for the function ‘G_CheckForCursorHints’(or something simular) in game/g_main.c
i also never used a tank/truck prefab…
‘G_CheckForCursorHints’(or something simular) wasnt found by me.
the health meter needs:
script_mover entity
health set(either in the entity or via script)
name… i think it was key:description
resurrectable spawnflag(?)
these 3/4 things will surely give you a health meter
thank you.
needed things: solid and allied/axis spawnflag and a description key.
A related tip:
If the invulnerable flag is on, it won’t show an icon on the minimap.