﻿<?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_telehandlerBaleFork</name>
        <specs>
            <combination filterCategory="teleLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_frontloaderBaleFork</function>
        </functions>
        <image>$data/vehicles/magsi/telehandlerBaleFork/store_magsiTelehandlerBaleFork.png</image>
        <price>900</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MAGSI</brand>
        <category>teleLoaderTools</category>
        <shopTranslationOffset>0 -0.005 0</shopTranslationOffset>
        <shopRotationOffset>0.967 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>24576</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>5120</indexBufferMemoryUsage>
        <textureMemoryUsage>720896</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_telehandlerTool</typeDesc>
        <filename>$data/vehicles/magsi/telehandlerBaleFork/telehandlerBaleFork.i3d</filename>
        <size width="2.5" length="2"/>
        <components>
            <component centerOfMass="0 0.2 -0.2" solverIterationCount="10" mass="250" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="telehandler" />
        </inputAttacherJoints>
    </attachable>

    <dynamicMountAttacher node="0>">
        <mountCollisionMask node="colPartBack1" collisionMask="134225920" />
        <mountCollisionMask node="colPartBack2" collisionMask="134225920" />
        <mountCollisionMask node="colPartBack3" collisionMask="134225920" />
    </dynamicMountAttacher>

    <ai>
        <agentAttachment width="1.8" height="1.5" length="1.5" lengthOffset="0"/>
    </ai>

    <baseMaterial>
        <material name="fork_mat" baseNode="fork_vis">
            <shaderParameter name="colorMat0" value="MAGSI_BLACK1"/>
        </material>
    </baseMaterial>

    <foliageBending>
        <bendingNode minX="-0.85" maxX="0.85" minZ="-0.5" maxZ="-0.25" yOffset="0.02" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="fork_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="colPartBack1" node="0>1|0" />
        <i3dMapping id="colPartBack2" node="0>1|1" />
        <i3dMapping id="colPartBack3" node="0>1|2" />
    </i3dMappings>
</vehicle>
