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  
Philippbang

WEATHER set up

Recommended Posts

 Hello, 

i was trying to disable the WEATHER complete, but i didn´t work like tkis:

Init.c

void main()
{
    //INIT WEATHER BEFORE ECONOMY INIT------------------------
    Weather weather = g_Game.GetWeather();

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

    weather.GetOvercast().Set( Math.RandomFloatInclusive(0.0, 0.0), 0, 0);
    weather.GetRain().Set( 0, 0, 0);
    weather.GetFog().Set( Math.RandomFloatInclusive(0.00, 0.0), 0, 0);

 

can someone tell me how i can disable that in the Weather.c file?

 

 

Thanks

 


 

Share this post


Link to post
Share on other sites

What do you mean 'disable' weather? There is always weather. good or bad. its exists.

Share this post


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

×