CS2 Console Commands List

  • Page 50

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

nav_select_area_id <Area ID>

This command selects a navigation area in the game with a specific ID. It is used for debugging and modifying the game's navigation mesh.

Name Description
Area ID

The identifier of the navigation area to select.

Examples, Generator & More
nav_select_block_id <Block ID>

This command selects a navigation space block that matches the given ID. It is used especially in map development or debugging navigation paths.

Name Description
Block ID

The ID of the navigation space block to select.

Examples, Generator & More
nav_select_hull <Hull Size Category>

This command restricts area selection in the navigation mesh to areas that can accommodate an entity with the specified hull size category. This is useful for level design or debugging pathfinding for different types of entities.

Name Description
Hull Size Category

Specifies the size category of the hull for which area selection in the navigation mesh will be restricted.

Examples, Generator & More
nav_select_with_attribute <Attribute>

This command is used to select navigation areas that have a specific attribute within the game map. Useful for map developers or during debugging.

Name Description
Attribute

The specific attribute of navigation areas to select.

Examples, Generator & More
nav_show_area_info_font <Font Name>

Sets the font used for displaying area information in the navigation mesh (when debugging or analyzing navigation).

Name Description
Font Name

The name of the font to be used.

Examples, Generator & More
nav_show_area_info_font_size <Font Size>

This command sets the font size of the area information displayed when using the 'nav_show_area_info' command in CS2. A value of -1 resets it to the default font size.

Name Description
Font Size

The font size for the area information text. -1 resets to default.

Examples, Generator & More
nav_show_area_info_font_voffset <Vertical Offset>

Adjusts the vertical offset for the area information text displayed on the navigation mesh for debugging.

Name Description
Vertical Offset

The amount by which to vertically adjust the navigation mesh area info text.

Examples, Generator & More
nav_show_area_verts <0 / 1>

Enables or disables the display of navigational area vertices in the game, which is useful for map development and debugging.

Name Description
0 / 1

Enable or disable the display of nav area vertices.

Examples, Generator & More
nav_show_area_water_info <0 / 1>

Toggles the visualization of water-related information in navigation areas for debugging purposes.

Name Description
0 / 1

Whether to enable or disable the visualization of water-related information in navigation areas.

Examples, Generator & More
nav_smooth_draw_speed <Speed>

This command sets the speed at which the navigation mesh is drawn in smooth mode, affecting how quickly the outlines of the navigation areas are rendered when inspected.

Name Description
Speed

The draw speed of navigation meshes in smooth mode.

Examples, Generator & More
nav_smooth_relax <0 / 1>

This command controls the relaxation smoothing for the navigation mesh. Used for debugging path-finding.

Name Description
0 / 1

Turns the navigation mesh relaxation smoothing on or off.

Examples, Generator & More
nav_smooth_spring_yaw_rotation_speed <Speed>

Sets the rotation speed of the yaw when smoothing spring navigations.

Name Description
Speed

The rotation speed of the yaw in units.

Examples, Generator & More
nav_smooth_spring_yaw_threshold <Threshold>

This command sets the threshold for smooth spring yaw adjustments when navigating.

Name Description
Threshold

The threshold value for smooth spring yaw adjustments.

Examples, Generator & More
nav_smooth_use_opt <0 / 1>

Controls whether the navigation smoothing optimization is used. This is mainly a development tool related to AI pathfinding.

Name Description
0 / 1

Disable or enable the navigation smoothing optimization.

Examples, Generator & More
navspace_debug_stringpull <0 / 1>

This command is used to debug navigation spaces by displaying string pull effects when set to enabled.

Name Description
0 / 1

Enables or disables the display of navigation space string pulls for debugging purposes.

Examples, Generator & More
navspace_debug_trace <0 / 1>

Enables or disables the debug tracing of navigation spaces in-game, useful for developers or map creators to troubleshoot pathfinding issues.

Name Description
0 / 1

Enable or disable the debug tracing.

Examples, Generator & More
navspace_debug_transition_calc <0 / 1>

This command is used to debug the navigation transition calculations in the game, allowing developers to analyze and optimize pathfinding.

Name Description
0 / 1

Enables or disables the debug mode for navigation transition calculations.

Examples, Generator & More
navspace_draw_water_changes <0 / 1>

This command visually represents changes in water volumes in navigation spaces, useful for debugging map features related to water.

Name Description
0 / 1

Toggles the drawing of changes in water volumes. 0 turns it off, 1 turns it on.

Examples, Generator & More
navspace_path_use_water_level_locator <0 / 1>

This command determines whether the navigation paths should factor in water levels during their calculation, affecting how NPCs navigate through water in the game.

Name Description
0 / 1

Set whether to include water levels in navigation path calculations or not.

Examples, Generator & More
nav_test_find_nearest_clear <0 / 1>

This command calculates the nearest point on the navigation mesh (navmesh) to a designated trace point, utilizing the selection from nav_select_hull. It's primarily used for debugging purposes to test navigation meshes in CS2.

Name Description
0 / 1

Sets whether to enable or disable the calculation of the nearest point on the navmesh to the trace point.

Examples, Generator & More