Jump to content

Shortened day/night cycles?


Recommended Posts

I actually have a really easy way of doing this.  It works for me but before I put it out to the public, I would love to have another person or 2 test it.  I have no desire to keep it private, just would like a couple testers to vet it for me.  It does require you have access to your HiveExt.ini and BEC scheduler.xml

 

Are you talking about time speedup or something else?

 

I could test if you like

Link to comment
Share on other sites

Im also interested in a method to speed up the time process although the extra hive ext is a great idea its not for people who want to have almost a full day in 1 3HR restart like me.

Im currently using the VFATS speed up time script and whenever it turns night everyone starts complaining becuase of the jerky clouds and stars because it makes peoples screens blinding (currently on 5x).

If theres anything I can do to help try to find something please let me know.

Link to comment
Share on other sites

This doesn't seem to work properly it just jumps time randomly and doesn't speed up 1 sec it's day the next darkness and causes some weird issues incl Mass Client not responding kicks

 

Here is my core_time.fsm and vanilla cleanup.fsm without the sync_time part.

 

core_time.fsm

http://s000.tinyupload.com/?file_id=23710353873046428594

 

cleanup.fsm

http://s000.tinyupload.com/?file_id=03852834876975689153

 

For me its working great, no jerky clouds or something. The weather is running like without passing any time.

Only thing is that fresh player need 10min to be synced with all players.

Link to comment
Share on other sites

Here is my core_time.fsm and vanilla cleanup.fsm without the sync_time part.

 

core_time.fsm

http://s000.tinyupload.com/?file_id=23710353873046428594

 

cleanup.fsm

http://s000.tinyupload.com/?file_id=03852834876975689153

 

For me its working great, no jerky clouds or something. The weather is running like without passing any time.

Only thing is that fresh player need 10min to be synced with all players.

 

Ok can you tell me where exactly the call goes in the init?

 

If!isdedicated if!isserver ect

Link to comment
Share on other sites

 just add it at the very bottom...after this:

#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"

 

Hmm,

 

Why not change the 10 in the call to a lower number?

 

Surely that would be better and if i lower the 6 for example does that make time go faster or slower?

Link to comment
Share on other sites

Hmm,

 

Why not change the 10 in the call to a lower number?

 

Surely that would be better and if i lower the 6 for example does that make time go faster or slower?

 

If you lower the 6 then it does the time go slower.

 

[4,true,10,1,true,7]

For example with "4" you will pass 4 minutes every 1 minute and sync it after 10 minutes. 10x1x4=40 (40 Minutes every Sync)

[6,true,10,1,true,7]

For example with "6" you will pass 6 minutes every 1 minute and sync it after 10 minutes. 10x1x4=60 (60Minutes every Sync)

 

You can try to lower the 10 to something else but many people reported syncing issues.

Link to comment
Share on other sites

  • 2 months later...

My Time Control Script have a very smooth cloud transition, because it adjust the skipTime to the minimum necessary to archieve the desired velocity. Different system will be adjusted to different skypTimes because it adapt to the computer speed.

A computer that can do 30 skipTimes per second will have bigger skipTime than a computer that can do 120 skipTime per second. The two will have smooth clouds, even the first, because probably it have lower fps.

This will ensure max smoothness and a lot of small skipTimes.

I have even used 80X 160X faster time. One day in 2 minutes.

- Clients are perfect in sync with the server.

- You still can set the begin hours in hiveExt.ini.

THE DRAW BACK

Since skipTime is fps consuming, you will have a decrease in fps, this is the only draw back.

I'm still working on the fps decrease fix.

Possible fixs:

- Change from maximum smoothness goal to minimum smoothness necessary goal. Allow less and bigger skipTimes.

- Change clouds speed.

- Remove clouds.

Other than the decrease in fps, the script is 100% functional, simple, syncier and smooth.

It have a client and a small server side.

Link to comment
Share on other sites

My Time Control Script have a very smooth cloud transition, because it adjust the skipTime to the minimum necessary to archieve the desired velocity. Different system will be adjusted to different skypTimes.

This will ensure max smoothness and a lot of small skipTimes.

I have even used 80X 160X faster time. One day in 2 minutes.

- Clients are perfect in sync with the server.

- You still can set the begin hours in hiveExt.ini.

Since skipeTime is fps consuming, you will have a decrease in fps, this is the only draw back.

I'm still working on the fps decrease fix.

please share your Time Control Script 

Link to comment
Share on other sites

I have read through many of the threads on this and finally came up my way to achieve day night.  This can be adjusted to suit your own requirements.  We are on a 6 hour restart schedule.
I use the BEC scheduler to run a batch file that sets the time in hive.ini at each restart. I run 4am, 10am, 10am, 3pm.  
This gives you dawn though to a long day, then dusk and a full moon night for about 45mins.  

I have 3 hiveext.ini files:

HiveExt4am.ini
[Time]
Type = Static
Hour = 4

HiveExt10am.ini
[Time]
Type = Static
Hour = 10

HiveExt3pm.ini
[Time]
Type = Static
Hour = 15

SetTimeServer01-4am.bat
set timepath="D:\DayZServer\instance_11_Chernarus"
cd /d %timepath%
xcopy %timepath%\HiveExt4am.ini %timepath%\HiveExt.ini /C /R /Y

then start your server as normal

I know it is simple - no coding required, I hope someone will find this useful.  The time speed methods really mess up the server.

Link to comment
Share on other sites

  • 3 weeks later...

I have read through many of the threads on this and finally came up my way to achieve day night.  This can be adjusted to suit your own requirements.  We are on a 6 hour restart schedule.

I use the BEC scheduler to run a batch file that sets the time in hive.ini at each restart. I run 4am, 10am, 10am, 3pm.  

This gives you dawn though to a long day, then dusk and a full moon night for about 45mins.  

 

I wish I could do this, but my server is hosted. I'm not using a dedicated server so I can't run batch files. :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...