Closed wiking-at closed 9 years ago
There is rain, but there are specific conditions for it to appear. First, a random overcast value is chosen between 0 and 1 at the start of the mission, which goes up and down randomly during the course of the game. Then, at random intervals that range between 1 to 15 minutes, the weather script checks if the overcast is 0.75 or above, and if it is, then there is a 20% chance that it starts raining between 0 and 50% intensity during the next interval.
tl;dr: The absolute chance that it starts raining at any given time is 5%. if you want more rain, increase this variable: https://github.com/A3Wasteland/ArmA3_Wasteland.Altis/blob/a4024bb80a03119f53da68e695ff1c7d9a109110/addons/scripts/DynamicWeatherEffects.sqf#L92
On a side note, the public variables work perfectly fine with the antihack and BattlEye filters.
kk - you are right. i just set minimumovercast to 0.75 and rainIntervalRainProbability to 100% and on reload it started to rain. It seems I was quite unlucky then to never notice rain in 100's of hours of playing wasteland. sorry that i bothered you with that.
I wanted to change the weather for the mission a little bit as "winter is coming" and therefore a little bit of rain would be nice.
I saw that there is a dynamic weather script which is run by /init.sqf. Although I haven't changed anything at this script I never saw any rain on the mission.
I saw that it uses some PublicVariables which aren't allowed through the missions anti-hack.
Should this script work or is it a leftover? I think that more diversity in weather would add fun.