Jump to content
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×