Jump to content
Sign in to follow this  
tortuosit

Dynamic weather script and addon: tort_DynamicWeather

Recommended Posts

Guest

Ah sorry. :)

Everyone started mirroring so I thought it was ready.

I have removed the DynamicWeather 2 pages.

This is your latest public version on Armaholic:

Share this post


Link to post
Share on other sites

So for version 1.3.3 all I have to do is put it into my arma 3 directory? Nothing else?

Share this post


Link to post
Share on other sites
So for version 1.3.3 all I have to do is put it into my arma 3 directory? Nothing else?

@tort_dynamicweather: put into Arma dir + put user config in a3\userconfig\

@tort_dynamicweather2: put into arma dir

Share this post


Link to post
Share on other sites

tort_dynamicWeather2 version 0.9.4

- Added documentation (readme.txt)

- made it scripting compatible

readme.txt:

@tort_dynamicweather2
http://forums.bistudio.com/showthread.php?178674

INSTALLATION
============
Copy archive contents to ArmA3 directory. Directory structure, depending on your
OS, may look like this:
c:\Program Files (x86)\Steam\SteamApps\common\Arma 3\@tort_DynamicWeather2\addons\
c:\Program Files (x86)\Steam\SteamApps\common\Arma 3\@tort_DynamicWeather2\script\
...
DONE! No use of A3\userconfig\ any more. But you are not allowed to rename the mods folder.

CONFIGURE (MOD VERSION)
=======================
There are 2 self explanatory config files:
@tort_DynamicWeather2\script\config\config.sqf
@tort_DynamicWeather2\script\config\islands.sqf

CONTROL WHILE INGAME (MOD VERSION)
==================================
Press 0, then 8: from that menu, you may want to set weather as desired.

VARIABLES CONTROL WHILE INGAME (MOD AND SCRIPT VERSION)
=======================================================
Changing exposed global variables will affect behaviour.
Instant actions may happen after a few seconds delay.

tort_overcast_min, tort_overcast_max     // minmax overcast
tort_overcast_now                        // insta apply!
tort_fog_min, tort_fog_max               // minmax fog
tort_fog_now                             // insta apply!
tort_wind_speed_min, tort_wind_speed_max // minmax wind speed
tort_wind_speed_now                      // insta apply!
tort_wind_dir_min, tort_wind_dir_max     // wind direction between min and max
tort_wind_dir_now                        // insta apply!
tort_rain_min, tort_rain_max             // minmax overcast
tort_rain_now                            // insta apply!
tort_overcast_weighting
tort_fog_weighting
tort_wind_weighting
tort_rain_weighting
tort_overcast_turbulence
tort_fog_turbulence
tort_wind_turbulence
tort_rain_turbulence
tort_rain_threshold
tort_process_overcast                    // set to false and module will stop
tort_process_fog                         // set to false and module will stop
tort_process_wind                        // set to false and module will stop
tort_process_rain                        // set to false and module will stop

============================================
SCRIPT CALLS AS DOCUMENTED IN SCRIPT FILES:
(see \@tort_DynamicWeather2\script\modules\)
============================================
/* tort_overcast by Tortuosit.

  script call example:
  0 = [0.5, 0, 0.8, 0, 1] execVM "\@tort_DynamicWeather2\script\modules\tort_overcast.sqf"; // [init, min, max, weighting, turbulence]

  WITH: weighting [-1..1]: probability for more/less clouds. examples: 0=equal probability, -1=move to min overcast, 1 move to max overcast, 0.5=75% chance of more overcast
  WITH: turbulence [0..1]: from rather slow and small changes (0) to quicker and bigger changes (1)
*/

/* tort_fog by Tortuosit
***********************
  script call example:
  0 = [0.1, 0, 0.4, 0, 0] execVM "\@tort_DynamicWeather2\script\modules\tort_fog.sqf"; // [initfog, minfog, maxfog, weighting, turbulence]

  WITH: weighting [-1..1]: probability for more/less fog. examples: 0=equal probability, -1=move to min fog, +1 move to max fog, 0.5=75% chance of more fog
  WITH: turbulence [0..1]: from rather calm (0) to quicker and bigger changes (1)
*/

/* tort_wind by Tortuosit.
  Handles wind speed and direction

  script call example:
  0 = [2, 145, 0, 1, 90, 180, 0.1, 0.8] execVM "\@tort_DynamicWeather2\script\modules\tort_wind.sqf";
  Args: [initWindStrength, initDirection, minWindStrength, maxWindStrength, DirBetweenA, DirBetweenB, weighting, turbulence]
  Strength in Beaufort [0..12] http://en.wikipedia.org/wiki/Beaufort_scale
  Direction [0..360]
  WITH: weighting [-1..1]: probability for more/less rain. examples: 0=equal probability, -1=move to min wind, 1 move to max wind, 0.5=75% chance of more windspeed
  WITH: turbulence [0..1]: from rather slow and small changes (0) to quicker and bigger changes (1)
*/

/* tort_rain by Tortuosit.

  script call example:
  0 = [0.5, 0, 1, 0.2, 0.1, 0.8] execVM "\@tort_DynamicWeather2\script\modules\tort_rain.sqf"; // [init, min, max, weighting, turbulence, threshold]

  WITH: weighting [-1..1]: probability for more/less rain. examples: 0=equal probability, -1=move to min rain, 1 move to max rain, 0.5=75% chance of more rain
  WITH: turbulence [0..1]: from rather slow and small changes (0) to quicker and bigger changes (1)
  WITH: threshold [0..1]: rain only possible if overcast > threshold
*/

Edited by tortuosit

Share this post


Link to post
Share on other sites

tort_dynamicWeather2 version 0.9.5

Not for Withsix/Armaholic/...

- introduced an internal overcast change factor (amount/speed). The higher this factor, the more wind instability may happen. I'll see how values work out.

- Changed internal windspeed handling from beaufort to m/s. Changed all templates and configs.

Share this post


Link to post
Share on other sites

Next (mod) version I will add all settings to the maps menu. I think weather control feels natural in map view.

Also I'm doing this, because weather is much easier to control than in the support menu.

2015-04-20_00001r4uv6.png

I expose all settings. Fancy presets are missing in the screenshot.

Edited by tortuosit

Share this post


Link to post
Share on other sites

tort_dynamicweather2 Version 0.9.6

Settings are now in map and support menu (both configurable).

It's much easier to configure weather via the map menu.

Edited by tortuosit

Share this post


Link to post
Share on other sites

hey getting this spam, btw just using the script version.

if (!tort_process_wind || !tort_dynamicweather2_watch) exitWith {};>
9:39:34   Error position: <tort_dynamicweather2_watch) exitWith {};>
9:39:34   Error Undefined variable in expression: tort_dynamicweather2_watch
9:39:34 File C:\Users\Andrews\Documents\Arma 3\missions\Invade_Annex_PUBLICv2.Altis\@tort_DynamicWeather2\script\modules\tort_wind.sqf, line 115
9:39:34 Error in expression <qf"};
};
if (!tort_process_overcast || !tort_dynamicweather2_watch) exitWith {};>
9:39:34   Error position: <tort_dynamicweather2_watch) exitWith {};>
9:39:34   Error Undefined variable in expression: tort_dynamicweather2_watch
9:39:34 File C:\Users\Andrews\Documents\Arma 3\missions\Invade_Annex_PUBLICv2.Altis\@tort_DynamicWeather2\script\modules\tort_overcast.sqf, line 59
9:39:35 Error in expression <qf"};
};
if (!tort_process_overcast || !tort_dynamicweather2_watch) exitWith {};>
9:39:35   Error position: <tort_dynamicweather2_watch) exitWith {};>
9:39:35   Error Undefined variable in expression: tort_dynamicweather2_watch
9:39:35 File C:\Users\Andrews\Documents\Arma 3\missions\Invade_Annex_PUBLICv2.Altis\@tort_DynamicWeather2\script\modules\tort_overcast.sqf, line 59
9:39:36 Error in expression <g_now = nil};
if (!tort_process_fog || !tort_dynamicweather2_watch) exitWith {};>
9:39:36   Error position: <tort_dynamicweather2_watch) exitWith {};>
9:39:36   Error Undefined variable in expression: tort_dynamicweather2_watch
9:39:36 File C:\Users\Andrews\Documents\Arma 3\missions\Invade_Annex_PUBLICv2.Altis\@tort_DynamicWeather2\script\modules\tort_fog.sqf, line 55

Share this post


Link to post
Share on other sites

Hi Jandrews,

- @tort_dynamicweather2 works only in [arma3dir\@tort_dynamicweather2], you can not simply put it in your missions folder.

- V 1.3.3 can be used from inside your missions folder, see link in first post

Sorry this thread needs to be remade. Havent got much time.

Also v2 has progressed, but also only SP and with no focus on command line call (yet).

WithSix unfortunately uses v2.

Share this post


Link to post
Share on other sites

Yea i been using this, love it. I guess the only thing i noticed at times is i use "Variable" option mostly. And a lot of time it seems to use FOG a lot. I wish there was a little bit more control on how much fog there is but i'm not complaining. Thanks and hope to see you in the future

Share this post


Link to post
Share on other sites

Updated mod v1.9.7 available at withSIX. Download now by clicking:

banner-420x120.png

Hey tortuosit , you can upload updates or new mods to withSIX yourself now!

Make your own promo page, get the power to release your work at your own point of choosing.

To learn more, follow this guide.

Share this post


Link to post
Share on other sites

Hello,  I've been trying to find a way to get it to work but I get error messages.  With version 2 it says:  "watcher.sql" not found and with previous versions it says something else not found,  don't remember what it was but it was something the same.  I don't understand why,  and I don't understand why I can't find anything on the internet about this?  

Thanks

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×