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

    <storeData>
        <name>VG trailer</name>
        <functions>
            <function>$l10n_function_baleTrailer</function>
        </functions>
        <image>lizardVGimg.png</image>
        <price>12500</price>
        <lifetime>900</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>misc</category>
        <shopTranslationOffset>0 1.0 0</shopTranslationOffset>
        <vertexBufferMemoryUsage>198720</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>30306</indexBufferMemoryUsage>
        <textureMemoryUsage>5592688</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
		<typeDesc>$l10n_typeDesc_baleTrailer</typeDesc>
		<filename>vgBakkenwagen.i3d</filename>
		<size width="3" length="7" lengthOffset="0" />
        <components>
            <component centerOfMass="0 0.45 -1.2" solverIterationCount="10" mass="1300" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>

	<wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/vredestein/endurionTrailer/600_50R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.15" repr="wheel1" forcePointRatio="0.5" initialCompression="10" suspTravel="0.13" spring="43" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/endurionTrailer/600_50R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.15" repr="wheel2" forcePointRatio="0.5" initialCompression="10" suspTravel="0.13" spring="43" damper="50" />
                    </wheel>
				</wheels>
            </wheelConfiguration>
        </wheelConfigurations>
		
        <hubs>
            <hub linkNode="wheel2"    filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false"  scale="0.25 0.25 0.25" />
            <hub linkNode="wheel1"   filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true" scale="0.25 0.25 0.25" />
        </hubs>
    </wheels>
	
    <rimColorConfigurations useDefaultColors="true" price="500"/>
	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="0.8" />
        </inputAttacherJoints>
        <brakeForce force="0.5" maxForce="1.5" maxForceMass="23900"/>
    </attachable>

<animations>
        <animation name="foldingLeft">
            <part node="backEnd"              startTime="0" endTime="2" startRot="0 0 0" endRot="-177 0 0" />
        </animation>
</animations>

<foldable>
<foldingParts startMoveDirection="0">
                    <foldingPart animationName="foldingLeft" speedScale="1" />
</foldingParts>
</foldable>

    <lights>
        <sharedLight linkNode="reflectorBack1"  filename="$data/shared/assets/reflectors/lizard/redTriangle_02.xml" />
        <sharedLight linkNode="reflectorBack1.001"  filename="$data/shared/assets/reflectors/lizard/redTriangle_02.xml" />
		<sharedLight linkNode="LightBack1"  filename="$data/shared/assets/lights/lizard/rearLight10_left.xml" />
		<sharedLight linkNode="LightBack2"  filename="$data/shared/assets/lights/lizard/rearLight10_right.xml" />
		<sharedLight linkNode="frontLight1"  filename="$data/shared/assets/lights/lizard/frontLight06White.xml" />
		<sharedLight linkNode="frontLight2"  filename="$data/shared/assets/lights/lizard/frontLight06White.xml" />
		<sharedLight linkNode="LightBack3"  filename="$data/shared/assets/lights/lizard/rearLight10_left.xml" />
		<sharedLight linkNode="LightBack4"  filename="$data/shared/assets/lights/lizard/rearLight10_right.xml" />

	<defaultLights>
			<defaultLight shaderNode="0>10|3"          lightTypes="0 3" />
		    <defaultLight shaderNode="0>10|4"          lightTypes="0 3" />
		    <defaultLight shaderNode="0>10|5"          lightTypes="0 3" />
		    <defaultLight shaderNode="0>10|6"          lightTypes="0 3" />
			<defaultLight shaderNode="0>10|7"          lightTypes="0 3" />
		    <defaultLight shaderNode="0>10|8"          lightTypes="0 3" />
			<defaultLight shaderNode="0>10|13|0"          lightTypes="0 3" />
		    <defaultLight shaderNode="0>10|14|0"          lightTypes="0 3" />
			<defaultLight shaderNode="0>3|9"          lightTypes="0 3" />
			<defaultLight shaderNode="0>3|10"          lightTypes="0 3" />
			<defaultLight shaderNode="0>3|11"          lightTypes="0 3" />
    </defaultLights>
	
	<realLights>
	    <low/>
            <high>
                <light node="backLightsHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh" />
            </high>
        </realLights>
    </lights>

	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric"  node="Hose1"  length="0.7" diameter="0.008" straighteningFactor="0.1" >
            <objectChange node="hoseVis" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>
	
	<baseMaterial>
        <material name="Material" baseNode="mainShape">
            <shaderParameter name="colorMat0" material="0" value="0.02 0.025 0.028"/>
            <shaderParameter name="colorMat1" material="4" value="0.4 0.02 0.01 0"/>
        </material>
    </baseMaterial>

	 <designMaterialConfigurations price="0" useDefaultColors="false" defaultColorIndex="0">
        <designMaterialConfiguration name="$l10n_configuration_galvanized"  color="0.5 0.5 0.5 4" material="4" price="0"/>
        <designMaterialConfiguration name="$l10n_configuration_red"  color="0.4 0.02 0.01 0" material="0" price="842"/>
        <designMaterialConfiguration name="$l10n_configuration_yellow"  color="0.774 0.28 0 0" material="0" price="842"/>
		<material name="Material" shaderParameter="colorMat1" />
    </designMaterialConfigurations>
	
    <dynamicallyLoadedParts>
		<dynamicallyLoadedPart node="1|1" linkNode="attachElectro"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>
	

	<tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="tensionBelts" jointNode="0>" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="beltActivationTrigger">
                    <tensionBelt startNode="tensionBeltStart1" endNode="tensionBeltEnd1" offsetLeft="0.2" />
                    <tensionBelt startNode="tensionBeltStart2" endNode="tensionBeltEnd2" />
                    <tensionBelt startNode="tensionBeltStart3" endNode="tensionBeltEnd3" />
                    <tensionBelt startNode="tensionBeltStart4" endNode="tensionBeltEnd4" />
                    <tensionBelt startNode="tensionBeltStart5" endNode="tensionBeltEnd5" offsetRight="0.2" />
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
	
	<ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="7"/>
        <agentAttachment jointNode="attacherJointFront" rotCenterWheelIndices="1 2" width="2.47" height="2.8" length="2.1" lengthOffset="0" hasCollision="false"/>
    </ai>



    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-3.3" maxZ="4.8 " yOffset="-0.6" />
    </foliageBending>

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


<i3dMappings>
  <i3dMapping id="mainComponentVG" node="0>" />
  <i3dMapping id="backEnd" node="0>0" />
  <i3dMapping id="collison4" node="0>0|0" />
  <i3dMapping id="collisions" node="0>1" />
  <i3dMapping id="colliison3" node="0>1|0" />
  <i3dMapping id="colliison4" node="0>1|1" />
  <i3dMapping id="collision1" node="0>1|2" />
  <i3dMapping id="collision2" node="0>1|3" />
  <i3dMapping id="mainShape" node="0>2" />
  <i3dMapping id="sharedStuff" node="0>3" />
  <i3dMapping id="LightBack1" node="0>3|0" />
  <i3dMapping id="LightBack2" node="0>3|1" />
  <i3dMapping id="bakkenwagenTriangle.000" node="0>3|2" />
  <i3dMapping id="frontLight1" node="0>3|3" />
  <i3dMapping id="frontLight2" node="0>3|4" />
  <i3dMapping id="reflectorBack1" node="0>3|5" />
  <i3dMapping id="reflectorBack1.001" node="0>3|6" />
  <i3dMapping id="support" node="0>4" />
  <i3dMapping id="supportCol" node="0>4|0" />
  <i3dMapping id="attacherJoint" node="0>5" />
  <i3dMapping id="Hose1" node="0>6" />
  <i3dMapping id="hoseVis" node="0>6|0" />
  <i3dMapping id="attachElectro" node="0>6|0|0" />
  <i3dMapping id="backCurve.001" node="0>7" />
  <i3dMapping id="vgmDecal" node="0>8" />
  <i3dMapping id="wheel1" node="0>9|0" />
  <i3dMapping id="wheel2" node="0>9|1" />
  <i3dMapping id="lights" node="0>10" />
  <i3dMapping id="backLightsHigh" node="0>10|0" />
  <i3dMapping id="backLightsHigh2" node="0>10|0|0" />
  <i3dMapping id="turnLightLeftBack" node="0>10|1" />
  <i3dMapping id="turnLightRightBack" node="0>10|2" />
  <i3dMapping id="tensionBelts" node="0>11" />
  <i3dMapping id="tensionBeltStart1" node="0>11|0" />
  <i3dMapping id="tensionBeltEnd1" node="0>11|0|0" />
  <i3dMapping id="tensionBeltStart2" node="0>11|1" />
  <i3dMapping id="tensionBeltEnd2" node="0>11|1|0" />
  <i3dMapping id="tensionBeltStart3" node="0>11|2" />
  <i3dMapping id="tensionBeltEnd3" node="0>11|2|0" />
  <i3dMapping id="tensionBeltStart4" node="0>11|3" />
  <i3dMapping id="tensionBeltEnd4" node="0>11|3|0" />
  <i3dMapping id="tensionBeltStart5" node="0>11|4" />
  <i3dMapping id="tensionBeltEnd5" node="0>11|4|0" />
  <i3dMapping id="beltActivationTrigger" node="0>11|5" />
  <i3dMapping id="LightBack3" node="0>3|7" />
  <i3dMapping id="LightBack4" node="0>3|8" />
</i3dMappings>
</vehicle>

