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
Inverts the Y-axis of the mouse movement. When enabled, moving the mouse forward will aim down, and moving it backward will aim up.
Name | Description |
---|---|
0 / 1 |
Sets the Y-axis inversion state. |
Turning this command on means that damage to other players can only be done through headshots. Time to test your aim.
Name | Description |
---|---|
0 / 1 |
Enter a 1 after this command to enable it and turn on headshot only mode. Enter a 0 after the command to disable the command (default). |
This command is used in Counter-Strike 2 to grant players healthshots in a deathmatch game mode after they achieve a certain number of kills.
Name | Description |
---|---|
Kill count |
The number of kills required to grant a healthshot. |
This command configures whether players should be penalized for committing suicide during a match.
Name | Description |
---|---|
0 / 1 |
Enable or disable penalty for suicides. |
Specifies the duration in seconds for the team introduction sequence at the beginning of a match.
Name | Description |
---|---|
Seconds |
Duration in seconds for the team introduction sequence. |
This command enables or disables the warmup period at the start of an offline (bot) match.
Name | Description |
---|---|
0 / 1 |
Determines whether the warmup period is enabled or disabled in an offline match. |
This command enables or disables the warmup period at the start of an online match.
Name | Description |
---|---|
0 / 1 |
Enable or disable the warmup period. |
This command removes all navigation attributes from the currently selected nav area, essentially resetting its special characteristics to their defaults.
Create a connection between the selected area and the area pointed at by the crosshair. This is primarily used during map development for pathfinding and navigation mesh adjustments.
This command, when enabled, visualizes the 'gravity' of each navigation area in the map for debugging purposes. The visual representation helps understand how 'gravity' affects bot movements.
Name | Description |
---|---|
0 / 1 |
A switch to enable or disable visualization of nav area gravity. |
This command is used for debugging navigation meshes in-game. When enabled, it visually displays areas that support hull navigation.
Name | Description |
---|---|
0 / 1 |
Enables or disables the display. |
This command toggles the display of area normals in the navigation mesh, primarily used for debugging and map development.
Name | Description |
---|---|
0 / 1 |
Toggles the display of area normals in the navigation mesh. |
This command toggles the Z-axis test when drawing nav areas, affecting their visibility based on the player's current view and position.
Name | Description |
---|---|
0 / 1 |
Toggle Z-axis testing for nav area visibility. |
This command is used to highlight all navigation (nav) areas with a specific dynamic attribute in the game. It's typically used for debugging or map development purposes, allowing developers and mappers to visually identify areas with certain characteristics.
Name | Description |
---|---|
0 / 1 |
This argument enables or disables the visualization of nav areas with the dynamic attribute. |
Adjusts the vertical offset for nav mesh markup drawing, helping in fine-tuning visual debugging layouts.
Name | Description |
---|---|
Offset value |
The vertical offset value for nav mesh markup drawing. |
This command adjusts the vertical offset for drawing the navigation mesh in the game, which is particularly useful for scenarios where the mesh is a fixed offset away from the physical ground, such as on flat planes.
Name | Description |
---|---|
Offset Value |
The vertical distance between the navigation mesh and the physical ground. |
This command, when enabled, visualizes neighboring spaces in the navigation mesh used by bots and AI to navigate through the map, helping debug pathfinding.
Name | Description |
---|---|
0 / 1 |
Enable or disable the visualization of neighboring space connections in the navigation mesh. |
This command is used to enable or disable the visualization of space portals in the navigation mesh, which is mainly useful for developers and map creators for debugging purposes.
Name | Description |
---|---|
0 / 1 |
Enable or disable the visualization of space portals. |
This command, when enabled, draws the nav space radius in the CS2 environment, useful for debugging navigation paths.
Name | Description |
---|---|
0 / 1 |
The switch to enable or disable the drawing of the navigation space radius. |
This command is used to enable or disable the automatic addition of jump links (connections that require a jump) in the navigation mesh generation process.
Name | Description |
---|---|
0 / 1 |
Enable or disable automatic jump link addition. |