Project Zomboid

Project Zomboid

Sensible Balance: Player Stats and Timed Actions
16 Comments
Sir Doggy Jvla 24 Aug, 2024 @ 7:47am 
Man I just checked how you define the stats, and you could soooo easily make sandbox options for that it's actually insane lmao
unlockk  [author] 23 Aug, 2024 @ 3:22pm 
@filipeiroar I am afraid I will not be taking commissions, sorry.
filipeiroar 20 Aug, 2024 @ 10:48am 
Can you make a mod to modify the work part of captain kitchen medicine etc and have the option to modify the values? can I pay to do it
unlockk  [author] 16 Aug, 2024 @ 1:47am 
@tonyzhur it does not. the game treats the hunger stat and nutrition completely separately.
Sir Doggy Jvla 14 Aug, 2024 @ 10:14am 
Basically for every values, add some sandbox option to set each values. I understand it could take a while, but it's really not that hard to do. The longest part would simply writing the sandbox options themselves and what they do exactly

Utilizing the values would simply be about replacing the values you've yourself set in your code to increase the time for example and simply replace them with a reference to the sandbox option
unlockk  [author] 14 Aug, 2024 @ 9:50am 
@Sir Doggy Jvla
Thanks for your comment. What sort of sandbox options would you like to see? The issue with this is, it takes a long time to do them and I already have spent way more time modding the game, debugging, etc. and making these mods than playing the game in the past month of uploading all of these. One day, perhaps, I shall make these. Might wait and see what Build 42 brings first. Most of my mods are at the very least modular to some extent and I try and describe in detail exactly what you'll be getting. I initially was never going to make a single mod before Build 42, but it is clear it will not come any time soon (maybe end of year/holidays period at best). In any case, the more feedback from anyone who uses my mods, the better I can try and make them.
unlockk  [author] 14 Aug, 2024 @ 9:50am 
@Sir Doggy Jvla
I personally play with a 2 hour day, I tend to balance everything for that. I don't think the game scales many actions against the timescale, maybe only the stats decay, but I am not so sure, I haven't player on a 1hr day for longer than the first ~30-50 hours I played this game in vanilla, and I sure wasn't building any structures or getting more than a few days of survival at a time.
Sir Doggy Jvla 14 Aug, 2024 @ 9:19am 
Hey I really love all your concepts of rebalancing the game but I feel like these would extremely benefit from Sandbox options. It's nice rebalancing but it's even better giving the choice to players to fully flesh out their experience

There's a fuck ton of aspects I love in your mods but might not end up using them simply because there is no sandbox options for some of these changes that I do not agree with. Sandbox options would make your mods 10 times better in their concept, if it's a problem of not knowing how to make sandbox settings, don't hesitate to ask on the modding Discord or even the official PZ discord in the modding channel (tho I really feel like you do know how to those since you've managed to make decorations)

Also I usually play with a day lasting longer in PZ, which scales timed actions too but I'm curious how it works with the time delta changing
Karl XII 14 Aug, 2024 @ 3:23am 
@unlockk
Thank you very much for the response. I did not know this mechanic and in that case I will definitely be trying it out! (I always take high thirst so I hope I don't die of thirst lol)
unlockk  [author] 14 Aug, 2024 @ 3:21am 
1.1 Update

-Changed crafting time multiplier x3.0 to x2.5 as some actions became a bit too long.

-Cancelling a cigarette after going through a third of the smoking consumes it and gives you the usual effects. This way you can skip the long animation if you are short for time.

-Fixed some of the food and drink duration script logic that was there in vanilla. E.g. if you ate 3/4ths of an item, but then selected "Eat All", in vanilla you would take as long to eat as the entire full item would have taken. Now it will accurately scale the "Eat All" time to the proportion of the food/drink item remaining.
unlockk  [author] 14 Aug, 2024 @ 3:21am 
@tilarium

Thank you, I am glad you're enjoying these. Using this + my food/water values mod, I've had to carry maybe 4 bottles of water on a high thirst character to be safe on my game.

@Crazy Ivan

I had a look at the tree script and it is not possible to make it take longer within the script because the duration is not a "timed action" that I can edit, but is dependent on the actual damage of the axe vs the tree health. If I do get the script to work, then you can easily bypass the changes by actually attacking the tree and still cutting it down in the same vanilla timespan. So if you want to make it longer you'd have to make the trees have more health. Also, apparently the tree chopping is bugged and makes you lose 2x durability when you right click + chop tree? See here. Then again some people say this has been fixed since then. It's so tedious...
tilarium 12 Aug, 2024 @ 9:36am 
Gotta say, I'm loving the stat tweaks. I actually need to remember to bring food and water with me when going on a supply run because they ran out at a more sensible pace now.
unlockk  [author] 12 Aug, 2024 @ 8:05am 
Player jumping over fences and climbing walls was about 20%. In my testing, if the game decides you've "succeeded" the climb, the zombies do not get to bite you. If you were gonna fail the climb, it doesn't matter at what stage of the animation you are, your character simply doesn't get to climb over.
Karl XII 12 Aug, 2024 @ 4:17am 
By how much was the player movement slowed down? The mod looks very promising but I'm worried the player movement will cause my death
unlockk  [author] 12 Aug, 2024 @ 2:50am 
Thanks, glad you like it. Yes, there's a script for chopping down trees, however I was unsure how the durability penalty applies (whether it is "per strike" or per whole action of chopping tree), I figured I'd just upload this and tweak that for the next update.
Crazy Ivan 11 Aug, 2024 @ 4:35pm 
Really enjoying the mod, thanks! Works great with 4 hour days.
The only thing that doesn't seem slower is chopping down trees, is it possible to make this take longer?