Achmed Posted September 8, 2013 Report Share Posted September 8, 2013 We have ours set to night every 3rd restart, works pretty well! how do you manage to do that? Link to comment Share on other sites More sharing options...
soad Posted September 8, 2013 Report Share Posted September 8, 2013 how do you manage to do that? If u are hosting with vilayer still judging by your signature. I set my server to start at 5pm with 4 hour restarts seems to work so it restarts at 9pm and returns at 5pm again. Link to comment Share on other sites More sharing options...
Junkie Posted September 8, 2013 Report Share Posted September 8, 2013 Pretty simple..... Take this File : http://www.file-upload.net/download-8056989/core_time.fsm.html Put it in your Mission.pbo open your init.sqf and call the script (at the bottom) [4,false,true] execFSM "core_time.fsm"; 4 means 4h day - 4h night Link to comment Share on other sites More sharing options...
ToejaM Posted September 8, 2013 Report Share Posted September 8, 2013 Pretty simple..... Take this File : http://www.file-upload.net/download-8056989/core_time.fsm.html Put it in your Mission.pbo open your init.sqf and call the script (at the bottom) 4 means 4h day - 4h night Doesn't work on a fully loaded server, it glitches out and stops working. Link to comment Share on other sites More sharing options...
AlexHjelm Posted September 18, 2013 Report Share Posted September 18, 2013 Doesn't work on a fully loaded server, it glitches out and stops working. And how do you do it then? Link to comment Share on other sites More sharing options...
norsk22771 Posted October 1, 2013 Report Share Posted October 1, 2013 How to fix this so i have 3 hour day and 1 hour night? Link to comment Share on other sites More sharing options...
Robinajax Posted October 12, 2013 Report Share Posted October 12, 2013 Anyone got this to work? I would like to have 4 hours days and 2 hour night at every restart of 6 hours! Link to comment Share on other sites More sharing options...
Achmed Posted October 14, 2013 Report Share Posted October 14, 2013 not sure if anyone has come across this before but would this work? http://forums.bistudio.com/showthread.php?95296-Day-and-Night-cycle-script Link to comment Share on other sites More sharing options...
Coco-Nuts Posted October 14, 2013 Report Share Posted October 14, 2013 Hello, For my server, the restart is every 4h and I made 3h day & 1h night using the HiveExt.ini parameters. I set this : [Time] Type = Static Hour = 17 The night happend at 20:00 (8 pm) average and my server restart when it's 21:00 (9pm) So when the server restart, after it's 17:00 (5pm) in game :) Hoping you have helped ! Link to comment Share on other sites More sharing options...
Robinajax Posted October 14, 2013 Report Share Posted October 14, 2013 Static time doesn't work for me for some reason, it's just keep staying daytime. I got my static time on hour=16, with restarts every 6 hour. It should be night then for 2 hours but that isn't the case. Link to comment Share on other sites More sharing options...
TheSzerdi Posted October 14, 2013 Report Share Posted October 14, 2013 Experimented with this before: http://www.armaholic.com/page.php?id=17497 Never got it working to a point that satisfied me, but it did work. Let me know if any of you get it working better. Link to comment Share on other sites More sharing options...
tdriftx Posted October 14, 2013 Report Share Posted October 14, 2013 Static time doesn't work for me for some reason, it's just keep staying daytime. I got my static time on hour=16, with restarts every 6 hour. It should be night then for 2 hours but that isn't the case. Have you made sure that the type and hour variables aren't commented out ( make sure this ";" is not at the start of their lines )? you should have the following: [Time] ;Possible values: Local, Custom, Static ;You cannot use Static on OFFICIAL Hive, it will just revert to local Type = Static ;If using Custom type, offset from UTC in hours (can be negative as well) ;Offset = -8 ;If using Static type (Hour value always the same on every server start), the value (0-24) to set the Hour to Hour = 16 If you have a server through a host, you'll want to confirm that they aren't locked down to local time only. Link to comment Share on other sites More sharing options...
Robinajax Posted October 17, 2013 Report Share Posted October 17, 2013 Thanks tdriftx! It works now! Link to comment Share on other sites More sharing options...
Ventana Posted December 17, 2013 Report Share Posted December 17, 2013 Pretty simple..... Take this File : http://www.file-upload.net/download-8056989/core_time.fsm.html Put it in your Mission.pbo open your init.sqf and call the script (at the bottom) 4 means 4h day - 4h night Is that the correct syntax for that line? how do you call it? Link to comment Share on other sites More sharing options...
maca134 Posted December 17, 2013 Report Share Posted December 17, 2013 I tried using the setDate as it is only ran locally, still caused micro freezes when updating... I need to figure out how Origin has done it grrrrrr something that has bugged me a while now Link to comment Share on other sites More sharing options...
Achmed Posted December 17, 2013 Report Share Posted December 17, 2013 Was there not a old version of the origin server pbo files making the rounds at one point that could be looked at for ideas on how to do it? Link to comment Share on other sites More sharing options...
maca134 Posted December 17, 2013 Report Share Posted December 17, 2013 I did look into that, its all in the server cleanup fsm, used the same method but no luck, still laggy Link to comment Share on other sites More sharing options...
Achmed Posted December 17, 2013 Report Share Posted December 17, 2013 I had a Google and found this but don't know if it's any help etc. The file is called by the init.sqf with reference to 4 hour day and night https://github.com/joenilan/DayZOrigins/blob/master/MPMissions/dayz_1.origins.tavi/core_time.fsm Link to comment Share on other sites More sharing options...
Renegade2k6 Posted December 18, 2013 Report Share Posted December 18, 2013 Instructions for above origins script. Adjusting Day/Night Time Edit \MPMissions\dayz_1.origins.tavi\init.sqf Look for:[3,true,true] execFSM "core_time.fsm"; Default is currently 4hr day/night. Other examples: --- [4,true,true] execFSM "core_time.fsm"; (3hr day/night) --- [3,true,true,12] execFSM "core_time.fsm"; (4hr day / 1 hr night) To disable completely, just add a double slash to the front of the line '//' Link to comment Share on other sites More sharing options...
Ventana Posted December 19, 2013 Report Share Posted December 19, 2013 Instructions for above origins script. Adjusting Day/Night Time Edit \MPMissions\dayz_1.origins.tavi\init.sqf Look for:[3,true,true] execFSM "core_time.fsm"; Default is currently 4hr day/night. Other examples: --- [4,true,true] execFSM "core_time.fsm"; (3hr day/night) --- [3,true,true,12] execFSM "core_time.fsm"; (4hr day / 1 hr night) To disable completely, just add a double slash to the front of the line '//' I;m not getting too much traffic on my server right now (curse you standalone) so I might give this a try to satisfy a large group of night dwellers I have on my server. Is there any changes I need to make in my cfg files its vurrently set to: [Time] Type = static hour = 13 Link to comment Share on other sites More sharing options...
LunchboxCharlie Posted December 20, 2013 Report Share Posted December 20, 2013 Does this work for the current version of epoch? Link to comment Share on other sites More sharing options...
Ventana Posted December 21, 2013 Report Share Posted December 21, 2013 I'm running this right now. It keeps resetting the in-game clock to 2:30 pm every few min. Link to comment Share on other sites More sharing options...
Ventana Posted December 21, 2013 Report Share Posted December 21, 2013 This doesn't work for me. Installed as described and set up as 4hr day/1 hr night. Never changed, just kept resetting the in game clock. anyone have any idea? Link to comment Share on other sites More sharing options...
mrkarp Posted December 23, 2013 Report Share Posted December 23, 2013 Have you made sure that the type and hour variables aren't commented out ( make sure this ";" is not at the start of their lines )? you should have the following: [Time] ;Possible values: Local, Custom, Static ;You cannot use Static on OFFICIAL Hive, it will just revert to local Type = Static ;If using Custom type, offset from UTC in hours (can be negative as well) ;Offset = -8 ;If using Static type (Hour value always the same on every server start), the value (0-24) to set the Hour to Hour = 16 If you have a server through a host, you'll want to confirm that they aren't locked down to local time only. This is the best method, the script listed earlier in this thread uses a function called skipTime, which has to be broadcasted to each user as the server updates aswell, I have played with this function many of times, and it seems that A2 cannot keep up with the constant change, especially while running something as big as DayZ. The constant flashes, and choppy clouds are the result of either the client trying to sync with the server, or vice versa, and thus causing a split second where it thinks it still daylight, or is moving to fast and results to light flashes and choppy clouds. While I have never gotten this to run smoothly on A2, it works wonders in A3, but that's a different story. With that being said I would try to fine tune your Hiveext.ini with the Static time variables, we have on our server it running 3hrs day, and 1hr night aas to tdriftx post.. Link to comment Share on other sites More sharing options...
maca134 Posted December 23, 2013 Report Share Posted December 23, 2013 Origins have managed it so its possible somehow Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now