<?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>PickUp 900</name>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <storePacks>
            <storePack>STARTER_WOOD</storePack>
        </storePacks>
        <rotation>0</rotation>
        <image>store_pickUp900.dds</image>
        <price>950</price>
        <lifetime>600</lifetime>
        <brand>JOHNDEERE</brand>
        <category>weights</category>
        <vertexBufferMemoryUsage>111616</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>22528</indexBufferMemoryUsage>
        <textureMemoryUsage>851968</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>
	
    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>pickUp900.i3d</filename>
        <size width="2" length="1.5"/>
        <components>
            <component centerOfMass="0 0.15 0" solverIterationCount="10" mass="900"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
    </base>
	
    <attacherJoints>
        <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="25 65 65" allowsJointLimitMovement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>"/>
        </sounds>
    </attacherJoints>
	
	<attachable>
	    <inputAttacherJointConfigurations>
            <inputAttacherJointConfiguration name="$l10n_configuration_attacherLow">
                <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="5" lowerRotationOffset="0" needsLowering="false">
                    <distanceToGround lower="0.3" upper="0.9"/>
                </inputAttacherJoint>
            </inputAttacherJointConfiguration>
			<inputAttacherJointConfiguration name="$l10n_configuration_attacherHigh">
                <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="5" lowerRotationOffset="0" needsLowering="false">
                    <distanceToGround lower="0.3" upper="1.0"/>
                </inputAttacherJoint>
            </inputAttacherJointConfiguration>
	    </inputAttacherJointConfigurations>
	 </attachable>
	
    <ai>
        <agentAttachment width="0.8" height="0.7" length="0.5" lengthOffset="0"/>
    </ai>
	
    <foliageBending>
        <bendingNode minX="-0.45" maxX="0.45" minZ="-0.4" maxZ="0.3" yOffset="0.1"/>
    </foliageBending>
	
    <baseMaterial>
        <material name="weightSet_mat" baseNode="weight_vis">
            <shaderParameter name="colorMat0" value="JOHNDEERE_GREEN1"/>
        </material>
		<material name="rope_mat" baseNode="rope_vis">
            <shaderParameter name="colorMat0" value="ROPE_BROWN"/>
        </material>
    </baseMaterial>
	
    <designMaterialConfigurations defaultColorIndex="0">
	    <designMaterialConfiguration name="Braun" color="ROPE_BROWN"/>
        <designMaterialConfiguration name="Beige" color="ROPE_BEIGE"/>
		<designMaterialConfiguration name="Blau" color="ROPE_BLUE" />
		<designMaterialConfiguration name="Grün" color="ROPE_GREEN" />
		<designMaterialConfiguration name="Orange" color="ROPE_ORANGE" />	
		<designMaterialConfiguration name="Schwarz" color="ROPE_BLACK" />
		<designMaterialConfiguration name="Rot" color="SHARED_RD1" />
        <material name="rope_mat" shaderParameter="colorMat0" />
    </designMaterialConfigurations>

	<designConfigurations title="$l10n_configuration_towRope">	
	    <designConfiguration name="$l10n_ui_no" price="0" >
            <objectChange node="rope_vis" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
		<designConfiguration name="$l10n_ui_yes" price="180" >
            <objectChange node="rope_vis" visibilityActive="true" visibilityInactive="false" />           
        </designConfiguration>   
    </designConfigurations>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2" showOnHud="false"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>
	
    <i3dMappings>
        <i3dMapping id="weight_vis" node="0>0"/>
        <i3dMapping id="attacherJoint" node="0>0|0"/>
        <i3dMapping id="topReferenceNode" node="0>0|1"/>
        <i3dMapping id="trailerAttacherJoint" node="0>0|2"/>
		<i3dMapping id="rope_vis" node="0>0|4|0" />
    </i3dMappings>
</vehicle>
