CS2 Server Commands

Commands to enhance cs2 server features of Counter-Strike game

nav_test_getnearestnav_gravity

CS2 Only

Command

nav_test_getnearestnav_gravity

<0 / 1>

Tests the nearest navigation area based on gravity, aiding in navigation and pathfinding development.

Command Details

nav_test_level_hull

CS2 Only

Command

nav_test_level_hull

Finds and lists entities that are inside the navigation mesh where they shouldn't be. It also temporarily shows bounding boxes around these entities.

Command Details

nav_test_level_hull_move

CS2 Only

Command

nav_test_level_hull_move

Moves the player's collision hull through the navigation mesh to test pathfinding and connectivity without moving the actual player.

Command Details

nav_test_multi_connection

CS2 Only

Command

nav_test_multi_connection

<0 / 1>

Turns on or off the test that displays multi-connection details on the navigation mesh used by bots.

Command Details

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_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