<?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_lbManureFork</name>
        <specs>
            <combination filterCategory="frontLoaders" />
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_frontloaderManureFork</function>
        </functions>
        <image>lbManureFork/store_lbManureFork.png</image>
        <price>1199</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LANDBAUERAG</brand>
        <category>frontLoaderTools</category>
        <shopTranslationOffset>0 -0.021 0</shopTranslationOffset>
        <shopRotationOffset>2.857 0 0</shopRotationOffset>
    </storeData>

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

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

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

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxAllowedHeapAngle="30" fillUnitIndex="1" maxSubDivEdgeLength="0.6" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <loadInfos>
            <loadInfo>
                <node node="fillVolumeLoadNode" width="1.5" length="0.1" />
            </loadInfo>
        </loadInfos>

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

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" fillUnitIndex="1" emptySpeed="1000" >
            <raycast node="dischargeNode" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
            <info width="1.5" length="0.2" zOffset="0.5"/>

            <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.8" length="0.5" needsMovement="true" maxPickupAngle="105" />
        <dischargeInfo node="dischargeNode" minSpeedAngle="105" maxSpeedAngle="130" />
    </shovel>

    <dynamicMountAttacher node="0>">
        <mountCollisionMask node="colPartBack01" collisionMask="134225920" />
    </dynamicMountAttacher>

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

    <foliageBending>
        <bendingNode minX="-0.95" maxX="0.95" minZ="-0.45" maxZ="0.5" yOffset="0.05" />
    </foliageBending>

    <baseMaterial>
        <material name="lbManureFork_mat" baseNode="lbManureFork_vis">
            <shaderParameter name="colorMat0" value="KOTTE_GREEN2"/>
        </material>
        <material name="lbManureForkTop_mat" baseNode="forkTop">
            <shaderParameter name="colorMat0" value="QUICKE_ORANGE1"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="0" useDefaultColors="false" defaultColorIndex="0">
        <material name="lbManureFork_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_forkTop" price="0" useDefaultColors="false" defaultColorIndex="0">
        <material name="lbManureForkTop_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="lbManureFork_main_component1" node="0>" />
        <i3dMapping id="lbManureFork_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="fillVolume" node="0>0|1|0" />
        <i3dMapping id="exactFillRootNode" node="0>0|1|1" />
        <i3dMapping id="fillVolumeLoadNode" node="0>0|1|2" />
        <i3dMapping id="fillVolumeUnloadNode" node="0>0|1|3" />
        <i3dMapping id="pickUpNode" node="0>0|1|4" />
        <i3dMapping id="dischargeNode" node="0>0|1|5" />
        <i3dMapping id="grainEffect" node="0>0|2|0" />
        <i3dMapping id="smokeEffect" node="0>0|2|1" />
        <i3dMapping id="emitterShape" node="0>0|2|2" />
        <i3dMapping id="logoDecalsOrange" node="0>0|4|0" />
        <i3dMapping id="logoDecalsWhite" node="0>0|4|1" />
        <i3dMapping id="logoDecalsGreen" node="0>0|4|2" />
        <i3dMapping id="logoDecalsBlack" node="0>0|4|3" />
        <i3dMapping id="forkTop" node="0>0|4|4" />
        <i3dMapping id="colPartBack01" node="0>1|0" />
    </i3dMappings>
</vehicle>
