﻿<?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>1100</name>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <storePacks>
            <storePack>STARTER_SUGARCANE</storePack>
        </storePacks>
        <rotation>0</rotation>
        <image>$data/vehicles/agco/weight1100/store_agco1100.png</image>
        <price>1150</price>
        <lifetime>600</lifetime>
        <brand>AGCO</brand>
        <category>weights</category>
        <shopTranslationOffset>0 0.04 0</shopTranslationOffset>
        <vertexBufferMemoryUsage>63744</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>12288</indexBufferMemoryUsage>
        <textureMemoryUsage>458752</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>$data/vehicles/agco/weight1100/weight1100.i3d</filename>
        <size width="2" length="1.5" />
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="1100" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attacherJoints>
        <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="25 75 75" allowsJointLimitMovement="false" >
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>" />
        </sounds>
    </attacherJoints>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint  node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
                <distanceToGround lower="0.3" upper="0.9" />
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <ai>
        <agentAttachment width="1" height="1.0" length="0.8" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.6" maxX="0.6" minZ="-0.5" maxZ="0.5" yOffset="0.1" />
    </foliageBending>

    <baseMaterial>
        <material name="agcoWeights_mat" baseNode="weight1100_vis">
            <shaderParameter name="colorMat0" value="AGCO_GREY1"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="50" useDefaultColors="true" defaultColorIndex="6">
        <material name="agcoWeights_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2" showOnHud="false"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="weight1100_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="topReferenceNode" node="0>0|0|1" />
        <i3dMapping id="trailerAttacherJoint" node="0>0|0|2" />
    </i3dMappings>
</vehicle>
