How much does Real Weather take into account?

  1. last week

    Obviously things like rain, but what about things like fog or more importantly wind?

    If it was a particularly windy day IRL will we see that in game?
    I'm playing around with a dust/sandstorm script and if Real Weather varies the wind enough then it may be worth me trying to tie this script into the wind conditions.

  2. Tupolov

    Oct 6 Administrator

    Real weather covers:

    Cloud
    Rain
    Fog
    Lightning
    Wind

    Here's the wind calc

    // Calculate Wind
        _windDir = parseNumber ([GVAR(REAL_WEATHER),"wdird", random 360] call ALiVE_fnc_hashGet);
        _windSpeed = parseNumber ([GVAR(REAL_WEATHER),"wspdm", 1 + (random 5)] call ALiVE_fnc_hashGet);
        setWind [-_windSpeed * sin(_windDir), -_windSpeed * cos(_windDir), true];
  3. Thanks dude

 

or Sign Up to reply!