﻿<?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>W 1800</name>
        <specs>
            <weight>
                <config name="design" index="1" value="1800"/>
                <config name="design" index="2" value="2200"/>
                <config name="design" index="3" value="2600"/>
                <config name="design" index="4" value="3000"/>
                <config name="design" index="5" value="3400"/>
            </weight>
        </specs>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <rotation>0</rotation>
        <image>$data/vehicles/claas/w1800/store_w1800.png</image>
        <price>1900</price>
        <dailyUpkeep>0</dailyUpkeep>
        <lifetime>600</lifetime>
        <brand>CLAAS</brand>
        <category>weights</category>
        <vertexBufferMemoryUsage>210688</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>53760</indexBufferMemoryUsage>
        <textureMemoryUsage>655360</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>$data/vehicles/claas/w1800/w1800.i3d</filename>
        <size width="2.5" length="1.5" />
        <components>
            <component centerOfMass="0 0.2 0" solverIterationCount="10" mass="1800" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <designConfigurations>
        <designConfiguration name="$l10n_configuration_frontWeightX" params="1800" price="0">
            <objectChange node="w1800_main_component1" massActive="1800" />
            <objectChange node="attachment_400kg" visibilityActive="false" />
            <objectChange node="attachment_800kg" visibilityActive="false" />
            <objectChange node="attachment_1200kg" visibilityActive="false" />
            <objectChange node="attachment_1600kg" visibilityActive="false" />
            <objectChange node="attachment_400kgCol" compoundChildActive="false" />
            <objectChange node="attachment_800kgCol" compoundChildActive="false" />
            <objectChange node="attachment_1200kgCol" compoundChildActive="false" />
            <objectChange node="attachment_1600kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuration_frontWeightX" params="2200" price="400" vehicleName="W 2200">
            <objectChange node="w1800_main_component1" massActive="2200" />
            <objectChange node="attachment_400kg" visibilityActive="true" />
            <objectChange node="attachment_800kg" visibilityActive="false" />
            <objectChange node="attachment_1200kg" visibilityActive="false" />
            <objectChange node="attachment_1600kg" visibilityActive="false" />
            <objectChange node="attachment_400kgCol" compoundChildActive="true" />
            <objectChange node="attachment_800kgCol" compoundChildActive="false" />
            <objectChange node="attachment_1200kgCol" compoundChildActive="false" />
            <objectChange node="attachment_1600kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuration_frontWeightX" params="2600" price="850" vehicleName="W 2600">
            <objectChange node="w1800_main_component1" massActive="2600" />
            <objectChange node="attachment_400kg" visibilityActive="true" />
            <objectChange node="attachment_800kg" visibilityActive="true" />
            <objectChange node="attachment_1200kg" visibilityActive="false" />
            <objectChange node="attachment_1600kg" visibilityActive="false" />
            <objectChange node="attachment_400kgCol" compoundChildActive="true" />
            <objectChange node="attachment_800kgCol" compoundChildActive="true" />
            <objectChange node="attachment_1200kgCol" compoundChildActive="false" />
            <objectChange node="attachment_1600kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuration_frontWeightX" params="3000" price="1250" vehicleName="W 3000">
            <objectChange node="w1800_main_component1" massActive="3000" />
            <objectChange node="attachment_400kg" visibilityActive="true" />
            <objectChange node="attachment_800kg" visibilityActive="true" />
            <objectChange node="attachment_1200kg" visibilityActive="true" />
            <objectChange node="attachment_1600kg" visibilityActive="false" />
            <objectChange node="attachment_400kgCol" compoundChildActive="true" />
            <objectChange node="attachment_800kgCol" compoundChildActive="true" />
            <objectChange node="attachment_1200kgCol" compoundChildActive="true" />
            <objectChange node="attachment_1600kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuration_frontWeightX" params="3400" price="1650" vehicleName="W 3400">
            <objectChange node="w1800_main_component1" massActive="3400" />
            <objectChange node="attachment_400kg" visibilityActive="true" />
            <objectChange node="attachment_800kg" visibilityActive="true" />
            <objectChange node="attachment_1200kg" visibilityActive="true" />
            <objectChange node="attachment_1600kg" visibilityActive="true" />
            <objectChange node="attachment_400kgCol" compoundChildActive="true" />
            <objectChange node="attachment_800kgCol" compoundChildActive="true" />
            <objectChange node="attachment_1200kgCol" compoundChildActive="true" />
            <objectChange node="attachment_1600kgCol" compoundChildActive="true" />
        </designConfiguration>
    </designConfigurations>

    <attacherJoints>
        <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="25 70 65" upperRotationOffset="0" allowsJointLimitMovement="false" >
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="w1800_main_component1" />
        </sounds>
    </attacherJoints>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
              <distanceToGround lower="0.35" upper="0.9" />
            </inputAttacherJoint>
          </inputAttacherJoints>
    </attachable>

    <ai>
        <agentAttachment width="1.8" height="1.0" length="0.8" lengthOffset="0.0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.95" maxX="0.95" minZ="-0.45" maxZ="0.4" yOffset="0.1" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2" showOnHud="false"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <baseMaterial>
        <material name="claasWeights_mat" baseNode="w1800_vis">
            <shaderParameter name="colorMat0" value="CLAAS_DARKGREY2"/>
        </material>
    </baseMaterial>

    <i3dMappings>
        <i3dMapping id="w1800_main_component1" node="0>" />
        <i3dMapping id="attacherJoint" node="0>0" />
        <i3dMapping id="topReferenceNode" node="0>1" />
        <i3dMapping id="trailerAttacherJoint" node="0>2" />
        <i3dMapping id="w1800_vis" node="0>3" />
        <i3dMapping id="attachment_400kg" node="0>3|0" />
        <i3dMapping id="attachment_400kgCol" node="0>3|0|0" />
        <i3dMapping id="attachment_800kg" node="0>3|1" />
        <i3dMapping id="attachment_800kgCol" node="0>3|1|0" />
        <i3dMapping id="attachment_1200kg" node="0>3|2" />
        <i3dMapping id="attachment_1200kgCol" node="0>3|2|0" />
        <i3dMapping id="attachment_1600kg" node="0>3|3" />
        <i3dMapping id="attachment_1600kgCol" node="0>3|3|0" />
    </i3dMappings>
</vehicle>
