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 sets the color of fog, if enabled. The value provided should be an RGB value (separated by spaces).
Name | Description |
---|---|
R |
The red value of your desired RGB color code. |
G |
The green value of your desired RGB color code. |
B |
The blue value of your desired RGB color code. |
This command sets the color of the fog skybox, if fog is enabled. An RGB value separated with spaces should be provided.
Name | Description |
---|---|
R |
The red value of your desired RGB color code. |
G |
The green value of your desired RGB color code. |
B |
The blue value of your desired RGB color code. |
This command enables fog if set to 1. Note that you will need to set fog_override to 1 if your map's settings disable fog.
Name | Description |
---|---|
0 / 1 |
Enter 0 to disable fog. Enter 1 to enable fog (default). You will need to override your map's fog settings with fog_override 1. |
This command enables water fog if set to 1. If set to 0, water fog will be disabled. Note that you need to override your map's fog settings with fog_override 1.
Name | Description |
---|---|
0 / 1 |
Enter 0 to disable water fog. Enter 1 to enable water fog (default). |
This command will enable (1, default) whether or not fog should be applied to the skybox.
Name | Description |
---|---|
0 / 1 |
Enter 0 to disable the fog skybox. Enter 1 to enable the fog skybox (default). |
This command will set the "end" of the fog in relation to your player. Higher numbers will make the fog more distant. -1 will set to default. Fog will be shown in the distance between fog_start's value and this value.
Name | Description |
---|---|
Distance |
The distance from your player at which the fog will stop being rendered (e.g. 1000). Fog will be rendered in the distance between this value and the fog_start value. |
This command will set how far you can see into the sky before fog appears.
Name | Description |
---|---|
Distance |
The distance from your player at which the skybox fog will stop being rendered (e.g. 1000). Fog will be rendered in the distance between this value and the fog_start value. |
This command sets the fog's HDR color scale. Specify a decimal value between 0 and 1.
Name | Description |
---|---|
Scale |
The color scale for the HDR. 0.5 = 50%, 1 = 100%. |
This command sets the fog's skybox HDR color scale. Specify a decimal value between 0 and 1.
Name | Description |
---|---|
Scale |
The color scale for the skybox's HDR. 0.5 = 50%, 1 = 100%. |
This command sets the maximum density of the fog, given as a decimal percentage. 0.5 would be 50% transparency, 1 would be completely opaque.
Name | Description |
---|---|
Density |
The maximum density of the fog. 1 would be completely opaque, 0.5 would be 50% transparency. |
This command sets the maximum density of the fog, given as a decimal percentage. 0.5 would be 50% transparency, 1 would be completely opaque.
Name | Description |
---|---|
Density |
The maximum density of the skybox fog. 1 would be completely opaque, 0.5 would be 50% transparency. |
This command will allow you to override the fog settings of the map if set to 1. Default is 0 (meaning you will by default use the map's fog settings).
Name | Description |
---|---|
0 / 1 |
Enter 0 (default) to NOT override the map's fog settings. Enter 1 to override the map's fog settings. |
This command sets the distance from the player at which the fog will start being rendered.
Name | Description |
---|---|
Distance |
The distance from your player at which the fog will start. |
This command sets the distance from the player at which the skybox fog will start.
Name | Description |
---|---|
Distance |
The distance from your player at which the skybox fog will start. |