diff --git a/Nasal/local_weather/compat_layer.nas b/Nasal/local_weather/compat_layer.nas index 02382c673..3ea3a4b32 100644 --- a/Nasal/local_weather/compat_layer.nas +++ b/Nasal/local_weather/compat_layer.nas @@ -172,6 +172,12 @@ setprop("/sim/rendering/clouds3d-wrap",0); # Basic Weather rain altitude limit off props.globals.getNode("/environment/params/use-external-precipitation-level").setBoolValue("true"); + +# rain and snow off for clean startup + +compat_layer.setRain(0.0); +compat_layer.setSnow(0.0); +compat_layer.setLight(1.0); } diff --git a/Nasal/local_weather/local_weather.nas b/Nasal/local_weather/local_weather.nas index 5134ca17c..c6203c9cd 100644 --- a/Nasal/local_weather/local_weather.nas +++ b/Nasal/local_weather/local_weather.nas @@ -1663,6 +1663,12 @@ setprop(lw~"clouds/placement-index",0); setprop(lw~"clouds/model-placement-index",0); setprop(lw~"effect-volumes/effect-placement-index",0); setprop(lw~"effect-volumes/number",0); +setprop(lw~"effect-volumes/number-active-rain",0); +setprop(lw~"effect-volumes/number-active-snow",0); +setprop(lw~"effect-volumes/number-active-vis",0); +setprop(lw~"effect-volumes/number-active-turb",0); +setprop(lw~"effect-volumes/number-active-lift",0); +setprop(lw~"effect-volumes/number-active-sat",0); setprop(lw~"tiles/tile-counter",0);