• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A17 Bigger Backpack Mod!

I have a 200 slot backpack no issues now. I edited the entity classes male entity and first I only change bag capacity but when I changed the line above to 200 as well all works great no dll editing needed
In this case what happens if you get killed, drop the backpack with all 200 slots used and try to pick it up?

Just pressing R to pick everything up results in index out of range error in console for me.

 
In this case what happens if you get killed, drop the backpack with all 200 slots used and try to pick it up?Just pressing R to pick everything up results in index out of range error in console for me.
Then you haven't done 1 or 2 things.

First check your loot.xml for loot container dropped backpack make sure it is the size - backpack + toolbelt + clothing

Then you need to go to xui/windows.xml search looting and make sure that is the same size as the lootcontainer

 
Last edited by a moderator:
Hmmmmmm

Went to go back into my game lost all my backpack items and unable to use backpack cant add things to it from chests or anything

 
I have looked in the assembly and apart from the bag section being the same. The playerdatafile is different and I am unsure what needs changing.

So will keep an eye out for someone whom can find it lol and make the back pack work fully as I wont play with a stupid reduced back pack

 
Anyone find a fix to the array errors
First check your loot.xml for loot container dropped backpack make sure it is the size - backpack + toolbelt + clothing

Then you need to go to xui/windows.xml search looting and make sure that is the same size as the lootcontainer

 
Your speaking Chinese, I’m hoping it gets fixed I have exactly 0 idea what your talking about. I suppose I could make an attempt though
Go to loot.xml find lootcontainer 2 (player dropped backpack) change size to your backpack size plus toolbelt plus clothes slots ie: backpack is 200. Toolbelt is 8 clothes slots is 10 200+8+10= 218 so your lootcontainer 2 needs to have enough slots to accommodate this.

So you put 11 rows 20 columns.

Then go to windows.xml search windowslooting change the size of this to also match the lootcontainer 2. That will fix nres.

But the dll needs to be edited still unfort to be able to save your items upon death or exit

 
Go to loot.xml find lootcontainer 2 (player dropped backpack) change size to your backpack size plus toolbelt plus clothes slots ie: backpack is 200. Toolbelt is 8 clothes slots is 10 200+8+10= 218 so your lootcontainer 2 needs to have enough slots to accommodate this.
So you put 11 rows 20 columns.

Then go to windows.xml search windowslooting change the size of this to also match the lootcontainer 2. That will fix nres.

But the dll needs to be edited still unfort to be able to save your items upon death or exit
Awesome, thank you sir I’ll try that shortly, super appreciate you spelling it out for me

 
FYI it bugs out looting. When you try to loot other persons bag or your on upon death it bugs out and you can't loot anything. Does need dll. Not just xml changes.

 
FYI it bugs out looting. When you try to loot other persons bag or your on upon death it bugs out and you can't loot anything. Does need dll. Not just xml changes.
The looting side is caused by the above that I have mentioned 3 times lol but the saving Inc upon death and exit is due to dll needing editing

 
Awesome! Any chance at making it xpath?
Maybe but I'm bad at it. ;) I think Sphereii has lost hair trying to teach me how to do it.

Pretty sure the dll may have to be edited still as it references 45 in the dll
I'm not convinced, because I can have 60 slots and all slots actually save. I suspect the XML over-rides it. You could have more than the DLL says in A16, but the slots didn't save.

 
Ok, both updated and tested with a clean B199 install. Can't see any issues.

Some screenshots to help prove that.

8n3QTtk.png


mqsILvI.jpg


Looting window was 9x10, so I changed it to 10x10. No NRE's, but I did notice warnings if you shift-click clothing as it automatically equips it to your character. Didn't see any other issues though, so bear that in mind.

Also noticed the durability bar is slightly clipping into other cells on the backpack, so I'll look at tweaking that later too. :)

 
Back
Top