First of all you need to configure your server first! For more info about that check here.
Now you should have your server all up and running, next thing is having control over your bots.
bot configuration
First enable the use of bots
1 2 |
/rcon bot_enable 1 /rcon reload |
Next, lets add bots.
1 |
/rcon addbot [level] [team] [ping] [nick] |
addbot arguments
type
Define the name of the bot type here, chose one from the list below.
level
Define a number from 1 to 5 here to set how good the bots will try to hunt you down!
team
Define the color name Red or Blue to set the team this bot belongs to.
ping
Define the average ping time the bot will have, if you define this to a low value the bots will respond fast, I recommend setting this to 40 on a local LAN and 75 on a WAN connection.
nick
Define the nickname of the bot, I usually give a simple name like Bot1, Bot2, Bot3, etc…
addbot examples
1 2 3 |
/rcon addbot Chicken Blue 75 Bot1 /rcon addbot Cockroach Blue 75 Bot2 /rcon addbot Mantis Blue 75 Bot3 |
In case you want to get rid of one or all bots, simply kick them!
1 2 |
/rcon kick [nickname] /rcon kick allbots |
Here is a simple Bash example that you could use to add or remove bots:
1 2 3 4 5 6 7 |
#!/bin/bash # Add bot echo -e "xFFxFFxFFxFFaddbot Chicken Blue 75 BOTNAMEn" | /usr/bin/nc -D -4 -d -n -u 127.0.0.1 27960 # Remove bot echo -e "xFFxFFxFFxFFkick BOTNAMEn" | /usr/bin/nc -D -4 -d -n -u 127.0.0.1 27960 |
Here is a list of the bots names, weapons and their accessories they are carrying.
Name: | Boa |
Primary: | ZM LR300 ML |
Secondary: | H&K MP5K |
Sidearm: | .50 Desert Eagle |
Grenades: | HE Grenades |
Item 1: | Kevlar Vest |
Item 2: | – |
Item 3: | – |
Name: | Cheetah |
Primary: | Kalashnikov AK103 |
Secondary: | Franchi SPAS-12 |
Sidearm: | .50 Desert Eagle |
Grenades: | HE Grenades |
Item 1: | Kevlar Vest |
Item 2: | – |
Item 3: | – |
Name: | Chicken |
Primary: | H&K G36 |
Secondary: | H&K MP5K |
Sidearm: | .50 Desert Eagle |
Grenades: | HE Grenades |
Item 1: | Kevlar Vest |
Item 2: | – |
Item 3: | – |
Name: | Cobra |
Primary: | ZM LR300 ML |
Secondary: | H&K MP5K |
Sidearm: | .50 Desert Eagle |
Grenades: | Smoke Grenades |
Item 1: | Kevlar Vest |
Item 2: | – |
Item 3: | – |
Name: | Cockroach |
Primary: | H&K UMP45 |
Secondary: | – |
Sidearm: | Beretta 92G |
Grenades: | Flash Grenades |
Item 1: | Kevlar Vest |
Item 2: | – |
Item 3: | – |
Name: | Cougar |
Primary: | H&K G36 |
Secondary: | – |
Sidearm: | Beretta 92G |
Grenades: | Flash Grenades |
Item 1: | Silencer |
Item 2: | Kevlar Vest |
Item 3: | – |
Name: | Goose |
Primary: | H&K 69 |
Secondary: | H&K UMP45 |
Sidearm: | .50 Desert Eagle |
Grenades: | – |
Item 1: | Extra Ammo |
Item 2: | Kevlar Vest |
Item 3: | – |
Name: | Mantis |
Primary: | ZM LR300 ML |
Secondary: | – |
Sidearm: | Beretta 92G |
Grenades: | – |
Item 1: | Laser Sight |
Item 2: | Silencer |
Item 3: | Kevlar Vest |
Name: | Penguin |
Primary: | ZM LR300 ML |
Secondary: | – |
Sidearm: | .50 Desert Eagle |
Grenades: | – |
Item 1: | Laser Sight |
Item 2: | Silencer |
Item 3: | Kevlar Vest |
Name: | Puma |
Primary: | ZM LR300 ML |
Secondary: | – |
Sidearm: | Beretta 92G |
Grenades: | – |
Item 1: | Laser Sight |
Item 2: | Silencer |
Item 3: | Kevlar Vest |
Name: | Python |
Primary: | H&K G36 |
Secondary: | Franchi SPAS-12 |
Sidearm: | .50 Desert Eagle |
Grenades: | HE Grenades |
Item 1: | Kevlar Vest |
Item 2: | – |
Item 3: | – |
Name: | Raven |
Primary: | H&K PSG-1 |
Secondary: | H&K MP5K |
Sidearm: | .50 Desert Eagle |
Grenades: | – |
Item 1: | Kevlar Vest |
Item 2: | Silencer |
Item 3: | – |
Name: | Scarab |
Primary: | H&K G36 |
Secondary: | H&K MP5K |
Sidearm: | .50 Desert Eagle |
Grenades: | – |
Item 1: | Kevlar Vest |
Item 2: | Silencer |
Item 3: | – |
Name: | Scorpion |
Primary: | Remington SR8 |
Secondary: | H&K MP5K |
Sidearm: | Beretta 92G |
Grenades: | HE Grenades |
Item 1: | Kevlar Vest |
Item 2: | – |
Item 3: | – |
Name: | Tiger |
Primary: | Kalashnikov AK103 |
Secondary: | – |
Sidearm: | Beretta 92G |
Grenades: | HE Grenades |
Item 1: | Medkit |
Item 2: | Kevlar Vest |
Item 3: | – |
Name: | Widow |
Primary: | ZM LR300 ML |
Secondary: | H&K MP5K |
Sidearm: | Beretta 92G |
Grenades: | – |
Item 1: | Kevlar Vest |
Item 2: | Laser Sight |
Item 3: | – |