CS2 console commands: Best commands for Counter-Strike 2 practice, autoexec, more

CS2 console commands

You can use console commands in Counter-Strike 2 to customize your game, set up practice, or adjust settings on the fly. These are the best and must-know CS2 commands to use, including new net graph and bob commands.

CS2 has fully replaced CS:GO, bringing improved visuals, gameplay changes like the way smokes function, and an updated rating system. However, it’s still far from perfect, with more updates certainly expected.

If you want to adjust your experience on the fly, using console commands is a quick and easy way to do so. Here are the best commands available in CS2.

How to enable console in CS2

Before you can use commands, you need to enable the console in CS2. To do this, go to the in-game settings, and navigate to the ‘Game’ tab.

You will then see a setting called ‘Enable Developer Console (~)‘. Select ‘Yes.’

This will then allow you to open the console at any time by pressing the ~ or ` key (usually top left on your keyboard). You will need the console to enter the commands below.

cs2 developer console commands
You can enable the console in the game settings.

10 best CS2 console commands

You can enter these commands in the developer console. These are the most useful CS2 console commands currently available for general gameplay:

CommandResult

CS2 practice commands

If you want to jump into a practice game without any interruption from other players or bots, you can use these practice commands to set up an easy training environment, to check out the maps and weapons in peace.

You can also apply some of these settings in the menu for practice matches, by turning on ‘Grenade Camera’, Infinite Ammo and Infinite Warmup.

CommandResult

CS2 bot commands

You can use bots in practice servers, and set them up with the following commands.

Related

CommandResult

More useful CS2 commands

These commands are not essential, but you might find value in them from time to time.

sensitivity

Enter this command followed by a value (e.g. 1.5) to alter your in-game mouse sensitivity. This can also be done in the settings with a sliding scale.

cl_usenewbob 0

This command will revert the new bob animations in CS2 to the old CS:GO style. But, you can’t reduce or turn off bob entirely.

cl_drawhud 0

This command will remove all HUD elements, which can be useful if you want to take a clean screenshot.

r_drawOtherModels 2

Gives wallhacks in practice server (requires sv_cheats 1 command)

r_drawchickens

Renders chickens on the map

record

Record a demo

How to make a CS2 autoexec

Rather than having to input any and all of these commands manually every time you want to set up a practice match for example, you can instead use an autoexec file.

Autoexecs will “automatically execute” a set of commands all at once, saving you a lot of time. To create one, you’ll need to create a text file with all of the commands listed, and then add it to the CS2 folder on your PC.

Here is how to create and use an autoexec in CS2:

  1. Open Steam Library and find Counter-Strike 2
  2. Right click CS2
  3. “Manage”, then “Browse Local Files”
  4. “Game”, then “CSGO”
  5. Find the “CFG” Folder
  6. Create a new Text Document in this folder
  7. Name the file “autoexec.cfg” (Make sure to delete “.txt” from the file name”
  8. Open the file
  9. Add the commands you want (see below for a practice exec commands list)
  10. Save

If you want the autoexec to be applied every time you start CS2, then you can add it to the launch options. Open ‘Properties’ of CS2 from the Steam library, and then go to launch options. In the launch options box, add +exec autoexec.cfg.

CS2 Practice config

Alternatively, you can execute autoexecs at any time in-game through the console. Open the console and type exec [filename].cfg. For example, you can create a practice autoexec by naming the file ‘practice.cfg’ and adding these commands to the text file:

sv_cheats 1
mp_limitteams 0;
mp_autoteambalance 0;
mp_maxmoney 60000;
mp_startmoney 60000;
mp_buytime 9999;
mp_buy_anywhere 1;
mp_freezetime 0;
mp_roundtime 60;
mp_roundtime_defuse 60;
mp_respawn_on_death_ct 1;
mp_respawn_on_death_t 1;
sv_infinite_ammo 1;
mp_roundtime_defuse 60
bind “alt” noclip
sv_grenade_trajectory 1
sv_grenade_trajectory_prac_pipreview true
sv_grenade_trajectory_prac_trailtime 15
sv_grenade_trajectory_time_spectator 15
sv_grenade_trajectory_time 15;
sv_showimpacts 1;
sv_showimpacts_time 10;
ammo_grenade_limit_total 5;
bot_kick
god
mp_warmup_end;
mp_restartgame 1

To activate this in-game, open the console after launching a private game, and type ‘exec practice.cfg’.

CS2 launch commands

In addition to in-game commands through the console, there are also a few launch commands that we’d recommend. To add these, you need to navigate to the ‘properties’ of CS:GO from your Steam library, by right-clicking on the game.

-novid

Novid will prevent the video from playing before launch, getting you to the main menu faster.

-high

The high command will ensure CS2 is given high priority in terms of CPU usage, preventing other apps or background processes from hogging power.

-threads [CPU threads]

This command requires a little bit of research for you to use, as it tells CS2 how many CPU threads to use.To get maximum CPU performance, it is recommended to take the number of threads you have, then put that number in this command. For example, if you have an 8-thread CPU, you would use the command: “-threads 8”.

-nojoy

This command was popular in CS:GO as it disables joystick input which supposedly reduced RAM utilization. We don’t know if this is still true in CS2, but it can’t hurt to add.

In addition to these commands, we recommend using our best CS2 settings guide to optimize performance and visuals.

Page was generated in 7.5410189628601