Project Zomboid

Project Zomboid

Dynamic Backpack Upgrades [ B42/B41 ]
442 Comments
alp15 21 hours ago 
When you are an organizer you can exceed the limit of 50, it works. The unbearable lightness of hanging out in a truck with a sports car :)
VenecoHead Jun 28 @ 12:43pm 
When you upgrade backpacks it adds additional slots to them. What can you even put there? I have tried everything and nothing works.
reanimated6 Jun 21 @ 2:30am 
Does it work with Authenticz backback mod? does it work with customizable containers?
Peter the Fox May 31 @ 8:20am 
It seems to be a bit broken at the moment. I have this bug where if I go too high on the weight it makes my character move as if they are over encumbured even though their carrying weight is at like 9%. It would be amazing if this could be fixed, as I really like this mod.
Tank5168 May 26 @ 10:18pm 
function: render -- file: ToolTipInvOverride.lua line # 29 | MOD: Dynamic Backpack Upgrades (B42)
function: render -- file: InventoryUI.lua line # 21 | MOD: Starlit Library

ERROR: General f:198188, t:1748323011417> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: Object tried to call nil in render at KahluaUtil.fail(KahluaUtil.java:100).
Quilava May 17 @ 1:39am 
Same as comment below, try transfer liquid for the first time, got error until im stop :cta_emo4:
Jusluw May 4 @ 10:15am 
yo anytime i looked at transfer liquid stuff errors pop up
Tenebrous Apr 24 @ 7:37am 
When I click the fix upgrade thing nothing happens
Bumbullbee Apr 21 @ 10:55am 
Hey when I have the Knife Removes Upgrades option enabled, I get an error every time that I try to open the crafting menu. The crafting menu will fail to open at all with this option enabled. I'm on latest unstable build. took me forever to find this issue, since the error itself doesn't mention this mod, but says there's a Vanilla LUA issue. :deadweight:
진지사피언스 Apr 20 @ 9:30am 
It doesn't increase more than 50.
Noisy Koi Apr 18 @ 2:38pm 
also the upgrades seem to have a weird sprite surrounded by white pixels when the upgrades are placed on the ground or dropped
Noisy Koi Apr 18 @ 2:07pm 
it would also be really cool to be able to "upgrade" bag attachment slots onto bags tho probably with a few more upgrade slots for attachments as opposed to just one per bag, I know there are a few mods that add bag attachments but they seem to mostly require you to craft bags into new versions of themselves whereas I like how this one adds the slots to all modded backpacks as well, perhaps for compatibility's sake, most of the attachment slots could be placed on the shoulder straps? like a flashlight slot on the shoulder, tool slots on the chest (on the straps), bottle slot right behind the shoulder (a little clipping should be fine with most bag models so long as it looks like the bottle is close to the body to avoid it looking like its hovering)
Noisy Koi Apr 18 @ 2:03pm 
it seems the weight reduction upgrade doesn't effect bag attachments.
To be more specific, having a bedroll equipping on the bag slot gives it less weight reduction than having it inside the bag, tho it does still reduce its weight, just not nearly as much.
ethanw119w Apr 13 @ 11:07am 
SHOW ERROR. I unsubscribed this.
Lzhec Mar 29 @ 8:41pm 
Приветствую. Есть проблема. В настройках песочницы изменяю максимально количество слотов, но это не дает результата, на всех сумках так и остается 2 возможных слота для улучшения. Буквально 2-3 недели назад такого не было. В чем может быть проблема?

Так же, если я получаю возможность установки дополнительного слота через поднятие уровня навыка шитья, то в информации о предмете указывается что могу поставить больше улучшений, но фактически их можно установить не более двух.
Dr. Lalaoz  [author] Mar 26 @ 12:21pm 
It sounds like starlit opted to rewrite the tooltip code rather than saving it and running it later. but if they did it right it shouldn't have broken anything in theory. so i don't know. you'll have to ask them.
poopsock Mar 26 @ 8:24am 
@Dr. Lalaoz thank you for the information. I just started learning lua and hopefully i can start making my own mods soon. You and a couple of other people have been a huge inspiration to me.
Dr. Lalaoz  [author] Mar 26 @ 7:26am 
the way modders have to change zomboid tooltips is by essentially hijacking the tooltip renderer. we store the original render function, then replace the render function with our own, and then call the original render function at the end of our own code.
this can cause problems when a bunch of mods are doing the same thing and one person breaks it. it looks like you have 7 mods doing this.
the 7 mods involved are;
Starlit Library, Better Clothing Info Comparison, Recut, Show Food Stats, Skill Recovery Journal, KATTA J1 Clothes Core, and Dynamic Backpack Upgrades.
Most likely its Starlit Library since thats the most recent call in that list. (at the top)
specifically its line 31 if you want to pull up their mod.
also, the error line for dynamic upgrades is line 120, which is the line where it pushes the original render function. so its not a problem with this mod.
Good luck!
poopsock Mar 24 @ 3:14pm 
this error message is popping up in the new build, hope this helps with getting it updated soon! :spiffo:

https://pastebin.com/y8VRAh5N
Shiyuki Mar 24 @ 1:58am 
Does it work with brita's?
DaRkWoLf Mar 20 @ 12:37pm 
mod seems to conflic with noir attechment,authentic z,skill recovery book and starlit libary for. cant pinpoint wich is the causing mod but my UI tooltips bricking themself and throwing endless error if i try to let it show tooltip for any item. maybe its just on my end with the bazillion mods i run in my SP game
marbix Mar 19 @ 5:36pm 
does not give exp when attaching or detaching anything
RUSSIAN_LADA 2.0 Mar 13 @ 7:32am 
mod breaks liquids parameter
Dr. Lalaoz  [author] Mar 11 @ 6:29am 
the only way the item is "forgetting" the upgrade is if its mod data is getting reset, this happens when you craft an item, or if a mod deletes an item and then recreates it in your inventory by copying its old stats. so that sounds like something trolley would have to fix.
but otherwise no, the only item thats blacklisted right now is the key ring. i might be able to make a blacklist filter but i'm not working on mods right now
HAKU Mar 10 @ 3:57pm 
Is there a way to set items by item ID or something so that it cannot be allowed to take dynamic backpack upgrades? There are various modded items that should not take upgrades such as trolley, the problem with trolley in particular is that it will forget that it took upgrades while keeping it's new capacity values. (Ex: 64 -> 190-> 414) Could this be because of mod load order? I noticed previously that I was not able to upgrade things that aren't backpacks and now I am able to if its a equippable container or has the "Upgrade Slots : 5" on it's tooltip.

Things I would like an option to disable would be container items that aren't a bag but have capacity & reduction stats. (besides small containers like plastic bags, medkit, trash bag, ect)
Dr. Lalaoz  [author] Feb 27 @ 6:52am 
@Altay995
the 50 limit is a hard cap enforced by the game itself (the same limit is imposed on the players inventory). i'm hoping the devs will remove it if enough people email them and ask before b42's full launch. there is a way to remove it ourselves by overriding a file but thats not something the mod can do automatically.
if b42 releases with the cap still in place i'll add a section to the description explaining how to override the cap
Mike Feb 26 @ 7:56pm 
sex me up
Altay995 Feb 26 @ 4:50pm 
Dr.Lalaoz?
how do u then reset the stats because my backpack are going to 50, when the original is 62?
i try to right click and fix it thru there but nothing changes...
Dr. Lalaoz  [author] Feb 24 @ 7:06am 
When you upgrade an item with this mod, that upgrade info is saved as part of the items Mod Data. If you use the upgraded item to craft another item, it will be deleted and the upgrades will be lost.
BeeBro Feb 24 @ 7:04am 
@Tidurian thanks for clarifing bro
Tidurian Feb 24 @ 6:07am 
@Beebro No. works correctly however : if you upgrade a backpack to its next tier all upgrades from this mod will be lost. make sure to remove them before you update them!
BeeBro Feb 24 @ 2:44am 
Does this mod conflicts with "Authentic Z" backpack slot updates?
Jhurdz Feb 23 @ 10:16pm 
can you add the hide fanny pack as one of the possible ingredients for making the bag upgrade?
ionmar91 Feb 20 @ 3:54am 
Hi, I'm a beginner in PZ. How to keep my flashlight attach to my belt, or find another way to use it without having to take it? I downloaded the "Simple flashlight on belt!" but when I installed this Dynamic Backpack Upgrades mod it didn't work anymore.
Jod Feb 18 @ 3:23pm 
I was playing another game in b42 and it was working without that mod, it only happened when I activated that mod.
Dr. Lalaoz  [author] Feb 18 @ 9:35am 
b42 caps inventory container capacity to 50. theres a workaround but it requries replacing the file that enforces that cap.
Altay995 Feb 18 @ 8:07am 
@Jod
i have the exact same issue, couldnt fix it either....
Jod Feb 18 @ 4:58am 
Done some testing, its seems to be that mod specifically that causes it unfortunately, no idea why and I don't know if its something you can fix or not, sorry to flood the comments
Jod Feb 18 @ 4:29am 
Correction, its happening to vanilla backpacks too, I'm not sure why as yesterday it was working normally, so it might be one of the mods I've added since then.
Jod Feb 18 @ 4:23am 
I've noticed a problem with a backpack from the Support Corps mod, i can add upgrades to it but the max weight it'll hold wont go above 50, and I've tried the manual fix several time. I've tried all the bag upgrades, but I don't know if its that backpack specifically or all the ones from that mod, let me know if you need anything from me and I will try to get it.
Altay995 Feb 17 @ 9:32pm 
@Valkerion
how do u fix the problem? is it fixable?
Valkerion™ Feb 17 @ 2:41pm 
@Altay995
I think that is a known issue and hence why he added the right click options to fix container capacities
Altay995 Feb 16 @ 9:36pm 
i dont know what it is but sometime later in a game every container resets to its original value? like bags containers and trunk space? works fine in the beginning untill i die once, but not everytime.. or some time later in real hours....
Tidurian Feb 10 @ 6:20am 
also i think they need to work on the words used. "worn" can be either mean "on your body" or "sligthly damaged" confused me at first too (english is not my native)
Tidurian Feb 10 @ 6:19am 
just looked it up quickly. Usecase Rip Clothing has 2 versions in b42 important is that one checks for a Flag :

flags[AllowDestroyedItem;IsNotWorn],

so adding that flag to the reciepe would save the one you wear. as the second one adds this :

flags[AllowDestroyedItem;IsWorn],
Salad-in Feb 10 @ 3:33am 
That's a quirk with the new crafting system I think.

I had it happen to me when ripping clothes, character tore them right off their own body.
Tidurian Feb 9 @ 10:50pm 
So, I noticed that when you make bag upgrades with the crafting window it also wants to use the Fanny pack you have equipped, (i lost my pens and all my maps as i said "craft max") can you make it so it only takes non-equipped ones? i believe there is some tag you can look for in the recipe code....
Valkerion™ Feb 4 @ 1:15am 
@Pvt.Tactical
That sounds like a mod I was looking at to simply let you directly equip items off floor if the resulting weight reduction would still keep char inventory under 50.
If so still not totally related to making bags actually hold more than 50 (65 with organized).

Mod in question
https://steamcommunity.com/sharedfiles/filedetails/?id=3414553459&searchtext=capacity+limit
corpse Feb 3 @ 10:22pm 
Someone got it kinda working without file removal!!! Here:
https://steamcommunity.com/sharedfiles/filedetails/?id=3391460341

The description is really lacking, but in testing I found that I can drop bags and equip them to my hands and direct to back with over 80 kgs. If you unequip it will drop out of inventory but you can pick it up at least.
Valkerion™ Jan 31 @ 6:04pm 
Ah I see he only put those directions in a discussion thread