Nocturnalverse

7DTD Mod KHA-15SlotToolbelt Adjustment for A20 - AGF - HUD PLUS

Sep 8th, 2022 (edited)
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.41 KB | Gaming | 0 0
  1. <!--    Copy Paste this to replace all text in Mods\KHA20-15SlotToolbelt\Config\XUi\windows.xml
  2.         Don't forget to make a backup. -->
  3.        
  4. <configs>
  5.     <set xpath="/windows/window[@name='windowToolbelt']">
  6.         <rect>
  7.             <sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" on_press="true" />
  8.            
  9.             <rect pos="3,-3" controller="Toolbelt">
  10.                 <grid depth="10" name="inventory" rows="1" cols="15" pos="0,0" cell_width="75" cell_height="75" repeat_content="true">
  11.                     <item_stack name="0"/>
  12.                 </grid>
  13.                 <grid depth="10" name="inventory2" rows="1" cols="30" pos="0,82" cell_width="75" cell_height="75" repeat_content="true" visible="{secondrow}">
  14.                     <item_stack name="0"/>
  15.                 </grid>
  16.             </rect>
  17.             <!-- Commenting Out this section removes the Food/Health/XP portion of the toolbelt from this mod. -->
  18.             <!--
  19.             <sprite depth="1" pos="0,6" height="8" width="1126" color="[mediumGrey]" sprite="menu_empty2px" globalopacity="false" type="sliced" />
  20.             <sprite depth="9" pos="0,6" height="8" width="1127" color="[black]" sprite="menu_empty2px" globalopacity="false" type="sliced" fillcenter="false" />
  21.             <sprite depth="4" pos="0,6" height="8" width="1125" color="{xpcolor}" globalopacity="false" type="filled" fill="{xp}" />
  22.  
  23.             <rect pos="0,-77" width="565" height="8" controller="HUDStatBar" stat_type="Food" visible="{statvisible}">
  24.                 <sprite depth="1" color="[mediumGrey]" sprite="menu_empty2px" globalopacity="false" type="sliced" />
  25.                 <sprite depth="9" color="[black]" sprite="menu_empty2px" globalopacity="false" type="sliced" fillcenter="false" />
  26.  
  27.                 <filledsprite depth="5" pos="1,0" width="563" name="BarContent" color="0,255,54,128" globalopacity="false" type="filled" fill="0"  />
  28.             </rect>
  29.  
  30.             <rect pos="563,-77" width="564" height="8" controller="HUDStatBar" stat_type="Water" visible="{statvisible}">
  31.                 <sprite depth="1" color="[mediumGrey]" sprite="menu_empty2px" globalopacity="false" type="sliced" />
  32.                 <sprite depth="9" color="[black]" sprite="menu_empty2px" globalopacity="false" type="sliced" fillcenter="false" />
  33.  
  34.                 <filledsprite depth="5" pos="1,0" width="563" name="BarContent" color="0,54,255,160" globalopacity="false" type="filled" fill="0"  />
  35.             </rect>
  36.             -->
  37.         </rect>
  38.     </set>
  39.     <!--NOTES:
  40.     FEATURE =
  41.         1. Toolbelt is lowered for more compact display and compatibility with other inventory mods
  42.         2. Slots on toolbelt now display a number
  43.    
  44.     VANILLA =
  45.         1. Toolbelt is in original position (not including the xp, water, and food)
  46.         2. There are no slot numbers
  47.    
  48.     REMOVABILITY = It is safe to delete this section if you wish to not have this feature.-->
  49.  
  50.     <!--a. Lowered Toolbelt, Changed to 82 from 92-->
  51.     <set xpath="/windows/window[@name='windowToolbelt']/@pos">-575,82</set>
  52.            
  53.     <!--b. Toolbelt Slot Numbers Display-->
  54.     <!--REMOVABILITY = it is safe to delete JUST this section-->
  55.     <append xpath="/windows/window[@name='windowToolbelt']/rect">
  56.         <sprite depth="19" pos="32,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />    
  57.         <label depth="20" name="slot#" pos="32,10" width="14" height="12" text="[DECEA3]1" font_size="12" color="" justify="center"/>
  58.                
  59.         <sprite depth="19" pos="107,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  60.         <label depth="20" name="slot#" pos="107,10" width="14" height="12" text="[DECEA3]2" font_size="12" color="" justify="center"/> 
  61.  
  62.         <sprite depth="19" pos="182,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  63.         <label depth="20" name="slot#" pos="182,10" width="14" height="12" text="[DECEA3]3" font_size="12" color="" justify="center"/> 
  64.  
  65.         <sprite depth="19" pos="257,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  66.         <label depth="20" name="slot#" pos="257,10" width="14" height="12" text="[DECEA3]4" font_size="12" color="" justify="center"/>     
  67.  
  68.         <sprite depth="19" pos="332,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  69.         <label depth="20" name="slot#" pos="332,10" width="14" height="12" text="[DECEA3]5" font_size="12" color="" justify="center"/> 
  70.  
  71.         <sprite depth="19" pos="407,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  72.         <label depth="20" name="slot#" pos="407,10" width="14" height="12" text="[DECEA3]6" font_size="12" color="" justify="center"/> 
  73.  
  74.         <sprite depth="19" pos="482,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  75.         <label depth="20" name="slot#" pos="482,10" width="14" height="12" text="[DECEA3]7" font_size="12" color="" justify="center"/> 
  76.  
  77.         <sprite depth="19" pos="557,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  78.         <label depth="20" name="slot#" pos="557,10" width="14" height="12" text="[DECEA3]8" font_size="12" color="" justify="center"/>
  79.                
  80.         <sprite depth="19" pos="632,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  81.         <label depth="20" name="slot#" pos="632,10" width="14" height="12" text="[DECEA3]9" font_size="12" color="" justify="center"/>
  82.  
  83.         <sprite depth="19" pos="707,10" height="13" width="14" color="0,0,0,250" type="sliced" foregroundlayer="true" />       
  84.         <label depth="20" name="slot#" pos="707,10" width="14" height="12" text="[DECEA3]10" font_size="12" color="" justify="center"/>
  85.     </append>
  86. </configs>
Add Comment
Please, Sign In to add comment