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
This command enables or disables the post-processing color correction in Counter-Strike 2. When enabled, it can alter the game's color balance and intensity for visual enhancements or specific map atmosphere.
Name | Description |
---|---|
0 / 1 |
Enable or disable the color correction. |
Controls the rendering of translucent elements in the game, such as various effects and particles.
Name | Description |
---|---|
0 / 1 |
Toggles the rendering of translucent elements. |
This command regenerates and applies new skins to all weapons currently in the player's inventory. It's typically used for testing or visual variety purposes in cheat-enabled environments.
Adjusts the screen gamma level, but only when the game is in fullscreen modes. This can help improve visibility by making scenes brighter or darker.
Name | Description |
---|---|
Screen Gamma Value |
The gamma value to set for fullscreen modes. A lower value makes the screen brighter, and a higher value makes it darker. |
This command adjusts the scale factor for the requested texture size, affecting texture streaming. It's a cheat-protected command, meaning it can only be used with cheats enabled.
Name | Description |
---|---|
Scale factor |
The factor by which to scale the requested texture size. |
This command enables or disables the automatic detection and adjustment of sound latency based on system performance.
Name | Description |
---|---|
0 / 1 |
Specifies whether to enable or disable the automatic detection of sound latency. |
This command sets the maximum distance at which sound DSP effects are applied, affecting how sound is processed and heard at long distances.
Name | Description |
---|---|
Max Distance |
The maximum distance in game units at which DSP effects will be applied to sounds. |
Sets the minimum distance threshold for sound DSP processing, enhancing the realism of sound propagation.
Name | Description |
---|---|
Minimum Distance |
The minimum distance threshold for DSP sound enhancements. |
This command sets the volume of the move action music played during a round.
Name | Description |
---|---|
Volume |
Desired volume level for move action music. |
This command is used to set the speaker configuration.
Name | Description |
---|---|
Speaker Configuration |
The number corresponds to the speaker setup. |
Enables or disables the camera focusing on the target player's center rather than their eye position in chase cam mode. Default is disabled.
Name | Description |
---|---|
0 / 1 |
Enables or disables the center chase cam feature. |
Specifies how long, in seconds, the game server should keep the data of players who have disconnected. This data is primarily used for scoreboard information.
Name | Description |
---|---|
Time |
The duration in seconds to hold the data. |
This command sets the time delay (in seconds) between a player disconnecting from a game and their corpse being removed from the game world.
Name | Description |
---|---|
Cleanup Delay |
The time in seconds to wait before cleaning up a disconnected player's corpse. |
This command highlights only the hitbox of a specific entity in the game, allowing for better visualization of hit detection mechanisms. The default value -1
indicates that no entity's hitbox is highlighted.
Name | Description |
---|---|
Entity ID |
Specifies the ID of the entity whose hitbox is to be highlighted. |
This command enables or disables a picture-in-picture preview showing the trajectory of grenades in practice mode.
Name | Description |
---|---|
0 / 1 |
Determines whether the grenade trajectory picture-in-picture preview is enabled or disabled in practice mode. |
This command is used to visualize the trajectory of grenades for a specified number of seconds. It is useful for practice and learning grenade paths.
Name | Description |
---|---|
Trail Time |
The duration in seconds for which the grenade trajectory trail remains visible. |
This command adjusts the difference in Z axis (vertical position) towards the middle of the slack ladder, affecting how the ladder behaves in terms of vertical movement.
Name | Description |
---|---|
Multiplier |
The multiplier value for the Z difference increase towards the middle of the ladder. |
This command sets the maximum speed any moving object in the game can reach. Default is 3500. Use sv_maxspeed for player speed.
Name | Description |
---|---|
Speed |
The maximum speed that any moving object can reach (regardless of other settings). |
This command forces the server to emit the last grenade that was thrown. It is useful for testing grenade trajectories and effects in a cheating-enabled environment.
This command sets the damage that a shield bash will inflict on other players.
Name | Description |
---|---|
Damage |
The amount of damage a shield bash will inflict on players. |