CS2 Server Commands

Commands in this category can be used to change server and host settings like IP addresses, query settings, etc. They're useful in private servers, dedicated servers and for use as rcon commands.

nav_test_curve_opt

CS2 Only

Command

nav_test_curve_opt

<0 / 1>

Enables or disables testing of curve optimization used in AI navigation paths for debugging navigation meshes and AI movement.

Command Details

nav_test_detour

CS2 Only

Command

nav_test_detour

<0 / 1>

Toggles detour testing in the navigation mesh to help debug bot pathfinding.

Command Details

nav_test_find_nearest

CS2 Only

Command

nav_test_find_nearest

<0 / 1>

Calculates the closest point on the navigation mesh (navmesh) to a given trace point, using the hull selection set by the `nav_select_hull` command.

Command Details

nav_test_find_random_connected

CS2 Only

Command

nav_test_find_random_connected

<0 / 1>

Find random points within the navigation mesh that connect to a set start point. Use this to test or debug navigation paths on maps.

Command Details

nav_test_find_random_connected_dist_max

CS2 Only

Command

nav_test_find_random_connected_dist_max

<Maximum Distance>

Sets the maximum distance to search for a randomly connected navigation area during server testing.

Command Details

nav_test_find_random_connected_dist_min

CS2 Only

Command

nav_test_find_random_connected_dist_min

<Distance>

Sets the minimum distance used to find a randomly connected navigation area in test mode.

Command Details

nav_test_force_npc_repath

CS2 Only

Command

nav_test_force_npc_repath

<0 / 1>

Forces NPCs to recalculate their navigation paths, useful for debugging bot movement.

Command Details

nav_test_genrt

CS2 Only

Command

nav_test_genrt

<0 / 1>

Enables testing of the navigation mesh generation used for bot movement within the game. Use this command to debug or develop nav mesh algorithms by turning the test mode on or off.

Command Details

nav_test_genrt_place

CS2 Only

Command

nav_test_genrt_place

<0 / 1>

Generates or tests navigation mesh areas for specific map locations to help develop and debug bot movement.

Command Details

nav_test_getareaoverlapping_gravity

CS2 Only

Command

nav_test_getareaoverlapping_gravity

<0 / 1>

Checks if NAV areas overlap based on gravity settings to help debug navigation meshes in Counter-Strike 2.

Command Details