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 is used to override certain rendering settings in Counter-Strike 2, typically for testing or debugging purposes.
Name | Description |
---|---|
0 / 1 |
Specifies whether to enable or disable the rendering settings override. |
This command is used to override shader resource for Counter-Strike 2, typically used for debugging or development purposes.
Name | Description |
---|---|
0 / 1 |
Determines whether the shader resource override is enabled or disabled. |
This command modifies aspects related to the rendering system in Counter-Strike 2, potentially for debugging or optimization purposes. It is a cheat-protected command, indicating it can only be used on servers where cheats are enabled.
Name | Description |
---|---|
0 / 1 |
Toggles the rendering system modification. |
This command toggles the display of a box around text in the debug overlay, which is useful for developers or players looking to debug aspects of the game.
Name | Description |
---|---|
0 / 1 |
Specifies whether to enable or disable the text outline in the debug overlay. |
Toggles the display of summaries for damage taken in the console. Useful for debugging and understanding how damage is applied during gameplay. This feature is only available on servers with cheats enabled.
Name | Description |
---|---|
0 / 1 |
Toggles the feature on or off. |
This command allows the user to set a custom fog color override, useful for developers or during custom game modes that require specific visual conditions.
Name | Description |
---|---|
Red |
The red color value. |
Green |
The green color value. |
Blue |
The blue color value. |
This command enables or disables the usage of fog_override console variables instead of the default world fog data specified by the current map.
Name | Description |
---|---|
0 / 1 |
This argument enables or disables the fog override feature. |
This command sets the distance at which the fog override ends, changing how far away from the player fog becomes fully opaque.
Name | Description |
---|---|
End Distance |
The distance at which the fog becomes fully opaque. |
This command adjusts the intensity and brightness of the fog within the game when fog override is enabled.
Name | Description |
---|---|
Exponent |
Determines the intensity and brightness of the fog. A lower number means the fog is less dense, while a higher number makes the fog denser. |
Overrides the maximum density of the fog present in the game. This command can be used to increase or decrease the visibility of the fog, making it thicker or clearer.
Name | Description |
---|---|
Density value |
The maximum density of the fog. |
This command adjusts the start distance for fog overriding, effectively setting how close the player needs to be to an object before fog starts affecting its visibility.
Name | Description |
---|---|
Distance |
The distance in game units at which the fog starts affecting visibility. |
This command gives a specified item to the player, orienting it based on the player's current angles.
Name | Description |
---|---|
Item Name |
The name of the item to give to the player. |
Controls the behavior of reading or writing to the user config file, specifically whether to ignore the user config file.
Name | Description |
---|---|
0 / 1 |
Ignore user config file setting. |
Adjusts the density of smoke produced by incendiary grenades or Molotov cocktails. A higher number makes smoke thicker.
Name | Description |
---|---|
Density |
The thickness of the smoke. |
Adjusts the joystick's circle correction for more accurate movement.
Name | Description |
---|---|
0 / 1 |
Enable or disable joystick circle correction. |
This command adjusts the circle correction mode for vehicles when using a joystick.
Name | Description |
---|---|
0 / 1 / 2 |
The mode of circle correction for vehicles when using a joystick. |
Enables or disables the use of portrait background maps in the game.
Name | Description |
---|---|
0 / 1 |
Whether to enable or disable portrait background maps. |
Controls whether the game increases the frames per second (FPS) when the device is charging.
Name | Description |
---|---|
0 / 1 |
Whether to enable or disable FPS increase during charging. |
This command controls whether the game increases the frames per second (FPS) on mobile platforms when the screen is touched.
Name | Description |
---|---|
0 / 1 |
Determines whether the FPS increase during screen touch is enabled or disabled on mobile platforms. |
Sets a limit on the frames per second (FPS) that the game will render when being played on a mobile device. This can help manage performance and battery life.
Name | Description |
---|---|
FPS Limit |
The maximum number of frames per second the game should render. |