“Counter-Strike: Source” is a popular online shooter that has captivated the hearts of countless fans. Servers usually bustle with life and do not suffer from a lack of players. However, in situations where players are scarce, a great solution is to add additional characters in the form of bots. Thanks to advanced algorithms, they can mimic various strategies and tactics, filling the gaps in your team. Additionally, you will be able to configure their behaviors to further enhance the gameplay experience. In this guide, we will describe in detail the process of adding bots to the server and configuring their behavior during the game.
How to add bots
Before configuring the bot properties on your server, you will need to add a few lines to the main configuration file. To do this, go to the game servers panel and go to the server files (you will find them in the “Files” tab).
Follow this path and run the server.cfg file:
/home/container/cstrike/cfg/server.cfg
Then, add the following lines to the end of the configuration file:
bot_prefix {Clan Tag}
bot_quota 4
bot_quota_match 0
bot_quota_mode fill
bot_join_after_player 0
bot_difficulty 1
bot_defer_to_human 1
bot_chatter off
bot_auto_vacate 4
Now, go to the “Console” tab and restart your server by selecting “Restart”. From now on, bots should be active on your Counter-Strike: Source server.
If you decide you want to deactivate bots on your server, simply delete the lines you added earlier.
How to configure bots
If you want, you can freely configure the behavior of bots on your Counter-Strike: Source server. Below is a list of available cvars that you can freely paste into the configuration file.
Value | Default Value | Description |
bot_add | – | This is a value in itself. Adding this line will enable bots |
bot_quota | 4 | The number of bots you want to add |
bot_quota_mode | fill | If set to “fill”, the server will automatically add bots to maintain the specified number of players |
bot_difficulty | 0 | Bot skills (0 = easy, 1 = normal, 2 = hard, 3 = expert) |
bot_chatter | normal | Control how bots talk (off – radio – minimal – normal) |
bot_auto_follow | 1 | Allow bots to automatically follow human player (0 – 1) |
bot_auto_vacate | 1 | Kick bots to make room for players (0 – 1) |
bot_join_after_player | 1 | Specifies whether bots must wait for human players to start the game. If you set it to 0, the bots will play themselves |
bot_defer_to_human | 0 | Sets whether bots can complete goals if there are human players on the team |
bot_prefix | – | The prefix that the bot will have before its name. Here you can enter a clan name or leave the field blank |
bot_allow_rogues | 0 | If set to 1, bots will occasionally play “rouge”, i.e. not following radio commands and not completing the scenario objective |
bot_walk | 0 | Determines the speed at which bots move (0 = walk + run, 1 = walk) |
bot_join_team | any | Specifies which team bots can join |
bot_eco_limit | 2000 | Bots will not be able to buy money if it falls below a certain amount |
bot_all_weapons | – | This is a value in itself. Allows bots to use all weapons |
bot_knives_only | – | This is a value in itself. Allows bots to use only knives |
bot_pistols_only | – | This is a value in itself. Allows bots to use only pistols |
bot_snipers_only | – | This is a value in itself. Allows bots to use only sniper rifles |
bot_allow_grenades | 1 | Allows bots to use grenades (0 – 1) |
bot_allow_pistols | 1 | Allows bots to use pistols (0 – 1) |
bot_allow_sub_machine_guns | 1 | Allows bots to use sub machine guns (0 – 1) |
bot_allow_shotguns | 1 | Allows bots to use shotguns (0 – 1) |
bot_allow_rifles | 1 | Allows bots to use rifles (0 – 1) |
bot_allow_snipers | 1 | Allows bots to use snipers (0 – 1) |
bot_allow_machine_guns | 1 | Allows bots to use machine guns (0 – 1) |
We hope that our intuitive web interface has allowed you to setup Counter-Strike: Source bots easily. If you want to ask us any questions, feel free to contact us via e-mail, ticket or live chat!