<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="attachableFrontloader" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>            <en>Fendt Cargo4X</en>
        </name>
        <specs>
            <neededPower>120</neededPower>
            <combination filterCategory="frontLoaderTools"/>
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <storePacks>
            <storePack>STARTER_FORAGE</storePack>
        </storePacks>
        <image>Fendt_Cargo4X.dds</image>
        <price>6960</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>FENDT</brand>
        <category>frontLoaders</category>
        <shopHeight>2.5</shopHeight>
        <shopTranslationOffset>0 0.034 0</shopTranslationOffset>
        <shopRotationOffset>3.948 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>325632</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>96512</indexBufferMemoryUsage>
        <textureMemoryUsage>262144</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>Fendt_Cargo4X.i3d</filename>
        <size width="1.4" length="2.7" height="2" lengthOffset="0.12"/>
        <components>
            <component centerOfMass="0 0.2 0.3" solverIterationCount="10" mass="810"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="FRONTLOADER"/>
        <mapHotspot type="TOOL"/>
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" hardAttach="true" jointType="attachableFrontloader"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
    <attacherJoints>
        <attacherJoint jointType="frontloader" node="attacherJointTools" nodeVisual="attacherJointTools_visuals" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="1 0" rotation="0" invertX="false"/>
            <objectChange node="attacherArmLock" rotationActive="-55 0 0" rotationInactive="0 0 0"/>
        </attacherJoint>
        <sounds>
            <attach template="attach01" linkNode="Fendt_Cargo4X_main_component1"/>
        </sounds>
    </attacherJoints>
    <animations>
        <animation name="moveSupport">
            <part node="supportArm" startTime="0" endTime="0.2" startRot="0 0 0" endRot="-80 0 0"/>
            <part node="supportArmPart" startTime="0" endTime="0.2" startRot="0 0 0" endRot="-104 0 0"/>
            <sound template="hingeImp" startTime="0.1" direction="-1" volumeScale="0.5" pitchScale="1"/>
            <sound template="vibratingImp" startTime="0.01" direction="-1" volumeScale="0.6" pitchScale="1.7"/>
            <sound template="clackVar6" startTime="0.01" direction="-1" volumeScale="2" pitchScale="1"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="armDummy" delayedNode="arm">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.3" iconName="FRONTLOADER_ARM_ROTATE"/>
                <attacherJoint jointIndices="1"/>
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="10" rotMin="-90" startRot="0" detachingRotMinLimit="-10"/>
                <dependentPart node="attacherRotDummy"/>
                <dependentMovingTool node="attacherDummy" minRotLimits="-44 -75" maxRotLimits="100 50"/>
            </movingTool>
            <movingTool node="attacherDummy" delayedNode="attacher">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.3" iconName="FRONTLOADER_ARM_ROTATE_TOOL"/>
                <attacherJoint jointIndices="1"/>
                <rotation rotSpeed="50" rotAcceleration="300" rotMax="100" rotMin="-60" startRot="-18" syncMaxRotLimits="true"/>
            </movingTool>
            <movingTool node="arm">
                <dependentPart node="hydraulicMain"/>
                <dependentPart node="wingArmPart"/>
                <dependentPart node="attacherRot"/>
            </movingTool>
            <movingTool node="attacher">
                <dependentPart node="wingFront"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="hydraulicMain" referencePoint="hydraulicMainRef" referenceFrame="arm" playSound="true">
                <translatingPart node="hydraulicMainPunch"/>
            </movingPart>
            <movingPart node="wingArmPart" localReferencePoint="wingArm" referencePoint="wingArmRef" referenceFrame="wingArmPartRefFrame">
                <dependentPart node="wingArm"/>
                <dependentPart node="hydraulicFront"/>
            </movingPart>
            <movingPart node="wingArm" referencePoint="wingArmRef" referenceFrame="arm"/>
            <movingPart node="wingFront" localReferencePoint="wingPart" referencePoint="wingPartRef" referenceFrame="wingFrontRefFrame">
                <dependentPart node="wingPart"/>
                <dependentPart node="hydraulicFront"/>
                <dependentPart node="angleDisplay"/>
            </movingPart>
            <movingPart node="wingPart" referencePoint="wingPartRef" referenceFrame="wingPartRef"/>
            <movingPart node="hydraulicFront" referencePoint="hydraulicFrontRef" referenceFrame="hydraulicFrontRef" playSound="true">
                <translatingPart node="hydraulicFrontPunch"/>
            </movingPart>
            <movingPart node="angleDisplay" referencePoint="angleDisplayRef" referenceFrame="angleDisplayRef"/>
            <movingPart node="attacherRotDummy" referenceFrame="attacherRootDummy">
                <attacherJoint jointIndices="1"/>
            </movingPart>
            <movingPart node="attacherRot" referenceFrame="Fendt_Cargo4X_main_component1">
                <dependentPart node="wingFront"/>
                <dependentPart node="hydraulicMain"/>
                <dependentPart node="wingArmPart"/>
            </movingPart>
        </movingParts>
        <sounds>
            <actionSound template="hydraulicOpen06" pitchScale="0.4" volumeScale="0.4" linkNode="armDummy" actionNames="TOOL_MOVE_POS" nodes="armDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicOpen02" pitchScale="1.4" volumeScale="2.2" linkNode="armDummy" actionNames="TOOL_MOVE_POS" nodes="armDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicClose03" pitchScale="1.7" volumeScale="2.9" linkNode="armDummy" actionNames="TOOL_MOVE_NEG" nodes="armDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicOpen06" pitchScale="1.0" volumeScale="0.5" linkNode="armDummy" actionNames="TOOL_MOVE_NEG" nodes="armDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicClose01" pitchScale="1.7" volumeScale="1.6" linkNode="attacherDummy" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="attacherDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="metalLowVar2" pitchScale="1.0" volumeScale="3" linkNode="armDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="armDummy"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.4" linkNode="armDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="armDummy"/>
            <actionSound template="metalClose" pitchScale="2.5" volumeScale="0.2" linkNode="armDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="armDummy"/>
            <actionSound template="clackVar6" pitchScale="1.0" volumeScale="1.0" linkNode="armDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="armDummy"/>
            <actionSound template="metalLowVar2" pitchScale="1.3" volumeScale="2.0" linkNode="armDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="armDummy"/>
            <actionSound template="cylinderPunch" pitchScale="1.8" volumeScale="0.2" linkNode="armDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="armDummy"/>
            <actionSound template="metalClose" pitchScale="2.8" volumeScale="0.1" linkNode="armDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="armDummy"/>
            <actionSound template="clackVar6" pitchScale="1.8" volumeScale="0.5" linkNode="armDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="armDummy"/>
        </sounds>
    </cylindered>
	<designColorConfigurations useDefaultColors="true" price="0">
        <material materialSlotName="base_mat" materialTemplateUseColorOnly="true"/>
        <designColorConfiguration name="$l10n_configuration_valueDefault" price="0" isDefault="true" materialTemplateName="FENDT_NEWGREEN1"/>
    </designColorConfigurations>
    <ai>
        <agentAttachment width="1.3" height="1.95" length="2.8" lengthOffset="0.06"/>
    </ai>
    <foliageBending>
        <bendingNode minX="-0.62" maxX="0.62" minZ="-0.4" maxZ="0.35" node="attacherRot"/>
    </foliageBending>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="Fendt_Cargo4X_main_component1" node="0>"/>
        <i3dMapping id="Fendt_Cargo4X_vis" node="0>0"/>
        <i3dMapping id="attacherJoint" node="0>0|0|0"/>
        <i3dMapping id="attacherArmLock" node="0>0|0|1"/>
        <i3dMapping id="hydraulicMainRef" node="0>0|1"/>
        <i3dMapping id="wingArmRef" node="0>0|2"/>
        <i3dMapping id="arm" node="0>0|3|0"/>
        <i3dMapping id="hydraulicMain" node="0>0|3|0|0"/>
        <i3dMapping id="hydraulicMainPunch" node="0>0|3|0|0|0"/>
        <i3dMapping id="attacherRot" node="0>0|3|0|1"/>
        <i3dMapping id="attacher" node="0>0|3|0|1|0"/>
        <i3dMapping id="wingPartRef" node="0>0|3|0|1|0|0"/>
        <i3dMapping id="attacherJointTools_visuals" node="0>0|3|0|1|0|1"/>
        <i3dMapping id="wingFront" node="0>0|3|0|2"/>
        <i3dMapping id="wingPart" node="0>0|3|0|2|0"/>
        <i3dMapping id="angleDisplay" node="0>0|3|0|2|1"/>
        <i3dMapping id="hydraulicFrontRef" node="0>0|3|0|2|2"/>
        <i3dMapping id="supportArm" node="0>0|3|0|3"/>
        <i3dMapping id="supportArmPart" node="0>0|3|0|4"/>
        <i3dMapping id="wingArmPart" node="0>0|3|0|7"/>
        <i3dMapping id="wingArm" node="0>0|3|0|7|0"/>
        <i3dMapping id="hydraulicFront" node="0>0|3|0|7|1"/>
        <i3dMapping id="hydraulicFrontPunch" node="0>0|3|0|7|1|0"/>
        <i3dMapping id="wingFrontRefFrame" node="0>0|3|0|8"/>
        <i3dMapping id="angleDisplayRef" node="0>0|3|0|9"/>
        <i3dMapping id="wingArmPartRefFrame" node="0>0|3|0|10"/>
        <i3dMapping id="armDummy" node="0>0|3|1"/>
        <i3dMapping id="attacherRotDummy" node="0>0|3|1|0"/>
        <i3dMapping id="attacherDummy" node="0>0|3|1|0|0"/>
        <i3dMapping id="attacherJointTools" node="0>0|3|1|0|0|0"/>
        <i3dMapping id="attacherRootDummy" node="0>0|3|2"/>
    </i3dMappings>
</vehicle>
