<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="implement" 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 BBL2</name>
        <specs>
            <combination xmlFilename="lbQ7M/lbQ7M.xml"/>
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_bigBagLifter</function>
        </functions>
        <image>lbBigBagLifter2/store_lbBigBagLifter2.png</image>
        <price>929</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LANDBAUERAG</brand>
        <category>frontLoaderTools</category>
        <shopHeight>2.2</shopHeight>
        <shopRotationOffset>-0.009 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>lbBigBagLifter2/lbBigBagLifter2.i3d</filename>
        <size width="3" length="2" lengthOffset="0.3"/>
        <components>
            <component centerOfMass="0 0.1 -0.05" solverIterationCount="30" mass="177" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="frontloader">
                <objectChange node="bagLifter_main_component1" centerOfMassActive="0 1 0.3" centerOfMassInactive="0 0.1 -0.05"/>
            </inputAttacherJoint>
        </inputAttacherJoints>

        <support animationName="supportAnimation"/>
    </attachable>

    <attacherJoints>
        <attacherJoint node="bigBagJointLeft" jointType="bigBag" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="5 5 90" upperRotLimit="5 5 90" upperTransLimit="0 0 0" lowerTransLimit="0 0 0" 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>
        <attacherJoint node="bigBagJointRight" jointType="bigBag" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="5 5 90" upperRotLimit="5 5 90" upperTransLimit="0 0 0" lowerTransLimit="0 0 0" rotLimitSpring="7500 7500 7500" rotLimitDamping="1 1 1" transLimitSpring="7500 7500 7500" transLimitDamping="1 1 1">
            <schema position="1 0.75" rotation="0" invertX="false" />
        </attacherJoint>

        <sounds>
            <attach template="ATTACH_BigBag" volumeScale="1" pitchScale="0.8"/>
        </sounds>
    </attacherJoints>

    <foliageBending>
        <bendingNode minX="-1.05" maxX="1.05" minZ="-0.2" maxZ="0.15" yOffset="0.05" />
    </foliageBending>

    <animations>
        <animation name="supportAnimation">
            <part componentIndex="1" startTime="0" endTime="0.01" startCenterOfMass="0 0.9 0.1" endCenterOfMass="0 0.3 -0.05"/>
        </animation>
    </animations>

    <ai>
        <agentAttachment width="2.2" height="1.9" length="1.3" lengthOffset="0.4"/>
    </ai>

    <baseMaterial>
        <material name="bagLifter_mat" baseNode="bagLifter_vis">
            <shaderParameter name="colorMat0" value="QUICKE_ORANGE1"/>
            <shaderParameter name="colorMat1" value="QUICKE_BLACK1"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="0" useDefaultColors="false">
        <material name="bagLifter_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">
        <material name="bagLifter_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>

    <designConfigurations title="$l10n_configuration_colorLogo">
        <designConfiguration 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"/>
        </designConfiguration>
        <designConfiguration 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"/>
        </designConfiguration>
        <designConfiguration 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"/>
        </designConfiguration>
        <designConfiguration 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"/>
        </designConfiguration>
    </designConfigurations>

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

    <i3dMappings>
        <i3dMapping id="bagLifter_main_component1" node="0>" />
        <i3dMapping id="bagLifter_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="bigBagJointLeft" node="0>0|0|1" />
        <i3dMapping id="bigBagJointRight" node="0>0|0|2" />
        <i3dMapping id="logoDecalsOrange" node="0>0|1|0" />
        <i3dMapping id="logoDecalsWhite" node="0>0|1|1" />
        <i3dMapping id="logoDecalsGreen" node="0>0|1|2" />
        <i3dMapping id="logoDecalsBlack" node="0>0|1|3" />

    </i3dMappings>
</vehicle>
