Clockwork Fork

by NOiZE

I just port it for factorio 2.1. Original credits for Yehn. Changes the parameters of the solar cycle: Make days longer or shorter and control what portion of the cycle is night. Make nights darker if you like. Includes an optional Sun Never Rises mode.

Content
4 days ago
2.1
381
Environment

g Changing cycle settings

a month ago

Thank you for keeping this mod up to date, very appreciated!
Question, is there a more detailed explanation on how to assign values? Are the default values close to the vanilla settings. I see you need a linear progression of values, but how do I make each cycle of the day longer or shorter? Mostly looking to dramatically increase the day time. The value represent start times, not actual length times, so I'm not sure how to make changes that can say increase the day time. I assume I have to change the sunset time, say from 0.25 to 0.35, as long as I don't reach the 0.45 night time? Then I have to restart the game to reset the accumulator settings? Thanks for any help on this.

7 days ago
(updated 7 days ago)

There are four day phases, two of which are maximum brightness and darkness, respectively, and the others are linear transitions between those. The time of day is expressed as fractions between zero and one (not sure if the latter is technically assumed).

The game starts at 0, representing the middle of the day. The first switch value triggers sunset (increasing darkness), the second marks the deepest night (max darkness), the third is dawn (decreasing darkness) and the fourth starts the next day (min darkness).

Wiki reference:
https://wiki.factorio.com/Time#Days

7 days ago

The mod's default values keep the standard cycle. To increase day time, you need to move some or all values closer together. The first two will delay sunset and night, the latter two will have the next day start earlier. To make it easy, shift them towards 0.5, the middle of the night. If you want to keep the duration of the night, only shift the first and the last value to make the transition times shorter. To shorten deep night, shift the second and third values. You can do all of that independently as long as you keep the order (night value can not be lower than sunset value, etc.).

You can change the values in-game, as they are map settings. The accumulator base setting only changes their general capacity; this is unrelated to day time and the respective changes.

New response