Requirements: No addons required
Short description: Allows you to define a whole weather progression via a matrix.
Date: 2014-07-25 19:10
My other dynamic weather script is based on randomness and I had the idea to make it easy to define a whole weather progression via a matrix. So I just wrote this script and addon version with weatherMatrix. I hope it's useful.
It supports overcast, fog and wind. It's pretty barebones, I'm happy if it works, especially the timing has to be OK first.
This is available as an addon but also as a script!
Best is, I explain from an example what it does:
0 = [ 8, [10,05,80], 9, [40,01,20], 9.5, [30,05,40], 17, [35,04,90], 22, [40,03,90], 8, [50,50,70], 12, [10,50,80], 16, [30,77,90], 17, [30,77,90] ] execVM "\@tort_WeatherMatrix\script\tort_WeatherMatrix.sqf";- At 8 o'clock (ingame time), overcast is at 10%, fog at 5%, wind 80%.
- At 9 o'clock, overcast is at 40%, fog at 1%, wind 20%.
- At 9:30, overcast is at 30%, fog at 77%, wind 30%.
- The example above defines 2 days and then restarts.
- the Addon versions userconfig has no inner brackets.
You probably understand how it works. I wanted it to be easy to understand. After the "17, [30,77,90]", it starts at the beginning.
For the weather, as you may know ArmA uses values 0-1 internally, I chose to use 0-100 for the ease of use, so you can use integer.
So what happens if my mission starts at 08:30?
Weather will start at the right point in between. 8:30 would be exactly in the middle of the first 2 values, you will have an overcast 25, fog 3 and wind 50 at mission start.
"20 percent overcast, but I see no clouds!!!22111%(/§%/!""
An overcast level of 20 (0.2 in ArmA internally) does not mean you will see a cloud coverage of 20%. Because 0.2 in ArmA is still no clouds. ArmA cloud coverage is not linear.
Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:\Program Files\Steam/Steamapps\Common\ArmA 3\
64-Bit - C:\Program Files (x86)\Steam/Steamapps\Common\ArmA 3\
After extraction it should look like this:
You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
When present place the "userconfig" folder into your game install folder, usually:
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3".
You may already have "userconfig" folder from other addons and/or mods in which case it is safe to merge the contents from this archive.
You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:
You can also use -nosplash to get rid of the splash art and intro videos.
And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!
When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods.
- Negative values introduce randomness: 8, -50, -80, 10 means: At 8 o'clock, max. 50% clouds, max. 80% fog, 10% wind.
- Added Addon version: Copy new userconfig over eventually existing old userconfig. Be precise in keeping commas as they are, when changing config file. Do not leave values out because it has to be in order.
- first release
- BI forums