health (GIB_HEALTH, FORCE_LIMBO_HEALTH etc.)


(nUllSkillZ) #1

Some questions about health.
I’ve found (game/bg_public.h ~line 37):


#define FORCE_LIMBO_HEALTH	-75 // JPW NERVE
#define	GIB_HEALTH			-175 // JPW NERVE

Just to make sure:

  • [li]if health <= 0 and > -75
    [/li]you are wounded and waiting for medic = revivable
    [li]if health <= -75 and > -175
    [/li]you are in limbo / corpse is visible and vanishing after some time = not revivable anymore
    [li]if health <= -175
    [/li]you’re directly in limbo / no corpse

(kamikazee) #2

I should check it, but based on intuition I say “yes”.

I have seen functions using those values to see if players get gibbed or not.


(Chruker) #3

nUllSkillZ > looks like you’re correct.

Funny though, that gibs in the game is when you make sure a body can’t be revived, but in the source code a gib is to make no corpse.


(Shanks) #4

To top it all off there’s not even any gibs! How strange!