Where can I set hunger and thirst rate in xml files
Been searching for a while and didnt find it. My primary language is french. Maybe that is the problem ;)
Posted Apr 24, 2020, 2:42 PM UTC
Been searching for a while and didnt find it. My primary language is french. Maybe that is the problem ;)
Posted Apr 24, 2020, 2:42 PM UTC
My first thought would be to change the values for the "Slow metabolism" perk in progression.xml.
Anxious to see, I want to play this game again but am going to fix some of the features first- hunger, thirst, encumbrance to start.
Hey things I'm actually actively modding too haha. Thirst and hunger aren't the worst ever in this game but I certainly have different ideas. Definitely not a fan of the current inventory and encumbrance system. Personally I completely ignore extra inventory space. Because I can carry the same amount of stuff anyways and the drawbacks for encumbrance are so easy to get around
I just hate encumbrance, it's so stupid. Such an obvious way to drag out game play without adding content. Better yet, why not have us start with being just a torso, and we have to bite corpses to gather enough flesh to construct arms and legs. Then we could start working on the stone axe and bedroll and so on.
Lol anyway, yeah I'm gonna mess around with it or find a modded server maybe. I miss playing with my friends but they prefer to take the time to earn everything then we never finish the game.
Just the entire concept of encumbrance?
I'm not sure I can relate to that perspective really. :P
I feel like you could say hunger and thirst mechanics are just a way to drag out gameplay too. Or in your example why would creating arms feel like it adds less content than creating a stone axe?
I definitely don't like encumbrance in every game. Platformers and high action games tend to suffer for it. Anything with a reasonably fast pace is definitely encumbered by encumbrance. But for slower survival games where everything is supposed to be strategic I think it adds a lot of depth. Deciding what loot is worth bringing back, or what you're looking for specifically, is a lot more engaging to me than just "loot everything in this building." That's why my complaint is that the current system is too lenient on one hand. Literally never needed to care about the encumbrance penalty, it just doesn't matter.
Though on the other hand there are some things that seem too strict, like a single coin taking an entire inventory slot.
I think a system where clothes have different numbers of pockets, and each pocket has a max mass it can hold is a good start. Then add in backpacks for the primary storage. And you could even factor in strength for your overall carry limit. And maybe even getting rid of a magical line that makes your encumbered, and just base stamina drain on total weight being carried. Something along those lines is what I'm thinking.
Personally I hate it regardless hah... My issue is that it is too much like real life, which surprisingly is what I'm trying to avoid while playing a game. I had way more fun when you could carry a full backpack without penalty and you were only limited by your own drive/creativity. It feels like doing homework or regular work just to get to the good part. I think there should be an option to turn it off in the standard menu, and people who keep it on get a 10% XP boost or something.
Dug around to find it for you as a little challenge to help myself learn. No idea how it might look in French exactly but this should help.
Base hunger and thirst are in entityclasses.xml. Look for the <entity_class name="player_male">. Scroll down a bit into the event group full of passive effects. There's a few parameters related to thirst there for you to look at, but the one for the thirst rate itself is called "WaterChangeOT". Increasing it will make you thirsty faster, and decreasing it - slower. Hunger is slightly different. In the game MaxStamina is the actual stat and hunger is more or less calculated based off of that. So the most relevant passive effect for how fast you get hungry is "StaminaMaxModifierOT", which works the same as thirst.
Good luck!
Wow, very nice information and well explained. Thank you very much!