Weather
The sky every client shows is one of the level’s time-of-day profiles - the same eight on all three levels - and the server
names it for everyone: SetWeather in a mode, /weather in the chat, [world] weather in
server.toml for the start. A preset is a friendly name for a profile; a profile name passes through as it is, which also
admits the profiles the game’s own quests use (q_* names in the level’s mission file). Each client blends a change in over
[world] weather_blend seconds (10 by default) unless the call names its own blend.
| Preset | Profile | What it looks like |
|---|---|---|
clear, sunny |
cloudless_sunny |
a clear sky |
fair |
semicloudy_clear |
a few clouds, clear light |
cloudy |
cloudy_no_rain |
overcast without rain |
overcast |
summer_overcast |
a heavy summer sky |
showers |
cloudy_frequent_showers |
clouds and passing rain |
drizzle, fog |
foggy_drizzly |
fog and a fine rain |
storm |
foggy_storm |
a storm with rain |
dry_storm |
foggy_storm_no_rain |
the storm’s sky without the rain |
"" (an empty name) leaves every client’s sky as it is - the game’s own rotation goes on. The rain is a lever on top of the
profile: SetRain (/rain, [world] rain) forces an amount from 0 to 1 whatever the
profile’s own rain probability says; -1 hands it back. GetWeatherPresets returns
this table to a mode.
