<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="implementDynamicMountAttacher" 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>$l10n_shopItem_telehandlerBaleFork</name>
        <specs>
            <combination filterCategory="teleLoaderVehicles"/>
        </specs>
        <functions>
            <function>$l10n_function_frontloaderBaleFork</function>
        </functions>
        <image>store_BaleFork.dds</image>
        <price>900</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>teleLoaderTools</category>
        <shopTranslationOffset>0 0.1 0</shopTranslationOffset>
        <shopRotationOffset>-1.5 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>43776</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>11776</indexBufferMemoryUsage>
        <textureMemoryUsage>458752</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>baleFork.i3d</filename>
        <size width="1.68" length="1.4" height="2" lengthOffset="-0.03" />
        <components>
            <component centerOfMass="0 0.3 -0.4" solverIterationCount="10" mass="250" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="telehandler"/>
        </inputAttacherJoints>
    </attachable>

    <dynamicMountAttacher node="BaleFork_vis">
        <fork node="collPart1"/>
        <fork node="collPart2"/>
        <fork node="collPart3"/>
    </dynamicMountAttacher>

    <ai>
        <agentAttachment width="1.68" length="1.4" height="2" lengthOffset="-0.03" />
    </ai>

    <tensionBeltObject>
        <meshNodes>
            <meshNode node="tensionBeltMesh01"/>
        </meshNodes>
    </tensionBeltObject>

    <foliageBending>
        <bendingNode minX="-0.85" maxX="0.85" minZ="-0.5" maxZ="-0.25" yOffset="0.02" />
    </foliageBending>

    <animations>
		<animation name="folding">
			<part node="punte"  startTime="0" endTime="1.5" startRot="0 0 0" endRot="-104.5 0 0"/>
            
            <sound template="clackVar5"     startTime="0.01" direction="1" volumeScale="1.2" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="sheetImp02"    startTime="1.4" direction="1" volumeScale="2.2" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="clackVar1"     startTime="0.01" direction="-1" volumeScale="1.2" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="sheetImp02"    startTime="0.01" direction="-1" volumeScale="1.2" pitchScale="1.6" linkNode="attacherJoint"/>
		</animation>
	</animations>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="0" turnOnFoldDirection="-1" >
                    <foldingPart animationName="folding" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90"  workMultiplier="2" fieldMultiplier="2" washDuration="1"/>

    <i3dMappings>
        <i3dMapping id="BaleFork_main_component1" node="0>" />
        <i3dMapping id="BaleFork_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="punte" node="0>0|1" />
        <i3dMapping id="collPart1" node="0>0|1|0" />
        <i3dMapping id="collPart2" node="0>0|1|1" />
        <i3dMapping id="collPart3" node="0>0|1|2" />
        <i3dMapping id="collisions" node="0>1" />
        <i3dMapping id="collPartTop" node="0>1|0" />
        <i3dMapping id="tensionBeltMesh01" node="0>1|1" />
    </i3dMappings>
</vehicle>