Project Zomboid

Project Zomboid

Item Weight Rebalance
39 Comments
borkie :3 20 Dec, 2024 @ 10:44pm 
BUILD 42222222222 VERS
Derplordofdeath 23 Aug, 2024 @ 11:21am 
this mod touches on to many things and conflicts with mods because of it (i suggest using item tweaker to make a more compatible mod) also this mod doesnt just affect weight it also affects weight reduction for certain bags/cases nowhere in this mod does it state that it changes bag weight reduction :\
Medi-Pyro 22 Jul, 2023 @ 8:21am 
do you have a list of all the tweaks for this? thank you!
deadvelvet 27 Dec, 2022 @ 12:23am 
can you please make a weight reductions for jewelry only version of this mod, otherwise good mod thx:steamthumbsup:
MAD6_Darkness 13 Oct, 2022 @ 8:18pm 
how does this work, ive reloaded my game a few times now but theres no change for me.
Tahvohck 9 Oct, 2022 @ 4:26pm 
Can you fix the weight of the 44 magnum box? It only holds 12 rounds, so the box weight is three times as much as the weight of the loose ammo.
Tahvohck 9 Sep, 2022 @ 7:15pm 
Checked the files - it does it via LUA. Installs on a running game just fine. As some feedback, matchbooks are a little OP, most matchbooks actually get 20 uses, not 100.
Tahvohck 31 Aug, 2022 @ 3:36pm 
Love the thought of this, but how does it handle the change? LUA, or a text overwrite?
Unamelable 19 Aug, 2022 @ 6:33am 
Any kind of sheet with items?
Large Leader Mela 14 Aug, 2022 @ 3:39am 
Thank you so much. The absolutely beyond any imaginable stupidity that is the weights of items in PZ was one of the main things that made me stop playing most of the time. This really really needs to be baseline imo. Absolutely beyond stupid that 10 pens weigh as much as a phone book.
Katenn 22 Jun, 2022 @ 9:48am 
@Ember, first of all, thank's for your mod. The game look more realistic with it. Do you know, if you gonna change the fishing stuff ? Because a fishing lure with 0.1 is really not realistic ! I don't know if it's a pain to do this kind of thing or not ? Thank's you for reading me :)
Preman Kampung 13 Mar, 2022 @ 7:04pm 
can you also tweak for tools needed for welding? Like welding mask, propane, welding rod?
Ember  [author] 1 Feb, 2022 @ 12:15pm 
@Oct_opus I believe in order to achieve that I would need to use another mod as a dependency called "modoptions" but I can look into it.

It would take an awful long time to set that up with over 300 items to modify it may just not be possible, or an extreme headache to get working but nonetheless I'll take a glance at it at least.

I feel just allowing the option to disable "clothing" changes or "ammo" changes will open the mod up to more servers/players that feel the balance could be disrupted otherwise.

What's really slowing me down on this update is just going through all the different game files for things I missed, basically googling every items real life weight and adjusting these values, as well as documentation along the way to make sure I have a list of all changes I'm doing and it's all neat and tidy code/comments/etc. Plus I'm spending more time playing games than modding them, hah.
Oct_opus 1 Feb, 2022 @ 11:59am 
@ember Thank you for your quick reply and your insights, I'v disabled the other mod.
If I could have a suggestion, maybe add a modifier in the settings for the different categories.
That way we can tweak them instead of adding some more mods to get the same result :)
Ember  [author] 1 Feb, 2022 @ 11:51am 
@Oct_opus That mod doesn't seem to use proper script manager or item:DoParam so they are not just changing object definitions but outright replacing them. This will inherently cause conflicts and issues not only with my mod but other things down the road.

However just by changing the mod load order so that my mod is above the lowAmmoWeight one should work but may cause errors I have not tested. Nothing serious should happen to a save though that could harm it, disable one mod or the other if issues arise.

But because they are replacing object definitions outright it may just be incompatible. I would need to write a script just to check for that mod and then ignore ammo changes, or split the ammo changes in a way that allows you to disable them.

Currently I'm in the middle of rewriting this mod so I may allow you to choose weapons, clothing, junk etc. This will avoid issues like this in the future.
Oct_opus 1 Feb, 2022 @ 11:08am 
Thx for the mod, I tried it with the ammo weight reduction one and it does not seem to be compatible https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1938991627
Domino 30 Jan, 2022 @ 9:22am 
PZ thinking that a pack of ten pencils would weigh as much as a sack of flour, a textbook, or a big cooking pot was unironically the biggest immersion breaker in the game for me. This mod makes item weights feel way less nonsensical.
Ember  [author] 29 Jan, 2022 @ 4:42pm 
@hradur currently no, but perhaps in the future!
hradhur 29 Jan, 2022 @ 1:16pm 
willl it change other mod's items weight as well? i'm thinking ov soul filcher's awesom time
Ashiel 28 Jan, 2022 @ 3:09pm 
Well, I am confused but happy. I have re-enabled this mod on our multiplayer server and it's now playing perfectly nicely with everything else. Perhaps the issue laid in a different mod (and was subsequently fixed in an update).

I would iterate again this is a wonderful mod and now I can think of literally no reason to not use it.
Thank you for your accomplishments! ♥
Ashiel 28 Jan, 2022 @ 2:38pm 
Yes. It's from Lone Wanderer's Saving Grace (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2454293014&searchtext=wanderer) .

However, I have more testing to do as your mod no longer seems to be conflicting with it in my single player test (whereas removing the mod from our multiplayer server fixed this issue previously). It may have been a false flag and if so, I apologize. I would be very happy to be able to re-enable this mod as I much prefer your item weights to the vanilla values. ♥
Ember  [author] 28 Jan, 2022 @ 9:26am 
@Ashiel could you perhaps tell me the name of the mod you are having issues with, the tomato seed one? I'd like to test this myself as well. Thanks.
Ember  [author] 28 Jan, 2022 @ 9:10am 
Looking into it further it seems I am doing it correctly here with ScriptManager.instance:getItem and item:DoParam, I must be missing something though if you are having issues.
Ember  [author] 28 Jan, 2022 @ 9:03am 
I see, I will definitely look into this. Thank you for your example as well. Though I'm not getting such issues myself perhaps because of my mod load order or perhaps something else. Either way I will look into this Star guides and try and change my lua script into something better. I plan on doing a big update to this, and you maybe gave me the advice I need to do it right. Thank you.
Ashiel 27 Jan, 2022 @ 8:01pm 
This aside, I wanted to say again that otherwise the mod is nice and the spirit and mindset are spot on. If it were compatible with the other mods I have I'd still be using it as everything did generally seem to be weighted much better. ♥
Ashiel 27 Jan, 2022 @ 7:59pm 
Pt 3. Also, as Star points out: if the modification is to the base files in the game, then there's also a very high chance that the mod will break (or will break something) whenever the game is updated with new versions of existing files (this is why you can often find items or mechanics reverting to old functions or losing new functions when a new update comes out for the base game; and that's due to them editing the files directly and then replacing the files with an older version).
Ashiel 27 Jan, 2022 @ 7:57pm 
Pt. 2
For example, I have a mod that allows you to extract seeds from certain crops in the base game (such as pulling seeds out of tomatoes to plant). However, having this mod enabled removes the ability to extract seeds from the tomato. Based on previous experience, I suspect this is because it is overwriting the appended tomato file with the original file + weight adjustment rather than changing the weight of the item with a LUA script.

Star (the creator of the popular Mod Manager and other nice mods) made a guide explaining what makes for quality modding practices and also has some examples in the comments section of his guide here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2350427678
Ashiel 27 Jan, 2022 @ 7:57pm 
If a mod however replaces the item or the usual functions of the item, then it becomes incompatible with other mods. For example, if your mod replaces the ones in the base game with edits that simply change the weight of the items, any mods that would apply new functions to the base game items will not work, because the mod that replaces reverts all changes to the base item back to the base item + the weight change only.

Quite a few mods allow you to perform specific actions with items that aren't available in the base game. They do this not by changing the file itself but by appending the added functionality onto the base item without overwriting the base item. In doing so, multiple extra functions can be added to the items without breaking compatibility.

Pt 1.
Ember  [author] 27 Jan, 2022 @ 6:01pm 
Thanks if you can help.
Ember  [author] 27 Jan, 2022 @ 6:01pm 
@Ashiel could you be more specific? I've got a lot of mods enabled on a MP server running this and have no conflicts, errors, or issues so far.
Ashiel 27 Jan, 2022 @ 4:18pm 
@ember
I had to disable this after further testing. Seems like your mod overwrites rather than appends items and thus it makes it incompatible with pretty much everything else. :c
󰀈Egor_Greed 21 Jan, 2022 @ 4:34am 
Finally found some to relax of too heavy cans and other items, good mod:steamthis:
Ashiel 19 Jan, 2022 @ 2:43pm 
Been playing with this for a while in MP, so far feeling really nice. :thumbsup:
Ember  [author] 15 Jan, 2022 @ 5:45am 
Let me know what you think, if anything should be more or less, or if I missed things.
KarpJoe 14 Jan, 2022 @ 3:46pm 
That's awesome. I feel the changes to clothing is well deserved. I understand the difficulty in balancing both weight based items and space based items but honestly I'd prefer to have stuff not weigh so much. It's hard enough as it is justifying clothing items to wear when you can easily hit 5-7 weight in just clothes which means at 5 strength you're almost always running around lightly encumbered.

I'm probably going to have to give this mod a look. If you split the effects you could just do two mod files in here under the same workshop item. One for clothes one for everything else.
Ember  [author] 14 Jan, 2022 @ 4:06am 
@FrancisPJ Sure thing, it's some 300 items or so. I'll put a list when I'm more satisfied with the balance of a few things and I stop adding more items. I may just remove all clothing and meds for balance but currently most items are adjusted lower in weight across the board.

I may change it to only do simple items like pens, erasers, jewelry because those items wouldn't really affect balance at all and that was the entire purpose of creating this mod to begin with.

For the most part items like makeup, pocket mirror, and things of that size and nature I have changed from 0.1 - 0.3 weight to 0.01 or between those two numbers. Flowers/herbs, some food items like hot sauce, salt/pepper, peanuts/candies, bandages, sutures, needles, mugs are 0.1 empty rather than 0.2, empty kettle and frying pan are 0.5 weight etc. The battery length for flashlights is longer as well. I'll definitely make a list at some point that shows everything.
KarpJoe 14 Jan, 2022 @ 12:08am 
Any way to get some examples of what changed?
nickodemos 13 Jan, 2022 @ 11:25am 
Don't forget that the only thing the coders can do about bulky items is add weight to them. Like towels.
Rats 13 Jan, 2022 @ 10:40am 
I might try this one.
I always end up asking myself if a sweater really weighs one kilo