Skip to content
/SLASHPLAY

How to change fog chance in Rust

Type weather.fog_chance 0 in the server console so dynamic weather never picks fog. Default is 0.03.

weather.fog_chance

Sets the chance, from 0 to 1, that the dynamic weather picks fog.

weather.fog_chance <0-1>

Examples

weather.fog_chance 0

Never fog.

Arguments

chanceRequired
Probability from 0 to 1.

What it does

The weather system picks a new state from these chances. The default in this build is 0.03. Set it to 0 to rule out fog.

Run it on your server

Type it in the server console or send it over RCON; admins can also use the F1 console in game. To keep a setting, run server.writecfg after changing it, or put it on the launch line as +name value.

Your own
game server.

CS2, Minecraft, Palworld and more, from $0.03 an hour.