diff options
author | Willian Henrique <wsimanbrazil@yahoo.com.br> | 2023-05-08 18:38:48 -0300 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2023-05-21 22:11:16 +0100 |
commit | c2bb37238d02e1634242607a9079c5033138ced7 (patch) | |
tree | 0f5eea5b7feaa0ce5511231627019f7c143dcbe9 /gamedata | |
parent | 892d99184d3969faf143d3741007b108253fa82c (diff) |
Add command to reset L4D2 vote cooldowns
In most versions of L4D2, players cannot call a vote (e.g. switch
campaign, change difficulty, restart campaign) more than once every 3
minutes. This makes resetting on a first map a pain, usually requiring
reloading the map to reset the vote state.
This new sst_l4d_vote_cooldown_reset command empties the list of
structures tracking vote callers, allowing all players to vote again
immediately. This should make resetting runs a lot easier on versions
without unlimited votes.
Diffstat (limited to 'gamedata')
-rw-r--r-- | gamedata/gamelib.kv | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gamedata/gamelib.kv b/gamedata/gamelib.kv index cebcec5..8de1013 100644 --- a/gamedata/gamelib.kv +++ b/gamedata/gamelib.kv @@ -22,6 +22,12 @@ vtidx_GetBaseEntity "4 + NVDTOR" // CBaseEntity or CBasePlayer or something off_netprop_statechanged { L4D 88 } off_simtime { L4D 128 } +vtidx_Spawn { + L4D2 { + default "22 + NVDTOR" + TheLastStand "23 + NVDTOR" + } +} vtidx_Teleport { L4D "104 + NVDTOR" L4D2 { |