Paul

Time Offset / Sunset time

6 posts in this topic

Hi All

I've just created a new server which is using real time rather than static time, but the server gets dark at about 6pm, which is a bit too early.

Is there a way to either:
1. Offset the time by 2 hours or so
2. Set a sunset and sunrise time so that we can make the sun go down later

Thanks
Paul

Share this post


Link to post
Share on other sites

@second_coming:
You do something like this in occupation:
SC_fastNightsStarts             = 18;                       // Start fast nights at this hour (24 hour clock) eg. 18 for 6pm
SC_fastNightsMultiplierNight    = 24;                       // the time multiplier to use at night (12 = 12x speed)
SC_fastNightsEnds               = 6;                        // End fast nights at this hour (24 hour clock) eg. 6 for 6am
SC_fastNightsMultiplierDay      = 4;                        // the time multiplier to use during daylight hours (4 = 4x speed)

How do you set the night time start and finish, if you dont mind me asking, as this would be perfect for what I need?

Share this post


Link to post
Share on other sites
Advertisement

Thanks for the reply!

Doesn't the game use the server date as well as the time? Or would I need to set the staticTime to have a date earlier in the year? Currently, it's set at:
staticTime[] = {2039,10,24,14,00};

Share this post


Link to post
Share on other sites
2 minutes ago, Paul said:

Thanks for the reply!

Doesn't the game use the server date as well as the time? Or would I need to set the staticTime to have a date earlier in the year? Currently, it's set at:
staticTime[] = {2039,10,24,14,00};

I use:

staticTime[] = {2015,10,3,13,0};

 

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.