﻿<?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>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>BIG BAG LIFTER - DUAL</name>
        <specs>
            <combination xmlFilename="$data/vehicles/quicke/q3M/q3M.xml"/>
            <combination xmlFilename="$data/vehicles/quicke/q4M/q4M.xml"/>
            <combination xmlFilename="$data/vehicles/quicke/q5M/q5M.xml"/>
            <combination xmlFilename="$data/vehicles/quicke/q6M/q6M.xml"/>
            <combination xmlFilename="$data/vehicles/quicke/q7M/q7M.xml"/>
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_bigBagLifter</function>
        </functions>
        <image>$data/vehicles/quicke/bagLifterDual/store_bagLifterDual.png</image>
        <price>1250</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>QUICKE</brand>
        <category>frontLoaderTools</category>
        <shopHeight>2.2</shopHeight>
        <shopRotationOffset>-0.009 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>185088</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>36608</indexBufferMemoryUsage>
        <textureMemoryUsage>851968</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>$data/vehicles/quicke/bagLifterDual/bagLifterDual.i3d</filename>
        <size width="3" length="2" lengthOffset="0.3"/>
        <components>
            <component centerOfMass="0 0.1 -0.05" solverIterationCount="30" mass="300" />
        </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>

    <wearable wearDuration="480" workMultiplier="5" 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" />
    </i3dMappings>
</vehicle>
