daily pastebin goal
74%
SHARE
TWEET

Minibike inventory expansion xml directions

a guest Jan 19th, 2018 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Expanded minibike inventory instructions
  2.  
  3. Do make a backup of your current files, so you can revert any changes if you happen to mess things up. For the following changes to take effect, you need to restart the game and completely re-assemble your minibike after each change. Also, re-place the frame on the ground before re-assembling your minibike.
  4. Data / Config / loot.xml
  5. - line 1804 / look for - <!-- minibike storage --> <lootcontainer id="62"
  6. - change size="C,R" to your liking
  7.  
  8. To see if it will work, first try increasing columns (C) from 3 to 4 and leave rows (R) as it is.
  9.  
  10. Data / XUi / windows.xml
  11.  
  12. - (optional) - line 1211 / look for - <window name="windowVehicle"
  13. - change panel="Left" to panel="Right"
  14.  
  15. - (optional) - line 1318 / look for - <window name="windowVehicleStorage"
  16. - change panel="Right" to panel="Left"
  17.  
  18. - (optional) - line 1318 / look for - <window name="windowVehicleStats"
  19. - change panel="Right" to panel="Left"
  20.  
  21. So this will move the storage to the left and the vehicle window to the right. The minibike's stats window will appear clipped below the vehicle window. I can't tell if you would mind such a thing or not, but that would allow you to increase the minibike's storage size by quite a bit.
  22.  
  23. - line 1318 / look for - <window name="windowVehicleStorage"
  24. - change width="228" to width="N" where N=C*75+3
  25.  
  26. So if you choose to have 4 columns, you should use width="303"
  27.  
  28. - line 1325 / look for - <grid depth="2" - inside the windowVehicleStorage element - change rows="6" and cols="3" to rows="R" and cols="C"
  29.  
  30.  
  31. My values:
  32.  
  33. Column – 9
  34. Rows – 6
  35. Width  - 678
RAW Paste Data
Top