Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: Minibike Basket Mod - 32 Slot

  1. #1
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1

    Minibike Basket Mod - 32 Slot

    Yup. Yet another Minibike Basket Mod. Basically, just a 32 slot basket mod for the minibike.

    No DLL required as the base game already has a 32 slot table for the minibike basket. This means there is no risk of losing items between sessions.

    minibike.jpg

    Replace the windowVehicle, windowVehicleStats, and windowVehicleStorage in the XUi\Windows.xml with the following:

    Code:
    	<!--#$-IGS BEGIN: Adding cursor area. -$#-->
    	<window name="windowVehicle" width="380" height="733" panel="Left" controller="VehicleFrameWindow" 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_minibike"/>
    			<label style="header.name" text="{vehiclenamequality}" />
    			<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="sprVehicleQuality" width="110" pos="261, -18" height="8" type="filled" color="{vehiclequalitycolor}" />
    			
    		</panel>
    		
    		<panel name="content" depth="0" pos="0,-43" disableautobackground="true">
    			<sprite color="[darkGrey]" pos="3,-3" height="613" />
    			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="3,-3" width="380" height="733" color="[black]" type="sliced" fillcenter="false" on_press="true" />	
    			<rect depth="1" pos="3,-3" width="380" height="739">
    				
    				<rect pos="3,-3" width="374" height="218">
    					<sprite color="[mediumGrey]" type="sliced" />
    					<texture depth="2" name="vehiclePreview" material="Materials/Transparent Colored" size="374,218" />
    					<label depth="3" pos="14,-20" font_size="26" text="{vehiclequalitytitle}: [DECEA3]{vehiclequality}[-]" width="200" height="30"/> 
    					<label depth="3" pos="14,-50" font_size="26" text="{vehicledurabilitytitle}: [DECEA3]{vehicledurability}[-]" width="200" height="30"/>
    				</rect>
    			
    				<grid name="parts" rows="8" cols="1" pos="3,-222" cell_width="374" cell_height="60" repeat_content="true" controller="VehiclePartStackGrid">
    					<vehicle_part_slot />
    				</grid>
    			
    				<rect name="btnRepair" depth="3" pos="0,-698" height="41">
    					<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    					<rect depth="3" name="background" pos="3,-3" width="375" height="35">
    						<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-4" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-4" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="125,-3" sprite="ui_game_symbol_wrench"/>
    						<label depth="2" name="windowName" pos="0,-2" justify="center" text="REPAIR" text_key="xuiRepair" font_size="28" />
    					</rect>
    				</rect>
    			</rect>
    		
    		</panel>
    	</window>
    	
    	<!--#$-IGS BEGIN: Adding cursor area. -$#-->
    	<window name="windowVehicleStats" width="304" height="133" panel="Right" controller="VehicleStats" cursor_area="true" >
    	<!--#$-IGS END.-$#-->
    		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
    			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_minibike"/>
    			<label style="header.name" text="{vehiclename} {vehiclestatstitle}" />
    		</panel>
    		
    		
    		<rect name="content" depth="0" pos="0,-46" height="94">
    			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    			<sprite depth="1" color="[darkGrey]" type="sliced" width="304" height="90" pos="0,-3" />
    			<rect depth="2" pos="6,-3">
    				<grid name="stats" rows="2" cols="2" pos="3,-3" cell_width="150" cell_height="26" repeat_content="false" >
    					<panel height="26" width="150" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_speed"/>
    						<label depth="1" width="140" pos="27,-3" name="lblSpeed" font_size="16" text="{speedtitle}: [DECEA3]{speed}m/s ({speedtext})[-]" />
    					</panel>
    					<panel height="26" width="150" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_noise"/>
    						<label depth="1" width="140" pos="27,-3" name="lblNoise" font_size="16" text="{noisetitle}: [DECEA3]{noise}[-]" />
    					</panel>
    					<panel height="26" width="150" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_defense"/>
    						<label depth="1" width="140" pos="27,-3" name="lblProtection" font_size="16" text="{protectiontitle}: [DECEA3]{protection}%[-]" />
    					</panel>
    					<panel height="26" width="150" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_seats"/>
    						<label depth="1" width="140" pos="27,-3" name="lblPassengers" font_size="16" text="{passengerstitle}: [DECEA3]{passengers|once}[-]" />
    					</panel>
    				</grid>
    				<grid name="stats2" rows="1" cols="1" pos="73,-56" cell_width="150" cell_height="26" repeat_content="false" >
    					<panel height="26" width="200" disableautobackground="true">
    						<!-- <sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_gas"/> -->
    						<label depth="1" width="100" pos="40,-2" font_size="24" text="{fueltitle}: [DECEA3]{fuel}%[-]" />
    						
    						<sprite depth="2" width="100" pos="115, -6" height="18" type="sliced" color="[black]" />
    						<sprite depth="2" width="98" pos="116, -7" height="16" type="sliced" color="[mediumGrey]" />
    						<sprite depth="2" name="sprFillPotential" width="98" pos="116, -8" height="14" type="filled" color="[beige]" fill="{potentialfuelfill}" />
    						<sprite depth="2" name="sprFuelFill" width="98" pos="116, -7" height="16" type="filled" color="181,57,57" fill="{fuelfill}" />
    					</panel>
    				</grid>
    			</rect>
    			<rect name="btnRefuel" depth="3" pos="0, -59" width="110" height="34" >
    				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    				<sprite depth="2" name="background" pos="3,-3" sprite="menu_empty" width="103" height="30" color="[darkGrey]" type="sliced" />
    				<rect depth="3" pos="1,-3" width="107" height="30">
    					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0" />
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="6,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="4,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    					
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="4,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="6,-1" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    					
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="5,-2" color="[iconColor]" sprite="ui_game_symbol_gas"/>
    					<label depth="2" name="windowName" pos="8,-2" justify="center" text="REFUEL" text_key="xuiRefuel" font_size="24" />
    				</rect>
    			</rect>
    		</rect>
    	</window>
    	
    	<!--#$-IGS BEGIN: Adding cursor area. -$#-->
    	<window name="windowVehicleStorage" width="304" height="644" depth="5" anchor="CenterTop" panel="Right" backgroundcolor="[black]" cursor_area="true" >
    	<!--#$-IGS END.-$#-->
    		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
    			<button depth="1" name="btnSort" style="icon32px, press, hover" pivot="center" pos="21,-21" sprite="ui_game_symbol_minibike" tooltip_key="lblSortContainer" sound="[paging_click]" />
    			<label style="header.name" text="MINIBIKE STORAGE" text_key="xuiMinibikeStorage" />
    		</panel>
    		
    		<grid depth="2" name="inventory" rows="8" cols="4" pos="3,-43" cell_width="75" cell_height="75" repeat_content="true" controller="VehicleContainer">
    			<item_stack name="0"/>
    		</grid>
    		
    		<panel name="emptyPanel" height="600" depth="4" pos="0,-43" backgroundcolor="[darkGrey]" bordercolor="[black]" visible="false">			
    			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    			<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="24"/>			
    		</panel>
    	</window>
    and update the basket size in the loot.xml:

    Code:
    <!-- minibike storage -->
    <lootcontainer id="62" count="0" size="4,8" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="baseTemplate">
    </lootcontainer>
    Last edited by Numberz; 10-08-2017 at 02:19 AM.

  2. #2
    Zombie Hunter Henrique's Avatar
    Join Date
    Mar 2015
    Location
    https://www.youtube.com/watch?v=wqrWmpQsKNw
    Posts
    440
    Rep Power
    1
    I tried it but did not work! I got no errors just will not give me the slots!

  3. #3
    Reconstructionist Sirillion's Avatar
    Join Date
    Dec 2015
    Location
    Norway
    Posts
    674
    Rep Power
    1
    Quote Originally Posted by H3nriQ View Post
    I tried it but did not work! I got no errors just will not give me the slots!
    Any minbike storage mod that is applied to an already existing mini bike will require the bike to be disassembled, frame picked up then placed again and then reassemble the bike.

    The slots should now be there for you.

  4. #4
    Zombie Hunter Henrique's Avatar
    Join Date
    Mar 2015
    Location
    https://www.youtube.com/watch?v=wqrWmpQsKNw
    Posts
    440
    Rep Power
    1
    Quote Originally Posted by Sirillion View Post
    Any minbike storage mod that is applied to an already existing mini bike will require the bike to be disassembled, frame picked up then placed again and then reassemble the bike.

    The slots should now be there for you.
    You are awesome i thought all you had to do was just take out the basket!!
    THX

  5. #5
    Refugee
    Join Date
    Dec 2014
    Posts
    27
    Rep Power
    0
    So I tried this and pickup the frame and reassembled the bike however its gives me a 3 x 8 not a 4x8 which I clearly set in the loot.xml.

    any suggestions?

  6. #6
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1
    Quote Originally Posted by Munra View Post
    So I tried this and pickup the frame and reassembled the bike however its gives me a 3 x 8 not a 4x8 which I clearly set in the loot.xml.

    any suggestions?
    Check to make sure you don't have any multiple copies of any of windowVehicle, windowVehicleStats, and windowVehicleStorage in the windows.xml.
    Also, if you are playing on a server, the server would have to also have these changes for it to work on a client.

  7. #7
    Refugee
    Join Date
    Oct 2017
    Posts
    11
    Rep Power
    0
    I just had to change the Loot.xml for the minibike and the storage boxes and it works.

    Code:
    <!-- minibike storage -->
    <lootcontainer id="62" count="0" size="9,11" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="baseTemplate">
    </lootcontainer>

    Code:
    <!-- empty, storage containers the player crafts-->
    <lootcontainer id="10" count="0" size="14,10" sound_open="UseActions/open_chest" sound_close="UseActions/close_chest" loot_quality_template="baseTemplate">
    	<item name="cobweb" count="1,2"/>
    </lootcontainer>
    Of course, this change also depends on the resolution. My players wanted larger backpacks, so no problem, you have to be careful and adjust the windows.

    You only need to change a few numbers

  8. #8
    Colony Founder Royal Deluxe's Avatar
    Join Date
    Sep 2016
    Posts
    4,435
    Rep Power
    1
    i am so shameless and use your code in my mod ^^
    https://7daystodie.com/forums/showth...l=1#post756612
    say if you dont want that ^^

    Like that it looks good Balanced

  9. #9
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1
    Quote Originally Posted by Royal Deluxe View Post
    i am so shameless and use your code in my mod ^^
    https://7daystodie.com/forums/showth...l=1#post756612
    say if you dont want that ^^

    Like that it looks good Balanced
    No problem at all.

  10. #10
    Refugee
    Join Date
    Dec 2016
    Posts
    19
    Rep Power
    0
    Just wanting to make sure, but this will work with Starvation without issue right? Wanting to add this and the BBM to my Starvation server.

  11. #11
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1
    Quote Originally Posted by bdubyah View Post
    Just wanting to make sure, but this will work with Starvation without issue right? Wanting to add this and the BBM to my Starvation server.
    These are nothing more than some simple, freely provided xml edits. Nevertheless, as with all such mods, you use them at your own risk/discretion. Just be aware that the Starvation team is unlikely to support any foreign code introduced into their mod, whether it is this or BBM.

  12. #12
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1
    Just thought I'd post a couple of other designs I was playing around with for this.


    Here is a design very similar to the standard vanilla minibike, just cleaned up a bit.

    Standard/Full:



    and with Optional Combine:


  13. #13
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1
    Code for above design...

    xui.xml:
    Code:
    		<window_group name="vehicle" controller="XUiC_VehicleWindowGroup">
    			<window name="windowVehicleStatsFull" />
    			<window name="windowVehicleFull"/>
    			<window name="windowNonPagingHeader" />
    			<window name="windowVehicleCombineRight"/>
    			<window name="windowVehicleStorage32" />
    		</window_group>
    xui\controls.xml:
    Code:
    	<vehicle_part_slotFull>
    		<rect controller="VehiclePartStack" style="vehicleStackFull, hover" >
    			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="-3,3" width="380" height="49" color="[black]" type="sliced" fillcenter="false" />	
    			<sprite name="background" color="[darkGrey]" height="45" pos="0,1" type="sliced"/>
    			<label depth="4" pos="16,-5" width="250" height="28" text="{partname}" font_size="18" justify="left" />
    			<label depth="4" pos="229,-5" width="50" height="28" text="{partquality}" font_size="18" justify="right" />
    			
    			<sprite depth="2" width="265" pos="15, -28" height="8" type="sliced" color="[black]" visible="{partvisible}" foregroundlayer="true" />
    			<sprite depth="2" width="263" pos="16, -29" height="6" type="sliced" color="[mediumGrey]" visible="{partvisible}" foregroundlayer="true" />
    			<sprite depth="2" name="sprFill" width="263" pos="16, -29" height="6" type="filled" color="{partcolor}" fill="{partfill}" visible="{partvisible}" foregroundlayer="true" />
    			
    			<sprite name="itemIcon" depth="4" width="49" height="35" atlas="{partatlas}" sprite="{particon}" pos="330,-21" pivot="center" color="{particoncolor}" foregroundlayer="true" />
    		</rect>
    	</vehicle_part_slotFull>
    xui\styles.xml:
    Code:
    	<style name="vehicleStackFull">
    		<style_entry name="background_color" value="[darkGrey]"/>
    		<style_entry name="highlight_color" value="[lightGrey]"/>
    		<style_entry name="width" value="374"/>
    		<style_entry name="height" value="44"/>
    		<style_entry name="hover_icon_grow" value="1.5"/>
    		<style_entry name="on_press" value="true"/>
    		<style_entry name="sound_volume" value="0.75"/>
    		<style_entry name="pickup_sound" value="[pickup_click]"/>
    		<style_entry name="place_sound" value="[place_click]"/>
    	</style>
    loot.xml:
    Code:
    <lootcontainer id="62" count="0" size="4,8" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="baseTemplate">
    </lootcontainer>

  14. #14
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1
    xui\windows.xml
    Code:
    	<window name="windowVehicleCombineRight" width="304" height="127" panel="Right" cursor_area="true" >
    		<panel style="header.panel">			
    			<sprite style="header.icon" sprite="ui_game_symbol_add"/>
    			<label style="header.name" text="COMBINE" text_key="xuiCombine"/>
    		</panel>
    		
    		<rect pos="0, -47" height="88" width="304" controller="CombineGrid">
    			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" pos="0,1" width="304" height="88" color="[black]" type="sliced" fillcenter="false" />
    			<sprite name="background" color="[darkGrey]" pos="0,1" type="sliced"/>
    			
    			<grid name="parts" rows="1" cols="3" pos="16,-7" cell_width="100" cell_height="76" repeat_content="true" >
    				<required_item_stack />
    			</grid>
    			
    			<label depth="3" pos="94,-22" text="+" font_size="40"/>
    			<label depth="3" pos="194,-22" text="=" font_size="40"/>
    			
    		</rect>
    	</window>
    
    
    	<window name="windowVehicleFull" width="380" height="782" panel="Left" controller="VehicleFrameWindow" cursor_area="true" >  
    
    		<panel name="header" pos="3,192" height="43" depth="1" backgroundspritename="ui_game_panel_header">			
    			<sprite depth="2" name="windowIcon" style="icon32px" pos="5,-5" sprite="ui_game_symbol_minibike"/>
    			<label style="header.name" text="{vehiclenamequality}" />
    			<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="sprVehicleQuality" width="110" pos="261, -18" height="8" type="filled" color="{vehiclequalitycolor}" />
    			
    		</panel>
    
    		<rect depth="2" pos="9,145">
    			<grid name="stats" rows="1" cols="2" pos="3,-5" cell_width="190" cell_height="26" repeat_content="false" >
    				<panel height="26" width="190" disableautobackground="true">
    					<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_diamond"/>
    					<label depth="1" width="160" pos="32,-3" font_size="16" text="{vehiclequalitytitle}: [DECEA3]{vehiclequality}[-]"/> 
    				</panel>
    				<panel height="26" width="190" disableautobackground="true">
    					<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_muscle"/>
    					<label depth="1" width="160" pos="32,-3" font_size="16" text="{vehicledurabilitytitle}: [DECEA3]{vehicledurability}[-]"/>
    				</panel>
    			</grid>
    		</rect>
    
    		<panel name="content" depth="0" pos="0,0" disableautobackground="true">
    			<sprite color="[darkGrey]" pos="3,-3" height="583" />
    			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" pos="3,-3" width="380" height="589" color="[black]" type="sliced" fillcenter="false" on_press="true" />	
    			<rect depth="1" pos="3,-3" width="380" height="589">
    				
    				<rect pos="3,-2" width="374" height="180">
    					<sprite color="[mediumGrey]" type="sliced" />
    					<texture depth="2" name="vehiclePreview" material="Materials/Transparent Colored" size="374,180" />
    				</rect>
    
    				<rect name="btnRepair" depth="3" pos="0,-182" height="38">
    					<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    					<rect depth="3" name="background" pos="2,-3" width="375" height="34">
    						<button name="clickable" sprite="menu_empty" defaultcolor="8,72,72" hoversprite="ui_game_select_row" hovercolor="16,255,255" type="sliced" hoverscale="1.0" />
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-4" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-4" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-2" sprite="ui_game_symbol_wrench" color="[black_half_alpha]"/>
    						
    						<sprite depth="2" name="windowIcon" width="24" height="24" pos="125,-3" sprite="ui_game_symbol_wrench"/>
    						<label depth="2" name="windowName" pos="0,-1" justify="center" text="REPAIR" text_key="xuiRepair" font_size="28" />
    					</rect>
    				</rect>
    			
    				<grid name="parts" rows="8" cols="1" pos="3,-221" cell_width="374" cell_height="46" repeat_content="true" controller="VehiclePartStackGrid">
    					<vehicle_part_slotFull />
    				</grid>
    			
    			</rect>
    		
    		</panel>
    	</window>
    
    
    	<window name="windowVehicleStatsFull" width="380" height="184" panel="Left" controller="VehicleStats" cursor_area="true" >
    
    		<rect name="content" depth="0" pos="3,-46" height="118">
    			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    			<sprite depth="1" color="[darkGrey]" type="sliced" width="380" height="116" pos="0,-2" />
    			<rect depth="2" pos="6,-1">
    
    				<grid name="stats" rows="3" cols="2" pos="3,-5" cell_width="190" cell_height="26" repeat_content="false" >
    					<panel height="26" width="190" disableautobackground="true">
    					</panel>
    					<panel height="26" width="190" disableautobackground="true">
    					</panel>
    					<panel height="26" width="190" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_speed"/>
    						<label depth="1" width="160" pos="32,-3" name="lblSpeed" font_size="16" text="{speedtitle}: [DECEA3]{speed}m/s ({speedtext})[-]" />
    					</panel>
    					<panel height="26" width="190" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_noise"/>
    						<label depth="1" width="160" pos="32,-3" name="lblNoise" font_size="16" text="{noisetitle}: [DECEA3]{noise}[-]" />
    					</panel>
    					<panel height="26" width="190" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_defense"/>
    						<label depth="1" width="160" pos="32,-3" name="lblProtection" font_size="16" text="{protectiontitle}: [DECEA3]{protection}%[-]" />
    					</panel>
    					<panel height="26" width="190" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_seats"/>
    						<label depth="1" width="160" pos="32,-3" name="lblPassengers" font_size="16" text="{passengerstitle}: [DECEA3]{passengers|once}[-]" />
    					</panel>
    				</grid>
    				<grid name="stats2" rows="1" cols="1" pos="3,-82" cell_width="150" cell_height="26" repeat_content="false" >
    					<panel height="26" width="200" disableautobackground="true">
    						<sprite depth="1" name="windowIcon" style="icon22px" pos="2,-2" sprite="ui_game_symbol_gas"/>
    						<label depth="1" width="60" pos="32,-3" font_size="24" text="{fueltitle}: [DECEA3]{fuel}%[-]" />
    						
    						<sprite depth="2" width="236" pos="110, -6" height="18" type="sliced" color="[black]" />
    						<sprite depth="2" width="234" pos="111, -7" height="16" type="sliced" color="[mediumGrey]" />
    						<sprite depth="2" name="sprFillPotential" width="234" pos="111, -8" height="14" type="filled" color="[beige]" fill="{potentialfuelfill}" />
    						<sprite depth="2" name="sprFuelFill" width="234" pos="111, -7" height="16" type="filled" color="181,57,57" fill="{fuelfill}" />
    					</panel>
    				</grid>
    			</rect>
    
    			<rect name="btnRefuel" depth="3" pos="0,-114" height="38">
    				<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    				<rect depth="3" name="background" pos="2,-2" width="376" height="34">
    					<button name="clickable" sprite="menu_empty" defaultcolor="8,72,72" hoversprite="ui_game_select_row" hovercolor="16,255,255" type="sliced" hoverscale="1.0" />
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-5" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-5" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    						
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="124,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="126,-3" sprite="ui_game_symbol_gas" color="[black_half_alpha]"/>
    						
    					<sprite depth="2" name="windowIcon" width="24" height="24" pos="125,-4" sprite="ui_game_symbol_gas"/>
    					<label depth="2" name="windowName" pos="0,-2" justify="center" text="REFUEL" text_key="xuiRefuel" font_size="28" />
    				</rect>
    			</rect>
    
    		</rect>
    	</window>
    
    	<window name="windowVehicleStorage32" width="304" height="644" depth="5" anchor="CenterTop" panel="Right" backgroundcolor="[black]" cursor_area="true" >
    		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
    			<button depth="1" name="btnSort" style="icon32px, press, hover" pivot="center" pos="21,-21" sprite="ui_game_symbol_minibike" tooltip_key="lblSortContainer" sound="[paging_click]" />
    			<label style="header.name" text="MINIBIKE STORAGE" text_key="xuiMinibikeStorage" />
    		</panel>
    		
    		<grid depth="2" name="inventory" rows="8" cols="4" pos="3,-49" cell_width="75" cell_height="75" repeat_content="true" controller="VehicleContainer">
    			<item_stack name="0"/>
    		</grid>
    		
    		<panel name="emptyPanel" height="603" depth="4" pos="0,-46" backgroundcolor="[darkGrey]" bordercolor="[black]" visible="false">			
    			<sprite depth="4" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
    			<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="24"/>			
    		</panel>
    	</window>

  15. #15
    Reconstructionist
    Join Date
    Oct 2015
    Posts
    589
    Rep Power
    1
    Here is a slightly different design, which I called the Compact design for lack of a better word. (I made the vehicle component grid more compact)

    Compact:



    and with optional Combine:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •