Server rentals :: NFOservers.com

Forums

All times are UTC - 8 hours



Author Message
 Post subject: How to add bots? CS:S
PostPosted: Thu Jul 14, 2011 7:36 pm 
Offline
This is my homepage
This is my homepage

Joined: Thu Aug 10, 2006 9:41 pm
Posts: 1143
Sorry I was searching the forums but I couldn't find the exact thread to add bots.
I am looking for the command to add 4 bots to my server when empty and whenever one player joins 1 bot leaves...until we have 4 live players then all bots leave.

_________________
Image
Image


Top
 Profile  
 
PostPosted: Thu Jul 14, 2011 9:25 pm 
Offline
Founder
Founder
User avatar

Joined: Thu Apr 18, 2002 11:04 pm
Posts: 10327
Location: Seattle
At its simplest, something like:

Code:
bot_quota 4
bot_join_after_player 0


Top
 Profile  
 
PostPosted: Fri Jul 15, 2011 6:17 pm 
Offline
Staff
Staff
User avatar

Joined: Thu Jul 22, 2004 12:24 am
Posts: 1115
Location: Big Bear, CA
A more specific setup for what you want to do, you will want this in your server.cfg file:

bot_quota 4
bot_quota_mode "fill"
bot_join_after_player 0
bot_add

That should get it working the way you want. The bot_add line may need to be removed with recent game changes, so if you find there aren't any bots or too many bots, add or remove the line accordingly.

_________________
TimeX


Top
 Profile  
 
PostPosted: Sat Jul 16, 2011 7:18 pm 
Offline
This is my homepage
This is my homepage

Joined: Thu Aug 10, 2006 9:41 pm
Posts: 1143
Hi Timex, whenever players are joining the server the bots are not dropping accordingly.

_________________
Image
Image


Top
 Profile  
 
PostPosted: Sat Jul 16, 2011 7:36 pm 
Offline
Staff
Staff
User avatar

Joined: Thu Jul 22, 2004 12:24 am
Posts: 1115
Location: Big Bear, CA
Try changing to bot_quota_mode "normal" and see if that helps. If not, try removing the bot_add line instead of changing quota mode.

_________________
TimeX


Top
 Profile  
 
PostPosted: Sat Jul 16, 2011 11:03 pm 
Offline
This is my homepage
This is my homepage

Joined: Thu Aug 10, 2006 9:41 pm
Posts: 1143
TimeX, none of the options above are working.
Bots are not leaving the server when people are joining.

_________________
Image
Image


Top
 Profile  
 
PostPosted: Sun Jul 17, 2011 12:04 pm 
Offline
A regular
A regular

Joined: Mon Nov 01, 2010 7:16 pm
Posts: 37
here a full list of bot options that i use on my servers
the one in read is the one that makes the bots leave on player join


//General CS:Source BOT Config v5
echo "Loading CS:Source Bot Configuration Settings..."

//Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal'.
bot_chatter radio

//Set to 0 to let bots complete map objectives. 0/1
bot_defer_to_human 0

//0 is Easy, 1 is Normal, 2 is Hard, & 3 is Expert.
bot_difficulty 1

//Bots wait for a human to join before joining. 0/1
bot_join_after_player 0

//Add bot(s) to a specific team. any/CT/T or Adds a bot to whichever team has fewer players.
//bot_join_team:
bot_add
//bot_add_ct
//bot_add_t

//Defines a Prefix for all bot's names.
//bot_prefix "DoV"

//Reports on the bots' memory usage
//bot_memory_usage

//Restricts the bots to particular weapons
//bot_knives_only
//bot_pistols_only
//bot_snipers_only
bot_all_weapons

//Weapon Control. 0/1
bot_allow_grenades 1
bot_allow_machine_guns 1
bot_allow_pistols 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_snipers 1
bot_allow_sub_machine_guns 1

//Bots with high co-op may automatically follow a nearby human player. 0/1
bot_auto_follow 1

//Bots will not buy if their money falls below this amount. Default = 2000
bot_eco_limit "800"

//Bots may occasionally go 'rogue'.
//Rogue bots do not obey radio commands, nor pursue scenario goals. 0/1
bot_allow_rogues 1

//Determines the type of quota. Allowed values: 'normal' and 'fill'.
//If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
bot_quota_mode "fill"

//Bots will automatically leave to make room for human players. 0/1
bot_auto_vacate 1


//Set to min # of bots allowed on server
bot_quota 4

_________________
DoVGaming.net CSS COMMUNITY POWERED BY NFOSERVERS.COM


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
It is currently Thu Apr 24, 2014 11:37 pm
Powered by phpBB® Forum Software © phpBB Group