<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherTrailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Varifeed 25FT cutter trailer</name>
        <functions>
            <function>$l10n_function_cutterTrailer</function>
        </functions>
        <image>store3.dds</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>cutterTrailers</category>
        <vertexBufferMemoryUsage>152288</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>18516</indexBufferMemoryUsage>
        <textureMemoryUsage>1398320</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutterTrailer</typeDesc>
        <filename>carreta.i3d</filename>
        <size width="3" length="10.5"/>
        <components>
            <component centerOfMass="0 0.5 0" solverIterationCount="20" mass="2315"/>
			<component centerOfMass="0 0 0" solverIterationCount="20" mass="100"/>
			<component centerOfMass="0 0 0" solverIterationCount="20" mass="100"/>
            <joint component1="1" component2="2" node="0>0|1|0" rotLimit="12 0 0" transLimit="0 0 0" />
			<joint component1="1" component2="3" node="0>0|1|1" rotLimit="12 0 0" transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

     <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="1>0|0" forcePointRatio="0.3" initialCompression="25" suspTravel="0.1" spring="39" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="1>0|1" forcePointRatio="0.3" initialCompression="25" suspTravel="0.1" spring="39" damper="40" />
                    </wheel>
					<wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="2>0|0" forcePointRatio="0.3" initialCompression="25" suspTravel="0.1" spring="39" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="2>0|1" forcePointRatio="0.3" initialCompression="25" suspTravel="0.1" spring="39" damper="40" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>


        <hubs>
            <hub linkNode="1>0|0"  filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.203 0.203 0.203" />
            <hub linkNode="1>0|1" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true" scale="0.203 0.203 0.203" />
			<hub linkNode="2>0|0"  filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false"  scale="0.203 0.203 0.203" />
            <hub linkNode="2>0|1" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false" scale="0.203 0.203 0.203" />
        </hubs>
    </wheels>

	<rimColorConfigurations useDefaultColors="true" price="300"/>
	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|0" jointType="trailer" attacherHeight="0.759"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce>0.4</brakeForce>
    </attachable>

    <dynamicMountAttacher triggerNode="0>0|3" rootNode="0>" jointNode="0>" forceAcceleration="500" mountType="TYPE_AUTO_ATTACH_XZ"/>

    <animations>
        <animation name="moveSupport">
            <part node="0>0|4" startTime="0" endTime="0.6" startRot="90 0 0" endRot="0 0 0" />
        </animation>
    </animations>

    <foliageBending>
        <bendingNode minX="-0.45" maxX="0.45" minZ="-6.8" maxZ="2.6" yOffset="0.4" />
    </foliageBending>

    <baseMaterial>
        <material name="carretinha" baseNode="0>0">
            <shaderParameter name="colorMat0" value="THUERINGERAGRAR_YELLOW1"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations useDefaultColors="true">
        <baseMaterialConfiguration color="0.891 0.472 0 0"/>
        <material name="carretinha" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

</vehicle>