Arma 3
Not enough ratings
Real-Time Weather
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod, Server
Mod Type: Mechanics
File Size
Posted
Updated
111.902 KB
May 8, 2018 @ 7:49pm
Feb 28, 2019 @ 6:05pm
15 Change Notes ( view )

Subscribe to download
Real-Time Weather

Description
CURRENTLY NOT WHITELISTED ON BATTLEYE
MIGHT BE WHITELISTED ON BATTLEYE

(Batteye may have to be turned off on the server, sorry for the inconvenience)

Real-time Weather

This mod provides a function to set the weather in any mission to the real-time weather of any chosen area. This mod also sets the time to the current user time and day to match the current weather and light level outside.
To use this mod in your mission (or using the console, run it mid-mission) type in:
[] spawn HAL_fnc_runWeatherMission;
Where the XXXX is an airport ID (ICAO) found on the AWC Website[www.aviationweather.gov].
Note: These are ALWAYS 4 alphanumeric characters

Options for running:
- Station ID
"XXXX" 4 alphanumerics representing station.
With v1.3 this can also be a list of Station IDs seperated by commas.
This can also be the keyword "map" to attempt to obtain weather based on the maps' lattitude and longitude.
- Use visibility distance (Disable on slower PCs for better preformance)
true/false
- Use local time
true/false
- Use reported wind
true/false
- Use reported snow
true/false

An example call to run the mod with a specific station ID would be:
hal_weatherStation = "KLWT";
[] spawn HAL_fnc_runWeatherMission;

If you wanted to run it without setting the time:
hal_weatherStation = "KLWT";
hal_enforceVis = true;
hal_enforceTime = false;
[] spawn HAL_fnc_runWeatherMission;

Run without setting view distance or time:
hal_weatherStation = "KLWT";
hal_enforceVis = false;
hal_enforceTime = false;
[] spawn HAL_fnc_runWeatherMission;


If you wish to turn off the loop during a mission, simply set the missionNamespace Variable "hal_useweather" to false, and the loop will stop.
missionNamespace setVariable ["hal_useweather",false];
publicVariable "hal_useweather";


Compatibility:

- This mod is made to be ACE3 compatable if it is also loaded.
- If ACE3 is not loaded, the mod continues as normal and will not have errors.
- Mod should not have any incompatable mods.

Requirements:

- You only need CBA to run this mod.
- A valid station ID for input.


Hope you can make use of it and enjoy!
Popular Discussions View All (1)
6
Jul 31, 2024 @ 3:44pm
PINNED: Issue Reporting
Blockdude
56 Comments
CesurMetalci(MaxiMus) Oct 27, 2022 @ 5:35am 
i would be supper happy if you could update this mod
because arma 4 will take so much time to come out
and also if i use the code in middle of the mission the game crashes
Blockdude  [author] Oct 9, 2022 @ 4:40pm 
If this mod was maintained (see my other comment below) it would work world-wide. However, due to technical issues and annoyances, I am not maintaining this for ArmA 3. If/when we get ArmA 4 however, I will be moving/updating this mod
Bendy Oct 8, 2022 @ 7:48am 
does this work on airport codes outside of USA?
Machine Gun Kelly Apr 16, 2022 @ 9:39am 
@Blockdude - Bohemia doing wrong? No wonder I could not sleep last night! ;)

I know what you mean about the DLL stuff...I looked into that before and I said YUK. Too much work for something that should be REAL SIMPLE.

I did enjoy your mod until the day it broke. Oh well...I still appreciate your work on it! :)

HOPEFULLY, if and when ARMA 4 comes our, all of these issues will be addressed!

Thanks for your work!

Just curious...did you mean BIS or BS? ;)


:)
Damien Apr 14, 2022 @ 4:01am 
@Blockdude, I understand.
Blockdude  [author] Apr 13, 2022 @ 8:36pm 
Part of why this mod has been dead is a combination of the API endpoint changing significantly and a lack of motivation/time/reason for me to tend to it as it had been problematic since its start, mostly due to the jank of ArmA's scripting and how DLLs must be created for mods (and related lack of info that isn't out-of-date). I also got tired of BIS doing nothing about the unlimited bugs present in both the game and more importantly the scripting calls, which lead me to stop playing ArmA 3 a few years ago.

I hate seeing abandoned mods and never wanted to abandon my own which had people using them, which is why I maintained my autopilots mod whenever someone pointed out a significant issue, but this mod is just not popular enough for the added headache the complexity adds
Machine Gun Kelly Apr 13, 2022 @ 6:47am 
@Damien - You need to do what I said to do. I have been after him for OVER ONE YEAR to fix this and he does NOT.

Follow my advice I gave you in my last post - That is your ONLY solution besides crying about this mod which solves nothing.

;)
Damien Apr 8, 2022 @ 10:55am 
@Blockdude, please fix this mod.
Machine Gun Kelly Feb 26, 2022 @ 5:02pm 
@Damien - I guess you did not read my post before you made yours. This mod is broken and has been for a good while.

Use what I have been using:
https://steamcommunity.com/sharedfiles/filedetails/?id=879970502&searchtext=real+world+weather

You can also sign-up for their 'ARMA Weather' deal for $1 USD for 10,000 hits. I got them to add this as the mod I mentioned does not use all of the site weather data.

You then can subscribe to this mod, then sub to mine and have a simple interface to use this mod.

See: https://steamcommunity.com/sharedfiles/filedetails/?id=2441776362

Link: https://weatherstack.com/
Plan: Weatherstack - Arma Plan

:)
Machine Gun Kelly Jan 27, 2021 @ 6:12pm 
@Blockdude - It has been a while since I fired up Win7, but I did to see if the issue with your mod followed the OS or ARMA. Under Win7, I get the same error code and ARMA CTD. I thought MAYBE, the files in the folder were corrupt some how. I have another copy of your mod on another HDD, copied it over and it crashed too, same error message. This seems to rule out ARMA and the OS, leaving just your mod to be the issue.

It SEEMS to ME, that you used a key to get the weather OR the site you're using is no longer 'in business', thus the failure, which causes the crash.

Looking forward to you help!

Thanks!

:)