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

Sign in to follow this  
Luiz Marques

How to reduce rain after patch ?!

Recommended Posts

Hello folks, after patch our server is rainy each 5 minutes... some storms are strong than others.. but 90% of time it's rainy. Before patch I use to modify init.c to custom our server weather, but now it's seems doesn’t work at all, I've tried to remove 100% rain and FOG to test it, and the weather conditions keep the same... a lot of ppl leaving the server when it's rain... there's not noah's ark in server to keep players with us;. My init.c weather session is like this below: (but it's not working at all), please, if someone know what I got to change and where, I'll appreciate alot.
    Weather weather = g_Game.GetWeather();

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

    weather.GetOvercast().SetLimits(0.0, 0.0);
    weather.GetRain().SetLimits(0.0, 0.0);
    weather.GetFog().SetLimits(0.0, 0.0);

    weather.GetOvercast().SetForecastChangeLimits(0.0, 0.0);
    weather.GetRain().SetForecastChangeLimits(0.0, 0.0);
    weather.GetFog().SetForecastChangeLimits(0.0, 0.0);

    weather.GetOvercast().SetForecastTimeLimits(0, 0);
    weather.GetRain().SetForecastTimeLimits(0, 0);
    weather.GetFog().SetForecastTimeLimits(0, 0);

    weather.GetOvercast().Set( Math.RandomFloatInclusive(0.0, 0.0), 0, 0);
    weather.GetRain().Set(Math.RandomFloatInclusive(0.0, 0.0), 0, 0);
    weather.GetFog().Set( Math.RandomFloatInclusive(0.05, 0.1), 1, 0);
    
    weather.SetWindMaximumSpeed(40);
    weather.SetWindFunctionParams(15, 40, 50);

  • Like 1

Share this post


Link to post
Share on other sites

I too would like to know as the rain on a private server is too much for the small membership we have, and they frankly want it off or reduced by more than 75%. Just too much rain to enjoy the environment.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×