INX Gaming Tutorial: Adding bots to a Counter Strike Source server

To add bots to your Counter Strike Source server, you will need to add the following code to the end of your server.cfg which can be located in the ‘File Editor’ of the control panel. Adjust the variables below where needed:

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

Once added to your server.cfg, you will need to reboot your server before these settings will take effect. Note we allow a maximum of 4 bots per server. Please do not add anymore as it spoils the quality of your server, and others.

Advanced bot cvars

These can be executed via an rcon command, or added to server.cfg.

‘bot_add’ is a value itself. Adding this to your server configuration will enable bots

bot_quota <1-4>
Amount of bots to add. Adding many bots will use more cpu. Start with a few bots, then add more if needed.

If ‘Fill’, the server will adjust bots to keep # players in the game, where # is bot_quota (from above) Default: Normal

bot_difficulty <0/1/2/3>
Skill of bots. Values are: 0=easy, 1=normal, 2=hard, 3=expert. Default: 0

Control how bots talk. Values: ‘off’, ‘radio’, ‘minimal’, or ‘normal’. Default: Normal

bot_auto_follow <0/1>
Allow bots to automatically follow a human player. Default: 1

bot_auto_vacate <0/1>
Kick bots to automatically make room for human players. Default: 1

bot_join_after_player <0/1>
Bots must wait for a people to join before joining? If No, bots will play without people. Default: 1

bot_defer_to_human <0/1>
Can bots complete objectives if there are humans on a team? Default: 0

Prefix for bot names. A prefix is a tag that bots will have in front of their name. you can enter your clan tag or leave blank.

bot_allow_rogues <0/1>
bots may occasionally go ‘rogue’. Rogue bots do not obey radio commands, nor pursue scenario goals.. Default: 0

bot_walk <0/1>
The speed at which bots can move. 0=walk+run, 1=walk Default: 0

What teams are bots allowed to join? Default: any

bot_eco_limit <0-16000>
Bots will not buy if their money falls below this amount. Default: 2000

Bot Weapon Restriction

Allow bots to use all weapons. ‘bot_all_weapons’ is the value.

Allow bots to use only knives. ‘bot_knives_only’ is the value.

Allow bots to use only pistols. ‘bot_pistols_only’ is the value.

Allow bots to use only sniper rifles. ‘bot_snipers_only’ is the value.

bot_allow_grenades <0/1>
Allow bots to use grenades. Default: 1

bot_allow_pistols <0/1>
Allow bots to use pistols. Default: 1

bot_allow_sub_machine_guns <0/1>
Allow bots to use sub machine guns. Default: 1

bot_allow_shotguns <0/1>
Allow bots to use shotguns. Default: 1

bot_allow_rifles <0/1>
Allow bots to use rifles. Default: 1

bot_allow_snipers <0/1>
Allow bots to use sniper rifles. Default: 1

bot_allow_machine_guns <0/1>
Allow bots to use machine guns. Default: 1

This entry was posted in Tutorials. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>