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

    <storeData>
        <name>LB Q7M</name>
        <specs>
            <neededPower>140</neededPower>
            <combination filterCategory="frontLoaderTools" />
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>lbQ7M/store_lbQ7M.png</image>
        <price>8799</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LANDBAUERAG</brand>
        <category>frontLoaders</category>
        <shopHeight>3</shopHeight>
        <shopTranslationOffset>0 0.431 0</shopTranslationOffset>
        <shopRotationOffset>8.966 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>lbQ7M/lbQ7M.i3d</filename>
        <size width="2.5" length="3.5" lengthOffset="1.4"/>
        <components>
            <component centerOfMass="0 0.2 2.2" solverIterationCount="10" mass="763" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="FRONTLOADER" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" hardAttach="true" jointType="attachableFrontloader" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <attacherJoints>
        <attacherJoint jointType="frontloader" node="attacherJointTools" nodeVisual="attacherJointTools_visuals" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="1 1 1" transLimitSpring="7500 7500 7500" transLimitDamping="1 1 1" >
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="q7M_main_component1" />
        </sounds>
    </attacherJoints>

    <connectionHoses>
        <target attacherJointIndices="1" type="hydraulicIn" node="targetNode01" straighteningFactor="2">
            <objectChange node="detachedAdapter01" visibilityActive="false" visibilityInactive="true" />
        </target>
        <target attacherJointIndices="1" type="hydraulicOut" node="targetNode02" straighteningFactor="2">
            <objectChange node="detachedAdapter02" visibilityActive="false" visibilityInactive="true" />
        </target>
    </connectionHoses>

    <animations>
        <animation name="moveSupport">
            <part node="supportArm01" startTime="0.00" endTime="0.75" startRot="0 0 0"  endRot="-75 0 0" />
            <part node="supportArm02" startTime="0.25" endTime="0.75" startRot="0 0 0"  endRot="-109 0 0" />

            <sound template="clackVar5" startTime="0.01" direction="0" volumeScale="0.7" pitchScale="2.8" linkNode="supportArm01"/>
            <sound template="clackVar1" startTime="0.74" direction="0" volumeScale="0.7" pitchScale="2"   linkNode="supportArm01"/>
        </animation>
    </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="-55 -60" maxRotLimits="100 65"/>
          </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="100" rotMin="-60" startRot="0" syncMaxRotLimits="true" />
          </movingTool>
          <movingTool node="arm">
              <dependentPart node="armHydraulic" />
              <dependentPart node="attacherRot" />
              <dependentPart node="part01" />
          </movingTool>
          <movingTool node="attacher">
              <dependentPart node="wingFront" />
              <dependentPart node="hydraulicFront" />
          </movingTool>
      </movingTools>

      <movingParts>
          <movingPart node="attacherRotDummy" referenceFrame="attacherRootDummy">
              <attacherJoint jointIndices="1" />
          </movingPart>
          <movingPart node="attacherRot" referenceFrame="q7M_main_component1">
              <attacherJoint jointIndices="1" />
              <dependentPart node="wingFront" />
          </movingPart>
          <movingPart node="armHydraulic" referencePoint="armHydraulicRef" referenceFrame="armHydraulicRef">
            <translatingPart node="armHydraulicPunch" />
          </movingPart>
          <movingPart node="part01" localReferencePoint="part02" referencePoint="part02Ref" referenceFrame="part01RefFrame">
              <dependentPart node="part02" />
              <dependentPart node="hydraulicFront" />
          </movingPart>
          <movingPart node="part02" referencePoint="part02Ref" referenceFrame="part02Ref"/>
          <movingPart node="wingFront" localReferencePoint="wingPart" referencePoint="wingPartRef" referenceFrame="wingFrontRefFrame" >
              <dependentPart node="wingPart" />
          </movingPart>
          <movingPart node="wingPart" referencePoint="wingPartRef" referenceFrame="wingPartRefFrame"/>
          <movingPart node="hydraulicFront" referencePoint="hydraulicFrontRef" referenceFrame="hydraulicFrontRef" playSound="true">
              <translatingPart node="hydraulicFrontPunch" />
          </movingPart>
      </movingParts>

      <sounds>
            <actionSound template="hydraulicLayerTone2"   pitchScale="1.5" volumeScale="1.2" linkNode="armHydraulic"   actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="armHydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicLayerTone"    pitchScale="0.7" volumeScale="1.2" linkNode="armHydraulic"   actionNames="TRANSLATING_POS" nodes="armHydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicLayerTone2"   pitchScale="2.5" volumeScale="0.4" linkNode="hydraulicFront" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="hydraulicFront" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="defaultHydraulicSound" pitchScale="1.1" volumeScale="0.8" linkNode="hydraulicFront" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="hydraulicFront" fadeIn="0.1" fadeOut="0.05"/>
            <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>

    <ai>
        <agentAttachment width="1.3" height="2.2" length="3.2" lengthOffset="1.4"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.62" maxX="0.62" minZ="-0.5" maxZ="2.15" yOffset="-0.2" node="hydraulicFront" />
    </foliageBending>

    <baseMaterial>
        <material name="q7M_mat" baseNode="q7M_vis">
            <shaderParameter name="colorMat0" value="KOTTE_GREEN2"/>
            <shaderParameter name="colorMat6" value="QUICKE_ORANGE1"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="0" useDefaultColors="false" defaultColorIndex="0">
        <material name="q7M_mat" shaderParameter="colorMat0" />

        <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="q7M_mat" shaderParameter="colorMat6" />

        <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>

    <designConfigurations title="$l10n_configuration_colorLogo">
        <designConfiguration name="$l10n_ui_colorLandbauerOrange" price="0">
            <objectChange node="logoDecalsOrange1" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsOrange2" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsWhite1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack2" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
        <designConfiguration name="$l10n_ui_colorLandbauerWhite" price="0">
            <objectChange node="logoDecalsOrange1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsOrange2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite1" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsWhite2" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsGreen1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack2" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
        <designConfiguration name="$l10n_ui_colorLandbauerGreen" price="0">
            <objectChange node="logoDecalsOrange1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsOrange2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen1" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsGreen2" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsBlack1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack2" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
        <designConfiguration name="$l10n_ui_colorLandbauerBlack" price="0">
            <objectChange node="logoDecalsOrange1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsOrange2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsWhite2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsGreen2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="logoDecalsBlack1" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="logoDecalsBlack2" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
    </designConfigurations>

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

    <i3dMappings>
        <i3dMapping id="q7M_main_component1" node="0>" />
        <i3dMapping id="q7M_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="arm" node="0>0|1|0" />
        <i3dMapping id="attacherRot" node="0>0|1|0|0" />
        <i3dMapping id="attacher" node="0>0|1|0|0|0" />
        <i3dMapping id="attacherJointTools_visuals" node="0>0|1|0|0|0|0" />
        <i3dMapping id="wingPartRef" node="0>0|1|0|0|0|1" />
        <i3dMapping id="detachedAdapter01" node="0>0|1|0|0|0|3" />
        <i3dMapping id="detachedAdapter02" node="0>0|1|0|0|0|4" />
        <i3dMapping id="targetNode01" node="0>0|1|0|0|0|5" />
        <i3dMapping id="targetNode02" node="0>0|1|0|0|0|6" />
        <i3dMapping id="supportArm01" node="0>0|1|0|1" />
        <i3dMapping id="supportArm02" node="0>0|1|0|2" />
        <i3dMapping id="armHydraulic" node="0>0|1|0|3" />
        <i3dMapping id="armHydraulicPunch" node="0>0|1|0|3|0" />
        <i3dMapping id="part02Ref" node="0>0|1|0|4" />
        <i3dMapping id="wingFront" node="0>0|1|0|5" />
        <i3dMapping id="wingPart" node="0>0|1|0|5|0" />
        <i3dMapping id="hydraulicFrontRef" node="0>0|1|0|5|1" />
        <i3dMapping id="wingFrontRefFrame" node="0>0|1|0|6" />
        <i3dMapping id="wingPartRefFrame" node="0>0|1|0|7" />
        <i3dMapping id="hydraulicIn01" node="0>0|1|0|8|0" />
        <i3dMapping id="hydraulicIn02" node="0>0|1|0|8|1" />
        <i3dMapping id="hydraulicIn03" node="0>0|1|0|8|2" />
        <i3dMapping id="hydraulicIn04" node="0>0|1|0|8|3" />
        <i3dMapping id="logoDecalsOrange2" node="0>0|1|0|11|0" />
        <i3dMapping id="logoDecalsWhite2" node="0>0|1|0|11|1" />
        <i3dMapping id="logoDecalsGreen2" node="0>0|1|0|11|2" />
        <i3dMapping id="logoDecalsBlack2" node="0>0|1|0|11|3" />
        <i3dMapping id="armDummy" node="0>0|1|1" />
        <i3dMapping id="attacherRotDummy" node="0>0|1|1|0" />
        <i3dMapping id="attacherDummy" node="0>0|1|1|0|0" />
        <i3dMapping id="attacherJointTools" node="0>0|1|1|0|0|0" />
        <i3dMapping id="attacherRootDummy" node="0>0|1|2" />
        <i3dMapping id="attacherJointDummy" node="0>0|1|2|0" />
        <i3dMapping id="part01RefFrame" node="0>0|1|3" />
        <i3dMapping id="part01" node="0>0|1|4" />
        <i3dMapping id="part02" node="0>0|1|4|0" />
        <i3dMapping id="hydraulicFront" node="0>0|1|4|0|0" />
        <i3dMapping id="hydraulicFrontPunch" node="0>0|1|4|0|0|0" />
        <i3dMapping id="logoDecalsOrange1" node="0>0|4|0" />
        <i3dMapping id="logoDecalsWhite1" node="0>0|4|1" />
        <i3dMapping id="logoDecalsGreen1" node="0>0|4|2" />
        <i3dMapping id="logoDecalsBlack1" node="0>0|4|3" />
        <i3dMapping id="armHydraulicRef" node="0>0|1|5" />
    </i3dMappings>
</vehicle>
