<?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>1770 CX50</en></name>
        <specs>
            <power>40</power>
            <maxSpeed>23</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>Storeiteme/store_1770cx50.dds</image>
        <price>68000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>WEIDEMANN</brand>
        <category>frontLoaderVehicles</category>
        <shopTranslationOffset>0 -0.03 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>4867384</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1459416</indexBufferMemoryUsage>
        <textureMemoryUsage>40589488</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_telehandler</typeDesc>
        <filename>1770_cx50.i3d</filename>
        <size width="2" length="4"/>
        <components count="2">
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1536"/>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1836"/>
            <joint component1="1" component2="2" node="joint" rotLimit="0 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="1">
                    <wheel filename="$data/shared/wheels/trelleborg/TM600/280_85R20.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelFrontLeft" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="30" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM600/280_85R20.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelFrontRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="30" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM600/280_85R20.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelBackLeft" forcePointRatio="0.5" initialCompression="40" suspTravel="0.15" spring="25" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM600/280_85R20.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="40" suspTravel="0.15" spring="25" damper="40"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="0">
                <wheels autoRotateBackSpeed="1">
                    <wheel filename="wheels/560_60R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelFrontLeft" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="30" damper="40"/>
                    </wheel>
                    <wheel filename="wheels/560_60R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelFrontRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="30" damper="40"/>
                    </wheel>
                    <wheel filename="wheels/560_60R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelBackLeft" forcePointRatio="0.5" initialCompression="40" suspTravel="0.15" spring="25" damper="40"/>
                    </wheel>
                    <wheel filename="wheels/560_60R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.9" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="40" suspTravel="0.15" spring="25" damper="40"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <hubs>
            <color0>0.1 0.1 0.1 0</color0>
            <hub linkNode="wheelFrontLeft" filename="$data/shared/wheels/hubs/hub_n8_4.xml" isLeft="true" scale="0.285 0.285 0.285"/>
            <hub linkNode="wheelFrontRight" filename="$data/shared/wheels/hubs/hub_n8_4.xml" isLeft="false" scale="0.285 0.285 0.285"/>
            <hub linkNode="wheelBackLeft" filename="$data/shared/wheels/hubs/hub_n8_4.xml" isLeft="true" scale="0.285 0.285 0.285"/>
            <hub linkNode="wheelBackRight" filename="$data/shared/wheels/hubs/hub_n8_4.xml" isLeft="false" scale="0.285 0.285 0.285"/>
        </hubs>
        <axisColor useBaseColor="true"/>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="10" rotMax="40" rotCenter="0 0"/>
        </ackermannSteeringConfigurations>
    </wheels>
    <designConfigurations>
        <designConfiguration name="Grau">
            <objectChange node="0>12|0|4" visibilityActive="true"/>
            <objectChange node="0>12|0|5" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration name="Rot" price="0">
            <objectChange node="0>12|0|4" visibilityActive="false"/>
            <objectChange node="0>12|0|5" visibilityActive="true"/>
        </designConfiguration>
    </designConfigurations>
    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="13" fillType="diesel"/>
                <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="2.2" wheelIndex1="1" wheelIndex2="2"/>
                    <!-- middle left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4"/>
                    <!-- back left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" differentialIndex1="1" differentialIndex2="2"/>
                    <!-- front-'back' -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <motorConfigurations>
            <motorConfiguration name="Weidemann 1770 cx50" price="0" hp="40">
                <motor torqueScale="0.217" minRpm="1000" maxRpm="2200" maxForwardSpeed="28" maxBackwardSpeed="28" brakeForce="3" 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>
        <exhaustEffects>
            <exhaustEffect node="exhaustParticles" 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="0 -180" xzRotationsRight="0 180"/>
        </exhaustEffects>
        <motorStartDuration>1500</motorStartDuration>
        <sounds externalSoundFile="$data/sounds/vehicles/engine/kramer_kl35_8t/kramer_kl35_8t.xml"/>
    </motorized>
    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01"/>
        </sounds>
        <steeringWheel node="steeringWheel" indoorRotation="540" outdoorRotation="50"/>
    </drivable>
    <enterable isTabbable="true">
        <exitPoint node="exitPoint"/>
        <enterReferenceNode node="1770cx50_back"/>
        <cameras count="2">
            <camera node="outdoorCamera" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" rotYSteeringRotSpeed="27.5" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="5" transMax="35">
                <raycastNode node="raycastNode1"/>
                <raycastNode node="raycastNode2"/>
                <raycastNode node="raycastNode3"/>
                <raycastNode node="raycastNode4"/>
            </camera>
            <camera node="indoorCamera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
        <characterNode node="player_skin" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="-90 0 95">
            <target ikChain="rightFoot" targetNode="player_rightFoot"/>
            <target ikChain="leftFoot" targetNode="player_leftFoot"/>
            <target ikChain="rightArm" targetNode="player_rightHand"/>
            <target ikChain="leftArm" targetNode="player_leftArm" setDirty="true"/>
        </characterNode>
    </enterable>
    <lights>
        <realLights>
            <high>
                <!--defaultLights-->
                <light node="0>4|1|0" lightTypes="0" excludedLightTypes="2 3"/>
                <light node="0>4|1|1" lightTypes="0"/>
                <light node="1>4|7|0" lightTypes="1"/>
                <!--worklightsBack-->
                <light node="0>4|0|0|0" lightTypes="2"/>
                <light node="0>4|0|0|1" lightTypes="2"/>
                <light node="0>4|1|0" lightTypes="0"/>
                <light node="0>4|1|1" lightTypes="0"/>
                <brakeLight node="0>4|3|0"/>
                <brakeLight node="0>4|3|1"/>
                <turnLightLeft node="0>4|2|0|0"/>
                <turnLightRight node="0>4|2|1|0"/>
            </high>
        </realLights>
        <sharedLight linkNode="0>12|0|7" filename="$data/shared/assets/lights/lizard/rear2ChamberLight_03_left.xml"/>
        <sharedLight linkNode="0>12|0|8" filename="$data/shared/assets/lights/lizard/rear2ChamberLight_03_right.xml"/>
        <sharedLight linkNode="0>12|0|9" filename="$data/shared/assets/lights/lizard/workingLightSquare_01.xml"/>
        <sharedLight linkNode="0>12|0|10" filename="$data/shared/assets/lights/lizard/workingLightSquare_01.xml"/>
        <sharedLight linkNode="1>4|10" filename="xml/workingLightSquare_01.xml"/>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
            <state lightTypes="0 1 2 3"/>
        </states>
    </lights>
    <ai>
        <collisionTrigger node="trafficCollisionTrigger"/>
    </ai>
    <attacherJoints comboDuration="2">
        <attacherJoint node="toolAttacher" visualNode="attacherVisual" jointType="frontloader" rootNode="1770cx50_front" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint node="trailerAttacherJoint" jointType="trailer" rootNode="1770cx50_back" lowerRotLimit="20 85 85" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="1770cx50_front"/>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="1770cx50_front"/>
        </sounds>
    </attacherJoints>
    <speedRotatingParts>
        <speedRotatingPart node="1drivingShaft" rotationAxis="0" wheelIndex="1"/>
    </speedRotatingParts>
    <animations>
        <animation name="Buegel">
            <part node="0>12|0|1" startTime="0" endTime="1" startRot="0 0 0" endRot="-90 0 0"/>
        </animation>
    </animations>
    <simpleIC outsideInteractionTrigger="0>12|0|11">
        <animation animationName="Buegel" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5">
            <insideTrigger triggerPoint="0>12|0|12" triggerPointSize="0.04"/>
            <outsideTrigger triggerPoint="0>12|0|1|1" triggerPointSize="0.04"/>
        </animation>
    </simpleIC>
    <cylindered>
        <movingTools>
            <movingTool node="1>10" delayedNode="1>4" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true"/>
                <rotation rotSpeed="25" rotAcceleration="125" rotMax="10" rotMin="-87"/>
                <dependentMovingTool node="1>10|0" minRotLimits="-17 20" maxRotLimits="120 135" rotSpeedScale="-1"/>
                <attacherJoint jointIndices="1"/>
            </movingTool>
            <movingTool node="1>10|0" delayedNode="1>4|1" playSound="true">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true"/>
                <rotation rotSpeed="50" rotAcceleration="225" rotMax="130" rotMin="-20" startRot="0" syncMinRotLimits="true" syncMaxRotLimits="true"/>
                <attacherJoint jointIndices="1"/>
            </movingTool>
            <movingTool node="1>4">
                <dependentPart node="1>5"/>
                <dependentPart node="1>6"/>
            </movingTool>
            <movingTool node="1>4|1">
                <dependentPart node="1>4|2"/>
                <dependentPart node="1>4|4"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="1>5" referencePoint="1>4|0" referenceFrame="1>4|0">
                <translatingPart node="1>5|0"/>
            </movingPart>
            <movingPart node="0>11" referencePoint="1>8" referenceFrame="1>8" isActiveDirty="true">
                <translatingPart node="0>11|0"/>
            </movingPart>
            <movingPart node="0>10" referencePoint="1>9" referenceFrame="1>9" isActiveDirty="true" scaleZ="true"/>
            <movingPart node="1>4|2" referencePoint="1>4|1|1" localReferencePoint="1>4|2|0" referenceFrame="1>4|3">
                <dependentPart node="1>4|2|0"/>
            </movingPart>
            <movingPart node="1>4|2|0" referencePoint="1>4|1|1" referenceFrame="1>4|1|1"/>
            <movingPart node="1>4|4" referencePoint="1>4|2|3" localReferencePoint="1>4|4|0" referenceFrame="1>4|5">
                <dependentPart node="1>4|4|0"/>
                <dependentPart node="1>6"/>
            </movingPart>
            <movingPart node="1>4|4|0" referencePoint="1>4|2|3" referenceFrame="1>4|4|3"/>
            <movingPart node="1>6" referencePoint="1>4|4|2" referenceFrame="1>4|4">
                <translatingPart node="1>6|0"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND">
                <volume indoor="0.20" outdoor="0.55"/>
                <pitch outdoor="0.85"/>
                <lowpassGain indoor="0.65"/>
            </hydraulic>
        </sounds>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="53"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <honk>
        <sound template="HONK_KRAMER" linkNode="1770cx50_back"/>
    </honk>
    <articulatedAxis componentJointIndex="1" anchorActor="0" rotSpeed="40" rotMax="40" rotMin="-40"/>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="1770cx50_back" node="0>"/>
        <i3dMapping id="wheelBackLeft" node="0>0"/>
        <i3dMapping id="hubBackLeft" node="0>0|0"/>
        <i3dMapping id="wheelBackRight" node="0>1"/>
        <i3dMapping id="hubBackRight" node="0>1|0"/>
        <i3dMapping id="outdoorCameraTarget" node="0>2|0"/>
        <i3dMapping id="outdoorCamera" node="0>2|0|0"/>
        <i3dMapping id="indoorCamera" node="0>2|1"/>
        <i3dMapping id="raycastNode1" node="0>2|2"/>
        <i3dMapping id="raycastNode2" node="0>2|3"/>
        <i3dMapping id="raycastNode3" node="0>2|4"/>
        <i3dMapping id="raycastNode4" node="1>2"/>
        <i3dMapping id="exitPoint" node="0>3"/>
        <i3dMapping id="workLightHigh1" node="0>4|0|0|1"/>
        <i3dMapping id="workLightHigh2" node="0>4|0|0|2"/>
        <i3dMapping id="workLightHigh3" node="0>4|0|1|1"/>
        <i3dMapping id="workLightHigh4" node="0>4|0|1|2"/>
        <i3dMapping id="workLightHigh5" node="1>4|7|1"/>
        <i3dMapping id="backLightsHigh1" node="0>4|1|1"/>
        <i3dMapping id="backLightsHigh2" node="0>4|1|2"/>
        <i3dMapping id="backLightsHigh3" node="0>4|3|1"/>
        <i3dMapping id="dash" node="0>4|4"/>
        <i3dMapping id="steeringWheel" node="0>5|0"/>
        <i3dMapping id="player_leftArm" node="0>5|0|0"/>
        <i3dMapping id="steeringWheelDecal" node="0>5|0|1"/>
        <i3dMapping id="player_skin" node="0>6|0"/>
        <i3dMapping id="player_rightFoot" node="0>6|1"/>
        <i3dMapping id="player_leftFoot" node="0>6|2"/>
        <i3dMapping id="player_rightHand" node="0>6|3"/>
        <i3dMapping id="exhaustParticles" node="0>7"/>
        <i3dMapping id="joint" node="0>8"/>
        <i3dMapping id="trailerAttacherJoint" node="0>9"/>
        <i3dMapping id="drivingShaft" node="0>10|0|0|0"/>
        <i3dMapping id="steeringHyd" node="0>11"/>
        <i3dMapping id="Zyl1" node="0>11|0"/>
        <i3dMapping id="back" node="0>12|0"/>
        <i3dMapping id="decals" node="0>12|2"/>
        <i3dMapping id="fenderBackLeft" node="0>12|3"/>
        <i3dMapping id="fenderBackRight" node="0>12|4"/>
        <i3dMapping id="wheelFrontLeft" node="1>0"/>
        <i3dMapping id="hubFrontLeft" node="1>0|0"/>
        <i3dMapping id="wheelFrontRight" node="1>1"/>
        <i3dMapping id="hubFrontRight" node="1>1|0"/>
        <i3dMapping id="lights" node="1>3"/>
        <i3dMapping id="mainArmHyd" node="1>4|0"/>
        <i3dMapping id="toolPlate" node="1>4|1"/>
        <i3dMapping id="attacherVisual" node="1>4|1|0"/>
        <i3dMapping id="pKinRef1" node="1>4|1|1"/>
        <i3dMapping id="pKinRef2" node="1>4|2|1"/>
        <i3dMapping id="pKinRef3" node="1>4|2|3"/>
        <i3dMapping id="pPole" node="1>4|2|0"/>
        <i3dMapping id="pKin" node="1>4|2"/>
        <i3dMapping id="pKinFrame" node="1>4|3"/>
        <i3dMapping id="zPole" node="1>4|4|0|0"/>
        <i3dMapping id="zKin" node="1>4|4"/>
        <i3dMapping id="zHydRef" node="1>4|4|2"/>
        <i3dMapping id="zFrame" node="1>4|4|3"/>
        <i3dMapping id="zKinFrame" node="1>4|5"/>
        <i3dMapping id="decals1" node="1>4|6"/>
        <i3dMapping id="mainArmHydraulic" node="1>5"/>
        <i3dMapping id="Zyl3" node="1>5|0"/>
        <i3dMapping id="zHyd" node="1>6"/>
        <i3dMapping id="Zyl2" node="1>6|0"/>
        <i3dMapping id="trafficCollisionTrigger" node="1>7"/>
        <i3dMapping id="steeringHydRef" node="1>8"/>
        <i3dMapping id="drivingShaftRef" node="1>9"/>
        <i3dMapping id="mainArmDummy" node="1>10"/>
        <i3dMapping id="toolPlateDummy" node="1>10|0"/>
        <i3dMapping id="toolAttacher" node="1>10|0|0"/>
        <i3dMapping id="pKinRef4" node="1>10|0|1"/>
        <i3dMapping id="front" node="1>11|0"/>
        <i3dMapping id="fenderFrontLeft" node="1>11|1"/>
        <i3dMapping id="fenderFrontRight" node="1>11|2"/>
        <i3dMapping id="col" node="1>12"/>
        <i3dMapping id="caronas1" node="0>4|1|0"/>
        <i3dMapping id="default" node="0>4|4|0"/>
        <i3dMapping id="warning" node="0>4|4|1"/>
        <i3dMapping id="turn1" node="0>4|4|2"/>
        <i3dMapping id="worklightBack" node="0>4|4|3"/>
        <i3dMapping id="worklightFront" node="0>4|4|4"/>
        <i3dMapping id="turn2" node="0>4|4|5"/>
        <i3dMapping id="caronas2" node="1>4|7|0"/>
        <i3dMapping id="caronas3" node="0>4|0|0|0"/>
        <i3dMapping id="caronas4" node="0>4|0|1|0"/>
        <i3dMapping id="caronas5" node="0>4|3|0"/>
        <i3dMapping id="caronas6" node="0>4|2|0|0"/>
        <i3dMapping id="caronas7" node="0>4|2|1|0"/>
        <i3dMapping id="1drivingShaft" node="0>10|0|0"/>
        <i3dMapping id="mainArm" node="1>4"/>
        <i3dMapping id="zKinRef3" node="1>4|2|3"/>
        <i3dMapping id="1770cx50_front" node="1>"/>
    </i3dMappings>
</vehicle>
