武装突袭3

武装突袭3

Real World Weather
150 条留言
Hortzy  [作者] 10 月 11 日 下午 4:44 
@GiG Haze
Could you explain whats wrong please?
As long as you have a API from weatherstack, and fill in the information correctly the mod should still work just fine if i'm not mistaken.
GiG Haze 10 月 11 日 下午 3:24 
Please up date this mod its wonderful when it worked
CesurMetalci(MaxiMus) 5 月 24 日 下午 2:17 
I found the problem this mod does not work with new ace version at this time
Inferno | M.D.F 2022 年 1 月 31 日 下午 7:57 
getting "data not found"
Fercho 2022 年 1 月 11 日 下午 2: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 2021 年 9 月 15 日 下午 4:22 
how do you get an api key? i cant signup for weatherstack because i dont have a company
ghostroboBH 2021 年 6 月 30 日 上午 3:40 
How would you go about adding this to an exile server?
Cryptic 2021 年 6 月 27 日 上午 11:23 
Lol on needing a key.
Machine Gun Kelly 2021 年 3 月 8 日 上午 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 2021 年 2 月 12 日 上午 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 2021 年 1 月 24 日 下午 3:23 
Is it possible to make forecast from the past?
Blackburn 2021 年 1 月 19 日 上午 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 2020 年 11 月 15 日 上午 9:12 
Yes Delta, it will rain when it rains in the real world
delta 2020 年 11 月 14 日 下午 10:11 
is there a rain?
Woulff 2020 年 10 月 23 日 下午 3: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 2020 年 10 月 21 日 下午 4: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 2020 年 10 月 20 日 下午 7: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 2020 年 10 月 20 日 上午 6:15 
We also use Ace. You mean Ace3 weather? Just disable that.
Woulff 2020 年 10 月 19 日 下午 6:21 
Looks like it conflicts with ACE.
Woulff 2020 年 10 月 17 日 下午 10:05 
@Creilaard Thanks. I'll check my mod settings.
[BBE] Neptune 2020 年 10 月 17 日 下午 3:25 
@Woulff. Works fine on our Dedicated server
Woulff 2020 年 10 月 17 日 下午 2:59 
This doesn't seem to be working for dedicated servers. Any suggestions?
Sabre One 2020 年 9 月 19 日 下午 8: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 2020 年 7 月 29 日 上午 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 2020 年 7 月 20 日 上午 6:34 
Yes it will, Leungkaho_p54
Carlos_Leung[HK] 2020 年 7 月 19 日 上午 4:47 
will it set time to real world time?
Longtime 2020 年 7 月 5 日 下午 7: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 2020 年 6 月 17 日 下午 8:25 
Hi, could you make the weather change gradually in several minutes or seconds upon weather data fetched instead of sudden change? Thanks!
Hortzy  [作者] 2020 年 4 月 25 日 上午 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  [作者] 2020 年 4 月 23 日 下午 7: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 2019 年 10 月 27 日 上午 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 2019 年 10 月 27 日 上午 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  [作者] 2019 年 10 月 1 日 下午 2: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 2019 年 10 月 1 日 上午 2:09 
@Hortzy
weatherstack maybe?
taker 2019 年 9 月 7 日 上午 11:07 
Will this mod be updated with another API version?
jän_unbekannt 2019 年 7 月 31 日 上午 7:00 
This is actually really cool that it worked.
Charlie 2019 年 6 月 9 日 上午 4:08 
cool!
Hortzy  [作者] 2019 年 6 月 5 日 下午 1:44 
@Aetran
Unfortunately this is true, although i am looking into new api providers that can offer similar results for free
Aetran 2019 年 6 月 4 日 下午 11:54 
Apparently wunderground shut down their API -- I'm assuming this mod no longer works as a result?
stb.business 2019 年 1 月 29 日 上午 10:14 
Will we get an update for this phantastic MOD?
Hortzy  [作者] 2018 年 11 月 2 日 下午 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 2018 年 10 月 19 日 下午 5: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 2018 年 10 月 8 日 上午 6:32 
Thanks very much, will be keeping an eye out!
Hortzy  [作者] 2018 年 10 月 7 日 下午 1: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 2018 年 10 月 7 日 上午 7:04 
Would you be willing to update the terrain list to include Prei and Vidda?
Ashenfell 2018 年 9 月 19 日 上午 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  [作者] 2018 年 9 月 10 日 下午 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 2018 年 8 月 31 日 上午 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 2018 年 8 月 23 日 下午 4:45 
Got it Installed, but the module doesn't show up in the 3DEN editor.
Tried several times.
Hortzy  [作者] 2018 年 7 月 4 日 下午 6: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