﻿<?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>B2500</name>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <rotation>0</rotation>
        <image>$data/vehicles/tenwinkel/weight2500/store_weight2500.png</image>
        <price>3700</price>
        <lifetime>600</lifetime>
        <brand>TENWINKEL</brand>
        <category>weights</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <vertexBufferMemoryUsage>119040</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>23552</indexBufferMemoryUsage>
        <textureMemoryUsage>1048576</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>$data/vehicles/tenwinkel/weight2500/weight2500.i3d</filename>
        <size width="2" length="1" lengthOffset="-0.1" />
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="2500" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="OTHER" />
    </base>

    <attacherJoints>
        <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="25 80 80" 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="-1" lowerRotationOffset="0" needsLowering="false">
                <distanceToGround lower="0.32" upper="1.05" />
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <ai>
        <agentAttachment width="1.6" height="1.0" length="0.8" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.8" maxX="0.8" minZ="0" maxZ="0.43" yOffset="0.1" />
        <bendingNode minX="-0.4" maxX="0.4" minZ="-0.43" maxZ="0" yOffset="0.1" />
    </foliageBending>

    <baseMaterial>
        <material name="weight2500_mat" baseNode="weight2500_vis">
            <shaderParameter name="colorMat0" value="SHARED_DA_METAL_BLACk" material="0"/>
            <shaderParameter name="colorMat1" value="SHARED_DA_METAL_BLACk" material="0"/>
        </material>
        <material name="tenwinkelDecal_mat" baseNode="logos_decals">
            <shaderParameter name="colorMat0" value="SHARED_DA_METAL_BLACk" material="0"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="50" useDefaultColors="true" defaultColorIndex="7">
        <material name="weight2500_mat"     shaderParameter="colorMat0"/>
        <material name="weight2500_mat"     shaderParameter="colorMat1"/>
        <material name="tenwinkelDecal_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="weight2500_main_component1" node="0>" />
        <i3dMapping id="weight2500_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" />
        <i3dMapping id="logos_decals" node="0>0|1|0" />
    </i3dMappings>
</vehicle>
