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

    <storeData>
		<name>
            <en>KamAZ-5490</en>
		    <de>KamAZ-5490</de>
            <ru>КамАЗ-5490</ru>
        </name>
        <specs>
            <power>500</power>
            <maxSpeed>90</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_truck</function>
        </functions>
        <image>stores/store_5490.dds</image>
        <price>75000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KAMAZ</brand>
        <category>trucks</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_truck</typeDesc>
        <filename>KamAZ_5490.i3d</filename>
		<sounds filename="eSounds/k7_MB_eSounds.xml"/>
        <size width="3.5" length="7" lengthOffset="0"/>		
        <components>
            <component centerOfMass="0.00 0.63 1.22" solverIterationCount="10" mass="9000"/>
			<component centerOfMass="0 0 0"   solverIterationCount="20" mass="2500"/>
			<component centerOfMass="0 0 0"   solverIterationCount="20" mass="3000"/>
			<joint component1="1" component2="2" node="1>" rotLimit="0 0 10" transLimit="0 0 0" rotLimitSpring="0 0 4000" rotLimitDamping="0 0 75" maxRotDriveForce="0 0 10" rotDriveRotation="0 0 0" rotDriveSpring="0 0 20" rotDriveDamping="0 0 10" breakable="false"/>
			<joint component1="1" component2="3" node="2>" rotLimit="7 0 0" breakable="false"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="TRUCK" />
        <mapHotspot type="TRUCK" />
    </base>
		
	<wheels>
	    <wheelConfigurations>		
		   <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="CONTINENTAL">
			    <wheels autoRotateBackSpeed="2.5">
				    <wheel filename="wheels/ContiCross225F.xml" configId="truck1" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.9" repr="1>0|0"  driveNode="1>0|0|2"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.4" spring="48" damper="50" transRatio="1" frictionScale="3" />
                    </wheel>
				    <wheel filename="wheels/ContiCross225F.xml" configId="truck1" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.9" repr="1>0|1" driveNode="1>0|1|0" forcePointRatio="0.5" initialCompression="20" suspTravel="0.4" spring="48" damper="50" transRatio="1" frictionScale="3" />
                    </wheel>
					<wheel filename="wheels/ContiCross225R.xml" configId="truck2" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.4" repr="2>0|3" driveNode="2>0|1" forcePointRatio="0.5"  initialCompression="25" suspTravel="0.25" spring="110" damper="150" transRatio="1" frictionScale="2" />
                        <additionalWheel filename="wheels/ContiCross225R.xml" configId="truck3" isLeft="true" offset="0.02" />
                    </wheel>
					<wheel filename="wheels/ContiCross225R.xml" configId="truck2" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.4" repr="2>0|4" driveNode="2>0|2" forcePointRatio="0.5"  initialCompression="25" suspTravel="0.25" spring="110" damper="150" transRatio="1" frictionScale="2" />
                        <additionalWheel filename="wheels/ContiCross225R.xml" configId="truck3" isLeft="false" offset="0.02" />
                    </wheel>
				</wheels>
		   </wheelConfiguration>
		   <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="CONTINENTAL">
			    <wheels autoRotateBackSpeed="2.5">
				    <wheel filename="wheels/ContiCross225v2F.xml" configId="truck1" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.9" repr="1>0|0"  driveNode="1>0|0|2"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.4" spring="48" damper="50" transRatio="1" frictionScale="3" />
                    </wheel>
				    <wheel filename="wheels/ContiCross225v2F.xml" configId="truck1" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.9" repr="1>0|1" driveNode="1>0|1|0" forcePointRatio="0.5" initialCompression="20" suspTravel="0.4" spring="48" damper="50" transRatio="1" frictionScale="3" />
                    </wheel>
					<wheel filename="wheels/ContiCross225v2R.xml" configId="truck2" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.4" repr="2>0|3" driveNode="2>0|1" forcePointRatio="0.5"  initialCompression="25" suspTravel="0.25" spring="110" damper="150" transRatio="1" frictionScale="2" />
                        <additionalWheel filename="wheels/ContiCross225v2R.xml" configId="truck3" isLeft="true" offset="0.02" />
                    </wheel>
					<wheel filename="wheels/ContiCross225v2R.xml" configId="truck2" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.4" repr="2>0|4" driveNode="2>0|2" forcePointRatio="0.5"  initialCompression="25" suspTravel="0.25" spring="110" damper="150" transRatio="1" frictionScale="2" />
                        <additionalWheel filename="wheels/ContiCross225v2R.xml"  configId="truck3" isLeft="false" offset="0.02" />
                    </wheel>
				</wheels>
		   </wheelConfiguration>
        </wheelConfigurations>
	
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="50" rotMax="47" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
	
	<speedRotatingParts>
        <speedRotatingPart node="0>0|0|0|9|0" wheelIndex="3" wheelScale="2"/>
        <speedRotatingPart node="0>0|0|0|10|0" wheelIndex="3" wheelScale="2"/>
    </speedRotatingParts>
	
	<lights>
	    <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
        </states>
		
		<realLights>
            <low>
               <light node="0>7|2|6"   lightTypes="0"/>
			   <light node="0>0|0|0|8|0|0"   lightTypes="0"/>
			   <light node="0>0|0|1|8|0|0"   lightTypes="0"/>
			   <light node="0>0|0|0|8|1"   lightTypes="0"/>
			   <light node="0>0|0|1|8|1"   lightTypes="0"/>
			   <light node="0>7|2|0"   lightTypes="1"/>
			   <light node="0>7|2|3"   lightTypes="1"/>
			   <light node="0>7|2|4"   lightTypes="1"/>
			   <light node="0>7|2|1"   lightTypes="2"/>
			   <light node="0>7|2|2"   lightTypes="2"/>
			   <light node="0>7|4|1"   lightTypes="2"/>
			   <light node="0>7|4|3"   lightTypes="2"/>
            </low>
            <high>
			   <light node="0>7|2|6"   lightTypes="0"/>
			   <light node="0>0|0|0|8|0|0"   lightTypes="0"/>
			   <light node="0>0|0|1|8|0|0"   lightTypes="0"/>
			   <light node="0>0|0|0|8|1"   lightTypes="0"/>
			   <light node="0>0|0|1|8|1"   lightTypes="0"/>
			   <light node="0>7|2|0"   lightTypes="1"/>
			   <light node="0>7|2|3"   lightTypes="1"/>
			   <light node="0>7|2|4"   lightTypes="1"/>
			   <light node="0>7|2|1"   lightTypes="2"/>
			   <light node="0>7|2|2"   lightTypes="2"/>
			   <light node="0>7|4|1"   lightTypes="2"/>
			   <light node="0>7|4|3"   lightTypes="2"/>			   
			   <brakeLight node="0>0|0|0|8|0|0" />
			   <brakeLight node="0>0|0|1|8|0|0" />
               <turnLightLeft node="0>0|0|0|8|3|0" />
               <turnLightRight node="0>0|0|0|8|3|1" />
			   <turnLightLeft node="0>0|0|1|8|3|0" />
               <turnLightRight node="0>0|0|1|8|3|1" />
               <reverseLight node="0>0|0|0|8|2|0" />
			   <reverseLight node="0>0|0|1|8|2|0" />
			</high>
        </realLights>
		
		<reverseLights>
            <reverseLight shaderNode="0>0|0|0|7|0|2|1" />
			<reverseLight shaderNode="0>0|0|0|7|1|2|1" />
			<reverseLight shaderNode="0>0|0|1|7|0|2|1" />
			<reverseLight shaderNode="0>0|0|1|7|1|2|1" />
        </reverseLights>
		
		<defaultLights>
            <defaultLight shaderNode="0>0|0|0|7|0|2|3"        lightTypes="0" intensity="10"/>
			<defaultLight shaderNode="0>0|0|0|7|1|2|3"        lightTypes="0" intensity="10"/>
			<defaultLight shaderNode="0>0|0|1|7|0|2|3"        lightTypes="0" intensity="10"/>
			<defaultLight shaderNode="0>0|0|1|7|1|2|3"        lightTypes="0" intensity="10"/>
			<defaultLight shaderNode="0>1|0|1|5|0"        lightTypes="0" intensity="5"/>
			<defaultLight shaderNode="0>1|0|1|5|2"        lightTypes="0" intensity="5"/>
			<defaultLight shaderNode="0>1|0|1|5|3"        lightTypes="0" intensity="5"/>
			<defaultLight shaderNode="0>1|0|1|6|0"        lightTypes="0" intensity="5"/>
			<defaultLight shaderNode="0>1|0|1|6|2"        lightTypes="0" intensity="5"/>
			<defaultLight shaderNode="0>1|0|1|6|3"        lightTypes="0" intensity="5"/>
			<defaultLight shaderNode="0>1|1|2|0|0|2"        lightTypes="0" intensity="10"/>
			<defaultLight shaderNode="0>1|1|2|0|0|4"        lightTypes="1" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|0|0|3"        lightTypes="2" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|0|0|5"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|0|0|6"        lightTypes="1" intensity="10"/>
			<!-- <defaultLight node="0>1|0|3|2|5|0|2|2"        lightTypes="0" /> -->
			<!-- <defaultLight node="0>1|0|3|2|9|0"        lightTypes="0" /> -->
			<!-- <defaultLight node="0>1|0|3|2|9|1"        lightTypes="0" /> -->
			<!-- <defaultLight node="0>1|0|3|2|9|2"        lightTypes="0" /> -->
			<defaultLight shaderNode="0>1|1|6|0|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|1|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|2|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|3|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|4|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|5|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|6|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|7|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|8|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|9|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|10|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|6|11|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|0|1|0|1|0|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|0|1|0|1|1|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|0|1|0|1|2|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|0|1|3|4|0|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|0|1|3|4|1|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|0|1|3|4|2|1"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|3|0"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|4|0"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|5|0"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|6|0"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|7|0"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|2|8|0"        lightTypes="0" intensity="2"/>
			<defaultLight shaderNode="0>1|1|9|3"        lightTypes="0" intensity="2"/>
        </defaultLights>
		
		<brakeLights>
		    <brakeLight shaderNode="0>0|0|0|7|0|2|2" intensity="10"/>
		    <brakeLight shaderNode="0>0|0|0|7|1|2|2" intensity="10"/>
		    <brakeLight shaderNode="0>0|0|1|7|0|2|2" intensity="10"/>
		    <brakeLight shaderNode="0>0|0|1|7|1|2|2" intensity="10"/>
        </brakeLights>
		
		<turnLights>
			<turnLightLeft shaderNode="0>0|0|0|7|0|2|0" intensity="30"/>
			<turnLightRight shaderNode="0>0|0|0|7|1|2|0" intensity="30"/>
			<turnLightLeft shaderNode="0>0|0|1|7|0|2|0" intensity="30"/>
			<turnLightRight shaderNode="0>0|0|1|7|1|2|0" intensity="30"/>
			<turnLightLeft shaderNode="0>1|1|2|0|0|0" intensity="2"/>
			<turnLightRight shaderNode="0>1|1|2|0|0|1" intensity="2"/>
			<turnLightLeft shaderNode="0>1|1|2|1|1" intensity="2"/>
			<turnLightRight shaderNode="0>1|1|2|2|1" intensity="2"/>
			<turnLightLeft shaderNode="0>1|0|2|4|1" intensity="2"/>
			<turnLightRight shaderNode="0>1|0|2|5|1" intensity="2"/>
        </turnLights>
		
		<beaconLights>
            <beaconLight node="0>1|0|1|0|3" speed="0.015" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml" />
		    <beaconLight node="0>1|0|1|0|4" speed="0.015" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml" />
		    <beaconLight node="0>1|0|1|3|6" speed="0.015" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml" />
			<beaconLight node="0>1|0|1|3|7" speed="0.015" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml" />
        </beaconLights>
		
		<dashboards>
            <dashboard displayType="emitter" valueType="turnLightLeft"  node="0>1|0|3|2|8|0|1"      baseColor="GREY" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="emitter" valueType="turnLightRight" node="0>1|0|3|2|8|0|2"     baseColor="GREY" emitColor="GREEN" groups="MOTOR_ACTIVE"/>			
			<dashboard displayType="emitter" valueType="turnLightAny"   node="0>1|0|3|2|8|1|0"          baseColor="GREY" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="emitter" valueType="turnLightLeft"  node="0>1|0|3|2|8|1|1"      baseColor="GREY" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="emitter" valueType="turnLightRight" node="0>1|0|3|2|8|1|2"     baseColor="GREY" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>1|0|3|2|8|2|0"         baseColor="GREY" emitColor="BIGBUD_BLUE1" intensity="2" lightTypes="1" excludedLightTypes="3" groups="MOTOR_ACTIVE"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>1|0|3|2|8|3|0"  baseColor="GREY" emitColor="YELLOW" intensity="2" lightTypes="2" excludedLightTypes="3" groups="MOTOR_ACTIVE"/>
		    <dashboard displayType="emitter" valueType="turnLightHazard" node="0>1|0|3|2|8|6|0"              baseColor="GREY" emitColor="RED" intensity="4" groups="MOTOR_ACTIVE"/>
			<dashboard displayType="EMITTER" valueType="cruiseControlActive" node="0>1|0|3|2|8|5|0"   baseColor="GREY"       emitColor="YELLOW" groups="MOTOR_ACTIVE"/>
		</dashboards>
	</lights>
	
	<enterable isTabbable="true" >
        <enterReferenceNode node="kamaz" />
        <exitPoint node="0>3|0" />

        <cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="40" translation="0 0 9" rotation="-20 180 0">
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
                <raycastNode node="cameraRaycastNode3"/>
            </camera>
            <camera node="0>1|0|10|0" rotatable="true" limit="true" useDefaultPositionSmoothing="false" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox" />
        </cameras>

        <characterNode node="playerSkin" cameraMinDistance="1.5" spineRotation="-90 0 90" >
            <target ikChain="rightFoot" targetNode="playerRightFootTargetGas" />
            <target ikChain="leftFoot"  targetNode="playerLeftFootTarget" />
            <target ikChain="rightArm"  targetNode="playerRightHandTarget" />
            <target ikChain="leftArm"   targetNode="playerLeftHandTarget" />
        </characterNode>

		<!-- <characterTargetNodeModifier node="playerRightFootTarget" transitionTime="0.1"> -->
            <!-- <state node="playerRightFootTargetGas" referenceNode="gasPedal" directionReferenceNode="playerRightFootTargetGasRef" /> -->
            <!-- <state node="playerRightFootTargetBrake" referenceNode="brakePedal" directionReferenceNode="playerRightFootTargetBrakeRef" /> -->
        <!-- </characterTargetNodeModifier> -->

        <mirrors>
            <mirror node="0>1|0|3|2|7|0|0" prio="1" />
            <mirror node="0>1|0|3|2|7|0|1" prio="1" />
            <mirror node="0>1|0|3|2|7|1|0" prio="1" />
            <mirror node="0>1|0|3|2|7|1|1" prio="1" />
        </mirrors>
    </enterable>
	
	<motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="91" fillType="diesel" />
				<consumer fillUnitIndex="2" usage="3.5" fillType="def" /> 
                <consumer fillUnitIndex="3" usage="225" fillType="air" permanentConsumption="false" refillLitersPerSecond="350" refillCapacityPercentage="0.5" /> <!-- usage per second at full brake power -->
            </consumerConfiguration>
        </consumerConfigurations>

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

		<motorConfigurations>
			<motorConfiguration name="5490" hp="500" price="0" >
				<motor torqueScale="2.594" minRpm="850" maxRpm="2500" maxForwardSpeed="90" maxBackwardSpeed="15" brakeForce="7" lowBrakeForceScale="0.22" rotInertia="0.004788">
                    <torque rpm="850" torque="0.9"/>
                    <torque rpm="1000" torque="1"/>
                    <torque rpm="1450" torque="1"/>
                    <torque rpm="1900" torque="0.75"/>
                    <torque rpm="2200" torque="0.63"/>
                    <torque rpm="2500" torque="0.2"/>
                </motor>
				
				<transmission autoGearChangeTime="0.5" gearChangeTime="0.4" axleRatio="10" startGearThreshold="1.0" name="$l10n_info_transmission_manual">
                    <directionChange useGear="true" useGroup="false" changeTime="0.5"/>

                    <forwardGear gearRatio="12.92"/>
                    <forwardGear gearRatio="9.98"/>
                    <forwardGear gearRatio="7.69"/>
                    <forwardGear gearRatio="5.94"/>
                    <forwardGear gearRatio="4.57"/>
                    <forwardGear gearRatio="3.53"/>
                    <forwardGear gearRatio="2.83"/>
                    <forwardGear gearRatio="2.19"/>
                    <forwardGear gearRatio="1.68"/>
                    <forwardGear gearRatio="1.30"/>
                    <forwardGear gearRatio="1.00"/>
                    <forwardGear gearRatio="0.77"/>
                    <backwardGear gearRatio="12.03" name="R1"/>
                    <backwardGear gearRatio="9.29" name="R2"/>
                    <backwardGear gearRatio="6.64" name="R3"/>
                    <backwardGear gearRatio="4.04" name="R4"/>
                </transmission>
				
			</motorConfiguration>
		</motorConfigurations>		
		
        <exhaustEffects>
            <exhaustEffect node="0>3|1" 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.05" maxRpmScale="0.5" />
        </exhaustEffects>
		
        <motorStartDuration>3000</motorStartDuration>
		 
		<dashboards>
            <dashboard displayType="ANIMATION" valueType="speed"            animName="speedDisplay"  minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="tempDisplay"  minValueAnim="0" maxValueAnim="90" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="rpm"              animName="rpmDisplay"  minValueAnim="500" maxValueAnim="2200" groups="MOTOR_ACTIVE"/>
        </dashboards>		
    </motorized>
	
	<drivable>
        <steeringWheel node="0>1|0|3|2|5|0" indoorRotation="360" outdoorRotation="25" />
    </drivable>
	
	<dashboard>
        <groups>
		    <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
		
		<default>
		    <dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|0"           baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|0|0"       baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|1"           baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|1|0"       baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|4"           baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
		    <dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|2"           baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|3"           baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|5"          baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|6"          baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|8"              baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|7"       baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
			<dashboard displayType="EMITTER" node="0>1|0|3|2|8|7|9"   baseColor="GREY" emitColor="RED" groups="MOTOR_STARTING" />
		</default>
	</dashboard>
	
	<foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-3.4" maxZ="3.4" yOffset="0.6" />
    </foliageBending>
	
	<ai>
        <agent width="2.65" length="7.25" height="3.75" lengthOffset="2.78" frontOffset="5.02" />
        <collisionTrigger node="0>3|2" width="3" height="4"/>
    </ai>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_capacityX" price="0" >
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="600">
					<exactFillRootNode node="0>1|2|0"/>
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
						<dashboard displayType="EMITTER"   valueType="fillLevelWarning" node="0>1|0|3|2|8|4|0" baseColor="GREY" emitColor="RED" intensity="1" warningThresholdMax="20" groups="MOTOR_ACTIVE"/>
					</fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="def" capacity="60"/>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="air" capacity="400"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<animations>
	    <animation name="speedDisplay">
            <part node="0>1|0|3|2|6|0|0|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -175" />
        </animation>
        <animation name="rpmDisplay">
            <part node="0>1|0|3|2|6|0|1|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -168" />
            <part node="0>1|0|3|2|6|0|2|0" startTime="0.1" endTime="0.3" startRot="0 0 0" endRot="0 0 -91" />
            <part node="0>1|0|3|2|6|0|3|0" startTime="0.1" endTime="0.3" startRot="0 0 0" endRot="0 0 91" />
        </animation>
        <animation name="fuelDisplay">
            <part node="0>1|0|3|2|6|0|5|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 91" />
        </animation>
		<animation name="tempDisplay">
             <part node="0>1|0|3|2|6|0|4|0" startTime="0.1" endTime="0.3" startRot="0 0 0" endRot="0 0 -50" />
        </animation>		
		<animation name="wiperFrontAnimation">
            <part node="0>1|0|7|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -2 -20"/>
			<part node="0>1|0|7|0" startTime="1" endTime="2" startRot="0 -2 -20" endRot="0 -6 -35"/>
			<part node="0>1|0|7|0" startTime="2" endTime="3" startRot="0 -6 -35" endRot="0 -8 -80"/>           
			<part node="0>1|0|7|1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -2 -20"/>
			<part node="0>1|0|7|1" startTime="1" endTime="2" startRot="0 -2 -20" endRot="0 -6 -35"/>
			<part node="0>1|0|7|1" startTime="2" endTime="3" startRot="0 -6 -35" endRot="0 -8 -80"/>
			<sound template="wiper1" startTime="0" endTime="1.0" direction="1"  volumeScale="0.6" pitchScale="0.9" fadeOut="0.1" linkNode="0>1|0|7|0"/>
            <sound template="wiper2" startTime="0" endTime="1.0" direction="-1" volumeScale="0.6" pitchScale="0.9" fadeOut="0.1" linkNode="0>1|0|7|1"/>
        </animation>
	</animations>
	
    <suspensions>
        <suspension node="0>1|0" weight="400" minRotation="-0.5 0 -0.5" maxRotation="0.5 0 0.5" suspensionParametersX="120 10" suspensionParametersZ="120 10" />
    </suspensions>

	<wipers>
        <wiper animName="wiperFrontAnimation" >
            <state animSpeed="0.75" animPause="2.0" />
            <state animSpeed="0.75" animPause="0.0" />
            <state animSpeed="1.10" animPause="0.0" />
        </wiper>
    </wipers>
	
    <attacherJoints comboDuration="2">	
	    <attacherJoint node="0>6|0" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0.8 125 15">
            <schema position="1 0" rotation="0" invertX="false" />
            <!-- <attachSound template="TRUCK_ATTACH_01" linkNode="0>" /> -->
        </attacherJoint>	
    </attacherJoints>
	
	<connectionHoses>
	    <target attacherJointIndices="1" type="electric" node="backElectric">
		    <objectChange node="cab" rotationActive="0 0 0" rotationInactive="-90 0 0"/>
		</target>
		<target attacherJointIndices="1" type="airDoubleRed" node="airDoubleStorage">
            <objectChange node="airDoubleStorageVis" rotationActive="90 0 0" rotationInactive="-95 0 0"/>
        </target>
        <target attacherJointIndices="1" type="airDoubleYellow" node="airDoubleControl">
            <objectChange node="airDoubleControlVis" rotationActive="90 0 0" rotationInactive="-95 0 0"/>
        </target>		
		 <target attacherJointIndices="1" type="hydraulicIn" node="hydraulic01_in">
            <objectChange node="hydraulic01_in_cover" rotationActive="0 90 0" rotationInactive="0 0 0"/>
        </target>
        <target attacherJointIndices="1" type="hydraulicOut" node="hydraulic01_out">
            <objectChange node="hydraulic01_out_cover" rotationActive="0 90 0" rotationInactive="0 0 0"/>
        </target>
	</connectionHoses>
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<designConfigurations title="$l10n_cabin">
	    <designConfiguration name="$l10n_low" price="0">
            <objectChange node="0>1|0|0|5"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|3|0|0"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|0|0"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|5"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|0"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|3|0|1"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|0|1"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|6"   visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
		<designConfiguration name="$l10n_high" price="2500">
		    <objectChange node="0>1|0|0|5"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|0|0"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|3|0|0"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|5"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|0"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|3|0|1"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|0|1"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|6"   visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
    </designConfigurations>
	
	<design2Configurations title="Спойлер">
		<design2Configuration name="$l10n_v1" price="0">
		    <objectChange node="0>1|0|1|3|0"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3|1"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|0|0"   visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
	    <design2Configuration name="$l10n_v2" price="100">
            <objectChange node="0>1|0|1|3|0"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3|1"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|0|0"   visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
		<design2Configuration name="$l10n_v3" price="100">
            <objectChange node="0>1|0|1|3|1"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|0|0"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3|0"   visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
		<design2Configuration name="$l10n_v4" price="100">
            <objectChange node="0>1|0|1|0|0"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3|1"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3|0"   visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
    </design2Configurations>
	
	<design3Configurations title="Стёкла">
		<design3Configuration name="$l10n_v1" price="0">
		    <objectChange node="0>1|0|3|3"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|3|4"   visibilityActive="false" visibilityInactive="true"/>
        </design3Configuration>
	    <design3Configuration name="$l10n_v2" price="100">
            <objectChange node="0>1|0|3|4"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|3|3"   visibilityActive="false" visibilityInactive="true"/>
        </design3Configuration>
    </design3Configurations>
	
	<design4Configurations title="Доп свет">
		<design4Configuration name="$l10n_v1" price="0">
			<objectChange node="0>1|0|1|0|1"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3|4"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|1|9"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|0|3"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|0|4"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3|6"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|0|1|3|7"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|1|6"   visibilityActive="false" visibilityInactive="true"/>
        </design4Configuration>
	    <design4Configuration name="$l10n_v2" price="100">
            <objectChange node="0>1|0|1|0|1"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3|4"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|1|6"   visibilityActive="true" visibilityInactive="false"/>
        </design4Configuration>		
		<design4Configuration name="$l10n_v3" price="100">
			<objectChange node="0>1|1|9"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|1|6"   visibilityActive="true" visibilityInactive="false"/>
        </design4Configuration>		
		<design4Configuration name="$l10n_v4" price="100">
            <objectChange node="0>1|0|1|0|3"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|0|4"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3|6"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3|7"   visibilityActive="true" visibilityInactive="false"/>
        </design4Configuration>		
		<design4Configuration name="$l10n_v5" price="100">
            <objectChange node="0>1|0|1|0|3"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|0|4"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3|6"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|0|1|3|7"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|1|9"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|1|6"   visibilityActive="true" visibilityInactive="false"/>
        </design4Configuration>
    </design4Configurations>
	
	<design5Configurations title="Декали">
		<design5Configuration name="$l10n_v1" price="0">
			<objectChange node="0>1|0|9"   visibilityActive="false" visibilityInactive="true"/>
        </design5Configuration>
	    <design5Configuration name="$l10n_v2" price="100">
            <objectChange node="0>1|0|9"   visibilityActive="true" visibilityInactive="false"/>
        </design5Configuration>
    </design5Configurations>
	
	<design6Configurations title="Тюнинг салона">
		<design6Configuration name="$l10n_v1" price="0">
			<objectChange node="0>1|0|6"   visibilityActive="false" visibilityInactive="true"/>
        </design6Configuration>
	    <design6Configuration name="$l10n_v2" price="100">
            <objectChange node="0>1|0|6"   visibilityActive="true" visibilityInactive="false"/>
        </design6Configuration>
    </design6Configurations>
	
	<design8Configurations title="Тюнинг рамы">
		<design8Configuration name="$l10n_v1" price="0">
			<objectChange node="0>1|1|8|0"   visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>1|1|8|2"   visibilityActive="false" visibilityInactive="true"/>
        </design8Configuration>
	    <design8Configuration name="$l10n_v2" price="100">
            <objectChange node="0>1|1|8|0"   visibilityActive="true" visibilityInactive="false"/>
        </design8Configuration>
		<design8Configuration name="$l10n_v3" price="100">
            <objectChange node="0>1|1|8|2"   visibilityActive="true" visibilityInactive="false"/>
        </design8Configuration>
		<design8Configuration name="$l10n_v3" price="100">
            <objectChange node="0>1|1|8|0"   visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>1|1|8|2"   visibilityActive="true" visibilityInactive="false"/>
        </design8Configuration>
    </design8Configurations>
	

	
	<baseColorConfigurations useDefaultColors="true">
	    <baseColorConfiguration name="$l10n_White"          color="0.643 0.646 0.646" price="0"/>
	    <baseColorConfiguration name="$l10n_YellowDahlia" color="0.8 0.3 0.02"/>
        <baseColorConfiguration name="$l10n_Blue"         color="0 0.117 0.41" price="0"/>
        <baseColorConfiguration name="$l10n_Orange"       color="0.7 0.1 0.019" price="0"/>
		<baseColorConfiguration name="$l10n_Orange"       color="0.8 0.07 0" price="0"/>
		<baseColorConfiguration name="$l10n_Cherry"        color="0.15 0.03 0.04" price="0"/>
		<baseColorConfiguration name="$l10n_Red"          color="0.46 0.037 0.03"  price="0"/>
		<baseColorConfiguration name="$l10n_Green"         color="0.03 0.15 0.07"  price="0"/>
		<baseColorConfiguration name="$l10n_Khaki"        color="0.128 0.107 0.042"  price="0"/>
		<baseColorConfiguration name="ITECO"        color="0.03 0.1 0.07"  price="0"/>

<material materialSlotName="cab_5490_mat"/>
	</baseColorConfigurations>
	

	
	<licensePlates defaultPlacement="BOTH">
        <licensePlate node="licensePlateFront" position="FRONT" preferedType="ELONGATED" placementArea="0.1 0.3 0.08 0.3"/>
        <licensePlate node="licensePlateBack"  position="BACK"  preferedType="ELONGATED" placementArea="0.08 0.28 0.15 0.28"/>
    </licensePlates>
	
	<i3dMappings>		
		<i3dMapping id="backElectric" node="0>4|2|0" />
		<i3dMapping id="airDoubleControl" node="0>4|3|0" />
		<i3dMapping id="airDoubleStorage" node="0>4|4|0" />
		<i3dMapping id="airDoubleControlVis" node="0>4|3|1" />
		<i3dMapping id="airDoubleStorageVis" node="0>4|4|1" />
		<i3dMapping id="cab" node="0>4|2|1" />
		<i3dMapping id="hydraulic01_in" node="0>4|0|0" />
		<i3dMapping id="hydraulic01_in_cover" node="0>4|0|1" />
		<i3dMapping id="hydraulic01_out" node="0>4|1|0" />
		<i3dMapping id="hydraulic01_out_cover" node="0>4|1|1" />		
		<i3dMapping id="outdoorCamera1" node="0>2|0|0" />
		<i3dMapping id="outdoorCameraTarget" node="0>2|0" />
		<i3dMapping id="cameraRaycastNode1" node="0>2|2" />
        <i3dMapping id="cameraRaycastNode2" node="0>2|3" />
        <i3dMapping id="cameraRaycastNode3" node="0>2|4" />
		<i3dMapping id="indoorCamera1" node="0>2|1" />
		<i3dMapping id="aiCollisionTrigger" node="0>3|2" />
		<i3dMapping id="kamaz" node="0>" />
		<i3dMapping id="shadowFocusBox" node="0>2|5" />
		<i3dMapping id="playerSkin" node="0>1|0|4|0|0" />
		<i3dMapping id="playerRightFootTargetGas" node="0>1|0|4|0|3" />
        <i3dMapping id="playerRightFootTargetBrake" node="0>1|0|4|0|4" />
        <i3dMapping id="playerLeftFootTarget" node="0>1|0|4|0|1" />
        <i3dMapping id="playerRightFootTarget" node="0>1|0|4|0|2" />
		<i3dMapping id="playerRightHandTarget" node="0>1|0|3|2|5|0|0" />
        <i3dMapping id="playerLeftHandTarget" node="0>1|0|3|2|5|0|1" />
		<i3dMapping id="licensePlateFront" node="0>0|0|4|0" />
		<i3dMapping id="licensePlateBack" node="0>0|0|4|1" />
    </i3dMappings>
</vehicle>
