I found a workaround. I think this is working but i tested it ony2/3 hours of play, so i can't be fully confident but what the code seem to say is when you reach a certain point into the game the thirst, hunger and oxygen are activated, here we deactivate them whatever the point. I just bought the game and was annoyed to feel thirst and hunger so quikly ingame. I don't know how the mod worked and how to reduce the speed of those functions so i checked the file (BaseMissionSequence.lua) where the changes are made (located in the 00.dat decompressed with the GzsTool v0.6.0, link to the github page). There is 3 function already used to ignore thirst, hunger and oxygen in the tutorial at the beginning of the game: if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=true}else ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=false}end if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=true}else ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=false}end if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=true}else ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=false}end I changed them to: if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=true}else ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=true}end if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=true}else ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=true}end if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=true}else ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=true}end And then i recompress the 00.dat pack with the file changed. Now i can explore the map in a very... laziness way?
edit: do this with your 00.dat and before alterate it, backup it just in case. The dat files here on nexus are outdated, here the code is tested with the v1.18 of Survive.
It took me days to reply to this cause I had fun testing it. So far i didnt run into issues. Odd crash every now and then but i surmise thats something on my end Thanks man!
I'm just looking for a way to reduce the speed at which hunger and thirst evolve, not to suppress them. Just slow them down because by default it's being abused ... an idea?
16 comments
I think this is working but i tested it ony2/3 hours of play, so i can't be fully confident but what the code seem to say is when you reach a certain point into the game the thirst, hunger and oxygen are activated, here we deactivate them whatever the point.
I just bought the game and was annoyed to feel thirst and hunger so quikly ingame. I don't know how the mod worked and how to reduce the speed of those functions so i checked the file (BaseMissionSequence.lua) where the changes are made (located in the 00.dat decompressed with the GzsTool v0.6.0, link to the github page).
There is 3 function already used to ignore thirst, hunger and oxygen in the tutorial at the beginning of the game:
if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then
I changed them to:ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=true}else
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=false}end
if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=true}else
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=false}end
if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=true}else
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=false}end
if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then
And then i recompress the 00.dat pack with the file changed.ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=true}else
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="infiniteOxygen",value=true}end
if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=true}else
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreHunger",value=true}end
if n<TppDefine.STORY_SEQUENCE.CLEARED_k40040 then
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=true}else
ScriptParam.SetValue{category=ScriptParamCategory.PLAYER,paramName="ignoreThirst",value=true}end
Now i can explore the map in a very... laziness way?
edit: do this with your 00.dat and before alterate it, backup it just in case. The dat files here on nexus are outdated, here the code is tested with the v1.18 of Survive.
I'm just looking for a way to reduce the speed at which hunger and thirst evolve, not to suppress them. Just slow them down because by default it's being abused ... an idea?