<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherShovel" 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>Silage fork 1050</en>
        <de>Silagegreifer 1050</de>
        <br>Garfo Silagem 1050 </br>
        </name>
        <specs>
            <combination xmlFilename="Bandeirante1050.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_frontloaderManureFork</function>
        </functions>
        <image>Band1050Silagen.dds</image>
        <price>2100</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>BANDEIRANTE</brand>
        <category>frontLoaderTools</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>        
        <vertexBufferMemoryUsage>1314560</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>233472</indexBufferMemoryUsage>
        <textureMemoryUsage>1048576</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>Band1050Silagen.i3d</filename>
        <size width="5" length="5"/>
        <supportsPickUp>false</supportsPickUp>
        <components>
            <component centerOfMass="0 0.2 -0.3" solverIterationCount="10" mass="134" />
            <component solverIterationCount="10" mass="134" />
            <joint component1="1" component2="2" node="grabJoint" rotLimit="0 0 0" transLimit="0 0 0" rotLimitSpring="300 0 0" rotLimitDamping="30 0 0" rotLimitForceLimit="10 -1 -1" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>

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

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="LITER" fillTypeCategories="FORK" capacity="810" >
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxAllowedHeapAngle="10" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <loadInfos>
            <loadInfo>
                <node node="fillVolumeLoadNode" width="1.1" length="0.2" />
            </loadInfo>
        </loadInfos>

        <unloadInfos>
            <unloadInfo>
                <node node="fillVolumeUnloadNode" width="1.1" length="0.1" />
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <cylindered>
        <movingTools>
            <movingTool node="grabJoint" playSound="true" >
                <controls axis="AXIS_FRONTLOADER_TOOL2" invertAxis="true" mouseSpeedFactor="0.3" iconName="TOOL_OPEN_CLOSE" />
                <componentJoint index="1" anchorActor="0" />
                <rotation rotSpeed="100" rotAcceleration="250" rotMax="0" rotMin="-50"/>
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="grab" referencePoint="grabRef" referenceFrame="grabRef" limitedAxis="1" isActiveDirty="true" maxUpdateDistance="40" >
                <dependentPart node="hydraulic" />
            </movingPart>
            <movingPart node="hydraulic" referencePoint="hydraulicRef" referenceFrame="hydraulicRef" >
                <translatingPart node="hydraulicPunch" />
            </movingPart>
            <movingPart node="0>1|15" referencePoint="0>1|1|1" referenceFrame="0>1|1|1" isActiveDirty="true" maxUpdateDistance="40" >
                <translatingPart node="0>1|15|1" />
            </movingPart>
        </movingParts>

        <sounds>
            <actionSound template="defaultHydraulicSound" pitchScale="0.6" volumeScale="2"   linkNode="grabJoint" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="grabJoint"/>
            <actionSound template="clackVar6"             pitchScale="0.9" volumeScale="1.4" linkNode="grabJoint" actionNames="TOOL_MOVE_END_POS_LIMIT"     nodes="grabJoint"/>
            <actionSound template="cylinderPunch"         pitchScale="2"   volumeScale="0.5" linkNode="grabJoint" actionNames="TOOL_MOVE_END_POS_LIMIT"     nodes="grabJoint"/>
            <actionSound template="clackVar6"             pitchScale="0.6" volumeScale="1.7" linkNode="grabJoint" actionNames="TOOL_MOVE_END_NEG_LIMIT"     nodes="grabJoint"/>
            <actionSound template="sheetImp02"            pitchScale="0.8" volumeScale="2"   linkNode="grabJoint" actionNames="TOOL_MOVE_END_NEG_LIMIT"     nodes="grabJoint"/>
        </sounds>
    </cylindered>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" fillUnitIndex="1" emptySpeed="1400" >
            <raycast node="dischargeNode" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
            <info width="1.0" length="0.2" zOffset="0.5"/>
            <movingToolActivation node="grabJoint" isInverted="true" openFactor="0.4" />

            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="emitterShape" effectClass="ParticleEffect" materialType="unloadingParticle"/>
                    <effectNode effectNode="grainEffect" materialType="unloading" fadeTime="0.5" alignXAxisToWorldY="true" />
                </effectNode>
                <effectNode effectNode="smokeEffect" materialType="unloadingSmoke" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>

    <shovel>
        <shovelNode node="pickUpNode" fillUnitIndex="1" loadInfoIndex="1" width="1.2" length="0.2" needsMovement="true" maxPickupAngle="105">
            <movingToolActivation node="grabJoint" isInverted="true" openFactor="0.4" />
        </shovelNode>
        <dischargeInfo node="dischargeNode" minSpeedAngle="105" maxSpeedAngle="180" />
    </shovel>

    <dynamicMountAttacher node="0>">
        <mountCollisionMask node="topColPart" collisionMask="134225920" />
        <grab openMountType="TYPE_FORK" closedMountType="TYPE_AUTO_ATTACH_XYZ">
            <movingToolActivation node="grabJoint" isInverted="true" openFactor="0.4" />
        </grab>
    </dynamicMountAttacher>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>1|14|0"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>1|13" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="hydraulicOut"  node="0>1|14|1"  length="0.1" diameter="0.02" straighteningFactor="1.5">
            <objectChange node="0>1|13" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

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

    <ai>
        <agentAttachment width="1.4" height="0.9" length="1.0" lengthOffset="0.05"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.878" maxX="0.793" minZ="-0.272" maxZ="0.483" yOffset="0.1" />
    </foliageBending>

    <i3dMappings>
        <i3dMapping id="attacherJoint" node="0>0" />
        <i3dMapping id="stollGrabFork_vis" node="0>1" />
        <i3dMapping id="grabJoint" node="0>1|0" />
        <i3dMapping id="grab" node="0>1|1" />
        <i3dMapping id="hydraulicRef" node="0>1|1|0" />
        <i3dMapping id="hydraulic" node="0>1|2" />
        <i3dMapping id="hydraulicPunch" node="0>1|2|0" />
        <i3dMapping id="dischargeNode" node="0>1|3" />
        <i3dMapping id="exactFillRootNode" node="0>1|4" />
        <i3dMapping id="fillVolume" node="0>1|5|0" />
        <i3dMapping id="fillVolumeLoadNode" node="0>1|5|1" />
        <i3dMapping id="fillVolumeUnloadNode" node="0>1|5|2" />
        <i3dMapping id="emitterShape" node="0>1|6" />
        <i3dMapping id="grainEffect" node="0>1|7|0" />
        <i3dMapping id="smokeEffect" node="0>1|7|1" />
        <i3dMapping id="pickUpNode" node="0>1|8" />
        <i3dMapping id="grabRef" node="1>0" />
        <i3dMapping id="topColPart" node="1>1" />
        <i3dMapping id="hydraulicRef1" node="0>1|1|1" />
        <i3dMapping id="hydraulicPunch1" node="0>1|11|0" />
    </i3dMappings>
</vehicle>
