Modding night darkness?

Place to get help with not working mods / modding interface.
Post Reply
Holy-Fire
Fast Inserter
Fast Inserter
Posts: 169
Joined: Sun Apr 14, 2013 9:15 am
Contact:

Modding night darkness?

Post by Holy-Fire »

How do I make the night darker?

(And in general, change parameters relating to the day/night cycle).

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: Modding night darkness?

Post by drs9999 »

Afaik you cannot modify the darkness. (read-only)

The same applies to the daylength. But because the current daytime is read/write you could use a workaround. E.g. you want to make the night longer you could read the current daytime if it passed midnight you reset it back to midnight. Continue as long as you think it fits.

Holy-Fire
Fast Inserter
Fast Inserter
Posts: 169
Joined: Sun Apr 14, 2013 9:15 am
Contact:

Re: Modding night darkness?

Post by Holy-Fire »

drs9999 wrote:Afaik you cannot modify the darkness. (read-only)

The same applies to the daylength. But because the current daytime is read/write you could use a workaround. E.g. you want to make the night longer you could read the current daytime if it passed midnight you reset it back to midnight. Continue as long as you think it fits.
Thanks. That's unfortunate, I'm trying to make lamps play a bigger role, and one of the issues I wanted to fix is that even at midnight you can see the unlit landscape.

Post Reply

Return to “Modding help”