Control length of day and night?

Discussion in 'Plugin Development' started by GeekyMe97, Oct 7, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    GeekyMe97

    If I for example would like to make the day shorter, and the night longer, how would I go about doing this?
    I've searched for a while but couldn't seem to find an answer.

    Help would be appreciated :)
     
  2. Offline

    jamietech

    You would have to change the time with a scheduler.
     
  3. Offline

    GeekyMe97

    Oh, well that sucks.
    Are you sure?
    Then it'd switch instantly from night to day, and vice verse.
     
  4. Offline

    jamietech

    No, you would increment or decrement it slowly.
     
  5. Offline

    jast

    You could set the time back/forward a bit every so often, to spread out the changes over the day mostly unnoticably. For instance, to double the length of the day, decrease the time by 1 each tick.
     
  6. Offline

    rylinaux

    jast likes this.
  7. Offline

    willeb96

    Don't you mean decrease the time by 1 every 2 ticks?
    With -1 every tick the time would stop :p
     
  8. Offline

    jast

    yes, you are very right
     
Thread Status:
Not open for further replies.

Share This Page