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_smooth_draw_constraint_spline | This command toggles the smooth drawing of constraint splines in the navigation mesh, used for debugging pathfinding. |
Examples, Generator & More | nav_smooth_draw_constraint_spline
<0 / 1>
|
nav_smooth_draw_constraint_spring | This command controls the visualization of constraint springs in navigation mesh editing for CS2, used for debugging purposes. |
Examples, Generator & More | nav_smooth_draw_constraint_spring
<0 / 1>
|
nav_smooth_relax_use_timesteps | This command controls the relaxation of pathfinding in the navigation mesh using timesteps, typically for debugging or modifying AI pathfinding behavior. |
Examples, Generator & More | nav_smooth_relax_use_timesteps
<0 / 1>
|
nav_smooth_separating_dist_override | This command overrides the default distance for smoothing the separation between nav areas when generating a navigation mesh. |
Examples, Generator & More | nav_smooth_separating_dist_override
<Distance>
|
nav_smooth_spring_const_override | This command is used to override the default spring constant value used in navigation smoothness calculations, primarily for AI. A value of -1 indicates the default setting is being used. |
Examples, Generator & More | nav_smooth_spring_const_override
<Spring Constant Value>
|
nav_smooth_spring_factor_deriv | This command adjusts the rate of change for the spring factor in the navigation mesh smoothing algorithm, used primarily in bot movement and AI pathfinding. |
Examples, Generator & More | nav_smooth_spring_factor_deriv
<Factor>
|
nav_smooth_spring_factor_dist | This command adjusts the navigation smoothness related to the distance factor in controlling how spring physics are applied for smoother movement and transitions within the navigation mesh used for NPC pathfinding. |
Examples, Generator & More | nav_smooth_spring_factor_dist
<Distance Factor>
|
nav_smooth_spring_factor_speed | This command adjusts the speed at which the 'smooth spring factor' operates in the navigation mesh system, typically used for AI pathfinding adjustments. |
Examples, Generator & More | nav_smooth_spring_factor_speed
<Speed>
|
nav_smooth_spring_forward_dist_base | This command adjusts the base distance for the 'smooth spring' behavior in navigation, affecting how non-player characters and certain game elements move. |
Examples, Generator & More | nav_smooth_spring_forward_dist_base
<Base distance>
|
nav_smooth_spring_forward_dist_time_limit | This command determines the time limit for moving the navigation mesh forward with a smooth spring action in 'cheat' mode. |
Examples, Generator & More | nav_smooth_spring_forward_dist_time_limit
<Time limit>
|
nav_smooth_spring_max_dist | Defines the maximum distance for the smooth spring during navigation mesh editing. |
Examples, Generator & More | nav_smooth_spring_max_dist
<Distance>
|
nav_smooth_spring_tension_max_override | Overrides the maximum spring tension for smooth navigation. The default value of -1 means there is no override in place. |
Examples, Generator & More | nav_smooth_spring_tension_max_override
<Tension Override Value>
|
nav_smooth_spring_timestep_factor_accel | This command adjusts the acceleration factor of the smooth spring timestep in navigation operations, often used for bot movement or navigation mesh calculations. It's primarily a development tool used in map creation and AI behavior tuning. |
Examples, Generator & More | nav_smooth_spring_timestep_factor_accel
<Acceleration Factor>
|
nav_smooth_spring_timestep_factor_speed | This command adjusts the speed factor of the smooth spring timestep in navigation mesh processing. |
Examples, Generator & More | nav_smooth_spring_timestep_factor_speed
<Speed Factor>
|
nav_smooth_spring_timestep_max | This command specifies the maximum timestep for the smooth spring simulation used in navigation mesh updates, under cheat conditions. It ensures smoother transitions or updates within the navigation mesh system. |
Examples, Generator & More | nav_smooth_spring_timestep_max
<Maximum timestep>
|
nav_smooth_spring_timestep_min | Sets the minimum timestep for the navigation smooth spring algorithm, used in bot movement and navigation. |
Examples, Generator & More | nav_smooth_spring_timestep_min
<Timestep value>
|
navspace_create_water_smooth_connections | This command controls whether to create smoother connections in navigation spaces under water areas. |
Examples, Generator & More | navspace_create_water_smooth_connections
<0 / 1>
|
navspace_create_water_transition_connections | This command is used to automatically create navigational connections for paths that transition through water in maps, making bot movement across such areas smoother and more logical. |
Examples, Generator & More | navspace_create_water_transition_connections
<0 / 1>
|
navspace_debug_pathfind | Activates or deactivates the debug mode for pathfinding in navigation spaces, helping in visualizing how non-player characters (NPCs) determine their paths through the mapped environment. This is primarily used for debugging purposes. |
Examples, Generator & More | navspace_debug_pathfind
<0 / 1>
|
nav_split | nav_split
|