Jump to content
  • 0

How to add Day/Night cycle


PredatorClaw

Question

4 answers to this question

Recommended Posts

  • 0

In epochconfig.hpp

// Time based
StaticDateTime[] = {0,0,0,9,0}; // {0,0,0,8,0} would forces the server to start at 8am each time it is started while allowing the year, month and day to stay real time. Any values left at 0 will result in no change.
timeDifference = 0; // Server uses real time this will allow you to offset just the hour.
timeMultiplier = 5.0; // Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems.
Link to comment
Share on other sites

  • 0
  On 12/28/2014 at 1:00 AM, Rc_Robio said:

 

In epochconfig.hpp

// Time based
StaticDateTime[] = {0,0,0,9,0}; // {0,0,0,8,0} would forces the server to start at 8am each time it is started while allowing the year, month and day to stay real time. Any values left at 0 will result in no change.
timeDifference = 0; // Server uses real time this will allow you to offset just the hour.
timeMultiplier = 5.0; // Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems.

 

Thank you Robio, you are the best

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...