DayZ
91 个评价
RealWeather
   
奖励
收藏
已收藏
取消收藏
Type: Mod, Server
Mod Type: Environment, Terrain
文件大小
发表于
更新日期
51.723 KB
2019 年 10 月 13 日 上午 8:12
2019 年 10 月 13 日 上午 9:19
4 项改动说明 ( 查看 )

订阅以下载
RealWeather

描述
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
热门讨论 查看全部(1)
4
2020 年 5 月 16 日 上午 6:02
[BUG] Fog
Weyland
100 条留言
MaccaNZ 2024 年 3 月 20 日 下午 10:35 
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-Игорь ) 2024 年 2 月 2 日 下午 1:27 
repackage do perhaps ???
Attila[DK] 2023 年 11 月 19 日 上午 12:26 
does it work?
CJB 2023 年 6 月 16 日 上午 2:48 
If no updates them maybe remove this mod from Steam?
FoX 2022 年 10 月 4 日 上午 3:47 
I did everything and my server loads up fine but when players join then get stuck on the loading screen
_Papaj_Chuligan_ 2022 年 3 月 28 日 下午 7:31 
hi is the mod up to date?
Itchy 2021 年 8 月 21 日 上午 10:03 
Please Can I Repack This With Credit Given In Description
MAMEniac 2021 年 8 月 6 日 上午 4:55 
so someone re-worked/fixed that mod for 1.13 ??
Reckless 2021 年 7 月 30 日 下午 1:28 
Hey @Lorenzo Insigne.

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

Thank you.
Reckless 2021 年 6 月 14 日 上午 7:00 
Hey. CURLCallback isn't work.