ArtifeX Posted December 9, 2002 Share Posted December 9, 2002 How exactly do you set up a dedicated server to run a certain number of bots that drop out as live players join? Also, how do you add only specific bots to the list that the server chooses from? I've got a few custom bots that will occasionally give basic advice on my mod, but I haven't the slightest idea how to get them into the game. Link to comment Share on other sites More sharing options...
Hekx Posted December 9, 2002 Share Posted December 9, 2002 bot_minplayer <number> That command sets the minimum number of bots on the server, if there are no players. If it was set to 2, when 2 people enter the server, the bots get kicked. If 1 person enters, one of the bots get kicked, and one stays. I think you might be able to add the follow command to your server.cfg file: addbot <botname> Never tried the second part, it might work If you want the bots to stay on the server all the time, it's best to try the second command, because no bots are on the server if bots_minplayer is set at 1 or above, and 2 or more players are present. Link to comment Share on other sites More sharing options...
WK0NE Posted December 17, 2002 Share Posted December 17, 2002 seta bot_enable "1" <----Sets bots to on seta bot_minplayers "2" <----Sets min # of bots on the server seta bot_nochat "1" seta bot_fastchat "0" seta bot_challenge "1" seta bot_groundonly "1" seta bot_thinktime "200" Addbot clonetrooper 3 RED 50 Trooper Addbot clonepilot 3 blue 50 Flyboy I start this config when i start my dedicated server, starts with these 2 bots, then works through your list of bots randomly. Like Hèkx Nòxú said when a person joins a bot leaves, when 2 people join both bots leave. I believe that you can do this with as many bots as you like. Link to comment Share on other sites More sharing options...
torowa-sdg Posted December 24, 2002 Share Posted December 24, 2002 I'm having a problem with this -- I'm using bot_minplayers 2. In the past, it's always kicked a bot when a person joined. Now, after 1.04, it kicks the player out -- essentially locking out the server. Looking at the dedicated server logs, the server is saying an unpure client is detected, but it ONLY happens if bot_minplayers is on. Ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.