diff --git a/Server_Install_Pack/@epochhive/addons/epoch_server.pbo b/Server_Install_Pack/@epochhive/addons/epoch_server.pbo index 1b06a3e1..f2b8e0cd 100644 Binary files a/Server_Install_Pack/@epochhive/addons/epoch_server.pbo and b/Server_Install_Pack/@epochhive/addons/epoch_server.pbo differ diff --git a/Server_Install_Pack/@epochhive/addons/epoch_server_core.pbo b/Server_Install_Pack/@epochhive/addons/epoch_server_core.pbo index 0e6ee9bc..b5934271 100644 Binary files a/Server_Install_Pack/@epochhive/addons/epoch_server_core.pbo and b/Server_Install_Pack/@epochhive/addons/epoch_server_core.pbo differ diff --git a/Server_Install_Pack/@epochhive/addons/epoch_server_settings.pbo b/Server_Install_Pack/@epochhive/addons/epoch_server_settings.pbo index b21b07fc..c62b6ce9 100644 Binary files a/Server_Install_Pack/@epochhive/addons/epoch_server_settings.pbo and b/Server_Install_Pack/@epochhive/addons/epoch_server_settings.pbo differ diff --git a/Sources/epoch_server/build.hpp b/Sources/epoch_server/build.hpp index 7e8f55f7..beeec4fe 100644 --- a/Sources/epoch_server/build.hpp +++ b/Sources/epoch_server/build.hpp @@ -1 +1 @@ -build=703; +build=704; diff --git a/Sources/epoch_server_core/build.hpp b/Sources/epoch_server_core/build.hpp index 7e8f55f7..beeec4fe 100644 --- a/Sources/epoch_server_core/build.hpp +++ b/Sources/epoch_server_core/build.hpp @@ -1 +1 @@ -build=703; +build=704; diff --git a/Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf b/Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf index bbe5609b..7eb3b07b 100644 --- a/Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf +++ b/Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf @@ -70,10 +70,10 @@ _randomRainValue = [0,1,0]; _randomOvercastValue = [0,1,0]; _randomLightningValue = [0,1,0]; -_randomWindValX = [-7,0,7]; -_randomWindValZ = [-7,0,7]; -_randomWindRValX = [-15,0,15]; -_randomWindRValZ = [-15,0,15]; +_randomWindValX = [0,10,0]; +_randomWindValZ = [0,10,0]; +_randomWindRValX = [0,20,0]; +_randomWindRValZ = [0,20,0]; // fog, rain, overcast. @@ -98,8 +98,7 @@ if (_rain > 0.1) then { }; if !(isNil "_windOVRD") then { - _windValX = _windOVRD select 0; - _windValZ = _windOVRD select 1; + _windOVRD params ["_windValX","_windValZ"]; }; // cooler at night @@ -120,10 +119,7 @@ _WeatherChangeTime setFog _fog; _WeatherChangeTime setOvercast _overcast; _WeatherChangeTime setRain _rain; _WeatherChangeTime setLightnings _lightning; -setWind[_windValX, _windValZ, true]; - -// get random temp. - +setWind[_windValX, _windValZ, false]; // push temp to all players and JIP. missionNamespace setVariable ["EPOCH_CURRENT_WEATHER", if (isNil "_tempOVRD") then { round(_temp) } else { _tempOVRD }, true]; diff --git a/Sources/epoch_server_settings/build.hpp b/Sources/epoch_server_settings/build.hpp index 7e8f55f7..beeec4fe 100644 --- a/Sources/epoch_server_settings/build.hpp +++ b/Sources/epoch_server_settings/build.hpp @@ -1 +1 @@ -build=703; +build=704; diff --git a/build.txt b/build.txt index f9676a90..a1c6189c 100644 --- a/build.txt +++ b/build.txt @@ -1 +1 @@ -703 +704