Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- Hive ce = CreateHive();
- if ( ce )
- ce.InitOffline();
- Weather weather = g_Game.GetWeather();
- weather.GetOvercast().SetLimits( 0.5 , 0.5 );
- weather.GetRain().SetLimits( 0.0 , 0.0 );
- weather.GetFog().SetLimits( 0.0 , 0.25 );
- weather.GetOvercast().SetForecastChangeLimits( 0.5, 0.5 );
- weather.GetRain().SetForecastChangeLimits( 0.0, 0.0 );
- weather.GetFog().SetForecastChangeLimits( 0.15, 0.45 );
- weather.GetOvercast().SetForecastTimeLimits( 1800 , 1800 );
- weather.GetRain().SetForecastTimeLimits( 300 , 300 );
- weather.GetFog().SetForecastTimeLimits( 1800 , 1800 );
- weather.GetOvercast().Set( Math.RandomFloatInclusive(0.0, 0.3), 0, 0);
- weather.GetRain().Set( Math.RandomFloatInclusive(0.0, 0.0), 0, 0);
- weather.GetFog().Set( Math.RandomFloatInclusive(0.0, 0.1), 0, 0);
- weather.SetWindMaximumSpeed(15);
- weather.SetWindFunctionParams(0.1, 0.3, 50);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement