<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="fuelTrailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>FuelTank</name>
        <functions>
            <function>$l10n_function_tank</function>
        </functions>
        <image>textures/store.png</image>
        <price>4500</price>
        <dailyUpkeep>10</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>misc</category>
        <shopTranslationOffset>0 0.055 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>385216</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>62652</indexBufferMemoryUsage>
        <textureMemoryUsage>4893560</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
	<base>
	    <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>bocka.i3d</filename>
        <size width="2.5" length="6.5" />
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1900" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
	
	</base>
	
	<wheels>
	    <wheelConfigurations>
		    <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD">
                <wheels>
                    <wheel filename="shini.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.5" repr="wheelFrontLeft"  forcePointRatio="0.2"  initialCompression="25" suspTravel="0.2" spring="10" damper="50" />
                    </wheel>
                    <wheel filename="shini.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="0.5" repr="wheelFrontRight" forcePointRatio="0.2"  initialCompression="25" suspTravel="0.2" spring="10" damper="50" />
                    </wheel>
               </wheels>
            </wheelConfiguration>
		</wheelConfigurations>
	</wheels>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerLow" attacherHeight="0.40" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce>0.2</brakeForce>
        <airConsumer usage="0.3" />
    </attachable>
	
	<animations>
	    <animation name="moveSupport">
            <part node="supportArm" startTime="0" endTime="0.6" startTrans="0.122 -0.778 0.422" endTrans="0.122 -1.041 0.422" /> />
        </animation>
		<animation name="fillLevel">
            <part node="fillLevelMarker" startTime="0" endTime="1" startRot="0 0 0" endRot="-100 0 0" />
        </animation>
	</animations>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypes="diesel" capacity="3750" >
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fillLevel" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillTriggerVehicle triggerNode="fuelTrigger" fillUnitIndex="1" />
	
	<tipOccluder>
        <occlusionArea start="tipOcclusionArea1Start" width="tipOcclusionArea1Width" height="tipOcclusionArea1Height" />
        <occlusionArea start="tipOcclusionArea2Start" width="tipOcclusionArea2Width" height="tipOcclusionArea2Height" />
        <occlusionArea start="tipOcclusionArea3Start" width="tipOcclusionArea3Width" height="tipOcclusionArea3Height" />
    </tipOccluder>
	
	<foliageBending>
        <bendingNode minX="-0.8" maxX="0.8" minZ="-3.0" maxZ="2.6" yOffset="0.4" />
        <bendingNode minX="-1.2" maxX="1.2" minZ="-1.9" maxZ="0.1" yOffset="0.4" />
    </foliageBending>
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

	<i3dMappings>
	    <i3dMapping id="bochka" node="0>" />
	    <i3dMapping id="wheelFrontLeft" node="0>0|0|0|0" />
		<i3dMapping id="wheelFrontRight" node="0>0|0|1|0" />
		<i3dMapping id="attacherJoint" node="0>0|1" />
		<i3dMapping id="supportArm" node="0>0|2" />
		<i3dMapping id="fillLevelMarker" node="0>0|4" />
		<i3dMapping id="fuelTrigger" node="0>0|3" />
		<i3dMapping id="tipOcclusionArea1Start" node="0>0|5|0|0" />
        <i3dMapping id="tipOcclusionArea1Width" node="0>0|5|0|1" />
        <i3dMapping id="tipOcclusionArea1Height" node="0>0|5|0|2" />
        <i3dMapping id="tipOcclusionArea2Start" node="0>0|5|1|0" />
        <i3dMapping id="tipOcclusionArea2Width" node="0>0|5|1|1" />
        <i3dMapping id="tipOcclusionArea2Height" node="0>0|5|1|2" />
        <i3dMapping id="tipOcclusionArea3Start" node="0>0|5|2|0" />
        <i3dMapping id="tipOcclusionArea3Width" node="0>0|5|2|1" />
        <i3dMapping id="tipOcclusionArea3Height" node="0>0|5|2|2" />
	</i3dMappings>
</vehicle>
