<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="teleHandler">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>Cat Telehandler KILOUTOU</en></name>
        <specs>
            <power>145</power>
        </specs>
        <functions>
            <function>$l10n_function_telehandler</function>
        </functions>
        <image>store.png</image>
        <price>58300</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CAT</brand>
        <category>RENTAL</category>
		<shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>3268276</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>610866</indexBufferMemoryUsage>
        <textureMemoryUsage>20284024</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
    <base>
        <filename>CAT/CAT536_70.i3d</filename>
        <size width="3.5" length="7"/>
        <components>
            <component centerOfMass="0 0.67 -0.7" solverIterationCount="10" mass="5500" />
            <component centerOfMass="0 0 0" solverIterationCount="30" mass="500" />
            <component centerOfMass="0 0 0" solverIterationCount="20" mass="500" />
            <joint component1="1" component2="2" node="0>25|6|0" rotLimit="0 0 60" transLimit="0 0 0" breakable="false"/>
            <joint component1="1" component2="3" node="0>25|7|0" rotLimit="0 0 60" transLimit="0 0 0" breakable="false"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
	
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="5">
                    <wheel hasTireTracks="false" hasParticles="true" rotMin="-35" rotMax="35">
                        <physics rotSpeed="50" restLoad="1.0" repr="0>0" driveNode="0>0|0|0" forcePointRatio="0.2" radius="0.651" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="2"/>
                        <fender node="0>0|2" rotMax="38"/>
						<tire tireTrackAtlasIndex="1" />
                    </wheel>
                    <wheel hasTireTracks="false" hasParticles="true" rotMin="-35" rotMax="35">
                        <physics rotSpeed="50" restLoad="1.0" repr="0>1" driveNode="0>1|0|0" forcePointRatio="0.2" radius="0.651" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="2"/>
                        <fender node="0>1|2"/>
						<tire tireTrackAtlasIndex="1" />
                    </wheel>
                    <wheel hasTireTracks="false" hasParticles="true" rotMin="-35" rotMax="35">
                        <physics rotSpeed="50" restLoad="3.3" repr="0>2" driveNode="0>2|0|0" forcePointRatio="0.3" radius="0.651" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="2"/>
						<tire tireTrackAtlasIndex="1" />
                    </wheel>
                    <wheel hasTireTracks="false" hasParticles="true" rotMin="-35" rotMax="35">
                        <physics rotSpeed="50" restLoad="3.3" repr="0>3" driveNode="0>3|0|0" forcePointRatio="0.3" radius="0.651" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="2"/>
						<tire tireTrackAtlasIndex="1" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
		
		<ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="35" rotMax="45" rotCenter="0 0.28" />
        </ackermannSteeringConfigurations>
    </wheels>
	
    <speedRotatingParts>
        <speedRotatingPart node="0>21|0" wheelIndex="3" wheelScale="2"/>
        <speedRotatingPart node="0>22|0" wheelIndex="3" wheelScale="2"/>
        <speedRotatingPart node="0>23|0" wheelIndex="3" wheelScale="-2"/>
    </speedRotatingParts>
	
    <attacherJoints comboDuration="2">
        <attacherJoint node="0>11" jointType="trailer" lowerRotLimit="20 85 85" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>12|0|0|0|2" jointType="telehandler" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5" allowsJointLimitMovement="false" allowsLowering="false">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint node="0>36" jointType="trailerLow" lowerRotLimit="10 50 50" upperRotationOffset="0" allowsJointLimitMovement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" />
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>" />
        </sounds>
    </attacherJoints>
	
    <lights>
		<states>
            <state lightTypes="0" />
			<state lightTypes="0 1" />
			<state lightTypes="0 1 2" />
        </states>
        <realLights>
            <low>
                <light node="0>20|0|0" lightTypes="0"/>
				<light node="0>12|1|2" lightTypes="1"/>
				<light node="0>20|1|0" lightTypes="2"/>
				<reverseLight node="0>20|1|2" />
            </low>
            <high>
                <light node="0>20|0|0" lightTypes="0"/>
                <light node="0>12|1|2" lightTypes="1"/>
				<light node="0>20|1|0" lightTypes="2"/>
				<reverseLight node="0>20|1|2" />
            </high>
        </realLights>
		
		<defaultLights>
            <defaultLight shaderNode="0>20|0|1|0"   lightTypes="0" intensity="50"/>
			<defaultLight shaderNode="0>12|1|0" 	lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>20|1|1|1"   lightTypes="2" intensity="50"/>
        </defaultLights>

        <turnLights>
            <turnLightLeft shaderNode="0>20|2|0|0"  intensity="50"/>
			<turnLightRight shaderNode="0>20|2|1|0"  intensity="50"/>
		</turnLights>

        <brakeLights>
            <brakeLight shaderNode="0>20|3|0"  intensity="100"/>
        </brakeLights>

        <reverseLights>
            <reverseLight shaderNode="0>20|1|1|2"  intensity="100"/>
        </reverseLights>
		
        <beaconLights>
            <beaconLight node="0>25|5|0" filename="$data/shared/assets/beaconLights/lizard/beaconLight05.xml"/>
        </beaconLights>
		
		<sounds>
            <switchLight template="SWITCH_01" linkNode="0>" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>" />
        </sounds>
    </lights>
	
    <enterable>
        <exitPoint node="0>9"/>
        <enterReferenceNode node="0>9"/>
        <characterNode node="0>15|0" cameraMinDistance="0" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>15|1"/>
            <target ikChain="leftFoot" targetNode="0>15|2"/>
            <target ikChain="rightArm" targetNode="0>15|3"/>
            <target ikChain="leftArm" targetNode="0>10|0|0"/>
        </characterNode>
        <cameras>
            <camera node="0>4|0" rotatable="true" rotateNode="0>4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35" rotYSteeringRotSpeed="22.5">
                <raycastNode node="0>6"/>
                <raycastNode node="0>7"/>
                <raycastNode node="0>8"/>
            </camera>
            <camera node="5" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
        <mirrors>
            <mirror node="0>25|0|0" prio="1"/>
            <mirror node="0>25|0|1" prio="1"/>
            <mirror node="0>25|0|2" prio="1"/>
        </mirrors>
		<dashboards>
            <dashboard displayType="NUMBER" valueType="operatingTime" numbers="0>25|2|2" numberColor="0.2 0.2 0.2 1" precision="1" groups="MOTOR_ACTIVE"/>
			<dashboard displayType="NUMBER" valueType="time"          numbers="0>25|2|1" numberColor="0.2 0.2 0.2 1" precision="2" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </enterable>
	
	<dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
	</dashboard>
	
    <motorized>
		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="38"  fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="3.0" fillType="def" />     <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>
		
        <motorConfigurations>
            <motorConfiguration>
                <motor torqueScale="0.61" minRpm="1000" maxRpm="2200" maxBackwardSpeed="20" brakeForce="7" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1">
                    <torque normRpm="0.45" torque="0.9"/>
                    <torque normRpm="0.5" torque="0.97"/>
                    <torque normRpm="0.59" torque="1"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="0.86" torque="0.88"/>
                    <torque normRpm="1" torque="0.72"/>
                </motor>
                <transmission minForwardGearRatio="20" maxForwardGearRatio="130" minBackwardGearRatio="42" maxBackwardGearRatio="130"/>
            </motorConfiguration>
        </motorConfigurations>
		
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.7" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.7" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
		
        <exhaustEffects>
            <exhaustEffect node="0>19" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.5 0.5 0.5 5" maxRpmColor="0 0 0 10" minRpmScale="0.05" maxRpmScale="0.4" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        </exhaustEffects>
		
        <motorStartDuration>3500</motorStartDuration>
		
		<dashboards>
            <dashboard displayType="NUMBER" valueType="rpm"   numbers="0>25|2|4"  numberColor="0.2 0.2 0.2 1" precision="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="NUMBER" valueType="speed" numbers="0>25|2|3"  numberColor="0.2 0.2 0.2 1" precision="0" groups="MOTOR_ACTIVE"/>
        </dashboards>
		
        <sounds externalSoundFile="$data/sounds/vehicles/engine/manitou_mlt737/manitou_mlt737.xml" />
    </motorized>
	
    <drivable>
        <steeringWheel node="0>10|0" indoorRotation="40" outdoorRotation="40"/>
    </drivable>
	
    <animations>
        <animation name="fuelDisplay">
            <part node="0>25|2|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 113"/>
        </animation>
    </animations>
	
	<crabSteering>
        <steeringMode name="action_steeringModeAllWheel" >
            <wheel index="1" offset="0" />
            <wheel index="2" offset="0" />
            <wheel index="3" offset="0" />
            <wheel index="4" offset="0" />
        </steeringMode>
        <steeringMode name="action_steeringModeFrontWheel" >
            <wheel index="1" offset="0" locked="false" />
            <wheel index="2" offset="0" locked="false" />
            <wheel index="3" offset="0" locked="true" />
            <wheel index="4" offset="0" locked="true" />
        </steeringMode>
        <steeringMode name="action_steeringModeCrabLeft" >
            <wheel index="1" offset="15" />
            <wheel index="2" offset="15" />
            <wheel index="3" offset="15" />
            <wheel index="4" offset="15" />
        </steeringMode>
        <steeringMode name="action_steeringModeCrabRight" >
            <wheel index="1" offset="-15" />
            <wheel index="2" offset="-15" />
            <wheel index="3" offset="-15" />
            <wheel index="4" offset="-15" />
        </steeringMode>
    </crabSteering>
	
    <cylindered>
        <movingTools>
            <!--movingTool node="0>26" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="1.2" iconName="CRANE_ARM2_ROTATE_X" />
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="0.5" rotMin="-60"/>
                <dependentMovingTool node="0>26|0|0|0" rotSpeedScale="-1"/>
                <attacherJoint jointIndices="1 2 3"/>
            </movingTool>
            <movingTool node="0>26|0" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM2" invertAxis="true" mouseSpeedFactor="1.2" iconName="CRANE_ARM2_TRANSLATE" />
                <translation transSpeed="1.5" transAcceleration="30" transMax="3" transMin="0" translationAxis="3"/>
                <attacherJoint jointIndices="1 2 3"/>
            </movingTool>
            <movingTool node="0>26|0|0" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM2" invertAxis="true" mouseSpeedFactor="1.2" iconName="CRANE_ARM2_TRANSLATE" />
                <translation transSpeed="1.5" transAcceleration="30" transMax="3" transMin="0" translationAxis="3"/>
                <attacherJoint jointIndices="1 2 3"/>
            </movingTool>
            <movingTool node="0>26|0|0|0" playSound="true">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" mouseSpeedFactor="1.2" iconName="CRANE_ARM2_ROTATE_TOOL" />
                <rotation rotSpeed="60" rotAcceleration="200" rotMax="130" rotMin="-20"/>
                <attacherJoint jointIndices="1 2 3"/>
            </movingTool-->
            <movingTool node="0>12" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="1.2" iconName="CRANE_ARM2_ROTATE_X" />
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="0.5" rotMin="-60"/>
                <dependentMovingTool node="0>12|0|0|0" rotSpeedScale="-1"/>
                <attacherJoint jointIndices="2"/>
                <dependentPart node="0>13"/>
                <dependentPart node="0>14"/>
            </movingTool>
            <movingTool node="0>12|0" playSound="true">
                <controls axis="AXIS_CRANE_ARM4" invertAxis="true" mouseSpeedFactor="1.2" iconName="CRANE_ARM2_TRANSLATE" />
                <translation transSpeed="1.5" transAcceleration="30" transMax="3" transMin="0" translationAxis="3"/>
                <attacherJoint jointIndices="2"/>
				<dependentMovingTool node="0>12|0|0" speedScale="1" />
            </movingTool>
            <movingTool node="0>12|0|0" playSound="true">
                <translation transSpeed="1.5" transAcceleration="30" transMax="3" transMin="0" translationAxis="3"/>
                <attacherJoint jointIndices="2"/>
            </movingTool>
            <movingTool node="0>12|0|0|0" playSound="true">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="1.2" iconName="CRANE_ARM2_ROTATE_TOOL" />
                <rotation rotSpeed="60" rotAcceleration="200" rotMax="130" rotMin="-20"/>
                <attacherJoint jointIndices="2"/>
                <dependentPart node="0>12|0|0|1"/>
            </movingTool>
            <movingTool node="0>25|6" playSound="true" >
                <rotation rotSpeed="-100" rotAcceleration="125" rotMax="105" rotMin="0" rotationAxis="3"/>
				<componentJoint index="1" anchorActor="0"/>
			</movingTool>

            <!-- arm end -->
            <movingTool node="0>25|7" playSound="true" >
				<controls axis="AXIS_CRANE_TOOL" invertAxis="true" mouseSpeedFactor="1" iconName="GRABBER_OPEN_CLOSE" />
                <rotation rotSpeed="100" rotAcceleration="125" rotMax="0" rotMin="-105" rotationAxis="3"/>
				<componentJoint index="2" anchorActor="0"/>
				<dependentMovingTool node="0>25|6" speedScale="1" />
            </movingTool>
        </movingTools>
		
        <movingParts>
            <movingPart node="0>12|0|0|1" referencePoint="0>12|0|0|0|0" localReferencePoint="0>12|0|0|1|0" referenceFrame="0>12|0|0|0|1">
				<attacherJoint jointIndices="2"/>
                <dependentPart node="0>12|0|0|1|0"/>
                <dependentPart node="0>12|0|0|2"/>
            </movingPart>
            <movingPart node="0>12|0|0|1|0" referencePoint="0>12|0|0|0|0" referenceFrame="0>" scaleZ="true">
				<attacherJoint jointIndices="2"/>
			</movingPart>
            <movingPart node="0>12|0|0|2" referencePoint="0>12|0|0|1|1" referenceFrame="0>12|0|0|3">
                <translatingPart node="0>12|0|0|2|0"/>
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>13" referencePoint="0>12|2" referenceFrame="0>12">
				<attacherJoint jointIndices="2"/>
                <translatingPart node="0>13|0"/>
            </movingPart>
            <movingPart node="0>14" referencePoint="0>12|3" referenceFrame="0>">
				<attacherJoint jointIndices="2"/>
                <translatingPart node="0>14|0"/>
            </movingPart>
            <movingPart node="0>21|0|0" referencePoint="0>22|0|0" referenceFrame="0>21|0" isActiveDirty="true" limitedAxis="2" playSound="false">
                <dependentPart node="0>21|0|0|0"/>
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>21|0|0|0" referencePoint="0>22|0|0" referenceFrame="0>21|0" limitedAxis="1" playSound="false">
                <dependentPart node="0>21|0|0|0|0"/>
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>21|0|0|0|0" referencePoint="0>22|0" referenceFrame="0>21|0" limitedAxis="2" playSound="false">
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>23|0|0" referencePoint="0>22|0|1" referenceFrame="0>23|0" isActiveDirty="true" limitedAxis="2" playSound="false">
                <dependentPart node="0>23|0|0|0"/>
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>23|0|0|0" referencePoint="0>22|0|1" referenceFrame="0>23|0" limitedAxis="1" playSound="false">
                <dependentPart node="0>23|0|0|0|0"/>
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>23|0|0|0|0" referencePoint="0>22|0" referenceFrame="0>23|0" limitedAxis="2" playSound="false">
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>12|0|0|4" referencePoint="0>12|0|0|0" referenceFrame="0>12">
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>0|1" referencePoint="0>16|0" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false">
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>1|1" referencePoint="0>16|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false">
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>2|1" referencePoint="0>17|0" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false">
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>3|1" referencePoint="0>17|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false">
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>25|8" referencePoint="0>25|6|1" referenceFrame="0>25|6|1" isActiveDirty="true">
                <translatingPart node="0>25|8|0"/>
				<attacherJoint jointIndices="2"/>
            </movingPart>
            <movingPart node="0>25|9" referencePoint="0>25|7|1" referenceFrame="0>25|7|1" isActiveDirty="true">
                <translatingPart node="0>25|9|0"/>
				<attacherJoint jointIndices="2"/>
            </movingPart>
        </movingParts>
		
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="880">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
					<fillUnit capacity="33" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="air" capacity="5000"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-1.8" maxZ="2.35" yOffset="0.6" />
    </foliageBending>
	
    <honk>
        <sound file="sounds/jcb_horn.wav" innerRadius="10">
            <volume outdoor="1"/>
        </sound>
    </honk>
	
    <ai>
        <collisionTrigger node="0>18"/>
    </ai>
</vehicle>
