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

 

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

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
  • Discord

×
×
  • Create New...