diff --git a/Server_Install_Pack/@epochhive/epochconfig.hpp b/Server_Install_Pack/@epochhive/epochconfig.hpp index 7f65535a..992d098e 100644 --- a/Server_Install_Pack/@epochhive/epochconfig.hpp +++ b/Server_Install_Pack/@epochhive/epochconfig.hpp @@ -26,6 +26,7 @@ forceRestartTime = 14400; // 4 hour restarts }, // { 1800, "PaydayEvent", 0, 2}, // { 1200, "MessageServer", 0, 2}, + { 30, "FastNights", 0 , 2, -1, {48,4} ,{"VR"}}, // TimeMulti Nighttime = 48 / TimeMulti Daytime = 4 { 1200, "HeliCrash", 0 , 2, -1, {} ,{"VR"}}, { 2700, "AirDrop", 0 , 2, -1, {} ,{"VR"}}, { 2400, "EarthQuake", 0 , 2, -1, {} ,{"VR"}}, diff --git a/Sources/epoch_server_events/EpochEvents/FastNights.sqf b/Sources/epoch_server_events/EpochEvents/FastNights.sqf index 1c0ba512..ab6d0c0c 100644 --- a/Sources/epoch_server_events/EpochEvents/FastNights.sqf +++ b/Sources/epoch_server_events/EpochEvents/FastNights.sqf @@ -1,5 +1,6 @@ +params [["_nightmulti",48],["_daymulti",4]]; if (sunOrMoon < 0.99) then { // adjust this lower to change sooner. Note: "0.99 value, the twilight is still quite dark" https://community.bistudio.com/wiki/sunOrMoon - setTimeMultiplier 13 // adjust this value for slower or faster night cycle ( 24 hours will take 1 hour ) + setTimeMultiplier _nightmulti // [0.1 ... 120] adjust this value for slower or faster night cycle ( 24 hours will take 0.5 hours ) } else { - setTimeMultiplier 5 // adjust this value for slower or faster day cycle ( 12 hours will take 1 hour ) + setTimeMultiplier _daymulti // adjust this value for slower or faster day cycle ( 24 hours will take 6 hours ) };