CS2 Console Commands List

  • Page 27

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
Ad

Commands List

mouse_inverty <0 / 1>

Inverts the Y-axis of the mouse movement. When enabled, moving the mouse forward will aim down, and moving it backward will aim up.

Name Description
0 / 1

Sets the Y-axis inversion state.

Examples, Generator & More
mp_damage_headshot_only <0 / 1>

Turning this command on means that damage to other players can only be done through headshots. Time to test your aim.

Name Description
0 / 1

Enter a 1 after this command to enable it and turn on headshot only mode. Enter a 0 after the command to disable the command (default).

Examples, Generator & More
mp_dm_healthshot_killcount <Kill count>

This command is used in Counter-Strike 2 to grant players healthshots in a deathmatch game mode after they achieve a certain number of kills.

Name Description
Kill count

The number of kills required to grant a healthshot.

Examples, Generator & More
mp_suicide_penalty <0 / 1>

This command configures whether players should be penalized for committing suicide during a match.

Name Description
0 / 1

Enable or disable penalty for suicides.

Examples, Generator & More
mp_team_intro_time <Seconds>

Specifies the duration in seconds for the team introduction sequence at the beginning of a match.

Name Description
Seconds

Duration in seconds for the team introduction sequence.

Examples, Generator & More
mp_warmup_offline_enabled <0 / 1>

This command enables or disables the warmup period at the start of an offline (bot) match.

Name Description
0 / 1

Determines whether the warmup period is enabled or disabled in an offline match.

Examples, Generator & More
mp_warmup_online_enabled <0 / 1>

This command enables or disables the warmup period at the start of an online match.

Name Description
0 / 1

Enable or disable the warmup period.

Examples, Generator & More
nav_clear_attributes

This command removes all navigation attributes from the currently selected nav area, essentially resetting its special characteristics to their defaults.

Examples, Generator & More
nav_create_indirect_connection

Create a connection between the selected area and the area pointed at by the crosshair. This is primarily used during map development for pathfinding and navigation mesh adjustments.

Examples, Generator & More
nav_draw_area_gravity <0 / 1>

This command, when enabled, visualizes the 'gravity' of each navigation area in the map for debugging purposes. The visual representation helps understand how 'gravity' affects bot movements.

Name Description
0 / 1

A switch to enable or disable visualization of nav area gravity.

Examples, Generator & More
nav_draw_area_hull_support <0 / 1>

This command is used for debugging navigation meshes in-game. When enabled, it visually displays areas that support hull navigation.

Name Description
0 / 1

Enables or disables the display.

Examples, Generator & More
nav_draw_area_normal <0 / 1>

This command toggles the display of area normals in the navigation mesh, primarily used for debugging and map development.

Name Description
0 / 1

Toggles the display of area normals in the navigation mesh.

Examples, Generator & More
nav_draw_area_ztest <0 / 1>

This command toggles the Z-axis test when drawing nav areas, affecting their visibility based on the player's current view and position.

Name Description
0 / 1

Toggle Z-axis testing for nav area visibility.

Examples, Generator & More
nav_draw_attribute_dynamic <0 / 1>

This command is used to highlight all navigation (nav) areas with a specific dynamic attribute in the game. It's typically used for debugging or map development purposes, allowing developers and mappers to visually identify areas with certain characteristics.

Name Description
0 / 1

This argument enables or disables the visualization of nav areas with the dynamic attribute.

Examples, Generator & More
nav_draw_markup_offset <Offset value>

Adjusts the vertical offset for nav mesh markup drawing, helping in fine-tuning visual debugging layouts.

Name Description
Offset value

The vertical offset value for nav mesh markup drawing.

Examples, Generator & More
nav_draw_mesh_offset <Offset Value>

This command adjusts the vertical offset for drawing the navigation mesh in the game, which is particularly useful for scenarios where the mesh is a fixed offset away from the physical ground, such as on flat planes.

Name Description
Offset Value

The vertical distance between the navigation mesh and the physical ground.

Examples, Generator & More
nav_draw_space_neighbors <0 / 1>

This command, when enabled, visualizes neighboring spaces in the navigation mesh used by bots and AI to navigate through the map, helping debug pathfinding.

Name Description
0 / 1

Enable or disable the visualization of neighboring space connections in the navigation mesh.

Examples, Generator & More
nav_draw_space_portals <0 / 1>

This command is used to enable or disable the visualization of space portals in the navigation mesh, which is mainly useful for developers and map creators for debugging purposes.

Name Description
0 / 1

Enable or disable the visualization of space portals.

Examples, Generator & More
nav_draw_space_radius <0 / 1>

This command, when enabled, draws the nav space radius in the CS2 environment, useful for debugging navigation paths.

Name Description
0 / 1

The switch to enable or disable the drawing of the navigation space radius.

Examples, Generator & More
nav_gen_add_jumps <0 / 1>

This command is used to enable or disable the automatic addition of jump links (connections that require a jump) in the navigation mesh generation process.

Name Description
0 / 1

Enable or disable automatic jump link addition.

Examples, Generator & More