Advertisement
frightfulactions

Minibike Larger

Oct 29th, 2016
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.76 KB | None | 0 0
  1.     <window name="windowVehicle" width="380" height="733" panel="Left" controller="VehicleFrameWindow" >
  2.         <panel name="header" pos="3,0" height="43" depth="1" backgroundspritename="ui_game_panel_header">          
  3.             <sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_minibike"/>
  4.             <label style="header.name" text="{vehiclenamequality}" />
  5.             <sprite depth="2" width="112" pos="260, -17" height="10" type="sliced" color="[black]" />
  6.             <sprite depth="2" width="110" pos="261, -18" height="8" type="sliced" color="[mediumGrey]" />
  7.             <sprite depth="2" name="sprVehicleQuality" width="110" pos="261, -18" height="8" type="filled" color="{vehiclequalitycolor}" />
  8.            
  9.         </panel>
  10.        
  11.         <panel name="content" depth="0" pos="0,-43" disableautobackground="true">
  12.             <sprite color="[darkGrey]" pos="3,-3" height="613" />
  13.             <sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="3,-3" width="380" height="733" color="[black]" type="sliced" fillcenter="false" on_press="true" /> 
  14.             <rect depth="1" pos="3,-3" width="380" height="739">
  15.                
  16.                 <rect pos="3,-3" width="374" height="218">
  17.                     <sprite color="[mediumGrey]" type="sliced" />
  18.                     <texture depth="2" name="vehiclePreview" material="Materials/Transparent Colored" size="374,218" />
  19.                     <label depth="3" pos="14,-20" font_size="26" text="{vehiclequalitytitle}: [DECEA3]{vehiclequality}[-]" width="200" height="30"/>
  20.                     <label depth="3" pos="14,-50" font_size="26" text="{vehicledurabilitytitle}: [DECEA3]{vehicledurability}[-]" width="200" height="30"/>
  21.                 </rect>
  22.            
  23.                 <grid name="parts" rows="8" cols="1" pos="3,-223" cell_width="374" cell_height="60" repeat_content="true" controller="VehiclePartStackGrid">
  24.                     <vehicle_part_slot />
  25.                 </grid>
  26.            
  27.                 <rect name="btnRepair" depth="3" pos="0, -698" height="36">
  28.                     <sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" /> 
  29.                     <!-- <sprite depth="2" name="background" pos="1,-3" sprite="menu_empty" width="379" height="32" color="[darkGrey]" type="sliced"/> -->
  30.                     <rect depth="3" name="background" pos="3,-5" width="183" height="28">
  31.                         <button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
  32.                         <sprite depth="2" name="windowIcon" width="24" height="24" pos="36,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
  33.                         <sprite depth="2" name="windowIcon" width="24" height="24" pos="34,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
  34.                        
  35.                         <sprite depth="2" name="windowIcon" width="24" height="24" pos="34,0" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
  36.                         <sprite depth="2" name="windowIcon" width="24" height="24" pos="36,0" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
  37.                        
  38.                         <sprite depth="2" name="windowIcon" width="24" height="24" pos="35,-1" sprite="ui_game_symbol_wrench"/>
  39.                         <label depth="2" name="windowName" pos="0,-1" justify="center" text="REPAIR" text_key="xuiRepair" font_size="28" />
  40.                     </rect>
  41.                 </rect>
  42.             </rect>
  43.        
  44.         </panel>
  45.     </window>
  46.    
  47.     <window name="windowVehicleStats" width="380" height="280" panel="Left" controller="VehicleStats" >
  48.         <!--
  49.         <panel name="header" height="63" depth="1" backgroundspritename="ui_game_panel_header">
  50.             <sprite depth="2" name="windowIcon" style="icon32px" pos="5,5" sprite="ui_game_symbol_minibike"/>
  51.             <label style="header.name" text="{vehiclename} {vehiclestatstitle}" />
  52.         </panel>
  53.         -->
  54.         <rect name="btnRefuel" depth="3" pos="194, -2" height="36" >
  55.                 <!--<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />  -->
  56.                 <!--<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="224" height="32" color="[darkGrey]" type="sliced" />-->
  57.                 <rect depth="3" pos="3,-5" width="183" height="28">
  58.                     <button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
  59.                     <sprite depth="2" name="windowIcon" width="24" height="24" pos="36,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
  60.                     <sprite depth="2" name="windowIcon" width="24" height="24" pos="34,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
  61.                    
  62.                     <sprite depth="2" name="windowIcon" width="24" height="24" pos="34,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
  63.                     <sprite depth="2" name="windowIcon" width="24" height="24" pos="36,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
  64.                    
  65.                     <sprite depth="2" name="windowIcon" width="24" height="24" pos="35,-2" color="[iconColor]" sprite="ui_game_symbol_gas"/>
  66.                     <label depth="2" name="windowName" pos="0,-1" justify="center" text="REFUEL" text_key="xuiRefuel" font_size="28" />
  67.                 </rect>
  68.         </rect>
  69.         <rect name="content" depth="0" pos="3,580" height="100">
  70.             <!--<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />-->  
  71.             <!--<sprite depth="1" color="[darkGrey]" type="sliced" width="228" height="100" pos="0,-3" />-->
  72.             <rect depth="2" pos="6,-5">
  73.                 <grid name="stats" rows="5" cols="1" pos="3,-5" cell_width="223" cell_height="30" repeat_content="false" >
  74.                     <panel height="20" width="375" disableautobackground="true">
  75.                         <sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_gas"/>
  76.                         <label depth="1" width="100" pos="30,-2" font_size="22" text="{fueltitle}: [DECEA3]{fuel}%[-]" />
  77.                         <sprite depth="2" width="100" pos="105, -7" height="10" type="sliced" color="[black]" />
  78.                         <sprite depth="2" width="98" pos="106, -8" height="8" type="sliced" color="[mediumGrey]" />
  79.                         <sprite depth="2" name="sprFillPotential" width="98" pos="106, -9" height="6" type="filled" color="[beige]" fill="{potentialfuelfill}" />
  80.                         <sprite depth="2" name="sprFuelFill" width="98" pos="106, -8" height="8" type="filled" color="240,240,240" fill="{fuelfill}" />
  81.                     </panel>
  82.                     <panel height="20" width="375" disableautobackground="true">
  83.                         <sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_defense"/>
  84.                         <label depth="1" width="180" pos="30,-2" name="lblProtection" font_size="22" text="{protectiontitle}: [DECEA3]{protection}%[-]" />
  85.                     </panel>
  86.                     <panel height="20" width="375" disableautobackground="true">
  87.                         <sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_seats"/>
  88.                         <label depth="1" width="180" pos="30,-2" name="lblPassengers" font_size="22" text="{passengersTitle}: [DECEA3]{passengers|once}[-]" />
  89.                     </panel>
  90.                     <panel height="20" width="375" disableautobackground="true">
  91.                         <sprite depth="1" name="windowIcon" style="icon22px" pos="132,60" sprite="ui_game_symbol_speed"/>
  92.                         <label depth="1" width="180" pos="160,60" name="lblSpeed" font_size="22" text="{speedtitle}: [DECEA3]{speed}m/s ({speedtext})[-]" />
  93.                     </panel>
  94.                     <panel height="20" width="375" disableautobackground="true">
  95.                         <sprite depth="1" name="windowIcon" style="icon22px" pos="132,60" sprite="ui_game_symbol_noise"/>
  96.                         <label depth="1" width="180" pos="160,60" name="lblNoise" font_size="22" text="{noisetitle}: [DECEA3]{noise}[-]" />
  97.                     </panel>
  98.  
  99.                 </grid>
  100.             </rect>
  101.  
  102.         </rect>
  103.     </window>
  104.    
  105.     <window name="windowVehicleStorage" width="529" height="262" depth="5" anchor="CenterTop" panel="Right" backgroundcolor="[black]">
  106.         <panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
  107.             <sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_loot_sack"/>
  108.             <label style="header.name" text="MINIBIKE STORAGE" text_key="xuiMinibikeStorage" />
  109.         </panel>
  110.         <grid depth="2" name="inventory" rows="7" cols="10" pos="3,-49" cell_width="75" cell_height="75" repeat_content="true" controller="VehicleContainer">
  111.             <item_stack name="0"/>
  112.         </grid>
  113.        
  114.         <panel name="emptyPanel" height="739" width="529" depth="4" pos="0,-46" backgroundcolor="[darkGrey]" bordercolor="[black]" visible="false">        
  115.             <sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" /> 
  116.             <label pos="0,-180" depth="3" name="descriptionText" width="100%" height="80" text="ADD BASKET TO ACCESS STORAGE." text_key="xuiEmptyVehicleStorage" justify="center" font_size="28"/>         
  117.         </panel>
  118.     </window>
  119.    
  120.    
  121.    
  122.    
  123.    
  124.    
  125.    
  126.    
  127.    
  128.     LOOT.XML CHANGE
  129.    
  130.     <!-- minibike storage -->
  131. <lootcontainer id="62" count="0,1" size="7,10" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="baseTemplate">
  132.     <item name="cobweb" count="0" prob="0.01"/>
  133. </lootcontainer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement