All CS2/CSGO Commands List

Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).
bot_sub_machine_guns_only
bot_sub_machine_guns_only
This command will force bots to only use SMGs
Examples, Generator & More
fog_override_start
fog_override_start
<Distance>
Used similarly to the fog_override_end command, it determines at which point the fog starts appearing in relation to the player’s position. The command is typed in the console as “fog_override_start ”.
Name:
Distance
Description:
The distance in the game units at which the fog will start to affect your visability.
Examples, Generator & More
fog_override_max_density
fog_override_max_density
<Density value>
The command determines the maximum density value of fog in the current session. The command is typed in the console as “fog_override_max_density ”.
Name:
Density value
Description:
Use this command to set the density of the Fog override max density.
Examples, Generator & More
fog_override_exponent
fog_override_exponent
<Exponent>
This command serves as the slider for the fog’s overall brightness under the override setting. The command is typed in the console as “fog_override_exponent ”.
Name:
Exponent
Description:
This will set the intensity and brightness of the fog in the game. Inputting a lower number will mean the fog is less visible, a higher value makes the fog more visible.
Examples, Generator & More
fog_override_end
<End Distance>
This command determines whether or not the usage of fog_override on a certain map is enabled or disabled. If you wish to enable this setting, the command is typed “fog_override_enable 1”. To disable the override settings, the command is written “fog_override_enable 0”.
Name:
End Distance
Description:
The distance of the fog when it becomes non-transparent.
Examples, Generator & More
fog_override_enable
fog_override_enable
<0 / 1>
This command determines whether or not the usage of fog_override on a certain map is enabled or disabled. If you wish to enable this setting, the command is typed “fog_override_enable 1”. To disable the override settings, the command is written “fog_override_enable 0”.
Name:
0 / 1
Description:
This command input enables or disables the fog override.
Examples, Generator & More
fog_override_color
fog_override_color
<Red> <Green> <Blue>
Using the same mechanics as the other color-related commands, this is used to set a custom fog color override. The command is typed in the color as “fog_override_color ”. This command will allow the user to set a custom fog color.
Name:
Red
Description:
The red color value.
Name:
Green
Description:
The green color value.
Name:
Blue
Description:
The blue color value.
Examples, Generator & More
fogui
This command is exclusive to CS:GO and has not been implemented in CS2. By typing “fogui” in the console, it will enable the fog control GUI for the user. Since Global Offensive is no longer accessible, it is also no longer usable.
Examples, Generator & More
fog_startskybox
<Distance>
The same concept as any of the skybox commands and the fog_start command, this affects how far the skybox starts to render relative to the player’s position. The command is typed in the console as “fog_startskybox ”.
Name:
Distance
Description:
The distance from the player at which the skybox starts.
Examples, Generator & More
fog_start
<Distance>
Mainly used in connection with the fog_end command, this affects the distance which the fog will start to render based on the player’s position on the map. The command is typed in the console as “fog_start ”.
Name:
Distance
Description:
This is the distance from your player when the fog will start.
Examples, Generator & More
fog_override
<0 / 1>
Some maps’ settings do not allow the fog to be enabled even with the fog_enable command due to how it is built. With this, the fog_override command exists to ignore those settings and allow the player to create fog. If you wish to override the default fog settings, the command is typed “fog_override 1”. To disable the override settings, the command is written “fog_override 0”.
Name:
0 / 1
Description:
Input (0) is default and will not override the current map's fog settings. Input 1 to over the map's fog settings.
Examples, Generator & More
fog_maxdensityskybox
fog_maxdensityskybox
<Density>
This command affects only the density of the fog while looking upwards at the sky. The same values used by the HDR color scale commands are used. This command is typed in the console as “fog_maxdensityskybox ”.
Name:
Density
Description:
You can use this command to set the Density of the skybox.
Examples, Generator & More
fog_maxdensity
<Density>
This command affects the fog’s overall density. In simpler terms, how thick or thin the fog appears on screen. The higher the value, the less visibility and vice versa. The same values used by the HDR color scale commands are used. This command is typed in the console as “fog_maxdensity ”.
Name:
Density
Description:
The maximum density of the fog. 1 makes it completely transparent, 0.5 would make it set at a 50% transparency effect.
Examples, Generator & More
fog_hdrcolorscaleskybox
fog_hdrcolorscaleskybox
<Scale>
Like the other skybox-related commands on the list, this influences the HDR color scale of the skybox only. The same values between 0 and 1 are used. This command is typed in the console as “fog_hdrcolorscaleskybox ”.
Name:
Scale
Description:
The color scale for the skybox's HDR setting.
Examples, Generator & More
fog_hdrcolorscale
<Scale>
This command influences the HDR color scale of the fog when enabled. The values are anywhere between 0 and 1, with each whole number representing a value of 10% upwards such as a value of 0.3 being 30% and so on. This command is typed in the console as “fog_hdrcolorscale ”.
Name:
Scale
Description:
The color scale for the HDR setting.
Examples, Generator & More
fog_endskybox
<Distance>
This command sets how far you can see into the sky before the fog will appear.
Name:
Distance
Description:
The distance from your player at which the sky box will stop rendering. The Fog will be rendered in the distance between the value.
Examples, Generator & More
fog_end
<Distance>
Even if the name suggests otherwise, this command will not make the fog go away completely. It only affects the distance until which the fog will render based on your character’s position in the game. A higher number will make the fog extend further. The command is typed in the console as “fog_end ”.
Name:
Distance
Description:
The distance from your player at which the fog will stop being rendered for example 1000. The Fog will be rendered in the distance between the value.
Examples, Generator & More
fog_enableskybox
<0 / 1>
This command is used to enable or disable the skybox’s appearance and whether or not fog will also be applied to it. It is typically used with the fog_colorskybox command as it will not be of use without first enabling fog on the skybox itself. If you wish to enable fog on the skybox, the command is typed “fog_enableskybox 1”. To disable fog on the skybox, on the other hand, the command is “fog_enableskybox 0”.
Name:
0 / 1
Description:
Enter a 0 this will disable the fog skybox. Enter 1 to enable the fog skybox (default)
Examples, Generator & More
fog_enable_water_fog
fog_enable_water_fog
<0 / 1>
Not to be confused with the original fog_enable command, this purely affects fog on areas of the map with water. If you wish to enable water fog, the command is typed “fog_enable_water_fog 1”. To disable water fog, on the other hand, the command is “fog_enable_water_fog 0”.
Name:
0 / 1
Description:
Enter a 0 to disable water fog. Enter 1 to enable water fog which is set by (default),
Examples, Generator & More
fog_enable
<0 / 1>
This is the command that will mainly enable or disable fog. If you wish to enable fog, the command is typed “fog_enable 1”. To disable fog, on the other hand, the command is “fog_enable 0”. The value 1 is typically used to enable a certain command, while the value 0 is used to disable the same.
Name:
0 / 1
Description:
Enter 0 to disable the fog. Enter 1 to enable the fog which is default. To use this you will need to override to map's fog settings with fog_override 1..
Examples, Generator & More
fog_colorskybox
<R> <G> <B>
This command does not affect the fog itself, but the skybox the command comes with. The skybox is, as the name suggests, simply the color or design of the sky. The command is typed in the console as “fog_colorskybox ”.
Name:
R
Description:
The red value of your chosen color code.
Name:
G
Description:
The green value of your chosen color code.
Name:
B
Description:
The blue value of your chosen RGB color code.
Examples, Generator & More
fog_color
<R> <G> <B>
As the command suggests, it changes the color of the fog when such is enabled in the game. It makes use of RGB values which, if unfamiliar, can be found through a quick search online to determine your color of choice. The command is typed in the console as “fog_color ”.
Name:
R
Description:
The red value of your chosen RGB color code.
Name:
G
Description:
The green value of your chosen RGB color code.
Name:
B
Description:
The blue value of your chosen RGB color code.
Examples, Generator & More
Show entries:

Above is CSDB’s searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).

You can type in the name of a specific command to filter that command.

We also have a Command category making it easier for those looking for CSGO commands in a certain category.