Arma 3
Real World Weather
148 kommentarer
CesurMetalci(MaxiMus) 24. maj kl. 14:17 
I found the problem this mod does not work with new ace version at this time
Inferno | M.D.F 31. jan. 2022 kl. 19:57 
getting "data not found"
Fercho 11. jan. 2022 kl. 14:27 
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 15. sep. 2021 kl. 16:22 
how do you get an api key? i cant signup for weatherstack because i dont have a company
ghostroboBH 30. juni 2021 kl. 3:40 
How would you go about adding this to an exile server?
Cryptic 27. juni 2021 kl. 11:23 
Lol on needing a key.
Machine Gun Kelly 8. mar. 2021 kl. 8:26 
@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 12. feb. 2021 kl. 11:29 
@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 24. jan. 2021 kl. 15:23 
Is it possible to make forecast from the past?
Blackburn 19. jan. 2021 kl. 11:30 
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
[BBE] Neptune 15. nov. 2020 kl. 9:12 
Yes Delta, it will rain when it rains in the real world
delta 14. nov. 2020 kl. 22:11 
is there a rain?
Woulff 23. okt. 2020 kl. 15:05 
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 21. okt. 2020 kl. 16:10 
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 20. okt. 2020 kl. 19:37 
This is what the logs are showing "Call extension 'url_fetch' could not be loaded: The specified module could not be found."
[BBE] Neptune 20. okt. 2020 kl. 6:15 
We also use Ace. You mean Ace3 weather? Just disable that.
Woulff 19. okt. 2020 kl. 18:21 
Looks like it conflicts with ACE.
Woulff 17. okt. 2020 kl. 22:05 
@Creilaard Thanks. I'll check my mod settings.
[BBE] Neptune 17. okt. 2020 kl. 15:25 
@Woulff. Works fine on our Dedicated server
Woulff 17. okt. 2020 kl. 14:59 
This doesn't seem to be working for dedicated servers. Any suggestions?
Sabre One 19. sep. 2020 kl. 20:01 
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!
[BBE] Neptune 29. juli 2020 kl. 6:19 
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.
[BBE] Neptune 20. juli 2020 kl. 6:34 
Yes it will, Leungkaho_p54
Carlos_Leung[HK] 19. juli 2020 kl. 4:47 
will it set time to real world time?
Longtime 5. juli 2020 kl. 19:26 
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 17. juni 2020 kl. 20:25 
Hi, could you make the weather change gradually in several minutes or seconds upon weather data fetched instead of sudden change? Thanks!
Hortzy  [ophavsmand] 25. apr. 2020 kl. 5:21 
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  [ophavsmand] 23. apr. 2020 kl. 19:42 
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 27. okt. 2019 kl. 2:04 
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 27. okt. 2019 kl. 2:04 
Hortzy any chance that this project becomes open source?
Also can you please make it work in singleplayer? I have no luck ^^

Hortzy  [ophavsmand] 1. okt. 2019 kl. 14:09 
@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 1. okt. 2019 kl. 2:09 
@Hortzy
weatherstack maybe?
taker 7. sep. 2019 kl. 11:07 
Will this mod be updated with another API version?
jän_unbekannt 31. juli 2019 kl. 7:00 
This is actually really cool that it worked.
Charlie 9. juni 2019 kl. 4:08 
cool!
Hortzy  [ophavsmand] 5. juni 2019 kl. 13:44 
@Aetran
Unfortunately this is true, although i am looking into new api providers that can offer similar results for free
Aetran 4. juni 2019 kl. 23:54 
Apparently wunderground shut down their API -- I'm assuming this mod no longer works as a result?
stb.business 29. jan. 2019 kl. 10:14 
Will we get an update for this phantastic MOD?
Hortzy  [ophavsmand] 2. nov. 2018 kl. 12:57 
@[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 19. okt. 2018 kl. 17:26 
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 8. okt. 2018 kl. 6:32 
Thanks very much, will be keeping an eye out!
Hortzy  [ophavsmand] 7. okt. 2018 kl. 13:33 
@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 7. okt. 2018 kl. 7:04 
Would you be willing to update the terrain list to include Prei and Vidda?
Ashenfell 19. sep. 2018 kl. 11:19 
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  [ophavsmand] 10. sep. 2018 kl. 12:13 
@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
Kazax 31. aug. 2018 kl. 11:22 
They keys are no longer free, I'm guessing this makes it impossible to run the mod on a dedicated server now?
Malcain 23. aug. 2018 kl. 16:45 
Got it Installed, but the module doesn't show up in the 3DEN editor.
Tried several times.
Hortzy  [ophavsmand] 4. juli 2018 kl. 18:41 
@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 4. juli 2018 kl. 5:36 
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  [ophavsmand] 2. juli 2018 kl. 19:57 
@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