CS2 Console Commands
All Console Commands
On sv_cheats 1
Off sv_cheats 0
Cash/Money.
Autosave
AutoSaveDangerous
Restarts bug reporter .dll
Record a demo incrementally.
Erases current game stats and writes out a blank stats file
Shutdown and restart the engine.
Default: 0
Turn on achievement debug msgs. Requires sv_cheats 1
Default: 0
Turn off achievements. Requires sv_cheats 1
Add an IP address to the ban list.
Default: 0
cs_agency
Clears bits set on nav links indicating link is unusable
Default: 0
NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'll show non-solid entities that would do it if they were solid. Requires sv_cheats 1
Debug the attempted connection between two nodes
Default: 0
Requires sv_cheats 1
Command for the "sv_cheats 1" mode. Bots will only perform idle actions.
Default: 0
Requires sv_cheats 1
Drop an ai_hint at the player's current eye position.
Requires sv_cheats 1
Controls which connections are shown when ai_show_hull or ai_show_connect commands are used
Arguments: NPC name or classname, =NPC under crosshair Requires sv_cheats 1
Cycles through the various hull sizes. Currently selected hull size is written to the screen. Controls which connections are shown when ai_show_hull or ai_show_connect commands are used
Arguments: -none- Requires sv_cheats 1
Toggles node display. First call displays the nodes for the given network as green objects. Second call displays the nodes and their IDs. Nodes are color coded as follows:
Green - ground node Cyan - air node Magenta - climb node Grey - node not available for selected hull size Orange - node currently locked Requires sv_cheats 1
Default: 0
If NPC is stepping through tasks (see ai_step ) will resume normal processing.
Requires sv_cheats 1
Set how high AI bumps up ground walkers when checking steps
Like ai_disable but you manually specify the state (with a 0 or 1) instead of toggling it.
Requires sv_cheats 1
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1
Toggles graph connection display for the node that the player is looking at. Nodes that are connected to the selected node by the net graph will be drawn in red with magenta lines connecting to the selected node. Nodes that are not connected via the net graph from the selected node will be drawn in blue.
Requires sv_cheats 1
Draw a grid on the floor where looking.
Requires sv_cheats 1
Displays all hints as small boxes
Blue - hint is available for use Red - hint is currently being used by an NPC Orange - hint not being used by timed out Grey - hint has been disabled Requires sv_cheats 1
Displays the allowed hulls between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Arguments: -none- Requires sv_cheats 1
Highlight the specified node
Requires sv_cheats 1
Modified in v1.34.6.6
Toggles visibility display for the node that the player is looking at. Nodes that are visible from the selected node will be drawn in red with yellow lines connecting to the selected node. Nodes that are not visible from the selected node will be drawn in blue.
Requires sv_cheats 1
NPCs will freeze after completing their current task. To complete the next task, use 'ai_step' again. To resume processing normally use 'ai_resume'
Requires sv_cheats 1
Commands List
Why are Console Commands Needed in CS2?
Console commands for CS2 allow players to activate changes or settings in the game instantly. All you need to do is to open the console (click ‘~’), type the one you need, and press the ‘Enter’ key. The whole process takes as long as you need to read this sentence.
Despite the presence of 3,057 CS2 commands available via the console, the most important settings are available in the main menu of the game. All basic aspects needed for comfortable playing — Video, Audio, Game, Keyboard/Mouse, Controller — all can be adjusted without touching a keyboard. But you still can use your console to copy-paste someone's entire settings list rather than adjusting various options one by one.
There is also a huge list of commands, like adding bots and their control, activating infinite armor, or grenade trajectories, that are vital for training. Or, you can use them for fun with friends when you are tired of competitive mode and just want something wild.
Including all CS2 console commands into a basic display menu would be a huge waste of space and not at all user-friendly, so developers left these options for configuration but "hid" them into the console. Advanced players usually know about a hundred from the whole CS2 commands list, but they only scratch the surface. To easily find the needed one, we’ve added all and grouped them, so you can quickly find the required by choosing the category.
What Commands Cannot be Used in Competitive Modes?
With the variety of Counter-Strike 2 console commands, the majority of them are used like pre-game settings. In other words, they are set at once and rarely need changes, especially during the match.
However, a huge cluster can be used only during training sessions. Their activation starts by typing ‘sv_cheats 1’ in the console, opening the road for things forbidden in the competitive modes. An easy character’s flying across the map, god mode, infinite weapon, closest spawn to test timings, grenade trajectories, and many more can help while training.
Another cluster of commands that are not for competitive modes usage is related to adjusting a local server with the game. Thus, you cannot change the freeze-time, round time, team sizes, or money amount when playing official Matchmaking.
Still, all CS2 commands mirrored in the game default menu (screen above) are available anytime. Thus, you can easily change crosshair details, viewmodel, radar orientation, voice and HUD settings, bind new messages, and many more.
FAQ
To activate the console in CS2, follow this procedure: Launch Game → Settings → Game → Enable Developer Console → Yes. Then, press the “~” button to activate it.
Basically, you need to type the opposite command. For some, it means adding the opposite value, which is usually ‘1’ for activation and ‘0’ for deactivation (e.g., sv_cheats 1 enables 'cheat' commands, and sv_cheats 0 disables them). For others, you need to find an opposite command (e.g., bot_add/bot_kick)
The most often used commands are related to adjusting game volume rates, mouse sensitivity, and binds, which can be changed up to several times per single map.
Console commands have almost no impact on the skill itself but can definitely make the gaming process smoother and more pleasant, so you can easily kill more enemies.