From 232913bf99597e9effe53066c4a252324cdcebd1 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Fri, 14 Aug 2020 13:25:16 -0500 Subject: [PATCH] Added SP respawning to hl2_gamerules --- halflife2.fgd | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/halflife2.fgd b/halflife2.fgd index fc5f623..258585a 100644 --- a/halflife2.fgd +++ b/halflife2.fgd @@ -3654,7 +3654,7 @@ 1 : "Yes" ] - SetLegacyFlashlight(choices) : "Legacy Flashlight" : : "Sets whether the EP2 flashlight or the original flashlight from HL2 and Episode One should be used. 'No' means use the EP2 version, 'Yes' means use the original flashlight, and 'Default' doesn't change anything. This is pretty much only relevant to the Episodic version." = + SetLegacyFlashlight(choices) : "Legacy Flashlight" : : "Sets whether the EP2 flashlight or the original flashlight from HL2 and Episode One should be used. 'No' means use the EP2 version, 'Yes' means use the original flashlight, and 'Default' doesn't change anything." = [ "" : "Default" 0 : "No" @@ -3668,6 +3668,12 @@ 2 : "Don't apply energy and don't allow pickup" 3 : "Allow pickup, but never apply energy" ] + + SetAllowSPRespawn(choices) : "Allow SP respawn" : 0 : "Allows players to respawn in singleplayer instead of being forced to reload the last save upon dying. Use OnPlayerSpawn in logic_playerproxy to fire an output each time the player respawns." = + [ + 0 : "No" + 1 : "Yes" + ] //input EpisodicOn(void) : "Turns on Episodic mode." //input EpisodicOff(void) : "Turns off Episodic mode." @@ -3676,6 +3682,7 @@ input SetPlayerSquadAutosummon(bool) : "Sets player squad autosummon." input SetLegacyFlashlight(bool) : "Sets legacy flashlight." input SetStunstickPickupBehavior(bool) : "Sets stunstick pickup behavior." + input SetAllowSPRespawn(bool) : "Sets SP respawning." ] @PointClass base(EnvGlobal) iconsprite("editor/env_global.vmt") = env_global :