<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="car" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>D20</name>
        <specs>
            <power>200</power>
            <maxSpeed>80</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_car</function>
        </functions>
        <image>storeD20.png</image>
        <price>55000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CHEVROLET</brand>
        <category>cars</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_car</typeDesc>
        <filename>D20.i3d</filename>
        <sounds filename="$data/vehicles/lizard/pickup1986/sounds/pickup1986.xml"/>
        <size width="2.8" length="6.5"/>
        <components count="1">
            <component centerOfMass="0 0.278 0.7" solverIterationCount="10" mass="1800" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="CAR" />
        <mapHotspot type="CAR" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_Option1" price="0" brand="CONTINENTAL" saveId="CONTINENTAL_DEFAULT">
                <wheels autoRotateBackSpeed="2.3">
                    <wheel filename="Wheels/Opcional1Dianteiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|0"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional1Dianteiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|1"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional1Traseiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|2"  forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional1Traseiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|3" forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_Option2" price="0" brand="MICHELIN" saveId="MICHELIN_DEFAULT">
                <wheels autoRotateBackSpeed="2.3">
                    <wheel filename="Wheels/Opcional2Dianteiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|4|0"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional2Dianteiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|4|1"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional2Traseiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|4|2"  forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional2Traseiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|4|3" forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_Option3" price="0" brand="CONTINENTAL" saveId="CONTINENTAL_PNEU">
                <wheels autoRotateBackSpeed="2.3">
                    <wheel filename="Wheels/Opcional3Dianteiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|0"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional3Dianteiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|1"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional3Traseiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|2"  forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional3Traseiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|3" forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_Option4" price="0" brand="MICHELIN" saveId="MICHELIN_MODEL">
                <wheels autoRotateBackSpeed="2.3">
                    <wheel filename="Wheels/Opcional4Dianteiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|4|0"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional4Dianteiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>6|4|1"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.13" spring="16" damper="3" frictionScale="2.5" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional4Traseiro.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|4|2"  forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel filename="Wheels/Opcional4Traseiro.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>6|4|3" forcePointRatio="0.5" initialCompression="15" suspTravel="0.14" spring="20" damper="3" frictionScale="3" yOffset="0.02" />
                        <tire isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="45" rotMax="42" rotCenterWheel1="3" rotCenterWheel2="4" />
        </ackermannSteeringConfigurations>
    </wheels>
	
    <attacherJoints comboDuration="2">
        <attacherJointConfigurations>
			<attacherJointConfiguration name="$l10n_configuration_valueDefault" price="0">
				<objectChange node="0>0|1|0" visibilityActive="false"/>
				<attacherJoint node="0>0|1|0|1" jointType="trailer" lowerRotLimit="10 45 50" upperRotationOffset="0" allowsJointLimitMovement="false" allowsLowering="false">
			        <schema position="1 0" rotation="0" invertX="false" />
			        <attachSound template="TRUCK_ATTACH_01" linkNode="0>" />
		        </attacherJoint>
				<attacherJoint node="0>0|1|0|1" jointType="trailerLow" lowerRotLimit="10 45 50" upperRotationOffset="0" allowsJointLimitMovement="false" allowsLowering="false">
			        <schema position="1 0" rotation="0" invertX="false" />
			        <attachSound template="TRUCK_ATTACH_01" linkNode="0>" />
		        </attacherJoint>
            </attacherJointConfiguration>
			<attacherJointConfiguration name="$l10n_configuration_Hitch" price="0">
				<objectChange node="0>0|1|0" visibilityActive="true"/>
				<attacherJoint node="0>0|1|0|1" jointType="trailer" lowerRotLimit="10 45 50" upperRotationOffset="0" allowsJointLimitMovement="false" allowsLowering="false">
			        <schema position="1 0" rotation="0" invertX="false" />
			        <attachSound template="TRUCK_ATTACH_01" linkNode="0>" />
		        </attacherJoint>
				<attacherJoint node="0>0|1|0|1" jointType="trailerLow" lowerRotLimit="10 45 50" upperRotationOffset="0" allowsJointLimitMovement="false" allowsLowering="false">
			        <schema position="1 0" rotation="0" invertX="false" />
			        <attachSound template="TRUCK_ATTACH_01" linkNode="0>" />
		        </attacherJoint>
            </attacherJointConfiguration>
            <sounds>
                <attach template="ATTACH_01"></attach>
                <hydraulic template="DEFAULT_HYDRAULIC_SOUND"></hydraulic>
            </sounds>
        </attacherJointConfigurations>
	</attacherJoints>
	
	<vehicleTypeConfigurations>
        <vehicleTypeConfiguration name="$l10n_configuration_valueDefault" price="0" vehicleType="carFillable">
            <objectChange node="0>0|1|1|0"  visibilityActive="false" />
            <objectChange node="0>0|1|3|12"  visibilityActive="false" />
			<objectChange node="0>0|1|4|12"  visibilityActive="false" />
			<objectChange node="0>0|1|2|2"  visibilityActive="false" />
            <objectChange node="0>0|1|1|1"  visibilityActive="false" />
            <objectChange node="0>0|1|3|13"  visibilityActive="false" />
			<objectChange node="0>0|1|4|13"  visibilityActive="false" />
            <objectChange node="0>0|1|1|2"  visibilityActive="false" />
            <objectChange node="0>0|1|3|14"  visibilityActive="false" />
			<objectChange node="0>0|1|4|14"  visibilityActive="false" />
			<objectChange node="0>0|1|2|1"  visibilityActive="false" />
        </vehicleTypeConfiguration>
        <vehicleTypeConfiguration name="$l10n_configuration_StickerOne" price="300" vehicleType="carFillable">
            <objectChange node="0>0|1|1|0"  visibilityActive="true" />
            <objectChange node="0>0|1|3|12"  visibilityActive="true" />
			<objectChange node="0>0|1|4|12"  visibilityActive="true" />
			<objectChange node="0>0|1|2|2"  visibilityActive="true" />
            <objectChange node="0>0|1|1|1"  visibilityActive="false" />
            <objectChange node="0>0|1|3|13"  visibilityActive="false" />
			<objectChange node="0>0|1|4|13"  visibilityActive="false" />
            <objectChange node="0>0|1|1|2"  visibilityActive="false" />
            <objectChange node="0>0|1|3|14"  visibilityActive="false" />
			<objectChange node="0>0|1|4|14"  visibilityActive="false" />
			<objectChange node="0>0|1|2|1"  visibilityActive="false" />
        </vehicleTypeConfiguration>
        <vehicleTypeConfiguration name="$l10n_configuration_StickerTwo" price="300" vehicleType="carFillable">
            <objectChange node="0>0|1|1|0"  visibilityActive="false" />
            <objectChange node="0>0|1|3|12"  visibilityActive="false" />
			<objectChange node="0>0|1|4|12"  visibilityActive="false" />
			<objectChange node="0>0|1|2|2"  visibilityActive="false" />
            <objectChange node="0>0|1|1|1"  visibilityActive="true" />
            <objectChange node="0>0|1|3|13"  visibilityActive="true" />
			<objectChange node="0>0|1|4|13"  visibilityActive="true" />
            <objectChange node="0>0|1|1|2"  visibilityActive="false" />
            <objectChange node="0>0|1|3|14"  visibilityActive="false" />
			<objectChange node="0>0|1|4|14"  visibilityActive="false" />
			<objectChange node="0>0|1|2|1"  visibilityActive="false" />
        </vehicleTypeConfiguration>
        <vehicleTypeConfiguration name="$l10n_configuration_StickerThree" price="300" vehicleType="carFillable">
            <objectChange node="0>0|1|1|0"  visibilityActive="false" />
            <objectChange node="0>0|1|3|12"  visibilityActive="false" />
			<objectChange node="0>0|1|4|12"  visibilityActive="false" />
			<objectChange node="0>0|1|2|2"  visibilityActive="false" />
            <objectChange node="0>0|1|1|1"  visibilityActive="false" />
            <objectChange node="0>0|1|3|13"  visibilityActive="false" />
			<objectChange node="0>0|1|4|13"  visibilityActive="false" />
            <objectChange node="0>0|1|1|2"  visibilityActive="true" />
            <objectChange node="0>0|1|3|14"  visibilityActive="true" />
			<objectChange node="0>0|1|4|14"  visibilityActive="true" />
			<objectChange node="0>0|1|2|1"  visibilityActive="true" />
        </vehicleTypeConfiguration>
    </vehicleTypeConfigurations>
	
    <licensePlates>
        <licensePlate node="0>11" position="FRONT" preferedType="SQUARISH" placementArea="0.1 0.15 0.1 0.15"/>
        <licensePlate node="0>12" position="BACK" preferedType="SQUARISH" placementArea="0.1 0.17 0.1 0.17"/>
    </licensePlates>
	
    <lights>
        <states>
            <state lightTypes="0"/>
        </states>

        <realLights>
            <low>
                <light node="0>10|0|1"     lightTypes="0"/>
            </low>
            <high>
                <light node="0>10|0|0"    lightTypes="0"/>
                <light node="0>10|1|0"   lightTypes="0"/>
                <brakeLight node="0>10|1|0" />
                <turnLightLeft node="0>10|2|1" />
                <turnLightRight node="0>10|2|0" />
				<reverseLight node="0>10|3|0" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="0>10|0|2" lightTypes="0" />
            <defaultLight shaderNode="0>10|0|3" lightTypes="0" />
            <defaultLight shaderNode="0>10|4" lightTypes="0" />
            <defaultLight shaderNode="0>10|5" lightTypes="0" />
            <defaultLight shaderNode="0>10|6" lightTypes="0" />
        </defaultLights>

        <brakeLights>
            <brakeLight shaderNode="0>10|0|3" lightTypes="0" />
        </brakeLights>

        <turnLights>
            <turnLightLeft shaderNode="0>10|2|2" />
            <turnLightRight shaderNode="0>10|2|3" />
        </turnLights>
		
		<reverseLights>
            <reverseLight shaderNode="0>10|3|1" />
        </reverseLights>

        <sounds>
            <switchLight template="SWITCH_01"  />
            <turnLight template="SWITCH_TURNLIGHT"  />
        </sounds>
    </lights>

    <enterable isTabbable="true" >
        <enterReferenceNode node="0>"/>
        <exitPoint node="0>7"/>

        <cameras count="2">
            <camera node="0>4|0|0" rotatable="true" rotateNode="0>4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3.5" transMax="40" translation="0 0 5.75" rotation="-10 180 0">
                <raycastNode node="0>4|2"/>
                <raycastNode node="0>4|3"/>
            </camera>
            <camera node="0>4|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0"  shadowFocusBox="0>4|5"/>
        </cameras>

        <characterNode node="0>3|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>3|1"/>
            <target ikChain="leftFoot" targetNode="0>3|2"/>
            <target ikChain="rightArm" targetNode="0>1|0|1"/>
            <target ikChain="leftArm" targetNode="0>1|0|0"/>
        </characterNode>
		
        <characterTargetNodeModifier node="0>3|1" transitionTime="0.1" >
            <state node="0>0|1|11|0"   referenceNode="0>0|1|11"/>
            <state node="0>0|1|12|0" referenceNode="0>0|1|12"/>
        </characterTargetNodeModifier>
		
        <mirrors>
            <mirror node="0>0|1|3|15|1" prio="1" />
            <mirror node="0>0|1|4|15|1" prio="1" />
        </mirrors>
	</enterable>

    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" />
        </sounds>
		
        <steeringWheel node="0>1|0" indoorRotation="540" outdoorRotation="60" />
		
        <dashboards>
            <dashboard displayType="ROT"     valueType="accelerationAxis" node="0>0|1|12"   minRot="0 0 0" maxRot="-7 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT"     valueType="decelerationAxis" node="0>0|1|11" minRot="0 0 0" maxRot="-7 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="70" >
                        <dashboard displayType="ROT" valueType="fillLevel" node="0>0|1|6|0" minRot="0" maxRot="-60" rotAxis="0" doInterpolation="true" interpolationSpeed="0.3" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>

    <motorized statsType="car">
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="240" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="1" wheelIndex2="2" /> <!-- front left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="3" wheelIndex2="4" /> <!-- back left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="1" differentialIndex2="2" /> <!-- front-back -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="D20" hp="200" price="0">
                <motor torqueScale="0.4" minRpm="1000" maxRpm="5000" maxForwardSpeed="80" maxBackwardSpeed="45" brakeForce="0.5" lowBrakeForceScale="0.22">
                    <torque rpm="1000" torque="0.9"/>
                    <torque rpm="2400" torque="1"/>
                    <torque rpm="3480" torque="1"/>
                    <torque rpm="4560" torque="0.75"/>
                    <torque rpm="5280" torque="0.63"/>
                    <torque rpm="6000" torque="0.2"/>
                </motor>
                <transmission autoGearChangeTime="1" gearChangeTime="0.4" name="$l10n_info_transmission_manual" axleRatio="25" startGearThreshold="0.35">
                    <directionChange useGear="true"/>
                    <backwardGear gearRatio="4.066" name="R"/>
                    <forwardGear gearRatio="4.784"/>
                    <forwardGear gearRatio="2.423"/>
                    <forwardGear gearRatio="1.443"/>
                    <forwardGear gearRatio="1.000"/>
                    <forwardGear gearRatio="0.826"/>
                    <forwardGear gearRatio="0.643"/>
                </transmission>
            </motorConfiguration>
        </motorConfigurations>
		
        <exhaustEffects>
            <exhaustEffect node="0>8" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.02" maxRpmScale="0.1" />
        </exhaustEffects>
	   
        <dashboards>
            <dashboard displayType="ANIMATION" valueType="rpm"   animName="rpmDisplay"   minValueAnim="0" maxValueAnim="7000" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="speed" animName="speedDisplay" minValueAnim="0" maxValueAnim="140"  groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="loadingBarTemperature" minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </motorized>

    <animations>
        <animation name="backDoor">
            <part node="0>0|1|2" startTime="0.2" endTime="1" startRot="0 0 0" endRot="-90 0 0"/>
        </animation>
		<animation name="doorLeftMovement">
            <part node="0>0|1|3" startTime="0" endTime="2" startRot="0 0 0" endRot="0 -60 0" />
        </animation>
		<animation name="doorRightMovement">
            <part node="0>0|1|4" startTime="0" endTime="2" startRot="0 0 0" endRot="0 60 0" />
        </animation>
        <animation name="rpmDisplay">
            <part node="0>0|1|9|0" startTime="0" endTime="1" startRot="0 0 -34" endRot="0 0 -170" />
        </animation>
        <animation name="speedDisplay">
            <part node="0>0|1|8|0" startTime="0" endTime="1" startRot="0 0 -20" endRot="0 0 -136"/>
        </animation>
        <animation name="loadingBarTemperature">
            <part node="0>0|1|7|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -40"/>
        </animation>
        <animation name="wipers">
            <part node="0>0|1|5|0|0"  startTime="0" endTime="0.5" startRot="0 0 0" endRot="-77.256 11.8 -0.411" />
            <part node="0>0|1|5|1|0"  startTime="0" endTime="0.5" startRot="0 0 0" endRot="-77.256 4.881 1.107" />
			
			<sound template="wiper1" startTime="0" endTime="1" direction="1"   volumeScale="1" pitchScale="0.7" fadeOut="0.1" linkNode="0>0|1|5|0|0"/>
            <sound template="wiper2" startTime="0" endTime="1" direction="-1"  volumeScale="1" pitchScale="0.7" fadeOut="0.1" linkNode="0>0|1|5|1|0"/>
        </animation>
    </animations>
	
    <wipers>
        <wiper animName="wipers" >
            <state animSpeed="1.2" animPause="2.0" />
            <state animSpeed="1.2" animPause="0.0" />
            <state animSpeed="1.8" animPause="0.0" />
        </wiper>
    </wipers>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts requiresPower="false">
                    <foldingPart animationName="backDoor" speedScale="1.3"/>
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <cylindered>
        <movingTools>
            <movingTool node="0>0|1|2" playSound="true"/>
			
			<movingTool node="0>0|1|3">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.5" iconName="TOP_DOOR_ROTATE" />
                <animation animSpeed="1" animAcceleration="30" animName="doorLeftMovement" />
            </movingTool>
			<movingTool node="0>0|1|4">
                <controls axis="AXIS_FRONTLOADER_TOOL2" invertAxis="true" mouseSpeedFactor="0.5" iconName="TOP_DOOR_ROTATE" />
                <animation animSpeed="1" animAcceleration="30" animName="doorRightMovement" />
            </movingTool>
        </movingTools>

        <sounds>
            <hydraulic template="PICKUP_TRUNK" linkNode="0>"/>
        </sounds>
    </cylindered>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>

    <ai>
        <agent width="1.8" length="5.4" height="1.85" lengthOffset="1.22" frontOffset="3.08" />
        <collisionTrigger node="0>9" width="2.3" height="2.2"/>
    </ai>
	
    <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="0>5" jointNode="0>" width="0.05" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="0>5|4">
                    <tensionBelt startNode="0>5|0" endNode="0>5|0|0" />
                    <tensionBelt startNode="0>5|1" endNode="0>5|1|0" />
                    <tensionBelt startNode="0>5|2" endNode="0>5|2|0" />
                    <tensionBelt startNode="0>5|3" endNode="0>5|3|0" />

                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
	
	<connectionHoses>
		<target attacherJointIndices="1 2" type="electric" node="0>0|1|0|2" >
			<objectChange node="0>0|1|0|2|1" rotationActive="0 0 0" rotationInactive="-90 0 0"/>
		</target>
    </connectionHoses>

    <honk>
        <sound template="HONK_PICKUP" />
    </honk>
	
    <baseMaterial>
        <material name="Lataria_mat" baseNode="0>0|0|0">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
		<material name="portas_mat" baseNode="0>0|1|3">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations useDefaultColors="true" title="$l10n_configuration_chassisColor">
		<designMaterialConfiguration name="$l10n_color_SilverMetallic" color="ITRUNNER_WHITE1" material="27"/>
        <designMaterialConfiguration name="$l10n_color_LemkenBlue" color="LEMKEN_BLUE1"/>
		<designMaterialConfiguration name="$l10n_color_BlackChrome" color="SHARED_BLACK2" material="2" />
		<designMaterialConfiguration name="$l10n_color_Chrome" color="SHARED_WHITE2" material="2"/>		
		<designMaterialConfiguration name="$l10n_color_BlueMetallic" color="FLIEGL_BLUE1" material="27" />
        <designMaterialConfiguration name="$l10n_color_PurpleMetallic" color="LIZARD_PURPLE1" material="27" />
        <designMaterialConfiguration name="$l10n_color_OrangeMetallic" color="FIAT_ORANGEPAINT" material="27" />
        <designMaterialConfiguration name="$l10n_color_BlackMetallic" color="FIAT_BLACKPAINT"  material="27" />
        <designMaterialConfiguration name="$l10n_color_GreenMetallic" color="FIAT_GREENPAINT" material="27" />
        <designMaterialConfiguration name="$l10n_color_RedMetallic" color="FLIEGL_RED1" material="27" />
        <designMaterialConfiguration name="$l10n_color_YellowMetallic" color="BEDNAR_YELLOW1" material="27" />
        <designMaterialConfiguration name="$l10n_color_BrownMetallic" color="FLIEGL_BROWN1" material="27" />
		<designMaterialConfiguration name="$l10n_color_MidnightPurple" color="0.001 0 0.015 1" material="27" />
		<designMaterialConfiguration name="$l10n_color_BlackCherry" color="0.010 0 0 1" material="27" />		 
		<designMaterialConfiguration name="$l10n_color_MonsterGreen" color="0.4 0.6 0.02 1.0" material="27"  />
		<designMaterialConfiguration name="$l10n_color_PearlWhite" color="FIAT_WHITEPAINT" material="18" />
        <designMaterialConfiguration name="$l10n_color_StainlessSteel" color="SHARED_WHITE2" material="35"/>
		<designMaterialConfiguration name="$l10n_color_Ice" color="0.455 0.855 1 1.0" material="18" />
        <designMaterialConfiguration name="$l10n_color_ClaasYellow" color="0.800 0.443 0.008 1.0" material="32" />
        <designMaterialConfiguration name="$l10n_color_KRONEYELLOW" color="KRONE_YELLOW1" material="32"/>
        <designMaterialConfiguration name="$l10n_color_KRONEGREEN" color="KRONE_GREEN1" material="32"/>
		<designMaterialConfiguration name="$l10n_color_STARAORANGE" color="STARA_ORANGE" material="32"/>
        <designMaterialConfiguration name="$l10n_color_STARAGREEN" color="STARA_GREEN" material="32"/>
		<designMaterialConfiguration name="$l10n_color_BergmannWhite" color="ITRUNNER_WHITE1" material="32"/>
        <designMaterialConfiguration name="$l10n_color_BergmannGreen" color="BERGMANN_GREEN1"/>        
		<designMaterialConfiguration name="$l10n_color_JOSKINGREEN" color="JOSKIN_GREEN1"/>
        <designMaterialConfiguration name="$l10n_color_JOSKINYELLOW" color="JOSKIN_YELLOW1"/>
		<designMaterialConfiguration name="$l10n_color_STRAUTMANNGREEN" color="STRAUTMANN_GREEN1"/>
        <designMaterialConfiguration name="$l10n_color_STRAUTMANNRED" color="STRAUTMANN_RED1"/>
		<designMaterialConfiguration name="$l10n_color_HAWEGREEN" color="0.0697 0.1541 0.0545 1"/>
        <designMaterialConfiguration name="$l10n_color_HAWEGREY" color="0.0962 0.0962 0.0962 1"/>
		<designMaterialConfiguration name="$l10n_color_TEBBEGREEN" color="0.0008 0.3685 0.1449 1"/>
        <designMaterialConfiguration name="$l10n_color_TEBBEGREY" color="0.6940 0.6940 0.6940 1"/>
		<designMaterialConfiguration name="$l10n_color_MENGELERED" color="0.7372 0.0151 0.0265 1"/>
        <designMaterialConfiguration name="$l10n_color_MENGELEBLUE" color="0.0759 0.3392 0.4205 1"/>
		<designMaterialConfiguration name="$l10n_color_ANNABURGERRED" color="ANNABURGER_RED1"/>
        <designMaterialConfiguration name="$l10n_color_ANNABURGERWHITE" color="ANNABURGER_WHITE1"/>
		<designMaterialConfiguration name="$l10n_color_KAWECOGREEN" color="0.4 0.6 0.05 1"/>
        <designMaterialConfiguration name="$l10n_color_KAWECOORANGE" color="0.98 0.31 0.02 1"/>
        <designMaterialConfiguration name="$l10n_color_KAWECOGREY" color="0.8671 0.7893 0.6253 1"/>
		<designMaterialConfiguration name="$l10n_color_BRIRIGREEN" color="0.0461 0.0600 0.0414 1"/>
		<designMaterialConfiguration name="$l10n_color_BRIRIGREY" color="0.4423 0.4423 0.4534 1"/>
        <designMaterialConfiguration name="$l10n_color_VICONRED" color="VICON_RED1"/>		
        <designMaterialConfiguration name="$l10n_color_VICONBLUE" color="VICON_DARKBLUE"/>		
        <designMaterialConfiguration name="$l10n_color_MANBEIGE" color="MAN_BEIGECLASSIC"/>		
        <designMaterialConfiguration name="$l10n_color_MANGREEN" color="MAN_OLDGREEN"/>		
        <designMaterialConfiguration name="$l10n_color_MANBLUE" color="MAN_BLUE6"/>
        <material name="Lataria_mat" shaderParameter="colorMat0" />
		<material name="portas_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

    <foliageBending>
        <bendingNode minX="-1.05" maxX="1.05" minZ="-3" maxZ="2.9" yOffset="0.3" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
</vehicle>
