Beiträge von zimman

    void main()

    {

    Hive ce = CreateHive();

    if ( ce )

    ce.InitOffline();

    Weather weather = g_Game.GetWeather();

    GetGame().GetWorld().SetDate( 2018, 6, 20, 7, 0);

    weather.GetOvercast().SetLimits( 0.0 , 1.0 );

    weather.GetRain().SetLimits( 0.0 , 1.0 );

    weather.GetFog().SetLimits( 0.0 , 0.25 );

    weather.GetOvercast().SetForecastChangeLimits( 0.5, 0.8 );

    weather.GetRain().SetForecastChangeLimits( 0.1, 0.3 );

    weather.GetFog().SetForecastChangeLimits( 0.05, 0.10 );

    weather.GetOvercast().SetForecastTimeLimits( 3600 , 3600 );

    weather.GetRain().SetForecastTimeLimits( 300 , 300 );

    weather.GetFog().SetForecastTimeLimits( 3600 , 3600 );

    weather.GetOvercast().Set( Math.RandomFloatInclusive(0.0, 0.3), 0, 0);

    weather.GetRain().Set( Math.RandomFloatInclusive(0.0, 0.2), 0, 0);

    weather.GetFog().Set( Math.RandomFloatInclusive(0.0, 0.1), 0, 0);

    weather.SetWindMaximumSpeed(30);

    weather.SetWindFunctionParams(0.1, 1.0, 50);


    comme ceci ?