DayZ
91 ratings
RealWeather
   
Award
Favorite
Favorited
Unfavorite
Type: Mod, Server
Mod Type: Environment, Terrain
File Size
Posted
Updated
51.723 KB
13 Oct, 2019 @ 8:12am
13 Oct, 2019 @ 9:19am
4 Change Notes ( view )

Subscribe to download
RealWeather

Description
RealWeather

This mod is server-side only. Please don't be stupid and don't make your players download something they won't need. The mod sets server's weather based on the one from an IRL City.

For support, please join the "DayZ Modders" discord and use the "#real-weather" channel. https://discord.gg/cksvfcV

Setup

Create a "RealWeather.json" file with the following content, inside your server's profile folder (the file is created by the mod if you start the server without creating it yourself) :
{ "app_id": "CHANGE_ME", "query": "CHANGE_ME", "requestInterval": 10, "weatherChangeTime": 60 }
Replace app_id with a OpenWeatherMap AppId[openweathermap.org] and "query" with the name of the city that you want to base your server's weather on. See Current > By City Name[openweathermap.org] for detailed infos. You can adjust "requestInterval" that is the time in minutes between each API call and weather change (you can't go under 10 minutes because API never updates that fast) and "weatherChangeTime" that is the time in seconds for the weather's transition.

To finish, change "weather.MissionWeather(false);" in your init.c file to "weather.MissionWeather(true);", and comment any weather changing line, so that only RealWeather can alter your server's weather.

To Do :
• Better storms (based on API's responses codes and not random values)
• Handle multi-weathers responses from API

Support @ https://paypal.me/GrosTon1
Popular Discussions View All (1)
4
16 May, 2020 @ 6:02am
[BUG] Fog
Weyland
100 Comments
MaccaNZ 20 Mar, 2024 @ 10:35pm 
Its broken your server will not unlock because this script cannot be run

DESKTOP-H71K420, 21.03 2024 18:33:22
Can't compile "Mission" script module!

GT1/RealWeather/Scripts/5_Mission/curlcallbacks\curlgetweathercb.c(1): Unknown type 'CURLCallback'
09-06-2025 ( Rus ) 2 Feb, 2024 @ 1:27pm 
repackage do perhaps ???
Attila[DK] 19 Nov, 2023 @ 12:26am 
does it work?
CJB 16 Jun, 2023 @ 2:48am 
If no updates them maybe remove this mod from Steam?
FoX 4 Oct, 2022 @ 3:47am 
I did everything and my server loads up fine but when players join then get stuck on the loading screen
_Papaj_Chuligan_ 28 Mar, 2022 @ 7:31pm 
hi is the mod up to date?
Itchy 21 Aug, 2021 @ 10:03am 
Please Can I Repack This With Credit Given In Description
MAMEniac 6 Aug, 2021 @ 4:55am 
so someone re-worked/fixed that mod for 1.13 ??
Reckless 30 Jul, 2021 @ 1:28pm 
Hey @Lorenzo Insigne.

I send the friend request, because I have a question abouth your mod.

Thank you.
Reckless 14 Jun, 2021 @ 7:00am 
Hey. CURLCallback isn't work.