Raised This Month: $51 Target: $400
 12% 

[L4DREQ]Set number/Disable Survivor Bots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
froggz19
Junior Member
Join Date: Oct 2006
Old 08-26-2009 , 13:30   [L4DREQ]Set number/Disable Survivor Bots
Reply With Quote #1

Hello guys!

I have l4downtown extension and 16 slots but i need a plugin to set number of survivors bots or disable,is annoying to play with 8 bots!

Last edited by froggz19; 08-26-2009 at 13:40.
froggz19 is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-27-2009 , 04:08   Re: [L4DREQ]Set number/Disable Survivor Bots
Reply With Quote #2

If you have 8 bots at start can be something like this: Hook event round_start, count survivor bots, if survivor bots > "your limit for bots", kick excessive bots.
Pretty simple and will use only one cvar.
__________________
olj is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-27-2009 , 04:54   Re: [L4DREQ]Set number/Disable Survivor Bots
Reply With Quote #3

Here try this one, this will kick any excessive bots at round starts. l4d_maxbots cvar is 4 by default.
Attached Files
File Type: sp Get Plugin or Get Source (ExcessiveBotsKicker.sp - 291 views - 1.4 KB)
__________________
olj is offline
froggz19
Junior Member
Join Date: Oct 2006
Old 08-28-2009 , 00:22   Re: [L4DREQ]Set number/Disable Survivor Bots
Reply With Quote #4

Quote:
Originally Posted by olj View Post
Here try this one, this will kick any excessive bots at round starts. l4d_maxbots cvar is 4 by default.

I need to set l4d_maxbots "number" ? in server.cfg for plugin to take effect?

Hmm,it doesn't work ,the round is starting with 4 survivor bots but then after one or two minutes 3 more bots are spawned,i forgot to say that i'm using super versus plugin and i have 8 players to survivors and 8 to infected ,also i have installed infected bots plugin,setting maxbots can affect infected bots?

Last edited by froggz19; 08-28-2009 at 00:33.
froggz19 is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-28-2009 , 05:58   Re: [L4DREQ]Set number/Disable Survivor Bots
Reply With Quote #5

No it wont affect anything except survivors bots.

The timer after which bots will be kicked is set to 25 seconds. Thats why it wont work unless bots connecting before 25 secs after round start. I just add cvar for this, so you can set proper time.
__________________

Last edited by olj; 08-28-2009 at 06:01.
olj is offline
olj
Veteran Member
Join Date: Jun 2009
Old 08-28-2009 , 06:06   Re: [L4DREQ]Set number/Disable Survivor Bots
Reply With Quote #6

Remove old version. l4d_excessivebotskicking.cfg sould be in cfg/sourcemod folder. Remove old cfg also. After plugin start it will create new one. You should change cvars there, not in server cfg.


New variable:

l4d_maxbots_kicktime

Time before checking for excessive bots starts. Default value 200 seconds.
Attached Files
File Type: sp Get Plugin or Get Source (ExcessiveBotsKicker.sp - 335 views - 1.6 KB)
__________________

Last edited by olj; 08-28-2009 at 06:08.
olj is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:09.


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