General
This plugin requires Sourcemod 1.3 or higher
Description
This is an extremely crude plugin just to address one issue I've run into on my server. With sb_all_bots_team 1 on, the bots are rushing out of the saferoom before people have a chance to load into the game. Now survivors are ahead, infected didn't have time to get to a spawn point, and you don't have time to sit in the saferoom and prepare.
All this plugin does is put a wait of 30 seconds on the start of the round. It's crude so if anyone wants to spruce it up feel free. There are more inclusive plugins like L4D Loading which have more/better features.
Cvars
- l4d_bd_botdelay (Enable 1, Disable 0), Delays the Survivor Bots from starting before the players load.
- l4d_bd_botdelaytime (Default 30), How long after a player is in the game will the Bots start.
- l4d_bd_autostart (Enable 1, Disable 0), Allows the Survivor Bots to automatically start if a player is not present.
- l4d_bd_autostartdelay (Default 120), How long after the game starts should the Bots start.
Installation
- Download and copy BotDelay.smx to Addons/Sourcemod/Plugins
Version History
Version 1.21
<*>Modified script to make sure Bots were stopped
<*>Added CVar: l4d_bd_autostart
<*>Added CVar: l4d_bd_autostartdelay
Version 1.2 - 150 Views
<*>Major renovation of scripting
<*>Added CVar: l4d_bd_botdelay
<*>Added CVar: l4d_bd_botdelaytime
<*>Put checks in to make sure Bots won't start at start of the map
Version 1.1 - 334 Views
<*>Changed initial HookEvent from "round_start" to "item_pickup"
<*>Got rid of the timer countdown to unfreeze bots
<*>Set "item_pickup" to check if client is a bot
Version 1.0
<*>Original launch of the plugin
Known Issues
None
Special Thanks
-Thraka
-mi123645