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
IPS

Commands List

Command Description More
mouse_inverty

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

Examples, Generator & More
mouse_inverty <0 / 1>
mp_damage_headshot_only

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

Examples, Generator & More
mp_damage_headshot_only <0 / 1>
mp_dm_healthshot_killcount

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.

Examples, Generator & More
mp_dm_healthshot_killcount <Kill count>
mp_suicide_penalty

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

Examples, Generator & More
mp_suicide_penalty <0 / 1>
mp_team_intro_time

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

Examples, Generator & More
mp_team_intro_time <Seconds>
mp_warmup_offline_enabled

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

Examples, Generator & More
mp_warmup_offline_enabled <0 / 1>
mp_warmup_online_enabled

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

Examples, Generator & More
mp_warmup_online_enabled <0 / 1>
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_clear_attributes
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_create_indirect_connection
nav_draw_area_gravity

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.

Examples, Generator & More
nav_draw_area_gravity <0 / 1>
nav_draw_area_hull_support

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

Examples, Generator & More
nav_draw_area_hull_support <0 / 1>
nav_draw_area_normal

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

Examples, Generator & More
nav_draw_area_normal <0 / 1>
nav_draw_area_ztest

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

Examples, Generator & More
nav_draw_area_ztest <0 / 1>
nav_draw_attribute_dynamic

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.

Examples, Generator & More
nav_draw_attribute_dynamic <0 / 1>
nav_draw_markup_offset

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

Examples, Generator & More
nav_draw_markup_offset <Offset value>
nav_draw_mesh_offset

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.

Examples, Generator & More
nav_draw_mesh_offset <Offset Value>
nav_draw_space_neighbors

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

Examples, Generator & More
nav_draw_space_neighbors <0 / 1>
nav_draw_space_portals

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.

Examples, Generator & More
nav_draw_space_portals <0 / 1>
nav_draw_space_radius

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

Examples, Generator & More
nav_draw_space_radius <0 / 1>
nav_gen_add_jumps

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.

Examples, Generator & More
nav_gen_add_jumps <0 / 1>