mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
MORE WIND!
This commit is contained in:
parent
6e9e5ff9d3
commit
2156309fcf
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
build=703;
|
build=704;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=703;
|
build=704;
|
||||||
|
@ -70,10 +70,10 @@ _randomRainValue = [0,1,0];
|
|||||||
_randomOvercastValue = [0,1,0];
|
_randomOvercastValue = [0,1,0];
|
||||||
_randomLightningValue = [0,1,0];
|
_randomLightningValue = [0,1,0];
|
||||||
|
|
||||||
_randomWindValX = [-7,0,7];
|
_randomWindValX = [0,10,0];
|
||||||
_randomWindValZ = [-7,0,7];
|
_randomWindValZ = [0,10,0];
|
||||||
_randomWindRValX = [-15,0,15];
|
_randomWindRValX = [0,20,0];
|
||||||
_randomWindRValZ = [-15,0,15];
|
_randomWindRValZ = [0,20,0];
|
||||||
|
|
||||||
// fog, rain, overcast.
|
// fog, rain, overcast.
|
||||||
|
|
||||||
@ -98,8 +98,7 @@ if (_rain > 0.1) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if !(isNil "_windOVRD") then {
|
if !(isNil "_windOVRD") then {
|
||||||
_windValX = _windOVRD select 0;
|
_windOVRD params ["_windValX","_windValZ"];
|
||||||
_windValZ = _windOVRD select 1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// cooler at night
|
// cooler at night
|
||||||
@ -120,10 +119,7 @@ _WeatherChangeTime setFog _fog;
|
|||||||
_WeatherChangeTime setOvercast _overcast;
|
_WeatherChangeTime setOvercast _overcast;
|
||||||
_WeatherChangeTime setRain _rain;
|
_WeatherChangeTime setRain _rain;
|
||||||
_WeatherChangeTime setLightnings _lightning;
|
_WeatherChangeTime setLightnings _lightning;
|
||||||
setWind[_windValX, _windValZ, true];
|
setWind[_windValX, _windValZ, false];
|
||||||
|
|
||||||
// get random temp.
|
|
||||||
|
|
||||||
|
|
||||||
// push temp to all players and JIP.
|
// push temp to all players and JIP.
|
||||||
missionNamespace setVariable ["EPOCH_CURRENT_WEATHER", if (isNil "_tempOVRD") then { round(_temp) } else { _tempOVRD }, true];
|
missionNamespace setVariable ["EPOCH_CURRENT_WEATHER", if (isNil "_tempOVRD") then { round(_temp) } else { _tempOVRD }, true];
|
||||||
|
@ -1 +1 @@
|
|||||||
build=703;
|
build=704;
|
||||||
|
Loading…
Reference in New Issue
Block a user