CS2 Console Commands List

  • Page 51

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
nav_test_find_random_connected_dist_max

This command sets the maximum distance for finding a randomly connected navigation area in testing scenarios.

Examples, Generator & More
nav_test_find_random_connected_dist_max <Maximum Distance>
nav_test_find_random_connected_dist_min

This command sets the minimum distance for finding a randomly connected navigation area in test mode.

Examples, Generator & More
nav_test_find_random_connected_dist_min <Distance>
nav_test_force_npc_repath

Forces the non-playable characters (NPCs) to repath, used for debugging the navigation of bots in the game.

Examples, Generator & More
nav_test_force_npc_repath <0 / 1>
nav_test_npc_area

This command is used to test if non-playable characters (NPCs) can navigate to a specified area in the game.

Examples, Generator & More
nav_test_npc_area <0 / 1>
nav_test_npc_collision

Toggles the testing mode for NPC collisions with the navigation mesh in-game. This command is useful for developers or map creators to ensure NPCs navigate maps correctly.

Examples, Generator & More
nav_test_npc_collision <0 / 1>
nav_test_npc_collision_range

This command is used to set the range at which the navigation testing for NPC collision detection occurs, marked as a cheat command.

Examples, Generator & More
nav_test_npc_collision_range <Range>
nav_test_npc_collision_show_geometry

Toggles the display of NPC collision geometry in navigation meshes, which is useful for debugging navigation paths.

Examples, Generator & More
nav_test_npc_collision_show_geometry <0 / 1>
nav_test_path

This command is used to calculate and then visually draw a path from the player or camera's current position to a specified test position within the navigation mesh in the game. It is typically used for debugging and testing navigation meshes.

Examples, Generator & More
nav_test_path <0 / 1>
nav_test_path_expansion_search

This command extends the functionality of nav_test_path by performing an expansion search along the specified path. The value of the console variable sets the distance parameter for the search.

Examples, Generator & More
nav_test_path_expansion_search <0 / 1>
nav_test_path_lock_goal

Locks the pathfinding goal to the current intersection point. Useful for debugging navigation paths in game.

Examples, Generator & More
nav_test_path_lock_goal <0 / 1>
nav_test_path_lock_start

Locks the pathfinding start point to the current intersection point. This is used mainly for debugging and testing navigation paths in the game environment.

Examples, Generator & More
nav_test_path_lock_start <0 / 1>
nav_test_path_move

This command, when enabled, allows for testing path moves in the game. It is primarily used for debugging and optimizing navigation paths.

Examples, Generator & More
nav_test_path_move <0 / 1>
nav_test_path_opt

Enable path optimization for paths during navigation editing.

Examples, Generator & More
nav_test_path_opt <0 / 1>
nav_test_path_opt_transitions

This command toggles the testing of path optimizations concerning transitions on the navigation mesh. It is used for debugging purposes to analyze how well different navigation paths are optimized during map navigation.

Examples, Generator & More
nav_test_path_opt_transitions <0 / 1>
nav_test_path_return

This command calculates a return path from the cursor's current position to the path that was previously calculated by the nav_test_path command. It is used for debugging navigation paths in map development.

Examples, Generator & More
nav_test_path_return <0 / 1>
nav_test_path_space

Determines if the nav_test_path command should test 3D navigation, with options for space to space, and multi-modal space/ground navigation. Marked as a server command that requires sv_cheats to be enabled.

Examples, Generator & More
nav_test_path_space <0 / 1 / 2>
nav_test_smooth_extern_push

Controls the behavior of AI navigation smoothing for external pushes, generally used for testing or debugging AI pathfinding.

Examples, Generator & More
nav_test_smooth_extern_push <0 / 1>
nav_test_smooth_in_speed

This command adjusts the speed at which the navigation mesh smoothing process occurs in CS2, primarily used for debugging and developing navigation meshes.

Examples, Generator & More
nav_test_smooth_in_speed <Speed>
nav_test_smooth_in_yaw

This command, intended for debugging, visually demonstrates how navigation meshes are smoothly integrated within the Y-axis in the game world when enabled.

Examples, Generator & More
nav_test_smooth_in_yaw <0 / 1>
nav_test_smooth_path_speed

This command sets the speed of the 'smooth' pathing test in the navigation mesh used by bots. A value of -1 disables smooth path testing.

Examples, Generator & More
nav_test_smooth_path_speed <Speed>