Page 1 of 1

[MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Jul 25, 2014 1:32 pm
by Dark
This small and simple mod makes day & night last 3 times longer.

Day and night cycle lasts 21 minutes of real time with this mod VS 7 minutes of real time without mods.

Download (1 kb)

Mod can be configured to extend only day or nigh, proportions are also configurable.

Code: Select all

-- configuration inside control.lua 
local EXTEND_NIGH = 2 -- (integer) This variable controls how much extended the night will be, can be set to zero for standard 3.5 minutes night
local EXTEND_DAY  = 2 -- Same as above but for day

-- For example, setting EXTEND_DAY to 1 and setting EXTEND_NIGH to 2 will make 7 minutes long days and 10.5 minutes long nights

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Jul 25, 2014 3:26 pm
by MCDomYT
so could this be used to remove nighttime all together? :)

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Jul 25, 2014 3:32 pm
by Dark
@MCDomYT, this is not the purpose of this mod, if you really need to get rid of night then just type this in the console:

Code: Select all

game.alwaysday = true
No mods necessary.

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Jul 25, 2014 6:09 pm
by Airat9000
please screen friend!

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Jul 25, 2014 7:44 pm
by Nova
"screen"? Did you mean you want a picture? Why? That's a mod with no need for a picture, and it would even be pretty hard to make a picture.


An easy question: Why would you make the night any longer? xD

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Jul 25, 2014 8:22 pm
by Dark
I'm not aiming at making only night longer, the whole day/night cycle feels too short (only 7 minutes of real time)
If you're interested in making nights longer I suggest looking at this mod to make nights less boring.

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Aug 08, 2014 8:05 pm
by Ranakastrasz
Suggest altering data file.
Suggest the default (3 and a half minutes?) be 210 for 210 seconds, for each, or else 3.5 for 3 and a half minutes.

Otherwise, 1 should be normal night/day length, 2 doubled, and 0.5 halved, and so on.

Add commented data (ignored data) which states how it interprets the data.

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Sun Aug 10, 2014 12:25 pm
by Dark
Ranakastrasz wrote:Suggest altering data file.
Suggest the default (3 and a half minutes?) be 210 for 210 seconds, for each, or else 3.5 for 3 and a half minutes.

Otherwise, 1 should be normal night/day length, 2 doubled, and 0.5 halved, and so on.

Add commented data (ignored data) which states how it interprets the data.
I can hardly understand what you're trying to say. Commented data? Ignored data? WUT?

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Sun Aug 10, 2014 12:32 pm
by Airat9000
mod work?

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Sun Aug 10, 2014 1:35 pm
by Dark
Airat9000 wrote:mod work?
Yep, works.

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Sun Aug 17, 2014 2:57 pm
by Airat9000
0.10.8 not work
bug
Image

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Tue Feb 03, 2015 8:20 am
by Airat9000
0.11.13 work?

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Tue Aug 04, 2015 7:29 pm
by Vizzy
I've unofficially updated this mod for [0.12.2].

Let me know if there's any problems with this!

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Thu Aug 13, 2015 4:03 pm
by reububble
Cool beans. I did some maths, and some art. I made a good solar panel and accumulator grid, like the useful one that works on the usual speed. With the default 3 times length, the ratio to aim for is 2.52 accumulators per solar panel. Fitting that into a grid looks like this.

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Tue Sep 22, 2015 7:03 pm
by Sedado77
Does this work on 0.12?? Want to use it... Or do i just use the code in my vanilla install and modify it?

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Tue Sep 22, 2015 7:08 pm
by Ackos
Sedado77 wrote:Does this work on 0.12?? Want to use it... Or do i just use the code in my vanilla install and modify it?
Still works for me.

Re: [MOD 0.10.x] Longer Day/Night Cycle (DayNightExtender)

Posted: Fri Oct 23, 2015 6:04 pm
by Proxy
Ackos wrote:
Sedado77 wrote:Does this work on 0.12?? Want to use it... Or do i just use the code in my vanilla install and modify it?
Still works for me.
well, it does not work for me.
I edited the Mod to fix it, but i'm still getting this: "__DayNightExtender__/control.lua:11: LuaBootstrap doesn't contain key freeze_daytime."
Sadly, I can't find the Vanilla code to compare it, so i have to deactivate the Mod.

Got any ideas where the Vanilla day/night code is?