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_pathfind_debug_log

CS2 Only

Command

nav_pathfind_debug_log

<0 / 1>

Toggles the pathfinding debug log that shows detailed info about bot and navigation path calculations.

Command Details

nav_pathfind_draw_blocked

CS2 Only

Command

nav_pathfind_draw_blocked

<0 / 1>

Toggles the display of blocked areas in the bot navigation mesh, helping you see where AI cannot path.

Command Details

nav_pathfind_draw_costs

CS2 Only

Command

nav_pathfind_draw_costs

<0 / 1>

Toggle the display of AI pathfinding costs on the navigation mesh. When enabled, it shows travel cost details that bots use for navigation across the map.

Command Details

nav_pathfind_draw_fail

CS2 Only

Command

nav_pathfind_draw_fail

<0 / 1>

Marks areas in the navigation mesh where AI pathfinding failed, helping developers spot and fix bot navigation problems.

Command Details

nav_pathfind_draw_total_costs

CS2 Only

Command

nav_pathfind_draw_total_costs

<0 / 1>

Toggles the display of total pathfinding costs on the navigation mesh to help developers and map makers debug bot movement.

Command Details

nav_pathfind_inadmissable_heuristic_factor

CS2 Only

Command

nav_pathfind_inadmissable_heuristic_factor

<Inadmissible Heuristic Factor>

Adjusts the multiplier for the inadmissible heuristic used in AI pathfinding, affecting how the AI calculates navigation paths in CS2.

Command Details

nav_pathfind_multithread

CS2 Only

Command

nav_pathfind_multithread

<0 / 1>

Enables or disables multithreaded pathfinding to improve navigation calculation performance on multi-core systems.

Command Details

nav_path_fixup_climb_up_segments

CS2 Only

Command

nav_path_fixup_climb_up_segments

<0 / 1>

Toggles automatic addition of climbing segments in navigation paths to help AI properly navigate climbable areas.

Command Details

nav_path_fixup_gap_segments

CS2 Only

Command

nav_path_fixup_gap_segments

<0 / 1>

Adjust how the navigation path handles gap segments. Use this command to enable or disable fixing gaps in AI pathfinding, useful for debugging or tuning navigation on the server.

Command Details

nav_path_optimize

CS2 Only

Command

nav_path_optimize

<0 / 1>

Optimizes bot navigation paths to improve their movement and decision-making in the game.

Command Details