Jump to content

Enbling day/night cycles on 1.0.6.1


ballen

Recommended Posts

Good morning all,

Just wondered if anyone could explain how I can enable day and night cycles on my server - My server doesn't seem to have day/night cycles at the moment? - I'm currently running Epoch 1.0.6.1 on my GTXHosting account.

I'm unsure as to how to set the cycle to either a set amount of time eg. 2 hours daylight to 30 minutes of night? - Is this possible? or do I and as some posts have seemed to indicate, have to set a calendar day and therefore the best I can do is set it to the longest day of year?

If anyone else could share their server settings or where I need to set this configuration as to how I can best achieve this I would be most grateful!

Thanks in advance,

Bobby

Link to comment
Share on other sites

In your HiveExt.ini find

[Time]
;Possible values: Local, Custom, Static
;You cannot use Static on OFFICIAL Hive, it will just revert to Local
Type = Local
;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 = 13

and merge it to your wish.

This are my settings. This means the time on the server is allways the time in real life. So it´s dark outside your house, it´s dark on your server.

Link to comment
Share on other sites

Hi Anhor - That's very helpful and thank you for kindly sharing your HiveExt.ini configuration with me.

Most of my users prefer a much shorter day/night cycle however (as most of them work so in the evenings they'd spend most of their time in the dark :() - Do you happen to know how this could be achieved?

Given that my server restarts every 4 hours I would assume (looking at the code comments above) the only way I could really achieve say a 3 hours daylight and 1 hour of night would be to set Type to Custom and  the Hour value to say 19:00 so that the server starts, the game time will be 19:00 each time and then (assuming the game engine turns "night" at say 21:00 (with a transition period) this would mean that players would get 3 hours of "day light" play and an hour of night before it resets again?

Many thanks,

Bobby

 

Link to comment
Share on other sites

If you use infistar, there is the option of vote day / night. It may work for you...

AHconfig.sqf

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/21/2017 at 11:12 AM, S4M said:

If you use infistar, there is the option of vote day / night. It may work for you...

Expand  

Right. And this was the first thing I disable. You know, my money, my server, my rules.

@ballen

This is a setting for a 4 hour restart day/night cyrcle

[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 = 17 // maybe play arround with starttime (16 or 18)

 

Link to comment
Share on other sites

@S4M @ballen

If you use infistar's vote system I think some edits will need to maded in here...

 
eg.
  Reveal hidden contents

 

 

 

Link to comment
Share on other sites

Thanks guys - I'll have a play about this afternoon.

Your replies and help are truly much appreciated!

I'll probably go with the "forced" day night cycle of four hours as per Anhor's second reply.

Thanks again :D

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...