﻿<?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>PAC-1000</name>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <storePacks>
            <storePack>STARTER_COTTON</storePack>
        </storePacks>
        <rotation>0</rotation>
        <image>$data/vehicles/tenwinkel/weight1000/store_weight1000.png</image>
        <price>1050</price>
        <lifetime>600</lifetime>
        <brand>TENWINKEL</brand>
        <category>weights</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <vertexBufferMemoryUsage>92672</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>18432</indexBufferMemoryUsage>
        <textureMemoryUsage>1441792</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>$data/vehicles/tenwinkel/weight1000/weight1000.i3d</filename>
        <size width="2" length="1" lengthOffset="-0.02" />
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="1000" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="OTHER" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
                <distanceToGround lower="0.3" upper="1.0" />
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <ai>
        <agentAttachment width="0.8" height="1.0" length="0.6" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.4" maxX="0.4" minZ="-0.4" maxZ="0.4" yOffset="0.1" />
    </foliageBending>

    <baseMaterial>
        <material name="weight1000_mat" baseNode="weight1000_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="weight1000_mat"     shaderParameter="colorMat0"/>
        <material name="weight1000_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="weight1000_main_component1" node="0>" />
        <i3dMapping id="weight1000_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="topReferenceNode" node="0>0|0|1" />
        <i3dMapping id="logos_decals" node="0>0|1|0" />
    </i3dMappings>
</vehicle>
