TyrantXP Posted October 22, 2014 Share Posted October 22, 2014 Hi there I would like to ask if its possible to change the season LENGTH like this the Very Long Season have 50 Days but Long one have only 25is there in some files something that makes you change the " Very Long Season " to like 30 - 40 days or so ? Link to comment Share on other sites More sharing options...
Polariche Posted October 23, 2014 Share Posted October 23, 2014 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 Link to comment Share on other sites More sharing options...
TyrantXP Posted October 24, 2014 Author Share Posted October 24, 2014 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 Thanks for that Link to comment Share on other sites More sharing options...
seronis Posted October 24, 2014 Share Posted October 24, 2014 This implies that I cant have a world with winter being 3 times longer than summer. Thats pretty arbitrary and unrealistic Link to comment Share on other sites More sharing options...
Polariche Posted October 31, 2014 Share Posted October 31, 2014 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.luaReplace "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 } Link to comment Share on other sites More sharing options...
Recommended Posts
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.