CS2 Console Commands List

  • Page 36

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

mp_shield_speed_deployed <Speed>

Defines the maximum movement speed a player can have when a shield is deployed in-game.

Name Description
Speed

The maximum speed a player can have when their shield is deployed.

Examples, Generator & More
mp_shield_speed_holstered <Max Speed>

Sets the maximum speed a player can have when they have a shield holstered.

Name Description
Max Speed

The maximum speed a player can have when they have a shield holstered.

Examples, Generator & More
mp_warmuptime_match_cancelled <Warmup Time (seconds)>

Specifies the warmup duration in seconds to use when a match is about to be cancelled, for example, due to a player receiving a live VAC ban.

Name Description
Warmup Time (seconds)

The time in seconds the warmup should last when a match is cancelled.

Examples, Generator & More
nav_bfs_debug <0 / 1>

Enables or disables the Breadth-First Search (BFS) debug mode in navigation mesh operations.

Name Description
0 / 1

Sets the BFS debug mode on or off.

Examples, Generator & More
nav_delete_all_hull <Hull category>

Deletes all navigation areas that fit a specific hull size category. This command is mainly used for debugging and developing navigation (nav) meshes for bots in maps.

Name Description
Hull category

The specific hull size category of areas to delete.

Examples, Generator & More
nav_draw_area_ids <0 / 1>

When enabled, this command draws the IDs of navigation areas on top of each one in the game, useful for debugging navigation meshes.

Name Description
0 / 1

Enable or disable the drawing of the navigation area IDs.

Examples, Generator & More
nav_draw_area_inset_margin <Inset Margin>

This command adjusts the inset margin for drawing navigation areas, aiding in navigation mesh editing and visualization.

Name Description
Inset Margin

The value defining the inset margin size for nav area drawings.

Examples, Generator & More
nav_draw_externally_created <0 / 1>

Toggles the display of externally created navigation meshes in the game. This is primarily used for debugging purposes.

Name Description
0 / 1

Toggle the display of externally created navigation meshes.

Examples, Generator & More
nav_draw_space_cells <0 / 1>

This command toggles the visual drawing of space cells on the navigation mesh used for AI pathfinding. When enabled, it shows the grid cells that define navigable spaces.

Name Description
0 / 1

Enable or disable the drawing of navigation space cells.

Examples, Generator & More
nav_draw_space_fly <0 / 1>

Toggles the display of pathfinders and connectors in Navigation Mesh (nav mesh) while in free spectate mode, mostly used for debugging purposes.

Name Description
0 / 1

Enables or disables the display of nav mesh pathfinders and connectors in free spectate mode.

Examples, Generator & More
nav_draw_space_swim <0 / 1>

This command, when enabled, shows navigation areas that the AI can 'swim' through in the game, typically used for debugging pathfinding in areas like water.

Name Description
0 / 1

Disables or enables the display of swim areas in navigation meshes.

Examples, Generator & More
nav_edit_validate <0 / 1>

This command is used to validate the structures within the game's navigation mesh, ensuring they are set up correctly and without errors. Essential for map developers or those tinkering with custom navigation meshes.

Name Description
0 / 1

This argument enables or disables the validation of the game's navigation mesh structures.

Examples, Generator & More
nav_gen_island_removal <0 / 1>

This command, when enabled, removes isolated 'islands' of navigation meshes in the map. These islands are small, unconnected parts of the navigation mesh that are not reachable by other areas.

Name Description
0 / 1

Enable or disable island removal.

Examples, Generator & More
nav_gen_island_removal_all_hulls <0 / 1>

This command, when enabled, removes navigation mesh islands for all hull sizes during the map analysis phase. It is primarily used in the level design and testing phase to optimize AI pathfinding.

Name Description
0 / 1

Determines whether the removal of navigation mesh islands for all hull sizes is enabled or disabled.

Examples, Generator & More
nav_gen_match_ground <0 / 1>

This command generates or updates ground details in the navigation mesh used for bots and other AI decision-making processes.

Name Description
0 / 1

Determines whether to disable or enable the updating of ground details in the navigation mesh.

Examples, Generator & More
nav_obstacle_genrt <0 / 1>

This command is used to toggle the generation of navigation obstacles in the game world. It's primarily a development and debugging tool used for testing and optimizing pathfinding and navigation.

Name Description
0 / 1

Toggles the generation of navigation obstacles.

Examples, Generator & More
nav_obstacle_validate <0 / 1>

Toggles the validation for navigation obstacles, ensuring that they are properly placed and configured within the game's map. Typically used for development and debugging.

Name Description
0 / 1

Toggle navigation obstacle validation.

Examples, Generator & More
nav_obstruction_draw_change <0 / 1>

Toggles the visualization of navigation obstructions, which are areas in the map that can obstruct paths, for debugging purposes.

Name Description
0 / 1

Turns the navigation obstruction visualization off or on.

Examples, Generator & More
nav_show_area_connections <0 / 1>

This command toggles the display of connections between nav areas on and off when in the nav mesh editing mode. It is used for debugging and map development purposes, particularly for understanding how different areas of the map are interconnected.

Name Description
0 / 1

Toggle the display of area connections on or off.

Examples, Generator & More
nav_smooth_enable <0 / 1>

Enables or disables the smoothing of navigation meshes, used primarily for debugging and development purposes in map creation.

Name Description
0 / 1

Enable or disable the smoothing of navigation meshes.

Examples, Generator & More