Arma 3
Not enough ratings
Dynamic Weather
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod, Server
File Size
Posted
Updated
72.175 KB
Jul 29, 2019 @ 2:34am
Mar 7, 2023 @ 3:37am
11 Change Notes ( view )

Subscribe to download
Dynamic Weather

Description
General Explanation:
This mod dynamically changes the weather within configurable limits. Since in Arma 3 time has to run in order for the weather to change, there is a function to skip the night at a configurable time every day. If the night is skipped at e.g. 7 p.m (hour 19=24-5), the time gets set to 5 a.m, so that brightness stays the same. It works as a servermod as well as a client side mod. In order for the script to work properly the time multiplicator must not be changed by any other script.

Source Code:
The source code is available on GitHub (view[github.com]).

Optionally Enable Globally:
If you want to enable it globally - that is, for every single-player mission and locally hosted multi-player mission - you can use my add-on Dynamic Weather Global Enabler.

Easy usage:
You can easily customize the limits by using the included Eden Editor Module.


Advanced usage:
Alternatively you can manually start the script and change any of the configuration variables beforehand. The following inscructions apply only when you do not want to use the Eden Editor Module. The configuration variables must be set after the script initialization is done and before the script is spawned:
call (compile preprocessFileLineNumbers "dynamicweather\scripts\fn_init.sqf"); // Change variables here [true/false] call DW_fnc_startDynamicWeather;
The parameter determines, whether the date should be set to the date stored in the variable DW_var_date (see configuration variables). You then can stop the script and start it again afterwards:
call DW_fnc_stopDynamicWeather; // Change variables again [true/false] call DW_fnc_startDynamicWeather;

Configuration Variables:
  • DW_var_minOvercast = 0 : minimum random overcast value
  • DW_var_maxOvercast = 1 : maximum random overcast value
  • DW_var_minFog = 0 : minimum random fog value
  • DW_var_maxFog = 0.2 : maximum random fog value
  • DW_var_minRain = 0 : minimum random rain value
  • DW_var_maxRain = 0.3 : maximum random rain value
  • DW_var_minWindSunny = 0 : minimum random wind value while sunny
  • DW_var_maxWindSunny = 0.3 : maximum random wind value while sunny
  • DW_var_minWindStormy = 0 : minimum random wind value while stormy
  • DW_var_maxWindStormy = 0.6 : maximum random wind value while stormy
  • DW_var_changeTimeMultiplier = 15 : speed of time while the weather is changing
  • DW_var_defaultTimeMultiplyer = 1: speed of time while the weather is not changing
  • DW_var_date = [2035, 06, 30, 06, 00] : date of first day
  • DW_var_skipNight = true : determines whether the night will be skipped
  • DW_var_skipNightTime = [18, 00] : at this time the night will be skipped
3 Comments
Dschitarre  [author] Apr 3, 2022 @ 4:01am 
Yes, you can use the Eden Editor Module Extension for that.
Damien Apr 2, 2022 @ 3:25pm 
Does this work with senarios?
Mrakos May 5, 2020 @ 2:59am 
Hi and thanks for working on this! Would it be possible to make this into a module for use with the editor? There's lots of conflicting info' on how to get random synced weather working for self hosted mp missions... Currently I'm using commands but a module is easier for most ppl.