Posting a version of this plugin, that used on my server. Successfully tested in different configurations for more than two weeks.
The following has been cut out:
- AFK management. reason: 1. useless for me. 2. major bug (some time, player cant return to his team, after been dropped to spec.)
- Scream mode (ReadyUP-like). reason: useless for me.
Fixed a major bug where sb_stop was set to 1 in gamemodes that not listed in l4d2_gamemodeactive.
"Fake door" no longer drop shadow.
Next cvars and functions steel remain there:
l4d2_freezeon1st (def. = 0) Freeze survivors on first chapter.
l4d2_prepare1st (def. = 15) Wait this many seconds after all clients have loaded before starting first round on a map.
l4d2_prepare2nd (def. = 15) Wait this many seconds after all clients have loaded before starting second round on a map.
l4d2_timeout (def. = 85) Wait this many seconds after a map starts before giving up waiting for a client.
l4d2_infectedspawn (def. = 1) Wait for infected to be ready to spawn before starting countdown.
l4d2_displaypanel (def. = 1) Display players state panel.
l4d2_displaymode (def. = hint) Set the display mode how the countdown will be displayed (hint, center, chat).
l4d2_gamemodeactive (def. = versus,teamversus,mutation13) Set the game mode for which the plugin should be activated.
Experimental:
l4d2_soliddoor (def. = 0) Replace a start saferoom door with solid.
Works fine but... side effects:
- once countdown hit 0, door start glowing
- door can be opened and closed many times in any gamemode.
l4d2_loading.cfg will be automatically created.
Left 4 Downtown 2 extension is required.
http://forums.alliedmods.net/showthread.php?t=134032
Updated: 20.12.2010