Jump to content

Recommended Posts

It depends whether you are using vanila version or RoG

 

If you are on vanila, go to scripts\tuning_override.lua and find the script below:

local tuning_vars = {																						["longsummer"] = {summer= 50 , winter= 10, start=50},	["longwinter"] = {summer= 10, winter= 50, start=10},										["longboth"] = 	 {summer= 50 , winter= 50, start=50},	["shortboth"] =  {summer= 10 , winter= 10, start=10},	["autumn"] = 	{summer= 5, winter= 3, start=5},	["spring"] = 	{summer= 3, winter= 5, start=3},}

change the numbers into whatever you want them to be

 

 

If you are on RoG, open DLC0001\scripts\tuning.lua and find below:

	SEASON_LENGTH_FRIENDLY_VERYSHORT = 5,	SEASON_LENGTH_FRIENDLY_SHORT = 12,	SEASON_LENGTH_FRIENDLY_LONG = 30,	SEASON_LENGTH_FRIENDLY_VERYLONG = 50,	SEASON_LENGTH_HARSH_VERYSHORT = 5,	SEASON_LENGTH_HARSH_SHORT = 10,	SEASON_LENGTH_HARSH_LONG = 22,	SEASON_LENGTH_HARSH_VERYLONG = 40,

SEASON_LENGTH_FRIENDLY is for spring and autumn while SEASON_LENGTH_HARSH is for summer and winter

Edited by Polariche

It depends whether you are using vanila version or RoG

 

If you are on vanila, go to scripts\tuning_override.lua and find the script below:

local tuning_vars = {																						["longsummer"] = {summer= 50 , winter= 10, start=50},	["longwinter"] = {summer= 10, winter= 50, start=10},										["longboth"] = 	 {summer= 50 , winter= 50, start=50},	["shortboth"] =  {summer= 10 , winter= 10, start=10},	["autumn"] = 	{summer= 5, winter= 3, start=5},	["spring"] = 	{summer= 3, winter= 5, start=3},}

change the numbers into whatever you want them to be

 

 

If you are on RoG, open DLC0001\scripts\tuning.lua and find below:

	SEASON_LENGTH_FRIENDLY_VERYSHORT = 5,	SEASON_LENGTH_FRIENDLY_SHORT = 12,	SEASON_LENGTH_FRIENDLY_LONG = 30,	SEASON_LENGTH_FRIENDLY_VERYLONG = 50,	SEASON_LENGTH_HARSH_VERYSHORT = 5,	SEASON_LENGTH_HARSH_SHORT = 10,	SEASON_LENGTH_HARSH_LONG = 22,	SEASON_LENGTH_HARSH_VERYLONG = 40,

SEASON_LENGTH_FRIENDLY is for spring and autumn while SEASON_LENGTH_HARSH is for summer and winter

 

OhThats what Im looking for :D

 

Thanks for that :D

This implies that I cant have a world with winter being 3 times longer than summer.  Thats pretty arbitrary and unrealistic

 

You can. If you don't have RoG then you only need to edit the numbers in the script above so that.

If you have RoG, you have to go a bit deeper...

 

On data\DLC0001\scripts\tuning_override.lua

Replace "Tuning.SEASON_LENGTH_HARSH"s with the number of days you want for summer. Same goes for the winter. Just find ["winter"] with Ctrl + F and you should be able to find the codes that look like this

 

	["summer"] = {					doit = function(difficulty)						local seasonmgr = GetSeasonManager()						if not GetSeasonManager() then return end						if difficulty == "random" then							local rand = math.random()							if rand <= 1/6 then								difficulty = "noseason"							elseif rand <= 2/6 then								difficulty = "veryshortseason"							elseif rand <= 3/6 then								difficulty = "shortseason"							elseif rand <= 4/6 then								difficulty = "longseason"							elseif rand <= 5/6 then								difficulty = "verylongseason"							else								difficulty = "default"							end						end						if difficulty == "noseason" then							seasonmgr:SetSummerLength(0)						elseif difficulty == "veryshortseason" then							seasonmgr:SetSummerLength(TUNING.SEASON_LENGTH_HARSH_VERYSHORT)						elseif difficulty == "shortseason" then							seasonmgr:SetSummerLength(TUNING.SEASON_LENGTH_HARSH_SHORT)						elseif difficulty == "longseason" then							seasonmgr:SetSummerLength(TUNING.SEASON_LENGTH_HARSH_LONG)						elseif difficulty == "verylongseason" then							seasonmgr:SetSummerLength(TUNING.SEASON_LENGTH_HARSH_VERYLONG)						else							seasonmgr:SetSummerLength(TUNING.SEASON_LENGTH_HARSH_DEFAULT)						end					end				} 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...