﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="implementDynamicMountAttacher" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>$l10n_shopItem_skidSteerBaleFork</name>
        <specs>
            <combination filterCategory="skidSteerVehicles"/>
        </specs>
        <functions>
            <function>$l10n_function_frontloaderBaleFork</function>
        </functions>
        <image>$data/vehicles/paladin/baleSpear/store_baleSpear.png</image>
        <price>600</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>PALADIN</brand>
        <category>skidSteerTools</category>
        <shopTranslationOffset>0 -0.008 0</shopTranslationOffset>
        <shopRotationOffset>1.056 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>86784</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>13824</indexBufferMemoryUsage>
        <textureMemoryUsage>917504</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>$data/vehicles/paladin/baleSpear/baleSpear.i3d</filename>
        <size width="1.8" length="1.5" lengthOffset="0.1"/>
        <supportsPickUp>false</supportsPickUp>
        <components>
            <component centerOfMass="0 0.2 0" solverIterationCount="10" mass="94" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="skidSteer" />
        </inputAttacherJoints>
    </attachable>

    <dynamicMountAttacher node="paladinBaleSpear_main_component1">
        <mountCollisionMask node="colBack01" collisionMask="134225920" />
        <mountCollisionMask node="colBack02" collisionMask="134225920" />
        <mountCollisionMask node="colBack03" collisionMask="134225920" />
    </dynamicMountAttacher>

    <ai>
        <agentAttachment width="1.5" height="1.0" length="1.2" lengthOffset="0.1"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.75" maxX="0.75" minZ="-0.55" maxZ="-0.35" yOffset="0.025" />
        <bendingNode minX="0.6" maxX="0.7" minZ="-0.34" maxZ="0.7" yOffset="0.02" />
        <bendingNode minX="-0.05" maxX="0.05" minZ="-0.34" maxZ="0.7" yOffset="0.02" />
        <bendingNode minX="-0.7" maxX="-0.6" minZ="-0.34" maxZ="0.7" yOffset="0.02" />
    </foliageBending>

    <baseMaterial>
        <material name="baleSpear_mat" baseNode="paladinBaleSpear_vis">
            <shaderParameter name="colorMat0" value="PALADIN_GREY" material="0"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations useDefaultColors="false">
        <baseMaterialConfiguration name="$l10n_ui_colorGrey" color="PALADIN_GREY"/>
        <baseMaterialConfiguration name="$l10n_ui_colorRed" color="PALADIN_RED" price="100"/>
        <material name="baleSpear_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="paladinBaleSpear_main_component1" node="0>" />
        <i3dMapping id="paladinBaleSpear_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="dynamicMountTriggerLeft" node="0>0|2" />
        <i3dMapping id="dynamicMountTriggerRight" node="0>0|3" />
        <i3dMapping id="dynamicMountTriggerMiddle" node="0>0|4" />
        <i3dMapping id="colBack01" node="0>0|5" />
        <i3dMapping id="colBack02" node="0>0|6" />
        <i3dMapping id="colBack03" node="0>0|7" />
    </i3dMappings>
</vehicle>
