AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] [L4D] Round Start Bot Stop (https://forums.alliedmods.net/showthread.php?t=125460)

EHG 04-28-2010 15:01

[L4D2] [L4D] Round Start Bot Stop
 
1 Attachment(s)
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

AtomicStryker 04-28-2010 16:08

Re: Round Start Safe Room Door Bot Blocker
 
Incompatible with L4D2 Loading Plugin. Consider adding a check for its existence and disabling the door lock, cvar is "l4d2_loadingversion"


Also, youd better add a check for Left4Dead2 or you wont ever get approved ;)

SkaP 04-28-2010 16:13

Re: Round Start Safe Room Door Bot Blocker
 
Question. Will the plugin reset sb_stop back to 0 after a human player opens the door? Nothing more annoying then having someone rage in the game and having the bot just stop and not move.

Also I know it's supposed to be L4D2 only to get approved but will it work for L4D1?

EHG 04-28-2010 20:02

Re: Round Start Safe Room Door Bot Blocker
 
Quote:

Originally Posted by AtomicStryker (Post 1163671)
Incompatible with L4D2 Loading Plugin. Consider adding a check for its existence and disabling the door lock, cvar is "l4d2_loadingversion"


Also, youd better add a check for Left4Dead2 or you wont ever get approved ;)

I don't think it is necessary to add a check for every plugin that may have a conflict with each other. A simple note will suffice, people can or should be able to read and realize that both plugins address the same issue and all that is left to do is select the one that suits their needs best.

This plugin will work in L4D and L4D2.

Newf 04-29-2010 12:02

Re: Round Start Safe Room Door Bot Blocker
 
i hope you can get this one fixed soon. during a game last night, the whole friggin team of bots spawned outside the saferoom door lol.

marvel 04-30-2010 08:04

Re: Round Start Safe Room Door Bot Blocker
 
EHG,

I get a lot of 'door open' messages in game, any way to disable that?

Btw on maps with no safe room but a 'safe haven' it doesn't work.

EHG 04-30-2010 09:50

Re: Round Start Safe Room Door Bot Blocker
 
Sorry about that, forgot I had that in there.

siangc 04-30-2010 13:53

Re: Round Start Safe Room Door Bot Blocker
 
what about the maps that doesn't have saferoom doors?

EHG 04-30-2010 15:45

Re: Round Start Safe Room Door Bot Blocker
 
Personally I have never found the bots to go on without a human player in any of the start maps.
But I guess I could implement a timer for maps without a start saferoom.

siangc 04-30-2010 17:46

Re: Round Start Safe Room Door Bot Blocker
 
Quote:

Originally Posted by EHG (Post 1165857)
Personally I have never found the bots to go on without a human player in any of the start maps.
But I guess I could implement a timer for maps without a start saferoom.

They always seem to do that when i play.I currently use a plugin that freezes them for 30 sec's every round, but that is not necessary in the 2nd round of versus, cos the players doesn't load there. If you can make a timer or something for the maps without saferooms that would be great.


All times are GMT -4. The time now is 20:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.