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

nav_path_optimize_portals

CS2 Only

Command

nav_path_optimize_portals

<0 / 1>

Improves bot navigation by optimizing portals within the navigation mesh, enabling smoother and more efficient pathfinding on complex maps.

Command Details

nav_path_optimizer_debug

CS2 Only

Command

nav_path_optimizer_debug

<0 / 1>

Toggle debug mode for the navigation path optimizer to help analyze AI pathfinding.

Command Details

nav_path_record_draw_last_fail

CS2 Only

Command

nav_path_record_draw_last_fail

<0 / 1>

When enabled, this command displays the last failed navigation path to help debug bot movement issues in the game.

Command Details

nav_path_record_enable

CS2 Only

Command

nav_path_record_enable

<0 / 1>

Turns on or off navigation path recording, used to help improve AI and bot pathfinding on navigation meshes.

Command Details

nav_select_allow_blocked

CS2 Only

Command

nav_select_allow_blocked

<0 / 1>

Allows selecting areas marked as blocked when editing the navigation mesh.

Command Details

nav_select_area_id

CS2 Only

Command

nav_select_area_id

<Area ID>

Select a specific navigation area in the game by its ID. Useful for debugging and editing the navigation mesh.

Command Details

nav_select_block_id

CS2 Only

Command

nav_select_block_id

<Block ID>

Selects a navigation mesh block by its ID, useful for map design and debugging navigation paths.

Command Details

nav_select_hull

CS2 Only

Command

nav_select_hull

<Hull Size Category>

Limits navigation mesh area selection to those that fit the specified hull size. This helps level designers and developers test pathfinding for different entity sizes.

Command Details

nav_select_with_attribute

CS2 Only

Command

nav_select_with_attribute

<Attribute>

Select navigation areas on the game map that have a specific attribute. Useful for map developers and debugging.

Command Details