Advertisement
gribbleshnibit8

VMW Main XML

Mar 14th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 19.89 KB | None | 0 0
  1. <!-- ###################################### General -->
  2. <_VMWExists> 1 </_VMWExists>
  3.  
  4. <_VMWUseDarnUI><copy src="sibling(HUDmainMenu)" trait="_DUIF3"/></_VMWUseDarnUI>
  5.  
  6. <!-- ###################################### Input -->
  7. <!-- This contains the variables that need to be written from script. -->
  8.  
  9. <_VMWEnabled> 0 </_VMWEnabled>
  10. <_VMWWeaponInterfaceEnabled> 1 </_VMWWeaponInterfaceEnabled>
  11. <_VMWModInterfaceEnabled> 0 </_VMWModInterfaceEnabled>
  12.  
  13. <_VMWEnableCategories> 1 </_VMWEnableCategories>
  14.  
  15. <_VMWPlayerCaps> 0 </_VMWPlayerCaps>
  16.  
  17. <_VMWPageTitle> Vending Machines of the Wastes </_VMWPageTitle>
  18. <_VMWItemIcon> Gribble\interface\VMW\empty_icon.dds </_VMWItemIcon>
  19.  
  20.  
  21. <!-- ===== WEAPON STATS =====  -->
  22. <_VMWWeaponStats_DPS> 1 </_VMWWeaponStats_DPS>
  23. <_VMWWeaponStats_Damage> 1 </_VMWWeaponStats_Damage>
  24. <_VMWWeaponStats_Weight> 1 </_VMWWeaponStats_Weight>
  25. <_VMWWeaponStats_Value> 1 </_VMWWeaponStats_Value>
  26. <_VMWWeaponStats_Condition> 1 </_VMWWeaponStats_Condition>
  27. <_VMWWeaponStats_Ammo> 1 </_VMWWeaponStats_Ammo>
  28. <_VMWWeaponStats_Effect> 1 </_VMWWeaponStats_Effect>
  29. <_VMWWeaponStats_Strength> 1 </_VMWWeaponStats_Strength>
  30.  
  31.  
  32. <!-- ===== WEAPON MODS =====  -->
  33. <_VMWWeaponModsCount> 0 </_VMWWeaponModsCount>
  34. <_VMWWeaponMod1Name> Mod 1 </_VMWWeaponMod1Name>
  35. <_VMWWeaponMod2Name> Mod 2 </_VMWWeaponMod2Name>
  36. <_VMWWeaponMod3Name> Mod 3 </_VMWWeaponMod3Name>
  37. <_VMWWeaponMod1Desc> Mod 1 Description </_VMWWeaponMod1Desc>
  38. <_VMWWeaponMod2Desc> Mod 2 Description </_VMWWeaponMod2Desc>
  39. <_VMWWeaponMod3Desc> Mod 3 Description </_VMWWeaponMod3Desc>
  40. <_VMWWeaponMod1Price> 9999 </_VMWWeaponMod1Price>
  41. <_VMWWeaponMod2Price> 9999 </_VMWWeaponMod2Price>
  42. <_VMWWeaponMod3Price> 9999 </_VMWWeaponMod3Price>
  43. <_VMWWeaponMod1Icon> Gribble\interface\VMW\empty_icon.dds </_VMWWeaponMod1Icon>
  44. <_VMWWeaponMod2Icon> Gribble\interface\VMW\empty_icon.dds </_VMWWeaponMod2Icon>
  45. <_VMWWeaponMod3Icon> Gribble\interface\VMW\empty_icon.dds </_VMWWeaponMod3Icon>
  46.  
  47.  
  48. <!-- ===== LIST BOX =====  -->
  49. <_VMWListNumItems> 20 </_VMWListNumItems>
  50. <_VMWListNumItemsVis> 20 </_VMWListNumItemsVis>
  51. <_VMWListOffset> 0 </_VMWListOffset>
  52.  
  53. <_VMWListItem1STR> List Item 1 </_VMWListItem1STR>
  54. <_VMWListItem2STR> List Item 2 </_VMWListItem2STR>
  55. <_VMWListItem3STR> List Item 3 </_VMWListItem3STR>
  56. <_VMWListItem4STR> List Item 4 </_VMWListItem4STR>
  57. <_VMWListItem5STR> List Item 5 </_VMWListItem5STR>
  58. <_VMWListItem6STR> List Item 6 </_VMWListItem6STR>
  59. <_VMWListItem7STR> List Item 7 </_VMWListItem7STR>
  60. <_VMWListItem8STR> List Item 8 </_VMWListItem8STR>
  61. <_VMWListItem9STR> List Item 9 </_VMWListItem9STR>
  62. <_VMWListItem10STR> List Item 10 </_VMWListItem10STR>
  63. <_VMWListItem11STR> List Item 11 </_VMWListItem11STR>
  64. <_VMWListItem12STR> List Item 12 </_VMWListItem12STR>
  65. <_VMWListItem13STR> List Item 13 </_VMWListItem13STR>
  66. <_VMWListItem14STR> List Item 14 </_VMWListItem14STR>
  67. <_VMWListItem15STR> List Item 15 </_VMWListItem15STR>
  68. <_VMWListItem16STR> List Item 16 </_VMWListItem16STR>
  69. <_VMWListItem17STR> List Item 17 </_VMWListItem17STR>
  70. <_VMWListItem18STR> List Item 18 </_VMWListItem18STR>
  71. <_VMWListItem19STR> List Item 19 </_VMWListItem19STR>
  72. <_VMWListItem20STR> List Item 20 </_VMWListItem20STR>
  73.  
  74. <_VMWListItem1CHK> 0 </_VMWListItem1CHK>
  75. <_VMWListItem2CHK> 0 </_VMWListItem2CHK>
  76. <_VMWListItem3CHK> 0 </_VMWListItem3CHK>
  77. <_VMWListItem4CHK> 0 </_VMWListItem4CHK>
  78. <_VMWListItem5CHK> 0 </_VMWListItem5CHK>
  79. <_VMWListItem6CHK> 0 </_VMWListItem6CHK>
  80. <_VMWListItem7CHK> 0 </_VMWListItem7CHK>
  81. <_VMWListItem8CHK> 0 </_VMWListItem8CHK>
  82. <_VMWListItem9CHK> 0 </_VMWListItem9CHK>
  83. <_VMWListItem10CHK> 0 </_VMWListItem10CHK>
  84. <_VMWListItem11CHK> 0 </_VMWListItem11CHK>
  85. <_VMWListItem12CHK> 0 </_VMWListItem12CHK>
  86. <_VMWListItem13CHK> 0 </_VMWListItem13CHK>
  87. <_VMWListItem14CHK> 0 </_VMWListItem14CHK>
  88. <_VMWListItem15CHK> 0 </_VMWListItem15CHK>
  89. <_VMWListItem16CHK> 0 </_VMWListItem16CHK>
  90. <_VMWListItem17CHK> 0 </_VMWListItem17CHK>
  91. <_VMWListItem18CHK> 0 </_VMWListItem18CHK>
  92. <_VMWListItem19CHK> 0 </_VMWListItem19CHK>
  93. <_VMWListItem20CHK> 0 </_VMWListItem20CHK>
  94.  
  95. <_VMWScrollClicked> <copy src="Listbox" trait="_scroll_click_index"/> </_VMWScrollClicked>
  96.  
  97.  
  98. <!-- ###################################### Output -->
  99. <!-- This contains the variables that need to be read from script. -->
  100.  
  101. <_VMWListHighlight>
  102.     <copy> 0 </copy>
  103.     <add> <copy src="ListItem1" trait="mouseover"/> <mul> 1 </mul> </add>
  104.     <add> <copy src="ListItem2" trait="mouseover"/> <mul> 2 </mul> </add>
  105.     <add> <copy src="ListItem3" trait="mouseover"/> <mul> 3 </mul> </add>
  106.     <add> <copy src="ListItem4" trait="mouseover"/> <mul> 4 </mul> </add>
  107.     <add> <copy src="ListItem5" trait="mouseover"/> <mul> 5 </mul> </add>
  108.     <add> <copy src="ListItem6" trait="mouseover"/> <mul> 6 </mul> </add>
  109.     <add> <copy src="ListItem7" trait="mouseover"/> <mul> 7 </mul> </add>
  110.     <add> <copy src="ListItem8" trait="mouseover"/> <mul> 8 </mul> </add>
  111.     <add> <copy src="ListItem9" trait="mouseover"/> <mul> 9 </mul> </add>
  112.     <add> <copy src="ListItem10" trait="mouseover"/> <mul> 10 </mul> </add>
  113.     <add> <copy src="ListItem11" trait="mouseover"/> <mul> 11 </mul> </add>
  114.     <add> <copy src="ListItem12" trait="mouseover"/> <mul> 12 </mul> </add>
  115.     <add> <copy src="ListItem13" trait="mouseover"/> <mul> 13 </mul> </add>
  116.     <add> <copy src="ListItem14" trait="mouseover"/> <mul> 14 </mul> </add>
  117.     <add> <copy src="ListItem15" trait="mouseover"/> <mul> 15 </mul> </add>
  118.     <add> <copy src="ListItem16" trait="mouseover"/> <mul> 16 </mul> </add>
  119.     <add> <copy src="ListItem17" trait="mouseover"/> <mul> 17 </mul> </add>
  120.     <add> <copy src="ListItem18" trait="mouseover"/> <mul> 18 </mul> </add>
  121.     <add> <copy src="ListItem19" trait="mouseover"/> <mul> 19 </mul> </add>
  122.     <add> <copy src="ListItem20" trait="mouseover"/> <mul> 20 </mul> </add>
  123. </_VMWListHighlight>
  124.  
  125. <_VMWListClicked>
  126.     <copy> 0 </copy>
  127.     <add> <copy src="ListItem1" trait="_selected"/> <mul> 1 </mul> </add>
  128.     <add> <copy src="ListItem2" trait="_selected"/> <mul> 2 </mul> </add>
  129.     <add> <copy src="ListItem3" trait="_selected"/> <mul> 3 </mul> </add>
  130.     <add> <copy src="ListItem4" trait="_selected"/> <mul> 4 </mul> </add>
  131.     <add> <copy src="ListItem5" trait="_selected"/> <mul> 5 </mul> </add>
  132.     <add> <copy src="ListItem6" trait="_selected"/> <mul> 6 </mul> </add>
  133.     <add> <copy src="ListItem7" trait="_selected"/> <mul> 7 </mul> </add>
  134.     <add> <copy src="ListItem8" trait="_selected"/> <mul> 8 </mul> </add>
  135.     <add> <copy src="ListItem9" trait="_selected"/> <mul> 9 </mul> </add>
  136.     <add> <copy src="ListItem10" trait="_selected"/> <mul> 10 </mul> </add>
  137.     <add> <copy src="ListItem11" trait="_selected"/> <mul> 11 </mul> </add>
  138.     <add> <copy src="ListItem12" trait="_selected"/> <mul> 12 </mul> </add>
  139.     <add> <copy src="ListItem13" trait="_selected"/> <mul> 13 </mul> </add>
  140.     <add> <copy src="ListItem14" trait="_selected"/> <mul> 14 </mul> </add>
  141.     <add> <copy src="ListItem15" trait="_selected"/> <mul> 15 </mul> </add>
  142.     <add> <copy src="ListItem16" trait="_selected"/> <mul> 16 </mul> </add>
  143.     <add> <copy src="ListItem17" trait="_selected"/> <mul> 17 </mul> </add>
  144.     <add> <copy src="ListItem18" trait="_selected"/> <mul> 18 </mul> </add>
  145.     <add> <copy src="ListItem19" trait="_selected"/> <mul> 19 </mul> </add>
  146.     <add> <copy src="ListItem20" trait="_selected"/> <mul> 20 </mul> </add>
  147. </_VMWListClicked>
  148.  
  149. <_VMWCategoryHighlight>
  150.     <copy> 0 </copy>
  151.     <add> <copy src="Cat_ButtonAll"         trait="mouseover"/> <mul> 1 </mul> </add>
  152.     <add> <copy src="Cat_ButtonGuns"        trait="mouseover"/> <mul> 2 </mul> </add>
  153.     <add> <copy src="Cat_ButtonEnergy"      trait="mouseover"/> <mul> 3 </mul> </add>
  154.     <add> <copy src="CatButtoBigGuns"       trait="mouseover"/> <mul> 4 </mul> </add>
  155.     <add> <copy src="Cat_ButtonMelee"       trait="mouseover"/> <mul> 5 </mul> </add>
  156.     <add> <copy src="Cat_ButtonUnarmed"     trait="mouseover"/> <mul> 6 </mul> </add>
  157.     <add> <copy src="Cat_ButtonExplosives"  trait="mouseover"/> <mul> 7 </mul> </add>
  158. </_VMWCategoryHighlight>
  159.  
  160. <_VMWCategoryClicked>
  161.     <copy> 0 </copy>
  162.     <add> <copy src="Cat_ButtonAll"         trait="_selected"/> <mul> 1 </mul> </add>
  163.     <add> <copy src="Cat_ButtonGuns"        trait="_selected"/> <mul> 2 </mul> </add>
  164.     <add> <copy src="Cat_ButtonEnergy"      trait="_selected"/> <mul> 3 </mul> </add>
  165.     <add> <copy src="CatButtoBigGuns"       trait="_selected"/> <mul> 4 </mul> </add>
  166.     <add> <copy src="Cat_ButtonMelee"       trait="_selected"/> <mul> 5 </mul> </add>
  167.     <add> <copy src="Cat_ButtonUnarmed"     trait="_selected"/> <mul> 6 </mul> </add>
  168.     <add> <copy src="Cat_ButtonExplosives"  trait="_selected"/> <mul> 7 </mul> </add>
  169. </_VMWCategoryClicked>
  170.  
  171. <_VMWWeaponModHighlight>
  172.     <copy> 0 </copy>
  173.     <add> <copy src="Mod1" trait="_buyHighlighted"/> <mul> 1 </mul> </add>
  174.     <add> <copy src="Mod2" trait="_buyHighlighted"/> <mul> 2 </mul> </add>
  175.     <add> <copy src="Mod3" trait="_buyHighlighted"/> <mul> 3 </mul> </add>
  176. </_VMWWeaponModHighlight>
  177.  
  178. <_VMWWeaponModClicked>
  179.     <copy> 0 </copy>
  180.     <add> <copy src="Mod1" trait="_buySelected"/> <mul> 1 </mul> </add>
  181.     <add> <copy src="Mod2" trait="_buySelected"/> <mul> 2 </mul> </add>
  182.     <add> <copy src="Mod3" trait="_buySelected"/> <mul> 3 </mul> </add>
  183. </_VMWWeaponModClicked>
  184.  
  185.  
  186. <!-- ###################################### Output -->
  187. <!-- This contains the variables that should not be edited. -->
  188. <_VMWResetClicks> 0 </_VMWResetClicks>
  189. <_VMW_Unclick> 0 </_VMW_Unclick>
  190.  
  191.  
  192. <!-- ###################################### Output -->
  193. <!-- This contains the variables for localization. -->
  194. <_PurchaseString> Purchase </_PurchaseString>
  195. <_WeaponModsString> Weapon Mods </_WeaponModsString>
  196. <_AllWeaponsString> All Weapons </_AllWeaponsString>
  197. <_GunsString> Guns </_GunsString>
  198. <_EnergyString> Energy </_EnergyString>
  199. <_BigGunsString> Big Guns </_BigGunsString>
  200. <_MeleeString> Melee </_MeleeString>
  201. <_UnarmedString> Unarmed </_UnarmedString>
  202. <_ExplosivesString> Explosives </_ExplosivesString>
  203.  
  204.  
  205. <!-- ###################################### Vending Machine UI -->
  206.  
  207. <rect name="VMWPanel">
  208.  
  209.     <visible> <copy src="io()" trait="_VMWEnabled"/> </visible>
  210.  
  211.     <!-- ===== BACKGROUND BLUR =====  -->
  212.     <image name="PanelBackground">
  213.         <systemcolor> &nosystemcolor; </systemcolor>
  214.         <zoom> &scale; </zoom>
  215.         <x>0</x>
  216.         <y>0</y>
  217.         <width> <copy src="screen()" trait="width"/> </width>
  218.         <height> <copy src="screen()" trait="height"/> </height>
  219.         <depth> 0 </depth>
  220.         <alpha> 40 </alpha>
  221.         <filename> Interface\Shared\solid.dds </filename>
  222.     </image>
  223.  
  224.     <!-- ===== BACKGROUND TEXTURE ===== -->
  225.     <image name="Backdrop">
  226.         <zoom> &scale; </zoom>
  227.         <x> <copy src="screen()" trait="width"/> <sub src="me()" trait="width"/> <div> 2 </div> </x>
  228.         <y> <copy src="screen()" trait="height"/> <sub src="me()" trait="height"/> <div> 2 </div> </y>
  229.         <width> 1144 </width>
  230.         <height> 1070 </height>
  231.         <depth> 1 </depth>
  232.         <brightness> 80 </brightness>
  233.         <alpha> <copy src="globals()" trait="_background_fill_alpha"/> </alpha>
  234.         <filename> Interface\Shared\Background\solid_black.dds </filename>
  235.     </image>
  236.  
  237.     <!-- ===== MAIN POSITIONING RECT ===== -->
  238.     <rect name="MainRect">
  239.         <locus> &true; </locus>
  240.  
  241.         <x> <copy src="screen()" trait="width"/> <sub src="me()" trait="width"/> <div> 2 </div> </x>
  242.         <y> <copy src="screen()" trait="height"/> <sub src="me()" trait="height"/> <div> 2 </div> </y>
  243.         <depth> 2 </depth>
  244.  
  245.         <width> 990 </width>
  246.         <height> 800 </height>
  247.  
  248.        
  249.     <!-- ===== PLAYER CAP COUNT ===== -->
  250.         <rect name="CapCount">
  251.             <locus> &true; </locus>
  252.             <x>
  253.                 <copy src="parent()" trait="width"/>
  254.                 <sub>
  255.                     <copy src="child(CapsText)" trait="width"/>
  256.                     <mul> 2 </mul>
  257.                 </sub>
  258.             </x>
  259.             <y> 10 </y>
  260.             <height> 40 </height>
  261.             <width> 150 </width>
  262.             <text name="CapsCount">
  263.                 <justify> &right; </justify>
  264.                 <font> <copy src="parent()" trait="_Font"/> </font>
  265.                 <string> <copy src="io()" trait="_VMWPlayerCaps"/> </string>
  266.             </text>
  267.             <text name="CapsText">
  268.                 <x> 10 </x>
  269.                 <font> <copy src="parent()" trait="_Font"/> </font>
  270.                 <string> &-sInventoryCaps; </string>
  271.             </text>
  272.         </rect>
  273.  
  274.        
  275.     <!-- ===== MAIN BUTTONS ===== -->
  276.         <rect name="ButtonRect">
  277.             <locus> &true; </locus>
  278.             <x> <copy src="parent()" trait="width" /> </x>
  279.             <y> 60 </y>
  280.  
  281.             <!-- Buy Weapon Button -->
  282.             <hotrect name="BuyButton">
  283.                 <include src="darn\text_box.xml" />
  284.                 <target>
  285.                     <copy src="io()" trait="_VMWPlayerCaps"/>
  286.                     <gte src="io()" trait="_VMWWeaponStats_Value"/>
  287.                     <!-- <copy src="io()" trait="_VMWWeaponInterfaceEnabled"/>
  288.                     <eq> 1 </eq>
  289.                     <and>
  290.                         <copy src="io()" trait="_VMWPlayerCaps"/>
  291.                         <gte src="io()" trait="_VMWWeaponStats_Value"/>
  292.                     </and> -->
  293.                 </target>
  294.                 <_PCButtonText> &-sPCMenuHintF; </_PCButtonText>
  295.                 <clicksound> UIMenuOK </clicksound>
  296.                 <justify> &right; </justify>
  297.                 <string> <copy src="io()" trait="_PurchaseString"/> </string>
  298.             </hotrect>
  299.            
  300.             <!-- Weapon Mods / Back button: Shows weapon mod page or goes back to main weapons page -->
  301.             <hotrect name="WeaponModButton">
  302.                 <include src="darn\text_box.xml" />
  303.                 <_y> <copy src="sibling(BuyButton)" trait="_y" /> <add src="sibling(BuyButton)" trait="height" /> </_y>
  304.                 <target> <copy src="io()" trait="_VMWWeaponModsCount"/> <gt> 0 </gt> </target>
  305.                 <_line_alpha>
  306.                     <copy> 127 </copy>
  307.                     <add>
  308.                         <copy> 128 </copy>
  309.                         <onlyif src="me()" trait="target" />
  310.                     </add>
  311.                 </_line_alpha>
  312.                 <_PCButtonText> &-sPCMenuHintX; </_PCButtonText>
  313.                 <clicksound> UIMenuOK </clicksound>
  314.                 <justify> &right; </justify>
  315.                 <!-- Switch between "Weapon Mods" and "Back" depending on current page -->
  316.                 <string> <copy src="me()" trait="_Title" /> </string>
  317.                 <_Title>
  318.                     <copy src="io()" trait="_VMWModInterfaceEnabled" />
  319.                     <eq> 1 </eq>
  320.                     <copy src="me()" trait="_Title_" />
  321.                 </_Title>
  322.                 <_Title_0> <copy src="io()" trait="_WeaponModsString"/> </_Title_0>
  323.                 <_Title_1> &-sBack; </_Title_1>
  324.             </hotrect>
  325.  
  326.             <!--Cancel: Closes menu -->
  327.             <hotrect name="BackButton">
  328.                 <include src="darn\text_box.xml" />
  329.                 <_y> <copy src="sibling(WeaponModButton)" trait="_y" /> <add src="sibling(WeaponModButton)" trait="height" /> </_y>
  330.                 <_PCButtonText> &-sPCMenuHintE; </_PCButtonText>
  331.                 <clicksound> UIMenuOK </clicksound>
  332.                 <justify> &right; </justify>
  333.                 <string> &-sCloseButton; </string>
  334.             </hotrect>
  335.         </rect>         <!-- end ButtonRect -->
  336.  
  337.        
  338.     <!-- ===== WEAPON MOD INTERFACE ===== -->
  339.         <rect name="WeaponModInterface">
  340.             <visible> <copy src="io()" trait="_VMWModInterfaceEnabled"/> </visible>
  341.  
  342.             <_x> <copy src="parent()" trait="x"/> </_x>
  343.             <_y> <copy src="parent()" trait="y"/> </_y>
  344.             <_width> <copy src="parent()" trait="width"/> </_width>
  345.             <_height> <copy src="parent()" trait="height"/> </_height>
  346.  
  347.             <!-- ===== FRAME ===== -->
  348.             <rect name="Brackets"> <include src="VMW\VMW_MainBrackets.xml"/> </rect>
  349.  
  350.             <!-- ===== MOD 1 DATA ===== -->
  351.             <rect name="Mod1">
  352.                 <include src="VMW\VMW_ModData.xml"/>
  353.                 <_Visible>
  354.                     <copy src="io()" trait="_VMWWeaponModsCount"/>
  355.                     <onlyif>
  356.                         <copy src="io()" trait="_VMWWeaponModsCount"/>
  357.                         <gte> 1 </gte>
  358.                     </onlyif>
  359.                 </_Visible>
  360.                 <_Name> <copy src="io()" trait="_VMWWeaponMod1Name"/> </_Name>
  361.                 <_Description> <copy src="io()" trait="_VMWWeaponMod1Desc"/> </_Description>
  362.                 <_Icon> <copy src="io()" trait="_VMWWeaponMod1Icon"/> </_Icon>
  363.                 <_Cost> 9999999 </_Cost>
  364.             </rect>
  365.  
  366.             <!-- ===== MOD 2 DATA ===== -->
  367.             <rect name="Mod2">
  368.                 <include src="VMW\VMW_ModData.xml"/>
  369.                 <_Visible> <copy src="io()" trait="_VMWWeaponModsCount"/>
  370.                     <onlyif>
  371.                         <copy src="io()" trait="_VMWWeaponModsCount"/>
  372.                         <gte> 2 </gte>
  373.                     </onlyif>
  374.                 </_Visible>
  375.                 <y> <copy src="sibling(Mod1)" trait="y"/> <add src="me()" trait="height"/> </y>
  376.                 <_Name> <copy src="io()" trait="_VMWWeaponMod2Name"/> </_Name>
  377.                 <_Description> <copy src="io()" trait="_VMWWeaponMod2Desc"/> </_Description>
  378.                 <_Icon> <copy src="io()" trait="_VMWWeaponMod2Icon"/> </_Icon>
  379.                 <_Cost> 99999 </_Cost>
  380.             </rect>
  381.  
  382.             <!-- ===== MOD 3 DATA ===== -->
  383.             <rect name="Mod3">
  384.                 <include src="VMW\VMW_ModData.xml"/>
  385.                 <_Visible> <copy src="io()" trait="_VMWWeaponModsCount"/>
  386.                     <onlyif>
  387.                         <copy src="io()" trait="_VMWWeaponModsCount"/>
  388.                         <gte> 3 </gte>
  389.                     </onlyif>
  390.                 </_Visible>
  391.                 <y> <copy src="sibling(Mod2)" trait="y"/> <add src="me()" trait="height"/> </y>
  392.                 <_Name> <copy src="io()" trait="_VMWWeaponMod3Name"/> </_Name>
  393.                 <_Description> <copy src="io()" trait="_VMWWeaponMod3Desc"/> </_Description>
  394.                 <_Icon> <copy src="io()" trait="_VMWWeaponMod3Icon"/> </_Icon>
  395.                 <_Cost> 999 </_Cost>
  396.             </rect>
  397.         </rect>
  398.  
  399.  
  400.  
  401.     <!-- ===== WEAPON MACHINE INTERFACE ===== -->
  402.         <rect name="WeaponInterface">
  403.             <visible> <copy src="io()" trait="_VMWWeaponInterfaceEnabled"/> </visible>
  404.  
  405.             <_x> <copy src="parent()" trait="x"/> </_x>
  406.             <_y> <copy src="parent()" trait="y"/> </_y>
  407.             <_width> <copy src="parent()" trait="width"/> </_width>
  408.             <_height> <copy src="parent()" trait="height"/> </_height>
  409.  
  410.             <!-- ===== FRAME ===== -->
  411.             <rect name="Brackets">
  412.                 <include src="VMW\VMW_MainBrackets.xml"/>
  413.                 <_bottom_vert_left_height> 114 </_bottom_vert_left_height>
  414.             </rect>
  415.  
  416.             <!-- ===== LIST BOX ===== -->
  417.             <rect name="Listbox"> <include src="VMW\VMW_ListBox.xml"/> </rect>
  418.  
  419.             <!-- ===== ITEM ICON ===== -->
  420.             <image name="ItemIcon">
  421.                 <x>
  422.                     <copy src="parent()" trait="_width"/>
  423.                     <sub>
  424.                         <add src="me()" trait="width"/>
  425.                     </sub>
  426.                     <sub> 120 </sub>
  427.                 </x>
  428.                 <y> -10 </y>
  429.                 <width> 320 </width>
  430.                 <height> 320 </height>
  431.  
  432.                 <zoom> &scale; </zoom>
  433.                 <filename> <copy src="io()" trait="_VMWItemIcon"/> </filename>
  434.             </image>
  435.  
  436.             <!-- ===== WEAPON STATS ===== -->
  437.             <rect name="ItemData">
  438.                 <include src="VMW\VMW_WeaponStats.xml"/>
  439.                 <x>
  440.                     <copy src="grandparent()" trait="width" />
  441.                     <sub>
  442.                         <add src="me()" trait="width" />
  443.                     </sub>
  444.                     <sub> 20 </sub>
  445.                 </x>
  446.                 <y> <copy src="sibling(ItemIcon)" trait="height"/> <add> 25 </add> </y>
  447.             </rect> <!-- end Weapon Stats -->
  448.  
  449.             <!-- ===== WEAPON TYPE CATEGORIES ===== -->
  450.             <rect name="CategoryButtons">
  451.                 <locus> &true; </locus>
  452.                 <visible> <copy src="io()" trait="_VMWEnableCategories"/> </visible>
  453.                 <x> 10 </x>
  454.                 <y> <copy src="parent()" trait="_height"/> <sub src="me()" trait="height"/> <sub> 20 </sub> </y>
  455.                 <width> <copy src="parent()" trait="width"/> </width>
  456.                 <height> 60 </height>
  457.  
  458.                 <hotrect name="Cat_ButtonAll">
  459.                     <include src="VMW\VMW_CategoryButton.xml"/>
  460.                     <_index> 1 </_index>
  461.                     <_iconPath> 0 </_iconPath>
  462.                     <_string> <copy src="io()" trait="_AllWeaponsString"/> </_string>
  463.                 </hotrect>
  464.  
  465.                 <hotrect name="Cat_ButtonGuns">
  466.                     <include src="VMW\VMW_CategoryButton.xml"/>
  467.                     <_iconPath> 1 </_iconPath>
  468.                     <_index> 2 </_index>
  469.                     <_string> <copy src="io()" trait="_GunsString"/> </_string>
  470.                 </hotrect>
  471.  
  472.                 <hotrect name="Cat_ButtonEnergy">
  473.                     <include src="VMW\VMW_CategoryButton.xml"/>
  474.                     <_iconPath> 2 </_iconPath>
  475.                     <_index> 3 </_index>
  476.                     <_string> <copy src="io()" trait="_EnergyString"/> </_string>
  477.                 </hotrect>
  478.                
  479.                 <hotrect name="CatButtoBigGuns">
  480.                     <include src="VMW\VMW_CategoryButton.xml"/>
  481.                     <_iconPath> 3 </_iconPath>
  482.                     <_index> 4 </_index>
  483.                     <_string> <copy src="io()" trait="_BigGunsString"/> </_string>
  484.                 </hotrect>
  485.  
  486.                 <hotrect name="Cat_ButtonMelee">
  487.                     <include src="VMW\VMW_CategoryButton.xml"/>
  488.                     <_iconPath> 4 </_iconPath>
  489.                     <_index> 5 </_index>
  490.                     <_string> <copy src="io()" trait="_MeleeString"/> </_string>
  491.                 </hotrect>
  492.                
  493.                 <hotrect name="Cat_ButtonUnarmed">
  494.                     <include src="VMW\VMW_CategoryButton.xml"/>
  495.                     <_iconPath> 5 </_iconPath>
  496.                     <_index> 6 </_index>
  497.                     <_string> <copy src="io()" trait="_UnarmedString"/> </_string>
  498.                 </hotrect>
  499.  
  500.                 <hotrect name="Cat_ButtonExplosives">
  501.                     <include src="VMW\VMW_CategoryButton.xml"/>
  502.                     <_iconPath> 6 </_iconPath>
  503.                     <_index> 7 </_index>
  504.                     <_string> <copy src="io()" trait="_ExplosivesString"/> </_string>
  505.                 </hotrect>
  506.             </rect>
  507.         </rect> <!-- end WeaponMachine -->
  508.     </rect><!-- VMWMainRect -->
  509.  
  510. </rect><!-- VMWPanel -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement