Page 1 of 1

Modding night darkness?

Posted: Thu Jun 05, 2014 10:16 pm
by Holy-Fire
How do I make the night darker?

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

Re: Modding night darkness?

Posted: Fri Jun 06, 2014 5:48 am
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.

Re: Modding night darkness?

Posted: Fri Jun 06, 2014 8:50 am
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.