branchrust_reboot/main/weather2cancel
40 Commits over 30 Days - 0.06cph!
weather.report now includes the exact parameters that are currently being applied to the sky dome
Allow weather.load while playing back demos
Send replicated convar initial state when starting a demo
Added rainbow support (currently disabled on all weather presets)
Fixed low thunder probability values disabling stormy rain and snow effects (any stormy weather should use these)
The first 3 weather seeds in the editor always yield clear weather
Early exit for weather.load / reset / report if climate instance is null
Weather type percentages / chances are all synchronized with replicated convars, can be adjusted on the server
Stormy snow implementation
Merge from main#
55213 (in sync with halloween branch)
Disabled all the automatic weather types for testing purposes
Changed weather.load, weather.reset and weather.report to client side admin / dev console commands
Fixed particle grid not catching up fast enough when moving very fast (the particles themselves might still need speeding up to solve outrunning those while they fall)
Disabled particle grid update altogether if it's not raining
Fixed rain and snow falling through water (collision mask adjustment)
Less convoluted SynchronizedClock implementation
Do the lightning diceroll every 5-15 seconds at max intensity while we're still testing things
Thunder can be enabled on weather preset rather than toggling on and off with rain
weather.load is case insensitive
Enabled time progression on CraggyIsland again
Added sting weather effects (currently just lightning)
Particle grid takes list of prefabs instead of loading them from a folder
Adjusted weather particle effect collision parameters
Restored weather.rain and weather.wind convars
Fixed sky dome prefab having a fogginess of 3e-45 saved
Fixed that weather convar overrides would be clamped to 1
Better weather seed / randomization
Added weather.load convar to load a specific weather preset
Added weather.reset convar to reset to dynamic weather
Added replicated convars for all the individual weather parameters (modding / events)
New preset based (and artist controlled) weather type system that exposes all atmosphere and cloud sky parameters (rip programmer art)
Sky dome prefab serialization auto updates (for cleaner diffs when we tweak it from here on out)
Restored rain chance (10%)
Fixed fog hiding clouds in the max rain weather state
Plugged new rain and snow particle effect prefabs into the rain and snow system