﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="baleGrab">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Telehandler Wrapped bale handler</en>
        <de>Teleskoplader Silageballenzange</de>
    </name>
    <filename>data/vehicles/telehandlers/lizard/telehandlerBaleGrab.i3d</filename>

    <size width="2" length="2"/>

    <attacherJoint index="0>0" jointType="telehandler" />

    <mouseControls>
        <mouseControl iconFilename="$dataS2/menu/moveControls/grab_rotX.png" axis="AXIS_FRONTLOADER_TOOL2" />
    </mouseControls>

    <baleGrab triggerNode="0>3" rootNode="0>" jointNode="0>" jointType="TYPE_AUTO_ATTACH_XYZ" forceAcceleration="30" grabRefComponentJointIndex1="0" grabRefComponentJointIndex2="1" rotDiffThreshold1="8" rotDiffThreshold2="-8" />


    <movingTools>
        <movingTool index="0>1" rotationAxis="2" componentJointIndex="0" rotSpeed="70" rotAcceleration="250" speedFactor="0.5" rotMax="45" rotMin="0" axis="AXIS_FRONTLOADER_TOOL2" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_TOOL2" invertMouseAxis="false" />
        <movingTool index="0>2" rotationAxis="2" componentJointIndex="1" rotSpeed="70" rotAcceleration="250" speedFactor="0.5" rotMax="0" rotMin="-45" axis="AXIS_FRONTLOADER_TOOL2" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_TOOL2" invertMouseAxis="true" />
    </movingTools>

    <movingParts>
        <movingPart index="1>0|0" referencePoint="2>0|0" referenceFrame="0>" isActiveDirty="true" playSound="false" >
            <translatingPart index="1>0|0|0" />
        </movingPart>
    </movingParts>

    <cylinderedHydraulicSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="0.8" volume="0.65" />

    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />

    <components count="3">
        <component1 solverIterationCount="20" />
        <component2 solverIterationCount="15" />
        <component3 solverIterationCount="15" />
        <joint component1="0" component2="1" index="0>1" rotLimit="0 0 0" transLimit="0 0 0" rotLimitSpring="0 0.6 0" rotLimitDamping="0 4 0" />
        <joint component1="0" component2="2" index="0>2" rotLimit="0 0 0" transLimit="0 0 0" rotLimitSpring="0 0.6 0" rotLimitDamping="0 4 0" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>>

</vehicle>
