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_boundary_zone_path

CS2 Only

Command

nav_test_boundary_zone_path

<0 / 1>

Toggles visualization of navigation paths at zone boundaries to help troubleshoot and improve navigation mesh behavior.

Command Details

nav_test_boundary_zone_rays

CS2 Only

Command

nav_test_boundary_zone_rays

<Rays Count>

Tests navigation boundaries in CS2 by firing a specific number of rays within boundary zones.

Command Details

nav_test_boundary_zone_rays_margin

CS2 Only

Command

nav_test_boundary_zone_rays_margin

<Value>

Sets the margin used when testing boundary zones with rays in navigation mesh analysis.

Command Details

nav_test_boundary_zone_rays_random

CS2 Only

Command

nav_test_boundary_zone_rays_random

<0 / 1>

Toggles random testing of boundary zone rays within navigation meshes to help debug bot navigation.

Command Details

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_nearest_clear

CS2 Only

Command

nav_test_find_nearest_clear

<0 / 1>

Calculates the closest point on the navigation mesh to a given trace point using the current hull selection from nav_select_hull. Use this command mainly for debugging navmesh navigation in CS2.

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