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

nav_test_path_return

CS2 Only

Command

nav_test_path_return

<0 / 1>

Calculates a return path from your current cursor position back to the path previously found by the nav_test_path command. Use this to debug and analyze navigation paths during map development.

Command Details

nav_test_path_space

CS2 Only

Command

nav_test_path_space

<0 / 1 / 2>

Controls whether the nav_test_path command tests 3D navigation, including space-to-space and combined space and ground navigation. Requires sv_cheats enabled and runs on the server.

Command Details

nav_test_path_space_fly

CS2 Only

Command

nav_test_path_space_fly

<0 / 1>

Enables or disables the flight path test mode in the game's navigation system, used mainly for testing movement paths during development or debugging.

Command Details

nav_test_path_space_swim

CS2 Only

Command

nav_test_path_space_swim

<0 / 1>

Test swim paths in the navigation mesh used by bots.

Command Details

nav_test_ray_space_scatter

CS2 Only

Command

nav_test_ray_space_scatter

<0 / 1>

Enables testing of ray scattering in space to help debug navigation mesh areas and paths.

Command Details

nav_test_smooth

CS2 Only

Command

nav_test_smooth

<0 / 1>

Use this command to smooth AI or bot pathing on the navigation mesh. It's designed for developers and mappers to test and improve navigation behavior.

Command Details

nav_test_smooth_extern_push

CS2 Only

Command

nav_test_smooth_extern_push

<0 / 1>

Enables or disables AI navigation smoothing for external pushes, used mainly for testing AI pathfinding behavior.

Command Details

nav_test_smooth_in_speed

CS2 Only

Command

nav_test_smooth_in_speed

<Speed>

Adjusts the speed of the navigation mesh smoothing process in CS2, used mainly for testing and developing navigation meshes.

Command Details