hl2_gamerules is a point entity available in (HL2) Half-Life 2 with any version of Mapbase.

Proxy entity for HL2 Gamerules



KeyValues

- Default Citizen Type (DefaultCitizenType) <choices>
Overrides the default citizen type.
- Player Squad Autosummon Allowed (SetPlayerSquadAutosummon) <choices>
Sets whether citizens are allowed to automatically follow the player again when they're at a command point and left alone for a while.
- Legacy Flashlight (SetLegacyFlashlight) <choices>
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.
- Stunstick Pickup Behavior (SetStunstickPickupBehavior) <choices>
Controls how stunsticks should react to being touched by the player.
- Allow SP respawn (SetAllowSPRespawn) <choices>
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.

Inputs

- DefaultCitizenType <integer>
Sets the default citizen type.
- SetPlayerSquadAutosummon <bool>
Sets player squad autosummon.
- SetLegacyFlashlight <bool>
Sets legacy flashlight.
- SetStunstickPickupBehavior <bool>
Sets stunstick pickup behavior.
- SetAllowSPRespawn <bool>
Sets SP respawning.