branchrust_reboot/main/weather2cancel
80 Commits over 61 Days - 0.05cph!
fix a couple localized weather ambiences playing under wrong conditions
overcast chance 0 due to visual concerns - needs further testing
Rainbow grid jitter mitigation & better horizon fading
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
Diversity pass on weather profiles.
Rainbow prefab application.
Final rainbow effect & files
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
cherrypicking Petur weather commits to weather2
Stormy snow implementation
Merge from main#
55213 (in sync with halloween branch)
L2 Lightning & snowfall iteration
Reworked lightning generation. Larger baseline radius, more accurate directional consistsency for lights vs vfx
Fixed missing initial velocity on rainfall
Tweaks to rain impacts
Changes to level 3 lightning light flashes, (1 and 2 pending)
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%)