CS2 Console Commands

Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details. Click (Command Details) to view each specific command in more detail.

nav_test_npc_area

CS2 Only

Command

nav_test_npc_area

<0 / 1>

Checks if NPCs can navigate to a given area in the game.

Command Details

nav_test_npc_collision

CS2 Only

Command

nav_test_npc_collision

<0 / 1>

Toggles NPC collision testing with the navigation mesh during gameplay. Useful for developers and map creators to verify NPC navigation behavior.

Command Details

nav_test_npc_collision_range

CS2 Only

Command

nav_test_npc_collision_range

<Range>

Sets the range, in units, for NPC collision detection during navigation testing. (Cheat command)

Command Details

nav_test_npc_collision_show_geometry

CS2 Only

Command

nav_test_npc_collision_show_geometry

<0 / 1>

Switches the display of NPC collision shapes in navigation meshes to help debug navigation paths.

Command Details

nav_test_path

CS2 Only

Command

nav_test_path

<0 / 1>

Calculates and visually draws a navigation path from the player or camera position to a specified target point within the nav mesh. Useful for testing and debugging nav mesh issues.

Command Details

nav_test_path_expansion_search

CS2 Only

Command

nav_test_path_expansion_search

<0 / 1>

Enables or disables an expanded search along a nav_test_path, using a console variable to set the search distance.

Command Details

nav_test_path_lock_goal

CS2 Only

Command

nav_test_path_lock_goal

<0 / 1>

Locks the navigation pathfinding goal to the current intersection point to help debug navigation paths in the game.

Command Details

nav_test_path_lock_start

CS2 Only

Command

nav_test_path_lock_start

<0 / 1>

Locks the pathfinding start point to your current intersection for easier testing and debugging of navigation paths.

Command Details

nav_test_path_move

CS2 Only

Command

nav_test_path_move

<0 / 1>

Enables testing and debugging of navigation path movements in the game.

Command Details

nav_test_path_opt

CS2 Only

Command

nav_test_path_opt

<0 / 1>

Toggle automatic path optimization when editing navigation paths.

Command Details