View Single Post
Author Message
EHG
Senior Member
Join Date: May 2009
Location: 127.0.0.1
Old 04-28-2010 , 15:01   [L4D2] [L4D] Round Start Bot Stop
Reply With Quote #1

Description
This plugin will be very useful for those that have sb_all_bot_team set to 1
Anyone using the L4D2 Score/Team manager will find this very useful.
This will stop the bots doing anything at the start of a round before there is a human on the team.

There are two cvars that control if and when the bots should auto start if no human players triggers the start.

CVAR'S

l4d2_RSBS_delay_enabled "1" //Enable or disable bot start delay
l4d2_RSBS_delay "40" //Delay to enable bots if no human does. From my testing 40 seconds seems to be ideal. Sometimes players load very long.

NOTES
Don't use the plugin "L4D Loading" or any variations with this plugin.
You don't need both, this one is for people that don't want everything else the other one has, whichever one that may be. This addresses the problem with the bots and that's it.

Changing the sv_cheats cvar resets cvars like sb_stop and sb_all_bot_team. Just something to keep in mind, it can mess with scripts that rely on certain cvars.


Games Supported
Works on L4D1 and L4D2

Change log
1.8 Possible fix for people who had problems
1.7 Added bot start delay timer
1.6 Took away too much code in update 1.5, something important.
1.5 Got rid of some unneeded code
1.4 Code completely redone, better method that works 100%
1.3 Door will now unlock when human player presses +use, regardless if he is aiming at the door model.
1.2 Removed some debug code I forgot about
1.1 Fixed a small problem
1.0 First release
Attached Files
File Type: sp Get Plugin or Get Source (RSBS.sp - 7521 views - 2.1 KB)

Last edited by Matthias Vance; 08-20-2010 at 15:22.
EHG is offline