Added SP respawning to hl2_gamerules

This commit is contained in:
Blixibon 2020-08-14 13:25:16 -05:00
parent b426a12ce9
commit 232913bf99

View File

@ -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 :