Arma 3
Real World Weather
148 Comments
CesurMetalci(MaxiMus) Oct 27, 2022 @ 5:36am 
for some reason it is not pulling the correct temperature i mean it does but it does not show in KESTREL with ACE mod so anything we can do ?
Inferno | M.D.F Jan 31, 2022 @ 7:57pm 
getting "data not found"
Fercho Jan 11, 2022 @ 2:27pm 
Hi, I have an issue. I use and all works fine, but when I use the Kestrel meter, the temperature is different at the site I choose in the mod. what can be the problem??
Blackedoutgamer/Littlecod Sep 15, 2021 @ 4:22pm 
how do you get an api key? i cant signup for weatherstack because i dont have a company
ghostroboBH Jun 30, 2021 @ 3:40am 
How would you go about adding this to an exile server?
Cryptic Jun 27, 2021 @ 11:23am 
Lol on needing a key.
Machine Gun Kelly Mar 8, 2021 @ 8:26am 
@ALL - Since I could not get the author to reply to my message below, I have made this mod work on any map without having the actual module placed on the map. In other words, you just run a script and it will set the weather for you. No need to edit the map or be stuck with one 'setting' of weather.

If you would like the scripts to do this, send me a friend's request. Do note, you will still need to use this mod - just have it loaded, nothing more, as my scripts call his.

:)
Machine Gun Kelly Feb 12, 2021 @ 11:29am 
@Hortzy - Thank you for your time and effort with this mod. I did have a question for you. How can I have 'on the fly' weather for any map. I run a script with correct settings such as location, key, etc., and have it set the weather. In other words, without using the module. The use of the module limits usage to maps that have this placed.

For example, in the East Wind Campaign:

CurrentWeather.Sqf:

RWW_LocationCountry=lemnos;
RWW_LocationCity=moudros;
RWW_Key=123abc456def
[] spawn RWW_SetWeather;


Then I run [] execVM "CurrentWeather.Sqf" and the weather is set without the need for the module.

The above is just an example.

Looking forward to your answer and thanks!

:)
Blackburn Jan 24, 2021 @ 3:23pm 
Is it possible to make forecast from the past?
Blackburn Jan 19, 2021 @ 11:30am 
feature request: make Forecast Data support.
I wanna make zeus campaign, and I want my players to plan their next objectives depending on weather forecast
Crielaard Nov 15, 2020 @ 9:12am 
Yes Delta, it will rain when it rains in the real world
delta Nov 14, 2020 @ 10:11pm 
is there a rain?
Woulff Oct 23, 2020 @ 3:05pm 
I fixed my issue by installing Visual C++ Redistributable for Visual Studio 2015 found here:
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Woulff Oct 21, 2020 @ 4:10pm 
I unloaded all mods, created a basic mission with the module, put it on the dedicated server, with only this mod loading and it still doesn't work.
I can get the menu through script but it is blank.
I can fill in the information and populate and the menu appears correct but the scene doesn't change.
Woulff Oct 20, 2020 @ 7:37pm 
This is what the logs are showing "Call extension 'url_fetch' could not be loaded: The specified module could not be found."
Crielaard Oct 20, 2020 @ 6:15am 
We also use Ace. You mean Ace3 weather? Just disable that.
Woulff Oct 19, 2020 @ 6:21pm 
Looks like it conflicts with ACE.
Woulff Oct 17, 2020 @ 10:05pm 
@Creilaard Thanks. I'll check my mod settings.
Crielaard Oct 17, 2020 @ 3:25pm 
@Woulff. Works fine on our Dedicated server
Woulff Oct 17, 2020 @ 2:59pm 
This doesn't seem to be working for dedicated servers. Any suggestions?
Sabre One Sep 19, 2020 @ 8:01pm 
Evening,

Any chance to add the Forcast API as well? Would love to be able to both pull current weather and also give out the hourly forcast at a location!
Crielaard Jul 29, 2020 @ 6:19am 
Hortzy, we run a server 24/7 and we see the weather changing as per METAR/TAF. Thats great. However, eventhough we have set humidity to 'false' the fog seems to get denser all the time regardless. Right now humidity is 77% in Helsinki but visibility is 10+km however in Arma it seems no more than 3 KM. (yes my viewdistance is all the way up). When I manually set fog to 0, it clears up but the next day its down to foggy again.
Crielaard Jul 20, 2020 @ 6:34am 
Yes it will, Leungkaho_p54
Carlos_Leung[HK] Jul 19, 2020 @ 4:47am 
will it set time to real world time?
Longtime Jul 5, 2020 @ 7:26pm 
Nice work! Everything works as expected on a Windows host. However when I tried the mod on a Linux server there was only an error in the server logs about "exec failed." Does this mod work for Linux?
Gold John King Jun 17, 2020 @ 8:25pm 
Hi, could you make the weather change gradually in several minutes or seconds upon weather data fetched instead of sudden change? Thanks!
Hortzy  [author] Apr 25, 2020 @ 5:21am 
Update: 25 Apr @ 8:16am
-Updated to use https://www.weatherstack.com (You do need your own key)
-Improved weather simulation
-Added Weather Debug console to Map menu (Available for Hosts or Admins)
Hortzy  [author] Apr 23, 2020 @ 7:42pm 
Real World Weather is being updated to use https://weatherstack.com
This update will require you to own your own weatherstack API key. (They are free)
Just head over to the website and sign up for your free key.

The update will be out within a couple days.
Cheers!.
blu Oct 27, 2019 @ 2:04am 
case "blu_fnc_getcurrentweather":
var ipData = _download_serialized_json_data<Classes.IPData>("http://ip-api.com/json/");
var weather = _download_serialized_json_data<Classes.WeatherData>($"http://api.openweathermap.org/data/2.5/weather?lat={ipData.lat}&lon={ipData.lon}");
return string.Join(",", new[]
{
weather.wind.speed.ToString(), // setWind [weather select 0, weather select 0, true];
weather.wind.deg.ToString(), // 1 setWindDir weather select 1;
DoubleFromPercent(weather.clouds.all).ToString(), // 1 setOvercast weather select 2;
DoubleFromPercent(weather.main.humidity).ToString()// 1 setRain weather select 3;
}); // forceWeatherChange;
blu Oct 27, 2019 @ 2:04am 
Hortzy any chance that this project becomes open source?
Also can you please make it work in singleplayer? I have no luck ^^

Hortzy  [author] Oct 1, 2019 @ 2:09pm 
@Westheimer
Thanks for the suggestion, im still lookin into new API's which offer similar results as Wunderground and i hope to update this mod in the near future.

I havn't been modding in a little while so my motivation is kinda lacking, and im sorry for that, but i will get to it!
Westheimer Oct 1, 2019 @ 2:09am 
@Hortzy
weatherstack maybe?
taker Sep 7, 2019 @ 11:07am 
Will this mod be updated with another API version?
jän_unbekannt Jul 31, 2019 @ 7:00am 
This is actually really cool that it worked.
Charlie Jun 9, 2019 @ 4:08am 
cool!
Hortzy  [author] Jun 5, 2019 @ 1:44pm 
@Aetran
Unfortunately this is true, although i am looking into new api providers that can offer similar results for free
Aetran Jun 4, 2019 @ 11:54pm 
Apparently wunderground shut down their API -- I'm assuming this mod no longer works as a result?
stb.business Jan 29, 2019 @ 10:14am 
Will we get an update for this phantastic MOD?
Hortzy  [author] Nov 2, 2018 @ 12:57pm 
@[ZSU] Venom

Yes for a dedicated Persistent Mission you would only need to place the module within the map and configure the setting to your preference.
It will create a dependancy for all players wishing to join the server.
At this point we do not have a reliable easy way to script this in without creating a dependancy, although closer to the new year when we switch API providers we will look into adding a easy to use scripting method for dedicated servers.

As for your last question, syncing time only effects the time set at the beginning of the mission, and weather will still be set to current real-time weather forecasts.
Venom Oct 19, 2018 @ 5:26pm 
I am fairly useless at scripting stuff, if i wanted to run this on an persistant mission dedicated server, i would only need to place the module within the map, correct? Does that create a dependancy for all players on that server? If so, can i run it server side only?

Also, if i am not syncing time, is it syncing weather real-time to current world weather, or forecasting the weather to time of mission?
Pvt. Partz Oct 8, 2018 @ 6:32am 
Thanks very much, will be keeping an eye out!
Hortzy  [author] Oct 7, 2018 @ 1:33pm 
@Pvt. Partz
At this point in time I cannot add anymore terrains to the list.
But closer to the new year we will be switching API providers, in which case we will definately be looking into adding a bigger variety of default terrains!
Pvt. Partz Oct 7, 2018 @ 7:04am 
Would you be willing to update the terrain list to include Prei and Vidda?
Ashenfell Sep 19, 2018 @ 11:19am 
Does sync Time really work? I´m from Germany and is was 2pm. I synct time on stratis and had 1am? not really :D
Hortzy  [author] Sep 10, 2018 @ 12:13pm 
@RooskyRex
Unfortunately keys are no longer free on Wunderground. But people who have claimed keys before they went to paid still have access to the API untill the beginning of the new year.

As for your question about the dedicated servers, if you were unable to grab a key before they went to paid access the mod will still work on the default supported maps without a key.

If you were not able to grab a key and need one for a map that is not supported in the list of supported maps then you are correct it will not work.

Sorry if this causes any inconvenience
Roosky Aug 31, 2018 @ 11:22am 
They keys are no longer free, I'm guessing this makes it impossible to run the mod on a dedicated server now?
Malcain Aug 23, 2018 @ 4:45pm 
Got it Installed, but the module doesn't show up in the 3DEN editor.
Tried several times.
Hortzy  [author] Jul 4, 2018 @ 6:41pm 
@Pvt. Partz

Yes you are correct, you do not need a key to use any of the default maps in the drop down menu.
You only need a key if you wish to do your own custom requests for maps that my mod does not support.
So you can disregard the link i posted about checking for weather data, that method would be used if you were using your own key.

Im glad your satisfied with my mod :)
Let me know if you run into any issues again
Cheers dude
Pvt. Partz Jul 4, 2018 @ 5:36am 
It seems when I start my mission (from inside the Editor), the weather changes quite dramatically, and for the better I must say. The deeeeeep blus sky which looks a bit cartoonish has a bit more grey to it. Also the clouds seem to blend into the horizon much better. So getting back to the UI that pops up when I start, I open the flyout box and select Altis. There are three boxes whereby only 2 auto fill with GR, and lemnos. The API key box is empty waiting for me to put in the key. If I understand your instructions, I don't actually need a key,.....your module already has it? So once I select Altis in your menu I should be good to go? Anyway, here is what I get when I open your link that you provide.

response
version "0.1"
termsofService "http://www.wunderground.com/weather/api/d/terms.html"
features {}
error
type "keynotfound"
description "this key does not exist"

Hortzy  [author] Jul 2, 2018 @ 7:57pm 
@Pvt. Partz
Ussually if it says No Data Found, that generally means the either the city or country doesnt exist in the wunderground api.
Or it means there was a spelling error.
For example in the Country field you will need to put "GR" instead of Greece.
And for the City you would use the full name "Myrina".

To test if the API is returning the data open your web browser and do the following.
http://api.wunderground.com/api/YOURKEY/conditions/q/GR/Myrina.json

And of course replace "YOURKEY" with the key you recieved from Wunderground.

You can follow that same method to test any other weather data you would like to recieve from other countries/places before placing it in the Module.

Hope this information helps you dude. Thanks for your interest in the mod!
Cheers