<?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>Hexline 1050</en>
            <de>Hexline 1050</de>
            <br>Hexline 1050</br>
        </name>
        <specs>
            <neededPower>150</neededPower>
            <combination filterCategory="frontLoaderTools" />            
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>band1050.dds</image>
        <price>5400</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>BANDEIRANTE</brand>
        <category>frontLoaders</category>
        <shopTranslationOffset>0 0.12 0</shopTranslationOffset>
        <shopRotationOffset>2 5 0</shopRotationOffset>
        <vertexBufferMemoryUsage>3698432</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>545792</indexBufferMemoryUsage>
        <textureMemoryUsage>2359296</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>Bandeirante1050.i3d</filename>
        <size width="5" length="5" />
        <components>
            <component centerOfMass="0 0 1.4" solverIterationCount="20" mass="790" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="FRONTLOADER" />
    </base>

    <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" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>" />
        </sounds>
    </attacherJoints>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|0" hardAttach="true" jointType="attachableFrontloader">
                 <objectChange node="0>0|6" visibilityActive="false" visibilityInactive="true" />
                 <objectChange node="0>0|7" visibilityActive="true" visibilityInactive="false" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

     <animations>
        <animation name="moveSupport">
            <part node="0>1|7|0"  startTime="0" endTime="0.5" startRot="0 0 0" endRot="-80 0 0" />
            <part node="0>1|7|1"  startTime="0" endTime="0.5" startRot="0 0 0" endRot="-117 0 0" />  
            <part node="0>1|7|0|0" startTime="0" endTime="0.5" startRot="-15 0 0"  endRot="0 0 0" />
        </animation>

            <sound template="clackVar5" startTime="0.01" direction="0" volumeScale="0.7" pitchScale="2.8" linkNode="supportArm"/>
            <sound template="clackVar1" startTime="0.19" direction="0" volumeScale="0.7" pitchScale="2"   linkNode="supportArm"/>
    </animations>
	
	  <cylindered>
        <movingTools>
            <movingTool node="armDummy" delayedNode="arm">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.8" iconName="FRONTLOADER_ARM_ROTATE" />
                <attacherJoint jointIndices="1" />
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="5" rotMin="-75" startRot="0" detachingRotMinLimit="-10" />
                <dependentPart node="attacherRotDummy" />
                <dependentMovingTool node="attacherDummy" minRotLimits="0 -52" maxRotLimits="100 100"/>
            </movingTool>
            <movingTool node="attacherDummy" delayedNode="attacher">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.6" iconName="FRONTLOADER_ARM_ROTATE_TOOL" />
                <attacherJoint jointIndices="1" />
                <rotation rotSpeed="50" rotAcceleration="300" rotMax="0" rotMin="-60" startRot="0" syncMaxRotLimits="true" />
            </movingTool>
            <movingTool node="arm">
                <dependentPart node="attacherRot" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="attacherRot" referenceFrame="0>">
                <attacherJoint jointIndices="1" />
                <dependentPart node="0>1|4" />
            </movingPart>
            <movingPart node="attacherRotDummy" referenceFrame="attacherRootDummy">
                <attacherJoint jointIndices="1" />
            </movingPart>
			  <movingPart node="0>1|0" referencePoint="0>0|1" referenceFrame="0>0|1" isActiveDirty="true" maxUpdateDistance="40">
                <translatingPart node="0>1|0|0" />
            </movingPart>
			  <movingPart node="0>1|1" referencePoint="0>0|2" referenceFrame="0>0|2" isActiveDirty="true" maxUpdateDistance="40">
                <translatingPart node="0>1|1|0" />
            </movingPart>
			 <movingPart node="0>1|5" referencePoint="0>1|4|1" referenceFrame="0>1|4|1" isActiveDirty="true" maxUpdateDistance="40">
                <translatingPart node="0>1|5|0" />
            </movingPart>
			 <movingPart node="0>1|6" referencePoint="0>1|4|2" referenceFrame="0>1|4|2" isActiveDirty="true" maxUpdateDistance="40">
                <translatingPart node="0>1|6|0" />
            </movingPart>
			 <movingPart node="0>1|4|0" referencePoint="0>1|3|0|4" referenceFrame="0>1|3|0|4" isActiveDirty="true" maxUpdateDistance="40" scaleZ="true"/>
			 <movingPart node="0>3" referencePoint="0>1|11" referenceFrame="0>1|11" isActiveDirty="true" maxUpdateDistance="40" scaleZ="true"/>
            <movingPart node="0>1|4" referencePoint="0>1|3|0|3" referenceFrame="0>1|3|0|3" isActiveDirty="true" maxUpdateDistance="40" />

            <movingPart node="0>1|4|3" referencePoint="0>1|6|1|0" referenceFrame="0>1|6|1|0" isActiveDirty="true" maxUpdateDistance="40" />
        </movingParts>
        <sounds>
            <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>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <connectionHoses>
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|5|0"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="hydraulicOut"  node="0>0|5|1"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|5|2"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="hydraulicOut"  node="0>0|5|3"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|5|4"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="hydraulicOut"  node="0>0|5|5"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|5|6"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="hydraulicOut"  node="0>0|5|7"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>0|5|8" visibilityActive="false" visibilityInactive="true"/>
        </hose>

        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="Connection1"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="Connection2"/>
    </connectionHoses>

    <ai>
        <allowTurnBackward value="false"/>
        <agentAttachment jointNode="0>0|0"  width="1.6" height="2.404" length="2.108" lengthOffset="0.2"/>
    </ai>

    <foliageBending>               
        <bendingNode minX="0.8" maxX="-0.8" minZ="-0.5" maxZ="0.5" yOffset="0.3" node="0>1|3|0"/>         
    </foliageBending>

<i3dMappings>
    <i3dMapping id="Connection1" node="1|18|0"/>
    <i3dMapping id="Connection2" node="1|18|1"/>

    <i3dMapping id="armDummy" node="5"/>
    <i3dMapping id="attacherRotDummy" node="5|0"/>
    <i3dMapping id="attacherDummy" node="5|0|0"/>
    <i3dMapping id="attacherJointTools" node="5|0|0|0"/>
    <i3dMapping id="attacherJointDummy" node="2|0"/>
    <i3dMapping id="attacherRot" node="1|3"/>
    <i3dMapping id="attacher" node="1|3|0"/>
    <i3dMapping id="attacherJointTools_visuals" node="1|3|0|1"/>
    <i3dMapping id="wingRef" node="1|3|0|3"/>
    <i3dMapping id="wingRefFrame" node="1|3|0|4"/>
    <i3dMapping id="arm" node="1"/>
    <i3dMapping id="attacherRootDummy" node="2"/>
</i3dMappings>

</vehicle>
