item_adrenaline

item_adrenaline #

Adrenaline canister/syringe is a pickable item that is used automatically to revive the player in 3 seconds after his death.

Adrenaline can’t revive the player if he drowned, died from the fall damage or was gibbed.

When item_adrenaline is picked up the suit doesn’t play any sentence by default. This can be configured via the entity templates.

When item_adrenaline is getting used the suit plays the !HEV_HEAL9 sentence. This sentence is not defined in Half-Life sentences.txt. We recommend adding this line after the HEV_HEAL8:

HEV_HEAL9 fvox/(p140) boop, boop, boop, (p100) hiss, adrenaline_shot
  • If item_adrenaline is defined in hud.txt it will be used to show in pickup history.
  • If item_adrenaline is defined in hud.txt the sprite and the current count will be shown in HUD, among player inventory items.

Soundscripts #

Entity template examples #

{
    "item_adrenaline": {
        "pickup": {
            "suit_sentence": "!HEV_ADRENALINE"
        }
    }
}

Possible sentences.txt entry:

HEV_ADRENALINE fvox/blip blip blip, (p103) adrenaline_shot(e50)(v80) (p100) acquired