• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

[Question] Is it possible to make a game day last for 3 hours (single player)?

I find 2 hours too short for me.
C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die\serverconfig.xml

Line 30

<property name="DayNightLength" value="60" />

60 is 1 hour, change to whatever you want, but I've heard anything over 240 in the past gave stability problems.

 
@Meph - I just checked my serverconfig.xml file and it currently shows 240 for that name. However, when I am in the game, I calculate 120 (2 hours).

Could it be this is an old serverconfig file associated with a different game?

I deleted serverconfig.xml and generated a new MP server but the file did not reappear? How do I force a serverconfig.xml to be created (and used)?

 
Last edited by a moderator:
I find 2 hours too short for me.
You can try this, but I must advise that I've only briefly started the game and timed the difference between an in game minute for 120 and 180 and there is a difference so I think it might work.

Open windows.xml and search for: goDayLength

You will find this line...

Code:
<gameoption name="DayNightLength" title="goDayLength" value_wrap="false" value_type="int" values="10, 20, 30, 40, 50, 60, 90, 120" display_names="" value_localization_prefix="goMinute" />
Add more options for the values to that line and they will show up on the New/Continue game options screen and you can set it to higher values.

 
C:\Program Files (x86)\Steam\SteamApps\common\7 Days To Die\serverconfig.xml
Line 30

<property name="DayNightLength" value="60" />

60 is 1 hour, change to whatever you want, but I've heard anything over 240 in the past gave stability problems.
I can only guess but

60 mins are 5

120 mins are 3

So 240 should be one and it make sense that it is hard to go lower

3060D81271210B06260707B0242A0E67ACB4A007


 
@Meph - I just checked my serverconfig.xml file and it currently shows 240 for that name. However, when I am in the game, I calculate 120 (2 hours).
Could it be this is an old serverconfig file associated with a different game?

I deleted serverconfig.xml and generated a new MP server but the file did not reappear? How do I force a serverconfig.xml to be created (and used)?
You could probably revalidate your files and it will download a new copy. If that would throw a wrench in too many gears for you though, you could pick up a default file from http://7d2d.rocks/xml-defaults.php.

I can only guess but 60 mins are 5

120 mins are 3

So 240 should be one and it make sense that it is hard to go lower
Cool, thanks for the insight.

 
Open windows.xml and search for: goDayLengthYou will find this line...

Code:
<gameoption name="DayNightLength" title="goDayLength" value_wrap="false" value_type="int" values="10, 20, 30, 40, 50, 60, 90, 120" display_names="" value_localization_prefix="goMinute" />
This worked, thanks Sirillion!

 
So I did as Sirillion said, added 240 in the windows.xml, and the days did become longer, but the ingame hour lasts 20 real minutes, so one ingame day is 8 real hours (I guess). Does not 240 mean the ingame day should last 4 real hours? Eight hours is too much, what I'm doing wrong? What is your experience, Loftus?

 
Back
Top