Counter-Strike 2
Недостаточно оценок
CS2 - adding bots - the PROPER way
От bAd a!m
This guide will quickly teach you how to setup the game so you can enjoy a training environment and play with as many as 10 bots in the enemy team and none in your own.

It contains commands to adjust real bot difficulty, money accrued during game play and how to adjust round time properly.

Also it shows how to unlock all weapons for bots and enjoy play beyond the limit of 13 rounds :)

These commands work for all game modes, but are best used for bomb defuse or hostage rescue maps.
2
   
Наградить
В избранное
В избранном
Удалить
1. Getting started
First step, launch CS2 and from the main menu, select PLAY.
Choose "PRACTICE", next select game type as "CASUAL".

From the left menu, the only option you might consider turning on is "infinite ammo", as this will provide your guns with plenty bullets and you'll never have to reload (useful if you want to practice AWP shots, for example).

NOTE! Before you proceed with this guide, please go to GAME OPTIONS and ENABLE DEVELOPER CONSOLE. The default key is "~" which is usually under the Escape key.
_____
Image 1
_____
Image 2
_____
At this point, click "GO" and let the game load your custom scenario.



2. Loading the game
Once the game loads, depending on the preference, select the TEAM you'd like to join and next, open the CONSOLE.

For this guide, I'll show the commands necessary to play as a T on Dust, against a team of 10 CTs.

_____
Image 3

_____
Image 4

_____
Once you've selected T, you'll see something close to the picture above.
Well done, now we start to customize our bot game.
3. Console COMMANDS with details
At this point, inside the game, both teams are set to 5 players, you having 4 bots to help out.
We'll have to change that.

_____
Image 5

_____
Next, open the CONSOLE (default key is "~"). Ignore whatever is happening in the game at this point.

Image 6

_____
When you will start entering the console commands, it's enough to type the beginning part, as soon as you see the CONSOLE COMMAND you want, just press TAB and add the VALUE you require.

Command 1:

mp_limitteams 0

Reason: this will prevent bots from joining your team.

Image 7

_____
Command 2:

mp_autoteambalance 0

Reason: this will prevent the game from balancing teams, so you can play VS more than 1 or 2 enemy bots.

Image 8

_____
Command 3:

bot_kick all

Reason: this will kick the default bots from the game, allowing us to add our bots at a later point, with the desired difficulty and weapons.

Image 9

_____
Command 4:

bot_difficulty 3

Reason: this command will allow us to control how easy or hard the enemy bots are. You can choose any value between 1 and 5, with 1 being easy and 5 being hard.

Image 10

_____
Command 5:

custom_bot_difficulty 3

Reason: I'm unsure why this is required, but not using it will revert the bots to the default difficulty level of 1. Use the same value as you selected with the "bot_difficulty" command above.

Image 11

_____
Command 6:

sv_auto_adjust_bot_difficulty 0

Reason: this command will prevent the game from changing the bot difficulty in regards to your skill, and allow you to play against the selected difficulty level for real.

Image 12

_____
Command 7:

mp_freezetime 2

Reason: this value allows you to lock the start of the round for X seconds, so you have time to buy all required items. Can be 0 - which means NO FREEZE TIME, or whatever value you want. This will always be seconds, so 60 is 1 minute.

Image 13

_____
Command 8:

mp_roundtime 9

Reason: this will set the length of time for a round. This command is useful for non-defuse and non-hostage maps. This value is set in minutes. Adjust it to your preference.

Image 14

_____
Command 9:

mp_roundtime_defuse 9

Reason: this will set the lenght of time for a defuse map. This value is set in minutes. Adjust it to your preference.

Image 15

_____
Command 10:

mp_roundtime_hostage 9

Reason: this will set the lenght of time for hostage rescue maps. This value is set in minutes. Adjust it to your preference.

Image 16

_____
Command 11:

mp_maxmoney 80000

Reason: this sets the highest amount of money you can earn and save round to round. Default for bot games is 10,000 so I like to increase it to a higher value.

Image 17

_____
Command 12:

mp_startmoney 20000

Reason: this sets the starting money for you and the bots. Default value is 1,000 and I like to increase it, in order to skip the pistol round.

Image 18

_____
Command 13:

bot_join_team ct

Reason: this command forces the bots to only join t or ct or it can be used with the value "any" to let them join both teams. For this map, we'll force them all to join CT.

Image 19

_____
Command 14:

bot_all_weapons 1

Reason: this command will allow bots to use all weapons against you, without restrictions.

Image 20

_____
Command 15:

mp_maxrounds 99

Reason: this command lets us expand the game beyond the 13 rounds limit. Adjust it to your preference.

Image 21

_____
Command 16:

bot_quota 11

Reason: this command will set the maximum number of PLAYERS for some reason, so if you want 10 bots, the value should always be number-of-bots + 1 (you). For 5 bots, use value 6. And so on.
Also, sometimes this command will trigger the bots to JOIN, sometimes it will not. If no bots join, use command 17. If the bots join, skip command 17 and go to command 18.

Image 22

_____
Command 17

bot_add

Reason: use this command only if command 16 did not trigger the bots to join. This will add a bot to the game, or all bots to the game, using the values set before.

Image 23

Command 18:

mp_restartgame 1

Reason: this command will force the game to restart after X seconds, using the parameters set. Typing all commands takes a while and it's good to restart the game and start from a fresh score in order to see the gaming stats without the setup rounds when you can't play.

Image 24
















4. End result
If everything went well, after restarting the game you should see something like this:

Image 25

_____
Enjoy your 1 vs 10 game against 10 bots of level 3 with access to all weapons, starting money 20k, round time 9 minutes and game victory after 99 rounds!

THANK YOU FOR READING MY GUIDE!

If you have any questions or suggestions, please leave them as a comment below!
Annex - skip here for the COMMANDS
I've added this annex for those who don't want to read all the details and are interested to get the commands directly.

NOTE! The commands should be entered in this order for the end result to be ok.

mp_limitteams 0
mp_autoteambalance 0
bot_kick all
bot_difficulty 3
custom_bot_difficulty 3
sv_auto_adjust_bot_difficulty 0
mp_freezetime 2
mp_roundtime 9
mp_roundtime_defuse 9
mp_roundtime_hostage 9
mp_maxmoney 80000
mp_startmoney 20000
bot_join_team ct
bot_all_weapons 1
mp_maxrounds 99
bot_quota 11
bot_add
mp_restartgame 1
Комментариев: 4
red dye carmine 3 фев в 10:34 
mp_limitteams 0;
mp_autoteambalance 0;
bot_kick all;
bot_difficulty 3;
custom_bot_difficulty 3;
sv_auto_adjust_bot_difficulty 0;
mp_freezetime 2;
mp_roundtime 9;
mp_roundtime_defuse 9;
mp_roundtime_hostage 9;
mp_maxmoney 80000;
mp_startmoney 20000;
bot_join_team ct;
bot_all_weapons 1;
mp_maxrounds 99;
bot_quota 11;
bot_add;
mp_restartgame 1;
Dick Von Assman 11 дек. 2024 г. в 7:42 
It would be neat if they added a bot configuration menu. I play CS 1.6 and Condition Zero with bots and CS2 bots aren't up to par.
King Kongz Dad 21 ноя. 2024 г. в 13:37 
Great post btw!
King Kongz Dad 21 ноя. 2024 г. в 13:37 
Can I enter this as a file, instead of every single line? Some automation? :)