Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Uncle Zed

Weather settings

Recommended Posts

In my init.c, I see this:

weather.MissionWeather(false);    // false = use weather controller from Weather.c

I can't find a Weather.c file anywhere. Where do I adjust the values to alter wind, clouds, rain, etc?

Share this post


Link to post
Share on other sites
59 minutes ago, BetterDeadThanZed said:

In my init.c, I see this:

 


weather.MissionWeather(false);    // false = use weather controller from Weather.c

 

I can't find a Weather.c file anywhere. Where do I adjust the values to alter wind, clouds, rain, etc?

dta\scripts.pbo

extract the pbo and its inside the folder 3_Game 

 

Share this post


Link to post
Share on other sites

Can I just add these lines to the init.c?

    weather.SetWindMaximumSpeed(35);
    weather.SetWindFunctionParams(0.3, 1.0, 50);

What settings would be good for a server if I want to increase the wind, but not have it super windy all of the time?

Share this post


Link to post
Share on other sites

Those parameters worked in .63, but as of 1.0, I think the wind is simply randomized.  I have set the weather.SetWindMaximumSpeed value to 5 for example, which should produce only a light breeze, but the trees in game still swayed at times as if being hit by heavy gusts.  If you look at the weather section in the vanilla init.c file in 1.0, wind isn't listed anymore.

Perhaps extracting and editing the weather.c file as Sy8282 suggested might work, but I think this parameter when listed in the init.c is ignored now.

Share this post


Link to post
Share on other sites

×