mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
random dynamic weather
This commit is contained in:
parent
dbebb6022f
commit
2222c6a14c
@ -78,7 +78,10 @@ class SettingsGenerator:
|
||||
self.mission.weather.heavy_rain()
|
||||
self.mission.weather.enable_fog = False
|
||||
elif weather_type == 3:
|
||||
pass
|
||||
self.mission.weather.clouds_iprecptns = 1
|
||||
|
||||
while self.mission.weather.clouds_iprecptns != 0:
|
||||
self.mission.weather.random(self.mission.start_time, self.conflict.theater.terrain)
|
||||
|
||||
if self.mission.weather.clouds_density > 0:
|
||||
self.mission.weather.clouds_base = max(self.mission.weather.clouds_base, CLOUDS_BASE_MIN)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user