<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Menci">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    
	<storeData>
        <name>Rimorchio</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
		<specs>
            <combination>Dolly EA</combination>
        </specs>
        <image>store.dds</image>
        <price>54800</price>
        <dailyUpkeep>85</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>180</rotation>
        <brand>MENCI</brand>
        <category>tippers</category>
        <vertexBufferMemoryUsage>502160</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>75882</indexBufferMemoryUsage>
        <textureMemoryUsage>9787128</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
	</storeData>
	
	<typeDesc>$l10n_typeDesc_tipper</typeDesc>
    <filename>body_vis.i3d</filename>
    <size width="3" length="12"/>
    
	<wheelConfigurations>
        <wheelConfiguration name="$l10n_MichelinXFA2" price="0">
            <wheels>
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>18|0" driveNode="0>18|0|0" forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="true"  initialCompression="10" suspTravel="0.25" spring="32" damper="70"  />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>18|1" driveNode="0>18|1|0" forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="false" initialCompression="10" suspTravel="0.25" spring="32" damper="70" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>0" 				         forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="true"  initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>1"                         forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="false" initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>6|0"  driveNode="0>6|0|0"  forcePointRatio="0.3" filename="wheels/MichelinXFA2.xml"  isLeft="true"  initialCompression="20" suspTravel="0.25" spring="32" damper="75"  hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>6|1"  driveNode="0>6|1|0"  forcePointRatio="0.3" filename="wheels/MichelinXFA2.xml"  isLeft="false" initialCompression="20" suspTravel="0.25" spring="32" damper="75"  hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
            </wheels>
        </wheelConfiguration>
		<wheelConfiguration name="$l10n_AllianceFloat" price="2000">
            <wheels>
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>18|0" driveNode="0>18|0|0" forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="true"  initialCompression="10" suspTravel="0.25" spring="32" damper="70"  />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>18|1" driveNode="0>18|1|0" forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="false" initialCompression="10" suspTravel="0.25" spring="32" damper="70" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>0" 				         forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="true"  initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>1"                         forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="false" initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>6|0"  driveNode="0>6|0|0"  forcePointRatio="0.3" filename="wheels/AllianceFloat.xml"  isLeft="true"  initialCompression="20" suspTravel="0.25" spring="32" damper="75" hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>6|1"  driveNode="0>6|1|0"  forcePointRatio="0.3" filename="wheels/AllianceFloat.xml"  isLeft="false" initialCompression="20" suspTravel="0.25" spring="32" damper="75" hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
            </wheels>
        </wheelConfiguration>
    </wheelConfigurations>
	
	<axisColor>0.6388 0.0103 0.0103 1</axisColor>
	
	<!-- <rimColorConfigurations useDefaultColors="true" defaultColorIndex="1" price="500" icon="$dataS2/menu/hud/configurations/config_rimColor.png">
        <colorNode node="0>0" />
    </rimColorConfigurations> -->
	
	<steeringAxleAngleScale startSpeed="5" endSpeed="90" />
    <brakeForce>0.5</brakeForce>
    <maximalAirConsumptionPerFullStop value="0.5" />
    
	<lights>
        <low>
            <light realLight="0>15|0|1" decoration="0>15|0|0" lightTypes="0 3"/>
        </low>
        <high>
            <light realLight="0>15|0|1" decoration="0>15|0|0" lightTypes="0 3"/>
        </high>
    </lights>
	
    <brakeLights>
        <brakeLight realLight="0>15|2|1" decoration="0>15|2|0" />
    </brakeLights>

    <turnLights>
        <turnLightLeft realLight="0>15|1|0|1" decoration="0>15|1|0|0" />
        <turnLightRight realLight="0>15|1|1|1" decoration="0>15|1|1|0" />
    </turnLights>

    <reverseLights>
        <reverseLight decoration="0>15|3" />
    </reverseLights>
	
	<fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="62000" />
    </fillUnits>
	
	<fillVolumes>
        <volumes>
            <volume index="0>2|2|8|0" maxDelta="0.26" />
        </volumes>
        <unloadInfos>
            <unloadInfo> <!-- back -->
                <node index="0>2|2|8|1" width="1.0" length="1.7" />
            </unloadInfo>
        </unloadInfos>
        <heights>
            <height fillVolumeIndex="1" >
                <refNode index="0>2|2|6|0" />
                <refNode index="0>2|2|6|1" />
                <node index="0>2|11|0" baseScale="1 1 1"  transAxis="0 1 0" />
            </height>
        </heights>
    </fillVolumes>
	
	<tipReferencePoints>
        <tipReferencePoint index="0>7" width="2.5" />
        <tipReferencePoint index="0>7" width="0.5" />
    </tipReferencePoints>
	
	<tipAnimations>
        <tipAnimation speedScale="1" openSpeedScale="0.6" animationName="tipAnimationBack" dischargeStartTime="4" dischargeEndTime="20" name="info_tipSideBack" >
            <tipEffect>
                <effectNode effectNode="0>2|11|0|0" materialType="unloading" materialTypeId="3" position="0 0 0" fadeTime="0.5" />
                <effectNode effectNode="0>2|11|0|1" materialType="smoke"     materialTypeId="1" position="0 0 0" fadeTime="0.5" />
            </tipEffect>
            <emitterShape node="0>2|11|1|0" />
            <fillVolume>
                <unloadInfo index="1"/>
                <height index="1"/>
            </fillVolume>
        </tipAnimation>
    </tipAnimations>
	
	<fillRootNode index="0>" />
    <exactFillRootNode index="0>2|2|3" />
    <fillAutoAimTargetNode index="0>8" startZ="3.2" endZ="-6.5" invert="false" fillUnitIndex="1" startPercentage="25"/>
    <fillMassNode index="0>" />
    <supportsFillTriggers value="true" />
	
	<cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav"  pitchOffset="0.8" volume="0.5" indoorVolumeFactor="0.75" />
    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5"/>
    
	<inputAttacherJoints>
        <inputAttacherJoint index="0>2|5" jointType="semitrailer"/>
    </inputAttacherJoints>
	
	<!-- DynamicHose -->
    <dynamicHose>
        <set toolIndices="1">
		    <hose type="hydraulic"  attached="0>19|1|0|0"  detached="0>19|1|1|0"  lastHoseIKNode="0>19|1|0|0|0|0" />
            <hose type="hydraulic"  attached="0>19|1|0|1"  detached="0>19|1|1|1"  lastHoseIKNode="0>19|1|0|1|0|0" />
			<hose type="air"        attached="0>19|1|0|4"  detached="0>19|1|1|2"  lastHoseIKNode="0>19|1|0|4|0|0" />
			<hose type="air"        attached="0>19|1|0|5"  detached="0>19|1|1|3"  lastHoseIKNode="0>19|1|0|5|0|0" />
			<hose type="electric"   attached="0>19|1|0|6"  detached="0>19|1|1|4"  lastHoseIKNode="0>19|1|0|6|0|0" />
			<hose type="electric"   attached="0>19|1|0|7"  detached="0>19|1|1|7"  lastHoseIKNode="0>19|1|0|7|0|0" />
        </set>
    </dynamicHose>
    
    <movingTools>
        <movingTool index="0>2|2">
            <dependentPart index="0>2|4"/>
        </movingTool>
    </movingTools>
    <movingParts>
    <movingPart index="0>2|4" referencePoint="0>2|2|7" referenceFrame="0>2|2|7" scaleZ="false" isActiveDirty="false">
            <translatingPart index="0>2|4|0"/>
            <translatingPart index="0>2|4|0|0"/>
            <translatingPart index="0>2|4|0|0|0"/>
            <translatingPart index="0>2|4|0|0|0|0"/>
            <translatingPart index="0>2|4|0|0|0|0|0"/>
    </movingPart>
    </movingParts>
    
	<animations>
        <!-- backtipping -->
        <animation name="tipAnimationBack">
            <part node="0>2|2|2" startTime="0" endTime="0.9" startRot="0 0 0" endRot="90 0 0"/>
            <part node="0>2|2|1" startTime="0.9" endTime="1.2" startRot="0 0 0" endRot="28 0 0"/>
            <part node="0>2|2|0" startTime="1.2" endTime="13" startRot="0 0 0" endRot="-40 0 0"/>
            <part node="0>2|2" startTime="3" endTime="13" startRot="0 0 0" endRot="40 0 0"/>
        </animation>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>12" startTime="0" endTime="0.05" visibility="false"/>
            <part node="0>11" startTime="0.05" endTime="0.1" visibility="true"/>
            <part node="0>3" startTime="0" endTime="0.2" startTrans="0 0.417 0.195" endTrans="0 -0.1 0.195"/>
        </animation>
        <!--cover-->
        <animation name="toggleCover">
            <part node="0>2|2|9" startTime="0" endTime="0.05" visibility="true"/>
            <part node="0>2|2|10" startTime="0" endTime="0.05" visibility="false"/>
            <part node="0>2|2|9" startTime="0.05" endTime="0.1" visibility="false"/>
            <part node="0>2|2|10" startTime="0.05" endTime="0.1" visibility="true"/>
        </animation>
    </animations>
    
    <support animationName="moveSupport"/>
    
	<cover animationName="toggleCover"/>
    
	<components count="1">
        <component1 centerOfMass="0 0.6 -1.2" solverIterationCount="10"/>
        <!-- <component2 centerOfMass="0 0 0" solverIterationCount="20"/>
        <joint component1="0" component2="1" index="0>5" rotLimit="0 0 8" transLimit="0 0 0"/> -->
	</components>
    
	<washable dirtDuration="50" washDuration="1" workMultiplier="8"/>
    
	<schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
    
	<designColorConfigurations useDefaultColors="true" price="200" defaultColorIndex="1" icon="$dataS2/menu/hud/configurations/config_color.png">
        <colorNode node="0>2|2" recursive="true"/>
        <colorNode node="0>2|2|0" recursive="true"/>
	</designColorConfigurations>
	
</vehicle>
