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

Need help! Mod slot window behind inventory, what do I do?

mbava218

New member
I am using the mods Dewtas More Mod Slots which i have modified to give me 20 instead of 10 slots, I am also using Scrollable Storage and Backpack v1.0 and Scrollable Storage 12x40 Backpack Patch v1.0.

I can get to the point shown in the image but i cant move the mod slots and or the info windows from behind the inventory without the inventory diapering. I have tried it without the backpack mods and it does the same thing. Can anyone help?

The images of xml code are what i changed in order to get the 20 slots. the first set of code is the windows.xml file and the seconded is the items.xml file.

I have not modified any other files.

trying-to-add-more-mod-slots-but-it-is-not-working-v0-oxkub8ci87od1.png


BXLrt1726355824.png
TFl6B1726355853.png


If you think I am making the game to easy, as some people think on Reddit. I am running a hardcore overhaul mod that also has more weapon mods for balance but I end up needing three or four of the same weapon with different mods for different enemies just to barely survive. Switching between weapons has also gotten me killed a few time losing me the world.

 
Hi!

First I would say: Do not let anybody telling you how to play your game. Play however you have fun playing. There is no right or wrong way or settings to play any game, the "right" way is however you have fun with. 

Second, answering your question, you have to tweak the "position", "width" and "height" numbers for the panels. Simply adding the extra mod slots will not make it fit. What numbers you should use I could not say exactly, you need to test a little bit yourself and see what works and looks good for you, but probably change position a bit more to the left could perhaps look better. Still, with 20 mod slots I think it is going to look a bit messy no matter what 😅. Here in this picture I mark some of those as an example (just examples, it does not mean you have to edit all those, just pointing to what you need to look for):

Screenshot 2024-09-15 100520.png

But in short, in the same window and panels you are adding your extra slots to there are those other numbers that determine position, tweak those and it will look better. 

Good luck, and have fun however you want! 💜

 
Hi!

First I would say: Do not let anybody telling you how to play your game. Play however you have fun playing. There is no right or wrong way or settings to play any game, the "right" way is however you have fun with. 

Second, answering your question, you have to tweak the "position", "width" and "height" numbers for the panels. Simply adding the extra mod slots will not make it fit. What numbers you should use I could not say exactly, you need to test a little bit yourself and see what works and looks good for you, but probably change position a bit more to the left could perhaps look better. Still, with 20 mod slots I think it is going to look a bit messy no matter what 😅. Here in this picture I mark some of those as an example (just examples, it does not mean you have to edit all those, just pointing to what you need to look for):

View attachment 32305

But in short, in the same window and panels you are adding your extra slots to there are those other numbers that determine position, tweak those and it will look better. 

Good luck, and have fun however you want! 💜


Do you know how I can get the modifications to work because if I modify the game's xml directly the inventory diapers, but if I add the modifications into the same windows.xml in Dewtas More Mod Slots, that i modified to get 20 slots, it does nothing? I am also using the vortex mod loader to manage my mods if that is important. I have also tried creating my own mod but I do not think I did it right because it either did noting or prevented the game from loading.

 
Last edited by a moderator:
Do you know how I can get the modifications to work because if I modify the game's xml directly the inventory diapers, but if I add the modifications into the same windows.xml in Dewtas More Mod Slots, that i modified to get 20 slots, it does nothing? I am also using the vortex mod loader to manage my mods if that is important. I have also tried creating my own mod but I do not think I did it right because it either did noting or prevented the game from loading.


It can be difficult (impossible) to say why a modification does not work if we cannot see exactly where and how you are trying to do it (meaning see the xml changes you are doing and where). 

 
It can be difficult (impossible) to say why a modification does not work if we cannot see exactly where and how you are trying to do it (meaning see the xml changes you are doing and where). 


2024-09-15T10:34:34 70.168 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollbar[@name='scrollbar']/@pos">824,-173</set> (line 31 at pos 3)
2024-09-15T10:34:34 70.168 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollbar[@name='scrollbar']/@height">342</set> (line 32 at pos 3)
2024-09-15T10:34:34 70.169 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollbar[@name='scrollbar']/@width">14</set> (line 33 at pos 3)
2024-09-15T10:34:34 70.169 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollview[@name='scrollview']/@pos">0,0</set> (line 35 at pos 3)
2024-09-15T10:34:34 70.169 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollview[@name='scrollview']/@height">341</set> (line 36 at pos 3)
2024-09-15T10:34:34 70.170 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollview[@name='scrollview']/@width">819</set> (line 37 at pos 3)
2024-09-15T10:34:34 70.170 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollview[@name='scrollview']/grid[@name='inventory']/@pos">3,-35</set> (line 39 at pos 3)
2024-09-15T10:34:34 70.171 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollview[@name='scrollview']/grid[@name='inventory']/@height">341</set> (line 40 at pos 3)
2024-09-15T10:34:34 70.171 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/rect[@name='rightsidecontent']/@pos">0,0</set> (line 43 at pos 3)
2024-09-15T10:34:34 70.172 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/rect[@name='rightsidecontent']/sprite[@name='rightsideBackground']/@pos">830,0</set> (line 46 at pos 3)
2024-09-15T10:34:34 70.172 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/rect[@name='rightsidecontent']/sprite[@name='rightsideBackground']/@height">341</set> (line 47 at pos 3)
2024-09-15T10:34:34 70.172 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/rect[@name='rightsidecontent']/sprite[@name='rightsideBackground']/@width">48</set> (line 48 at pos 3)
2024-09-15T10:34:34 70.173 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollview[@name='scrollview']/grid[@name='inventory']/@rows">40</set> (line 54 at pos 3)
2024-09-15T10:34:34 70.173 WRN XML patch for "XUi/windows.xml" from mod "ScrollableStorage12x40SB_A88" did not apply: <set xpath="/windows/window[@name='windowBackpack']/panel[@name='content']/scrollview[@name='scrollview']/grid[@name='inventory']/@cols">12</set> (line 55 at pos 3)
2024-09-15T10:34:34 70.191 WRN XML.Patch (/config/window, line 3 at pos 4): Patch type (window) unknown
2024-09-15T10:34:34 70.192 WRN XML patch for "XUi/windows.xml" from mod "DewtasMoreModSlots" did not apply: <window name="windowAssemble" width="380" height="745" panel="Left" controller="AssembleWindow" cursor_area="true">
  <!--#$-IGS END.-$#-->
  <panel name="header" pos="-3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">
    <sprite depth="2" name="windowIcon" style="icon32px" pos="-5,-5" sprite="ui_game_symbol_assemble" />
    <label style="header.name" text="{itemname}" />
    <sprite depth="2" width="112" pos="-260,-17" height="10" type="sliced" color="[black]" />
    <sprite depth="2" width="110" pos="-261,-18" height="8" type="sliced" color="[mediumGrey]" />
    <sprite depth="2" name="sprQuality" width="110" pos="-261,-18" height="8" type="filled" color="{itemqualitycolor}" fill="{itemqualityfill}" />
  </panel>
  <panel name="content" depth="0" pos="0,-43" disableautobackground="true">
    <rect depth="1" height="625">
      <!-- <sprite color="[darkGrey]" pos="-3,-3" height="613" /> -->
      <sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,-3" width="380" height="213" color="[black]" type="sliced" fillcenter="false" />
      <rect depth="1" pos="-3,-3" width="380" height="619">
        <rect name="stats">
          <rect pos="0,0" height="33">
            <sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
            <sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced" />
            <label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstattitle1}" justify="left" color="[white]" />
            <label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstat1}" justify="right" color="[selectedColor]" />
          </rect>
          <rect pos="0,-30" height="33">
            <sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false" />
            <sprite depth="1" color="[darkGrey]" type="sliced" />
            <label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstattitle2}" justify="left" color="[white]" />
            <label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstat2}" justify="right" color="[selectedColor]" />
          </rect>
        </rect>
      </rect>
    </rect>
  </panel>
</window> (line 3 at pos 4)

I got these errors after I modified the xml like this

<config>

<!-- #$-IGS BEGIN: Adding cursor area. -$# -->

<window name="windowAssemble" width="380" height="745" panel="Left" controller="AssembleWindow" cursor_area="true">

<!-- #$-IGS END.-$# -->

<panel name="header" pos="-3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">

<sprite depth="2" name="windowIcon" style="icon32px" pos="-5,-5" sprite="ui_game_symbol_assemble"/>
<label style="header.name" text="{itemname}"/>
<sprite depth="2" width="112" pos="-260,-17" height="10" type="sliced" color="[black]"/>
<sprite depth="2" width="110" pos="-261,-18" height="8" type="sliced" color="[mediumGrey]"/>
<sprite depth="2" name="sprQuality" width="110" pos="-261,-18" height="8" type="filled" color="{itemqualitycolor}" fill="{itemqualityfill}"/>


</panel>



<panel name="content" depth="0" pos="0,-43" disableautobackground="true">


<rect depth="1" height="625">

<!-- <sprite color="[darkGrey]" pos="-3,-3" height="613" /> -->
<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,-3" width="380" height="213" color="[black]" type="sliced" fillcenter="false"/>

<rect depth="1" pos="-3,-3" width="380" height="619">


<rect name="stats">


<rect pos="0,0" height="33">

<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false"/>
<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="31" type="sliced"/>
<label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstattitle1}" justify="left" color="[white]"/>
<label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstat1}" justify="right" color="[selectedColor]"/>


</rect>



<rect pos="0,-30" height="33">

<sprite depth="8" sprite="menu_empty3px" height="33" color="[black]" type="sliced" fillcenter="false"/>
<sprite depth="1" color="[darkGrey]" type="sliced"/>
<label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstattitle2}" justify="left" color="[white]"/>
<label depth="3" pos="-15,-3" width="350" font_size="26" text="{itemstat2}" justify="right" color="[selectedColor]"/>


</rect>



</rect>



</rect>



</rect>



</panel>



</window>


<!-- Closing the window element -->
<!-- Configuration for windowAssemble grid -->
<set xpath="/windows/window[@name='windowAssemble']/panel[@name='content']/rect/rect/grid[@name='parts']/@rows">10</set>
<set xpath="/windows/window[@name='windowAssemble']/panel[@name='content']/rect/rect/grid[@name='parts']/@cols">2</set>
<!-- Configuration for itemInfoPanel grid -->
<set xpath="/windows/window[@name='itemInfoPanel']/rect[@name='contentInfo']/grid[@name='parts']/@cols">10</set>
<set xpath="/windows/window[@name='itemInfoPanel']/rect[@name='contentInfo']/grid[@name='parts']/@rows">2</set>


</config>
 
It is effecting the backpack window and moving it to the left instead of the mod slot window, and i can't figure out why. When this
 

<!-- Configuration for windowAssemble grid -->
<set xpath="/windows/window[@name='windowAssemble']/panel[@name='content']/rect/rect/grid[@name='parts']/@rows">10</set>
<set xpath="/windows/window[@name='windowAssemble']/panel[@name='content']/rect/rect/grid[@name='parts']/@cols">2</set>
effects the mod slot no problem, so I cant see why windowAssemble is effecting the backpack and not the mod slots like it does with the rows and columns.

 
Back
Top