<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Cat289D">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>289D</en></name>
        <specs>
            <power>85</power>
            <maxSpeed>20</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_skidsteer</function>
        </functions>
        <image>store.dds</image>
        <price>65000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CAT</brand>
        <category>skidSteerVehicles</category>
        <vertexBufferMemoryUsage>2685912</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>449844</indexBufferMemoryUsage>
        <textureMemoryUsage>20098072</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_telehandler</typeDesc>
        <filename>Cat289D.i3d</filename>
        <size width="2" length="3" lengthOffset="-0.2"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="3200" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <turnedOn name="DEFAULT_VEHICLE_ON"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
            <turnedOnSelected name="DEFAULT_VEHICLE_SELECTED_ON"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="10.0">
                    <wheel>
                        <physics rotSpeed="0.7" restLoad="1.8" repr="0>0|2|0" forcePointRatio="0.3" radius="0.2538" width="0.5" mass="0.2" initialCompression="05" suspTravel="0.1" spring="40" damper="50" frictionScale="2" tireType="crawler"/>
                    </wheel>
					<wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0.7" restLoad="1.8" repr="0>0|2|1" forcePointRatio="0.3" radius="0.2538" width="0.5" mass="0.2" initialCompression="05" suspTravel="0.1" spring="40" damper="50" frictionScale="2" tireType="crawler" tireTrackAtlasIndex="4"/>
                    </wheel>
					<wheel>
                        <physics rotSpeed="1.7" restLoad="1.8" repr="0>0|2|2" forcePointRatio="0.3" radius="0.2538" width="0.5" mass="0.2" initialCompression="05" suspTravel="0.1" spring="40" damper="50" frictionScale="2" tireType="crawler"/>
                    </wheel>
					<wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1.7" restLoad="1.8" repr="0>0|2|3" forcePointRatio="0.3" radius="0.2538" width="0.5" mass="0.2" initialCompression="05" suspTravel="0.1" spring="40" damper="50" frictionScale="2" tireType="crawler" tireTrackAtlasIndex="4"/>
                    </wheel>
                </wheels>
				<crawlers>
                    <crawler filename="tracks/Tracks.xml" linkNode="0>0|0" wheelIndex="3" isLeft="false"/>
                    <crawler filename="tracks/Tracks.xml" linkNode="0>0|1" wheelIndex="4" isLeft="true"/>
                </crawlers>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="50" rotMax="80" rotCenterWheel1="1" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
    <attacherJoints>
        <attacherJoint node="0>13|0|4|1" nodeVisual="0>13|0|4|1" jointType="skidSteer" 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>
        <sounds>
            <attach template="ATTACH_01" linkNode="Cat 289D_main_component1" />
            
        </sounds>
    </attacherJoints>
   <lights>
        <states>
            <state lightTypes="0" />
        </states>

        <realLights>
            <low>
                <light node="frontLightLow"   lightTypes="0 3"/>
                <light node="backLightsHigh1"   lightTypes="0 3"/>
            </low>
            <high>
                <light node="frontLightHigh"   lightTypes="0 3"/>
                <light node="backLightsHigh1"   lightTypes="0"/>
                <brakeLight node="backLightsHigh1" />
                <reverseLight node="reverseLight" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="backlightStatic" lightTypes="0 3"/>
            <defaultLight shaderNode="frontlightStatic" lightTypes="0 3"/>
            
        </defaultLights>

      

        <brakeLights>
            <brakeLight shaderNode="backlightStatic" />
        </brakeLights>

        <reverseLights>
            <reverseLight shaderNode="reverseLightStatic" />
        </reverseLights>

        <sounds>
            <switchLight template="SWITCH_01" linkNode="Cat 289D_main_component1" />
        </sounds>

        
    </lights>
	
	<tensionBeltObject>
		<meshNodes>
			<meshNode node="0>13|0|4|3|0"/>
			<meshNode node="0>9|23|0|0"/>
			<meshNode node="0>9|23|1|0"/>
			<meshNode node="0>9|23|2|0"/>
		</meshNodes>
	</tensionBeltObject>
	
	
    <enterable>
        <exitPoint node="0>2"/>
        <enterReferenceNode node="Cat 289D_main_component1"/>
        <characterNode node="0>4|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>4|1"/>
            <target ikChain="leftFoot" targetNode="0>4|2"/>
            <target ikChain="rightArm" targetNode="0>4|3"/>
            <target ikChain="leftArm" targetNode="0>4|4"/>
        </characterNode>
        <cameras>
            <camera node="0>1|0|0" rotatable="true" rotateNode="0>1|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3" transMax="25">
                <raycastNode node="0>1|2"/>
                <raycastNode node="0>1|3"/>
            </camera>
            <camera node="0>1|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    </enterable>
    <motorized>
        <motorConfigurations>
            <motorConfiguration name="$l10n_configuration_valueDefault" price="0">
                <motor torqueScale="0.385" minRpm="1000" maxRpm="2200" maxForwardSpeed="22" maxBackwardSpeed="20" brakeForce="2" lowBrakeForceScale="0.05" lowBrakeForceSpeedLimit="1" rotInertia="0.0005">
                    <torque normRpm="0.1" torque="0.35"/>
                    <torque normRpm="0.2" torque="0.65"/>
                    <torque normRpm="0.3" torque="0.85"/>
                    <torque normRpm="0.4" torque="1"/>
                    <torque normRpm="0.75" torque="0.75"/>
                    <torque normRpm="1" torque="0.65"/>
                </motor>
                <transmission minForwardGearRatio="28" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="2.6" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="2.6" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>5" filename="$data/particleSystems/shared/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" xzRotationsOffset="50 0" xzRotationsForward="-50 0" xzRotationsBackward="50 0" xzRotationsLeft="20 -50" xzRotationsRight="20 50"/>
        </exhaustEffects>
        <motorStartDuration>2000</motorStartDuration>
        <sounds externalSoundFile="$data/sounds/vehicles/engine/manitou_mlt737/manitou_mlt737.xml"/>
    </motorized>
    <cylindered>
        <movingTools>
            <movingTool node="0>12" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseSpeedFactor="0.6" iconName="CRANE_ARM2_ROTATE_TOOL"/>
                <rotation rotSpeed="13" rotAcceleration="120" rotMax="45" rotMin="-20"/>
                <attacherJoint jointIndices="1"/>
                <dependentPart node="0>13"/>
            </movingTool>
            <movingTool node="0>13|0|4" playSound="true">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM2_ROTATE_TOOL"/>
                <rotation rotSpeed="50" rotAcceleration="125" rotMax="90" rotMin="-50" syncMinRotLimits="true" syncMaxRotLimits="true"/>
                <attacherJoint jointIndices="1"/>
                <dependentPart node="0>13|0|1"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="0>13" referencePoint="0>12|0" localReferencePoint="0>13|0" referenceFrame="0>12|0">
                <dependentPart node="0>13|0"/>
                <dependentPart node="0>8|0"/>
            </movingPart>
            <movingPart node="0>13|0" referencePoint="0>12|0" referenceFrame="0>13|1" limitedAxis="1"/>
            <movingPart node="0>8|0" referencePoint="0>13|0|2" referenceFrame="0>13|0|2" limitedAxis="3">
                <translatingPart node="0>8|0|0"/>
            </movingPart>
            <movingPart node="0>13|0|1" referencePoint="0>13|0|4|0" referenceFrame="0>13|0|4|0" limitedAxis="1">
                <translatingPart node="0>13|0|1|1"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>9"/>
        </sounds>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="103" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/>
                    <fillUnit capacity="20" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
    <honk>
        <sound file="$data/sounds/vehicles/horn/train_horn_loop.ogg" innerRadius="10">
            <volume indoor="0.30" outdoor="1.00"/>
            <pitch outdoor="1.00"/>
            <lowpassGain indoor="0.75"/>
        </sound>
    </honk>
	 <i3dMappings>
        <i3dMapping id="Cat 289D_main_component1" node="0>" />
	 <!--Lights-->
	  <i3dMapping id="frontlightStatic" node="0>3|0|2" />
	   <i3dMapping id="backlightStatic" node="0>3|0|1" />
	   <i3dMapping id="reverseLightStatic" node="0>3|0|0" />
	   <!--Real Lights-->
	  <i3dMapping id="backLightsHigh1" node="0>14|0" />
	  <i3dMapping id="frontLightLow" node="0>14|2" />
	   <i3dMapping id="frontLightHigh" node="0>14|3" />
	    <i3dMapping id="reverseLight" node="0>14|1" />
	   
	   
	</i3dMappings>
    <!--Non converted elements:


<?xml version="1.0" encoding="utf-8" standalone="no"?>

<vehicle>
<crawlers>
<crawler index="0>0|0|0" speedRefNode="0>0|0|0" scrollSpeed="0.45" shaderParameterName="offsetUV" shaderParameterComponent="1" scrollLength="5">
<rotatingPart index="0>0|0|1" speedScale="1.4837"/>
<rotatingPart index="0>0|0|2" speedScale="1.4837"/>
<rotatingPart index="0>0|0|3" speedScale="1.4837"/>
<rotatingPart index="0>0|0|4" speedScale="1.4837"/>
<rotatingPart index="0>0|0|5" speedScale="1.4837"/>
<rotatingPart index="0>0|0|6" speedScale="1.4837"/>
<rotatingPart index="0>0|0|7" speedScale="1.4837"/>
<rotatingPart index="0>0|0|8" speedScale="1.4837"/>
</crawler>
<crawler index="0>0|1|0" speedRefNode="0>0|1|0" scrollSpeed="0.45" shaderParameterName="offsetUV" shaderParameterComponent="1" scrollLength="5">
<rotatingPart index="0>0|1|1" speedScale="1.4837"/>
<rotatingPart index="0>0|1|2" speedScale="1.4837"/>
<rotatingPart index="0>0|1|3" speedScale="1.4837"/>
<rotatingPart index="0>0|1|4" speedScale="1.4837"/>
<rotatingPart index="0>0|1|5" speedScale="1.4837"/>
<rotatingPart index="0>0|1|6" speedScale="1.4837"/>
<rotatingPart index="0>0|1|7" speedScale="1.4837"/>
<rotatingPart index="0>0|1|8" speedScale="1.4837"/>
</crawler>
</crawlers>
<lights>
<states>
0 1</states>
</lights>
<gearboxSound filefile="$data/vehicles/steerable/jcb/jcbTM320s_transmission.wav"/>
<aiTrafficCollisionTrigger index="0>10"/>
</vehicle>

-->
</vehicle>
