Jump to content

Can you change season length after you started your world?


Recommended Posts

I started a world that had all season lengths set to long, but now I realize that having 50 days to prepare for winter, is maybe a little too much, and frankly, is just boring

 

So is there any way I can change the season lengths using console commands?

I thought it would be interesting, but now im invested in my world x.x

I have totally been there. I feel for you, homie. There's no going back now. You're just going to have to open up that stupid console command box ever so often =(

There's always a console command, the question is always whether it's short enough to be considered a console command (and to be easily typed there).

for i, v in ipairs(GetWorld().topology.overrides.misc) do if v[2] == "longseason" then v[2] = "default" end end
After typing that, Save & Quit and then reload the save.

By the dark powers of threadomancy... ARIIIIISE!

 

Despite this topic being kind of old, I would like to contribute another answer to your question, because there might be other players looking for a similar solution.

 

Yes, it is possible to change the season length in a game that has already started:

 

 

You have to use the console.

 

Here is a guide on the wiki for those, who don't know how to work with the console: http://dont-starve-game.wikia.com/wiki/Console/Commands#World_commands

 

I highly recommend the Better Console Mod, because it enables pasting into the console with CTRL+V.

The mod can be found in the Steam Workshop for example: http://steamcommunity.com/sharedfiles/filedetails/?id=173892495

 

You just have to type one or multiple of the following commands in the console to set the season length of a particular season to SHORT:

 

GetSeasonManager():SetSpringLength(TUNING.SEASON_LENGTH_FRIENDLY_SHORT)

 

GetSeasonManager():SetSummerLength(TUNING.SEASON_LENGTH_HARSH_SHORT)

 

GetSeasonManager():SetAutumnLength(TUNING.SEASON_LENGTH_FRIENDLY_SHORT)

 

GetSeasonManager():SetWinterLength(TUNING.SEASON_LENGTH_HARSH_SHORT)

 

 

You will notice, that Summer and Winter are considered HARSH seasons, while Spring and Autumn are FRIENDLY seasons.

 

Of course, you can replace TUNING.SEASON_LENGTH_FRIENDLY_SHORT or TUNING.SEASON_LENGTH_HARSH_SHORT with the following or with any positive number you like (0 will turn the season OFF entirely):

 

TUNING.SEASON_LENGTH_FRIENDLY_VERYSHORT

TUNING.SEASON_LENGTH_FRIENDLY_SHORT

TUNING.SEASON_LENGTH_FRIENDLY_DEFAULT

TUNING.SEASON_LENGTH_FRIENDLY_LONG

TUNING.SEASON_LENGTH_FRIENDLY_VERYLONG

 

TUNING.SEASON_LENGTH_HARSH_VERYSHORT

TUNING.SEASON_LENGTH_HARSH_SHORT

TUNING.SEASON_LENGTH_HARSH_DEFAULT

TUNING.SEASON_LENGTH_HARSH_LONG

TUNING.SEASON_LENGTH_HARSH_VERYLONG

 

Here are the amounts of days for each setting right from tuning.lua:

        SEASON_LENGTH_FRIENDLY_VERYSHORT = 5,
        SEASON_LENGTH_FRIENDLY_SHORT = 12,

        SEASON_LENGTH_FRIENDLY_DEFAULT = 20,
        SEASON_LENGTH_FRIENDLY_LONG = 30,
        SEASON_LENGTH_FRIENDLY_VERYLONG = 50,

        SEASON_LENGTH_HARSH_VERYSHORT = 5,
        SEASON_LENGTH_HARSH_SHORT = 10,

        SEASON_LENGTH_HARSH_DEFAULT = 15,
        SEASON_LENGTH_HARSH_LONG = 22,
        SEASON_LENGTH_HARSH_VERYLONG = 40,

 

 

That's all, folks! :friendly_wink:

 

Best regards and don't starve.

Affenbauch

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...