CS2 Console Commands List

  • Page 19

Below is Total CS' searchable list of all CS2 console commands. Each command in our database has detailed documentation, with help and argument explanation (hover over a command to view). Click on a command's name to visit its individual page, on which you can find more information including working examples and its default setting or value.

Type the name of a command into the search box to instantly filter our entire database of commands. Toggle between different views by pressing the "Card View" and "Table View" buttons.

If you are looking for a more specific selection of commands, you may prefer to sort by category.

Updated for CS2: We've updated our list to include over 1,000 console commands that were added in CS2.

We're the only website that has a complete list of all Counter-Strike 2 commands with complete documentation and examples. CS:GO Commands are hidden from this list by default. If you're playing on CS:GO, check the "Show CS:GO Commands" box to show commands that exist in Counter-Strike: Global Offensive.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help
IPS

Commands List

cl_sniper_auto_rezoom <0 / 1>

Automatically re-zooms sniper rifles after firing a shot. When enabled, the player's sniper scope will automatically re-zoom after each shot without needing to manually zoom in again.

Name Description
0 / 1

Whether to enable or disable sniper auto re-zoom.

Examples, Generator & More
cl_teamcounter_playercount_instead_of_avatars <0 / 1>

Determines whether the team counter displays the number of players instead of avatars.

Name Description
0 / 1

Enable or disable displaying player count instead of avatars

Examples, Generator & More
cl_versus_intro <0 / 1>

This command controls whether the introduction sequence for versus mode is played.

Name Description
0 / 1

Enable or disable the versus mode introduction sequence.

Examples, Generator & More
commentary <0 / 1>

Enables or disables the commentary mode, which provides developer insights on various aspects of the game.

Name Description
0 / 1

Desired state of the commentary mode.

Examples, Generator & More
csgo_map_preview_scale <Scale>

Adjusts the scale of the map preview in the Counter-Strike 2 interface.

Name Description
Scale

The scaling factor for the map preview.

Examples, Generator & More
csm_viewmodel_farz <Render Distance>

Adjusts how far into the distance the viewmodel can render. Primarily used for debugging purposes.

Name Description
Render Distance

The distance in units at which the viewmodel stops rendering.

Examples, Generator & More
csm_viewmodel_max_visible_dist <Distance>

This command adjusts the maximum visible distance for viewmodels, affecting how far away models can appear in-game.

Name Description
Distance

The maximum distance (in units) that viewmodels will be visible.

Examples, Generator & More
csm_viewmodel_nearz <Z-axis proximity>

Adjusts the proximity of the viewmodel to the screen on the Z-axis. Useful for fine-tuning how weapons and hands are displayed in the player's view.

Name Description
Z-axis proximity

The proximity of the viewmodel to the screen on the Z-axis.

Examples, Generator & More
cv_bot_ai_bt_debug_target <Bot ID>

This command is used to draw the behavior tree of the specified bot, aiding in understanding and debugging the bot's decision-making processes. It is particularly useful for developers and testers.

Name Description
Bot ID

The specific ID of the bot whose behavior tree is to be drawn.

Examples, Generator & More
cv_bot_ai_bt_hiding_spot_show <0 / 1>

This command is used to visualize the hiding spots for bots within the game. It is a developer tool mainly used for testing and debugging AI behaviors in various maps.

Name Description
0 / 1

This toggles the visibility of bot hiding spots on the map.

Examples, Generator & More
cv_bot_ai_bt_moveto_show_next_hiding_spot <0 / 1>

This command, when enabled, visualizes the next hiding spot a bot plans to check. Useful for understanding bot movement and pathfinding in relation to hiding spots.

Name Description
0 / 1

Enables or disables the visualization of the next hiding spot bots will check.

Examples, Generator & More
exec_async <File Name>

This command is used to execute a cfg (configuration) file over a period of time instead of all at once. It is particularly useful for applying settings that could potentially disrupt gameplay if loaded instantly.

Name Description
File Name

Name of the cfg file to be executed.

Examples, Generator & More
fps_max_tools <Frames per second>

Sets an additional frame rate limit while in tools mode and when a window other than the game window has focus. This allows for lower frame rates in tools mode without affecting the main game's fps_max setting. If set to 0, there is no specific limit for tools mode.

Name Description
Frames per second

The maximum number of frames per second to be displayed in tools mode when the game window is not in focus. Setting this to 0 removes the limit.

Examples, Generator & More
fps_max_ui <Frame rate limit>

Sets the maximum frame rate for the game UI. A setting of 0 removes the limit.

Name Description
Frame rate limit

Maximum frame rate for the game UI. 0 for no limit.

Examples, Generator & More
hostname_in_client_status <0 / 1>

This command allows the server hostname to be shown in the client's status information.

Name Description
0 / 1

Enable or disable the display of server hostname in client status.

Examples, Generator & More
inferno_flame_spacing <Spacing>

This console command changes the distance between separate flame spawns when using molotov and incendiary grenades.

Name Description
Spacing

The distance you want between flame spawns. The default value for this command is 42.

Examples, Generator & More
joy_axisx_deadzone <Deadzone Value>

This command sets the deadzone for the x-axis of a joystick, determining the minimum movement required on the x-axis to be recognized as input.

Name Description
Deadzone Value

The minimum movement required on the x-axis to detect input.

Examples, Generator & More
joy_axisx_relative <0 / 1>

Determines if the joystick's X-axis movements are interpreted as relative inputs. Primarily affects how camera or character movement is handled in relation to the joystick's horizontal movements.

Name Description
0 / 1

Determines whether the joystick's X-axis is relative.

Examples, Generator & More
joy_axisy_deadzone <Deadzone Value>

Sets the deadzone for the Y-axis on a joystick, which is the threshold below which joystick movements are ignored.

Name Description
Deadzone Value

The threshold value for the Y-axis deadzone, ranging from 0 to 1.

Examples, Generator & More
joy_axisy_relative <0 / 1>

This command sets the Y-axis of the joystick to operate in either relative or absolute mode for movement.

Name Description
0 / 1

Sets the joystick's Y-axis mode.

Examples, Generator & More