<?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>Landbauer - www.forbidden-mods.de</annotation>

    <storeData>
        <name>$l10n_shopItem_lbBaleFork</name>
        <specs>
            <combination filterCategory="frontLoaders" />
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_frontloaderRoundBaleFork</function>
        </functions>
        <image>lbRoundBaleFork/store_lbRoundBaleFork.png</image>
        <price>1299</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LANDBAUERAG</brand>
        <category>frontLoaderTools</category>
        <shopTranslationOffset>0 -0.007 0</shopTranslationOffset>
        <shopRotationOffset>1.236 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>lbRoundBaleFork/lbRoundBaleFork.i3d</filename>
        <size width="2.5" length="2"/>
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="186" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

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

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="0.05" diameter="0.015" straighteningFactor="1" isTwoPointHose="true">
           <objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="0.05" diameter="0.015" straighteningFactor="2" isTwoPointHose="true">
            <objectChange node="hydraulicOut01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_connector"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_connector" filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <cylindered>
        <movingTools>
            <movingTool node="grabLeft">
                <controls axis="AXIS_FRONTLOADER_TOOL2" invertAxis="false" mouseSpeedFactor="0.2" iconName="WORKING_WIDTH_TRANSLATE_X" />
                <dependentMovingTool node="grabRight" speedScale="-1"/>
                <rotation rotationAxis="3" rotSpeed="40" rotAcceleration="500" rotMin="-49" rotMax="3"/>
                <dependentPart node="grabHydraulic"/>
            </movingTool>

            <movingTool node="grabRight">
                <rotation rotationAxis="3" rotSpeed="40" rotAcceleration="500" rotMin="-3" rotMax="49"/>
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="grabHydraulic" referencePoint="grabHydraulicRef" referenceFrame="grabHydraulicRef" isActiveDirty="true" maxUpdateDistance="50">
              <translatingPart node="grabHydraulicPunch" />
            </movingPart>
        </movingParts>

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

    <designConfigurations>
        <designConfiguration name="$l10n_shopItem_telehandlerBaleGrab" price="0" isDefault="true">
            <objectChange node="spikesRoundBaleLeft"      visibilityActive="true" visibilityInactive="false" />
            <objectChange node="spikesRoundBaleRight"     visibilityActive="true" visibilityInactive="false" />
            <objectChange node="spikesRoundBaleLeftPart"  rotationActive="0 0 0" rotationInactive="0 0 0" />
            <objectChange node="spikesRoundBaleRightPart" rotationActive="0 0 0" rotationInactive="0 0 0" />
            <objectChange node="colPartBaleSpikeLeft01"   compoundChildActive="true" compoundChildInactive="false" />
            <objectChange node="colPartBaleSpikeRight01"  compoundChildActive="true" compoundChildInactive="false" />
            <objectChange node="colPartRoundBaleLeft01"   compoundChildActive="false" compoundChildInactive="true" />
            <objectChange node="colPartRoundBaleLeft02"   compoundChildActive="false" compoundChildInactive="true" />
            <objectChange node="colPartRoundBaleRight01"  compoundChildActive="false" compoundChildInactive="true" />
            <objectChange node="colPartRoundBaleRight02"  compoundChildActive="false" compoundChildInactive="true" />
        </designConfiguration>
        <designConfiguration name="$l10n_shopItem_frontloaderBaleFork" price="0">
            <objectChange node="spikesRoundBaleLeft"      visibilityActive="false" visibilityInactive="true" />
            <objectChange node="spikesRoundBaleRight"     visibilityActive="false" visibilityInactive="true" />
            <objectChange node="spikesRoundBaleLeftPart"  rotationActive="0 0 90" rotationInactive="0 0 0" />
            <objectChange node="spikesRoundBaleRightPart" rotationActive="0 0 -90" rotationInactive="0 0 0" />
            <objectChange node="colPartBaleSpikeLeft01"   compoundChildActive="false" compoundChildInactive="true" />
            <objectChange node="colPartBaleSpikeRight01"  compoundChildActive="false" compoundChildInactive="true" />
            <objectChange node="colPartRoundBaleLeft01"   compoundChildActive="true" compoundChildInactive="false" />
            <objectChange node="colPartRoundBaleLeft02"   compoundChildActive="true" compoundChildInactive="false" />
            <objectChange node="colPartRoundBaleRight01"  compoundChildActive="true" compoundChildInactive="false" />
            <objectChange node="colPartRoundBaleRight02"  compoundChildActive="true" compoundChildInactive="false" />
        </designConfiguration>
    </designConfigurations>

    <dynamicMountAttacher node="0>">
        <mountCollisionMask node="colPartRoundBaleLeft01"  collisionMask="134225920" />
        <mountCollisionMask node="colPartRoundBaleRight01" collisionMask="134225920" />
    </dynamicMountAttacher>

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

    <foliageBending>
        <bendingNode minX="-0.85" maxX="0.85" minZ="-0.8" maxZ="-0.4" yOffset="0.05" />
        <bendingNode minX="0.2" maxX="0.38" minZ="0.15" maxZ="1.25" yOffset="-0.4" node="grabLeft" />
        <bendingNode minX="-0.2" maxX="-0.38" minZ="0.15" maxZ="1.25" yOffset="-0.4" node="grabRight" />
    </foliageBending>

    <baseMaterial>
        <material name="lbRoundBaleFork_mat" baseNode="lbRoundBaleFork_vis">
            <shaderParameter name="colorMat0" value="QUICKE_ORANGE1"/>
            <shaderParameter name="colorMat1" value="KOTTE_GREEN2"/>
        </material>
        <material name="lbRoundBaleForkSpikes_mat" baseNode="spikesRoundBaleLeft">
            <shaderParameter name="colorMat1" value="QUICKE_ORANGE1"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="0" useDefaultColors="false" defaultColorIndex="0">
        <material name="lbRoundBaleFork_mat" shaderParameter="colorMat1" />

        <baseMaterialConfiguration name="$l10n_ui_colorLandbauerGreen" color="KOTTE_GREEN2"/>
        <baseMaterialConfiguration name="$l10n_ui_colorLandbauerOrange" color="QUICKE_ORANGE1"/>
        <baseMaterialConfiguration name="$l10n_ui_colorLandbauerRed" color="ANDERSONGROUP_RED1"/>
        <baseMaterialConfiguration name="$l10n_ui_colorLandbauerYellow" color="ANDERSONGROUP_YELLOW1"/>
	<baseMaterialConfiguration name="$l10n_ui_colorLandbauerCreme" color="0.922 0.839 0.638 0"/>
        <baseMaterialConfiguration name="$l10n_ui_colorLandbauerBlack" color="ANDERSONGROUP_GREY1"/>
    </baseMaterialConfigurations>

    <designMaterialConfigurations title="$l10n_configuration_color2" price="0" useDefaultColors="false" defaultColorIndex="0">
        <material name="lbRoundBaleForkSpikes_mat" shaderParameter="colorMat1" />
        <material name="lbRoundBaleFork_mat" shaderParameter="colorMat0" />

        <designMaterialConfiguration name="$l10n_ui_colorLandbauerOrange" color="QUICKE_ORANGE1"/>
	<designMaterialConfiguration name="$l10n_ui_colorLandbauerGreen" color="KOTTE_GREEN2"/>
        <designMaterialConfiguration name="$l10n_ui_colorLandbauerRed" color="ANDERSONGROUP_RED1"/>
        <designMaterialConfiguration name="$l10n_ui_colorLandbauerYellow" color="ANDERSONGROUP_YELLOW1"/>
	<designMaterialConfiguration name="$l10n_ui_colorLandbauerCreme" color="0.922 0.839 0.638 0"/>
        <designMaterialConfiguration name="$l10n_ui_colorLandbauerBlack" color="ANDERSONGROUP_GREY1"/>
    </designMaterialConfigurations>

    <design2Configurations title="$l10n_configuration_colorLogo">
        <design2Configuration name="$l10n_ui_colorLandbauerOrange" price="0">
            <objectChange node="logoDecalsOrange" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsWhite" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack" visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
        <design2Configuration name="$l10n_ui_colorLandbauerWhite" price="0">
            <objectChange node="logoDecalsOrange" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsGreen" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack" visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
        <design2Configuration name="$l10n_ui_colorLandbauerGreen" price="0">
            <objectChange node="logoDecalsOrange" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsBlack" visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
        <design2Configuration name="$l10n_ui_colorLandbauerBlack" price="0">
            <objectChange node="logoDecalsOrange" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
    </design2Configurations>

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

    <i3dMappings>
        <i3dMapping id="lbRoundBaleFork_main_component1" node="0>" />
        <i3dMapping id="lbRoundBaleFork_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="grabLeft" node="0>0|1" />
        <i3dMapping id="spikesRoundBaleLeft" node="0>0|1|0" />
        <i3dMapping id="spikesRoundBaleLeftPart" node="0>0|1|1|0" />
        <i3dMapping id="grabHydraulic" node="0>0|1|2" />
        <i3dMapping id="grabHydraulicPunch" node="0>0|1|2|0" />
        <i3dMapping id="hydraulicIn01" node="0>0|1|2|1" />
        <i3dMapping id="hydraulicIn01_detached" node="0>0|1|2|1|0" />
        <i3dMapping id="hydraulicIn01_connector" node="0>0|1|2|1|0|0" />
        <i3dMapping id="hydraulicOut01" node="0>0|1|2|2" />
        <i3dMapping id="hydraulicOut01_detached" node="0>0|1|2|2|0" />
        <i3dMapping id="hydraulicOut01_connector" node="0>0|1|2|2|0|0" />
        <i3dMapping id="colPartBaleSpikeLeft01" node="0>0|1|4|1" />
        <i3dMapping id="colPartRoundBaleLeft01" node="0>0|1|4|2" />
        <i3dMapping id="colPartRoundBaleLeft02" node="0>0|1|4|3" />
        <i3dMapping id="grabRight" node="0>0|2" />
        <i3dMapping id="spikesRoundBaleRight" node="0>0|2|0" />
        <i3dMapping id="spikesRoundBaleRightPart" node="0>0|2|1|0" />
        <i3dMapping id="grabHydraulicRef" node="0>0|2|2" />
        <i3dMapping id="colPartBaleSpikeRight01" node="0>0|2|4|1" />
        <i3dMapping id="colPartRoundBaleRight01" node="0>0|2|4|2" />
        <i3dMapping id="colPartRoundBaleRight02" node="0>0|2|4|3" />
        <i3dMapping id="logoDecalsOrange" node="0>0|3|0" />
        <i3dMapping id="logoDecalsWhite" node="0>0|3|1" />
        <i3dMapping id="logoDecalsGreen" node="0>0|3|2" />
        <i3dMapping id="logoDecalsBlack" node="0>0|3|3" />
    </i3dMappings>
</vehicle>
