Skip to content

Medical, death & corpses

All in bs_medical/config/config_medical.lua.

With catchAllDeaths = true almost any lethal damage puts you down instead of dead: zombies, players, melee, vehicles. Except:

hardDeathOnExplosion = true,
hardDeathOnDrown = true,
hardDeathFallHeight = 15.0, -- metres

While down (Medical.Settings):

KeyDefault
bleedoutTime300seconds before you bleed out
catchHealth125health at which you go down
stabiliseItem / stabiliseBonusbandage / 90a bandage adds 90 s
reviveItem / reviveTime / reviveHealthmedkit / 12000 ms / 30someone else picks you up
shoutNoise45shouting for help (E) makes noise, zombies hear it too

Keys while down: E shout, G bandage, H call for help (pings players in 250 m, Medical.Help), R self-revive with a medkit (Medical.SelfRevive), hold X give up.

Other players can carry you (Medical.Carry). In PvP Medical.PvP.downFirst = true means players go down first too, and allowExecution = false means they can’t finish you.

The downed state is the bsDowned statebag on the player, other resources read it (party HUD, roster).

wipeOnDeath = true,
respawnHealth = 120,
respawnHunger = 45.0,
respawnThirst = 45.0,

With wipeOnDeath your whole inventory moves into your body, left where you fell (see below). Anyone can loot it, you included if you get back in time. Infection survives death, that’s the point of it.

Where you wake up: respawnPoints (Sandy Shores and Pillbox medical by default), the random spot logic in Medical.Respawn (500 to 1000 m away, avoiding avoidZones), or a respawn piece you built and claimed with bs_building.

Medical.Corpse: your body stays in the world and can be searched.

lifetime = 3600, -- hard cap, seconds
emptyGrace = 20, -- looted-out body goes after this
searchDistance = 2.5,
searchTime = 3500,
blip = true, -- only you see it

The body is a server-created copy of your ped with a container on it. It goes when it’s looted out (after emptyGrace) or when lifetime passes. Zombies feed on bodies and they rot (rotPerBite, biteInterval).