dragonslayer770
New member
so i wood have to do all the items one at a time
hello, im currently tying to add more mod slots to UndeadL mod, but i believe I'm having a UI limit issue. think you could point me in the right direction?First, what is not working exactly? Do you have this code between <config> </config>? Are you getting any errors in the console regarding mods when you load up a game? Does your modlet have a ModInfo.xml file?
I copied and paste your code into my modlet and I saw the following:
- No errors on loading
- I picked three weapons out of creative menu: one at Q1, one at Q5, and one at Q6 (hunting rifle, lever action rifle, pipe machine gun).
- All 3 weapons had 6 mod slots.
The code is definitely changing the mod slots available, but it doesn't display more than 6. This could either be a hard limit in the game or an UI (user interface) issue. You might not be seeing more than 6 because there is not enough screen space. If that is the case (and not because of a hard limit on mod slots which I doubt there is), you will also need to adjust the sizes of those slots to get more on the screen (kind of like the bigger backpack mods).
Darkness Falls added more than 5 mod slots so Khaine's mod has examples of modifying the UI to account for more than 5.hello, im currently tying to add more mod slots to UndeadL mod, but i believe I'm having a UI limit issue. think you could point me in the right direction?
Max mod slots is 5, any more added after that, can't be seen when slotted into item.