respawn = 3; //or BASE respawnDelay = 15; respawnTemplates[] = {"Revive", "MenuPosition"}; //adds the in-game build template for it respawnOnStart = -1; reviveDelay = 5; reviveForceRespawnDelay = 3; //in seconds reviveBleedOutDelay = 120; //in seconds;
reviveDelay — The time it takes to revive an incapacitated unit (default: 6 seconds). Having a Medikit will halve this time.
reviveForceRespawnDelay — The time it takes for an incapacitated unit to force their respawn (default: 3 seconds).
reviveBleedOutDelay — The time it takes for a unit to bleed out (default: 2 minutes).
Старая версия поддерживается, есть новая версия:
respawn = 3; //or BASE respawnDelay = 15; respawnTemplates[] = {"MenuPosition"}; //adds the in-game build template for it respawnOnStart = -1; reviveMode = 1; //0: disabled, 1: enabled, 2: controlled by player attributes reviveUnconsciousStateMode = 2; //0: basic, 1: advanced, 2: realistic reviveRequiredTrait = 0; //0: none, 1: medic trait is required reviveRequiredItems = 2; //0: none, 1: medkit, 2: medkit or first aid kit reviveRequiredItemsFakConsumed = 0; //0: first aid kit is not consumed upon revive, 1: first aid kit is consumed reviveDelay = 10; //time needed to revive someone (in secs) reviveMedicSpeedMultiplier = 3; //speed multiplier for revive performed by medic reviveForceRespawnDelay = 10; //time needed to perform force respawn (in secs) reviveBleedOutDelay = 600; //unconscious state duration (in secs)
Обсудить этот метод можно в нашем Discord канале