How much does Real Weather take into account?

  1. 11 months ago

    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

    6 Oct 2017 Administrator

    Real weather covers:


    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!