Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!
Commands List
Command | Description | More | Syntax |
---|---|---|---|
nav_split_place_on_ground | nav_split_place_on_ground
|
||
nav_store_selected_set | nav_store_selected_set
|
||
nav_test_area_gravity | This command is used to test the effects of gravity in a specific navigation area in CS2, primarily useful in map development and testing scenarios. |
Examples, Generator & More | nav_test_area_gravity
<0 / 1>
|
nav_test_bfs_lattice_dist_0 | This command is used for debugging navigation meshes by testing Breadth-First Search (BFS) lattices at distance 0. It is primarily a cheat command used by developers or for troubleshooting purposes. |
Examples, Generator & More | nav_test_bfs_lattice_dist_0
<Distance>
|
nav_test_bfs_lattice_dist_1 | This command is used to set the beginning distance for testing the Breadth-First Search (BFS) on the navigation mesh's lattice. It serves as a debugging tool for developers to assess pathfinding and navigation mesh connectivity. |
Examples, Generator & More | nav_test_bfs_lattice_dist_1
<Distance>
|
nav_test_bfs_lattice_dist_2 | This command is used within the context of CS2's navigation mesh system, likely for debugging or analyzing the second distance parameter in breadth-first search (BFS) operations on the navigation mesh lattice. The exact nature of its use might relate to pathfinding or analyzing map connectivity. |
Examples, Generator & More | nav_test_bfs_lattice_dist_2
<Value>
|
nav_test_bfs_lattice_hex | Demonstrates searching hexagonal lattice over the navigation mesh in the game for troubleshooting or testing purposes. |
Examples, Generator & More | nav_test_bfs_lattice_hex
<0 / 1>
|
nav_test_bfs_lattice_mark | This command is used for navigation mesh testing, specifically marking the Breadth-First Search (BFS) lattice generated during pathfinding or analysis operations. |
Examples, Generator & More | nav_test_bfs_lattice_mark
<0 / 1>
|
nav_test_bfs_lattice_simple | This command is used for debugging purposes, specifically to test the simple breadth-first search (BFS) lattice within the navigation mesh. It's part of the suite of tools used for analyzing and debugging the map's navigation mesh in Counter-Strike 2. |
Examples, Generator & More | nav_test_bfs_lattice_simple
<0 / 1>
|
nav_test_bfs_lattice_spacing_0 | Sets the spacing for Breadth-First Search (BFS) lattice used in the navigation mesh tests. This command is often used in debugging and optimizing pathfinding. |
Examples, Generator & More | nav_test_bfs_lattice_spacing_0
<Lattice Spacing>
|
nav_test_bfs_lattice_spacing_1 | This command is used to set the spacing value for a particular lattice when performing a breadth-first search (BFS) in navigation mesh testing. It's mainly used for debugging and optimizing navigation meshes. |
Examples, Generator & More | nav_test_bfs_lattice_spacing_1
<Spacing value>
|
nav_test_bfs_lattice_spacing_2 | Sets the spacing between lattice points used in the navigation mesh testing for BFS (Breadth-First Search). |
Examples, Generator & More | nav_test_bfs_lattice_spacing_2
<Spacing Value>
|
nav_test_bfs_simple | This command is used for testing the navigation mesh system within Counter-Strike 2. Specifically, it enables or disables a simple breadth-first search (BFS) algorithm debugging mode. |
Examples, Generator & More | nav_test_bfs_simple
<0 / 1>
|
nav_test_boundary_zone_circle | This command is used to test the navigation boundary zone circle in Counter-Strike 2, primarily for debugging purposes related to in-game navigation meshes. |
Examples, Generator & More | nav_test_boundary_zone_circle
<0 / 1>
|
nav_test_boundary_zone_force | Forces the navigation test boundary zone. This command is typically used for debugging purposes to test the nav boundaries in maps. |
Examples, Generator & More | nav_test_boundary_zone_force
<0 / 1>
|
nav_test_boundary_zone_grid_dim | Configures the dimensions of the zone grid used for navigation testing, particularly in debugging map navigation for bots. |
Examples, Generator & More | nav_test_boundary_zone_grid_dim
<Grid Dimension>
|
nav_test_boundary_zone_path | This command is used to test the navigation path within boundary zones when set to 1. It visualizes how the navigation mesh behaves at the boundaries of zones for troubleshooting and development purposes. |
Examples, Generator & More | nav_test_boundary_zone_path
<0 / 1>
|
nav_test_boundary_zone_rays | This command is used for testing navigation boundaries within CS2 by firing a specified number of rays within boundary zones. |
Examples, Generator & More | nav_test_boundary_zone_rays
<Rays Count>
|
nav_test_boundary_zone_rays_margin | This command adjusts the margin for testing boundary zones with rays in navigation mesh analysis. |
Examples, Generator & More | nav_test_boundary_zone_rays_margin
<Value>
|
nav_test_boundary_zone_rays_random | This command is used to toggle the testing of boundary zone rays randomly within the navigation mesh areas when debugging navigation meshes for bots. |
Examples, Generator & More | nav_test_boundary_zone_rays_random
<0 / 1>
|