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

    <storeData>
        <name>Volvo FMX Trailer XXL</name>
		<specs>
            <combination>Volvo FMX</combination>  
        </specs>
        <functions>
            <function>Pallet Trailer</function>
        </functions>
        <image>icon/store_FmxTrailer.dds</image>
        <price>39800</price>
        <lifetime>300</lifetime>
        <rotation>0</rotation>
        <brand>VOLVO</brand>
        <category>trailers</category>
        <shopTranslationOffset>0 -0.093 0</shopTranslationOffset>
		<shopRotationOffset>0.267 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>VolvoFmxTrailer.i3d</filename>
        <size width="2.5" length="6.5" height="4.15"/>
        <components>
            <component centerOfMass="-0.03 0.81 -0.82" solverIterationCount="20" mass="5400" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="TVOLVO" />
		<mapHotspot type="TRAILER" />
    </base>
	
	<configurationSets title="$l10n_configuration_TrailerType">
		<configurationSet name="Standard Trailer" isDefault="true">
			<configuration name="folding"     	index="1" />
			<configuration name="design2" index="1" />

		</configurationSet>
		<configurationSet name="Flatbed Trailer">
			<configuration name="folding"     	index="2" />
			<configuration name="design2"     	index="2" />
		</configurationSet>
	</configurationSets>
	
	<design2Configurations title="$l10n_configuration_Cargotype">
		
		<design2Configuration name="Standard Trailer" price="0" icon="$dataS2/menu/hud/configurations/config_edition.png">
		    <objectChange node="0>12|4" visibilityActive="true" visibilityInactive="false" />
		    <objectChange node="0>3|7" visibilityActive="true" visibilityInactive="false" />
          
            <objectChange node="0>12|26" visibilityActive="false" visibilityInactive="false" />
            <objectChange node="0>3|8" visibilityActive="false" visibilityInactive="false" />
		    <objectChange node="tensionBelts" translationActive="0.37799999 0.594037 -1.67531002" translationInactive="0.37799999 0.67211181 -1.67531002" /> 
			<objectChange node="0>9|0" translationActive="0 1.22323239 -1.55305004" translationInactive="0 1.19705999 -1.55305004" /> 
			
			<objectChange node="0>9|1" compoundChildActive="true" compoundChildInactive="false"/>
            <objectChange node="0>9|2" compoundChildActive="true" compoundChildInactive="false"/>
            <objectChange node="0>9|3" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="0>9|4" compoundChildActive="true" compoundChildInactive="false"/>
            <objectChange node="0>12|4|0|6" compoundChildActive="true" compoundChildInactive="false"/>
            <objectChange node="0>12|4|1|5" compoundChildActive="true" compoundChildInactive="false"/>
        </design2Configuration>
		
		<design2Configuration name="Flatbed Trailer" price="0" icon="$dataS2/menu/hud/configurations/config_edition.png">
		   <objectChange node="0>12|26" visibilityActive="true" visibilityInactive="false" />
		   <objectChange node="0>3|8" visibilityActive="true" visibilityInactive="false" />
           
		   <objectChange node="0>12|25" scaleActive="0 0 0" /> ThermoKing
		   
		   <objectChange node="0>12|4" visibilityActive="false" visibilityInactive="false" />
		   <objectChange node="0>3|7" visibilityActive="false" visibilityInactive="false" />
		   <objectChange node="tensionBelts" translationActive="0.37799999 0.67211181 -1.67531002" translationInactive="0.37799999 0.594037 -1.67531002" /> 
		   <objectChange node="0>9|0" translationActive="0 1.29514802 -1.55305004" translationInactive="0 1.19705999 -1.55305004" /> 
		   
		   	<objectChange node="0>9|5" compoundChildActive="true" compoundChildInactive="false"/>
		    <objectChange node="0>12|26|0|0" compoundChildActive="true" compoundChildInactive="false"/>
		   	<objectChange node="0>12|26|1|0" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="0>12|26|2|0" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="0>12|26|3|0" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="0>12|26|4|0" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="0>12|26|5|0" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="0>12|26|6|0" compoundChildActive="true" compoundChildInactive="false"/>
        </design2Configuration>
		
    </design2Configurations>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD">
                <wheels autoRotateBackSpeed="2.2">
				
				    <wheel filename="Scripts/385_65R22_5.xml" isLeft="true" hasTireTracks="true" configId="truckTrailerKrone" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.1" repr="0>0|0" radius="0.51" forcePointRatio="0.5" initialCompression="12" suspTravel="0.35" spring="65" damper="40" frictionScale="2.5" />
						 <tire tireTrackAtlasIndex="8"/>
                    </wheel>
                    <wheel filename="Scripts/385_65R22_5.xml" isLeft="false" hasTireTracks="true" configId="truckTrailerKrone" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.1" repr="0>0|1" radius="0.51" forcePointRatio="0.5" initialCompression="12" suspTravel="0.35" spring="65" damper="40" frictionScale="2.5" />
						 <tire tireTrackAtlasIndex="8"/>
                    </wheel>
                    <wheel filename="Scripts/385_65R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" configId="truckTrailerKrone" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.1" repr="0>0|2" radius="0.51" forcePointRatio="0.5" initialCompression="12" suspTravel="0.35" spring="65" damper="40" frictionScale="2.5" />
						 <tire   tireTrackAtlasIndex="8"/>
						<wheelChock parkingNode="wheelChock01_01"/>
                        <wheelChock parkingNode="wheelChock01_02" isInverted="true" />
                    </wheel>
                    <wheel filename="Scripts/385_65R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" configId="truckTrailerKrone" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.1" repr="0>0|3" radius="0.51" forcePointRatio="0.5" initialCompression="12" suspTravel="0.35" spring="65" damper="40" frictionScale="2.5" />
						 <tire   tireTrackAtlasIndex="8"/>
                    </wheel>
				
                    
                </wheels>
				<objectChange node="0>0|0"  scaleActive="1 0.95 0.95" />
				<objectChange node="0>0|1" scaleActive="1 0.95 0.95" />
				<objectChange node="0>0|2" 	 scaleActive="1 0.95 0.95" />
				<objectChange node="0>0|3"  scaleActive="1 0.95 0.95" /> 
				
            </wheelConfiguration>
			<wheelConfiguration name="$l10n_configuration_Lizard_Twin_Back" price="0" brand="LIZARD">
                <wheels autoRotateBackSpeed="2.2">
				
				    <wheel filename="Scripts/315_80R22_5.xml" configId="dual" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.7" repr="0>0|0" radius="0.51" xOffset="0.51" forcePointRatio="0.3" initialCompression="12" suspTravel="0.34" spring="82" damper="50" maxLatStiffness="350" frictionScale="2.9"  />
						<additionalWheel filename="Scripts/315_80R22_5.xml" configId="dualConnector" isLeft="true" offset="0.09" />
						<tire   tireTrackAtlasIndex="8"/>
				    </wheel>
                    <wheel filename="Scripts/315_80R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.7" repr="0>0|1" radius="0.51" xOffset="0.51" forcePointRatio="0.3" initialCompression="12" suspTravel="0.34" spring="82" damper="50" maxLatStiffness="350" frictionScale="2.9"  />
						<additionalWheel filename="Scripts/315_80R22_5.xml" configId="dualConnector" isLeft="false" offset="0.09" />
						<tire   tireTrackAtlasIndex="8"/>
				    </wheel>
					
					<wheel filename="Scripts/315_80R22_5.xml" configId="dual" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.7" repr="0>0|2" radius="0.51" forcePointRatio="0.3" initialCompression="12" suspTravel="0.34" spring="82" damper="50" maxLatStiffness="350" frictionScale="2.9"  />
						<additionalWheel filename="Scripts/315_80R22_5.xml" configId="dualConnector" isLeft="true" offset="0.09" />
						<tire   tireTrackAtlasIndex="8"/>
				    </wheel>
                    <wheel filename="Scripts/315_80R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.7" repr="0>0|3" radius="0.51" forcePointRatio="0.3" initialCompression="12" suspTravel="0.34" spring="82" damper="50" maxLatStiffness="350" frictionScale="2.9"  />
						<additionalWheel filename="Scripts/315_80R22_5.xml" configId="dualConnector" isLeft="false" offset="0.09" />
						<tire   tireTrackAtlasIndex="8"/>
				    </wheel>
				
                </wheels>
				<objectChange node="0>0|0"  scaleActive="1 0.95 0.95" translationActive="0.181 0.49000001 -2.31299996" />
				<objectChange node="0>0|1"  scaleActive="1 0.95 0.95" translationActive="-0.181 0.47999999 -2.31299996" />
				<objectChange node="0>0|2" 	scaleActive="1 0.95 0.95" translationActive="0.701 0.49000001 -3.67499995" />
				<objectChange node="0>0|3"  scaleActive="1 0.95 0.95" translationActive="-0.701 0.47999999 -3.67499995" />
				
            </wheelConfiguration>
			
        </wheelConfigurations>
		
        <dynamicallyLoadedWheels>
            <dynamicallyLoadedWheel linkNode="extraWheel" filename="$data/shared/wheels/tires/continental/contiCrossTracHS3/385_65R22_5.xml" configId="truckTrailerKrone"/>
        </dynamicallyLoadedWheels>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerLow" attacherHeight="0.40" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
       	<brakeForce force="1.65" maxForce="1.5" maxForceMass="2000"/>
        <airConsumer usage="0.3" />
    </attachable>
	
	<attacherJoints comboDuration="2">
        <attacherJointConfigurations>
		    <attacherJointConfiguration name="Without Trailer Hitch" price="500">
			    <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="25 55 70" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" >
                    <distanceToGround lower="0.57" upper="1.03"/>
                    <schema position="1 0" rotation="0" invertX="false"/>
                </attacherJoint>
				<attacherJoint node="trailerAttacherJoint" jointType="trailerLow" lowerRotLimit="25 55 70" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" >
                    <distanceToGround lower="0.57" upper="1.03"/>
                    <schema position="1 0" rotation="0" invertX="false"/>
                </attacherJoint>
				
				<objectChange node="licensePlateBack" translationActive="-0.035 0.64548832 -5.5523262" translationInactive="0.76499999 0.79660147 -5.53885698"/>
                <objectChange node="0>12|13" visibilityActive="false"/>
               
            </attacherJointConfiguration>
			
            <attacherJointConfiguration name="With Trailer Hitch" price="0">
                <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="25 55 70" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" >
                    <distanceToGround lower="0.57" upper="1.03"/>
                    <schema position="1 0" rotation="0" invertX="false"/>
                </attacherJoint>
				<attacherJoint node="trailerAttacherJoint" jointType="trailerLow" lowerRotLimit="25 55 70" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" >
                    <distanceToGround lower="0.57" upper="1.03"/>
                    <schema position="1 0" rotation="0" invertX="false"/>
                </attacherJoint>
				
                <objectChange node="0>12|5" visibilityActive="false"/>
                <objectChange node="0>14|6" visibilityActive="false"/>
                <objectChange node="sideMarker24_left" translationActive="1.00300002 0.74641246 -7.26428413"/>
                <objectChange node="sideMarker24_right" translationActive="-1.08800006 0.74641246 -7.26428413"/>
                <objectChange node="rearLight15left" translationActive="0.77499998 0.72192228 -7.31395769"/>
                <objectChange node="rearLight15right" translationActive="-0.861 0.72192228 -7.31367731"/>
                <objectChange node="licensePlateBack" translationActive="0.76499999 0.79660147 -5.53885698" translationInactive="0.76499999 0.79660147 -5.53885698"/>
				
            </attacherJointConfiguration>
			
        </attacherJointConfigurations>
	</attacherJoints>
	<connectionHoses>
	
        <target attacherJointIndices="1" type="airDoubleRed" node="airDoubleStorage02" socket="air_red"/>
        <target attacherJointIndices="1" type="airDoubleYellow" node="airDoubleControl02" socket="air_yellow"/>
        <target attacherJointIndices="1" type="hydraulicIn" node="hydraulic04_in"/>
        <target attacherJointIndices="1" type="hydraulicOut" node="hydraulic04_out"/>
        <target attacherJointIndices="2 3" type="hydraulicIn" node="hydraulic02_in"/>
        <target attacherJointIndices="2 3" type="hydraulicOut" node="hydraulic02_out"/>
        <target attacherJointIndices="2 3" type="hydraulicIn" node="hydraulic03_in"/>
        <target attacherJointIndices="2 3" type="hydraulicOut" node="hydraulic03_out"/>
        <target attacherJointIndices="2 3" type="electric" node="electric" socket="electric"/>
        <target attacherJointIndices="2 3" type="airDoubleRed" node="airDoubleStorage" socket="air_red"/>
        <target attacherJointIndices="2 3" type="airDoubleYellow" node="airDoubleControl" socket="air_yellow"/>
		
		<hose inputAttacherJointIndices="1" type="airDoubleRed"  node="airRedInFront"    length="2.4" diameter="0.015" minCenterPointOffset="0 0 0.4" maxCenterPointOffset="0 0 2" straighteningFactor="2" isTwoPointHose="false" outgoingAdapter="DEFAULT" socket="air_red"/>
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="airYellowInFront" length="2.4" diameter="0.015" minCenterPointOffset="0 0 0.4" maxCenterPointOffset="0 0 2" straighteningFactor="2" isTwoPointHose="false" outgoingAdapter="DEFAULT" socket="air_yellow"/>
	    <hose inputAttacherJointIndices="1 2" type="electric" node="electricFront" length="2.4" diameter="0.01" outgoingAdapter="DEFAULT" socket="electric">
            <objectChange node="0>12|2" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>11|3" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>12|0" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>12|1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>12|24" visibilityActive="false" visibilityInactive="true"/>
        </hose> 
		
    </connectionHoses>
	
	<licensePlates>
        <licensePlate node="licensePlateBack" position="BACK" preferedType="ELONGATED" placementArea="0.08 0.28 0.15 0.28"/>
    </licensePlates>

    <lights>
        <sharedLight linkNode="sideMarker24_left" lightTypes="0" filename="$data/shared/assets/lights/lizard/sideMarker19_left.xml">
        </sharedLight>
		<sharedLight linkNode="sideMarker24_right" lightTypes="0" filename="$data/shared/assets/lights/lizard/sideMarker19_right.xml">
        </sharedLight>
        <sharedLight linkNode="rearLight15left" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearLight31_left.xml">
	    </sharedLight>
		<sharedLight linkNode="rearLight15right" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearLight31_right.xml">
        </sharedLight>

        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>

            <high>
                <light node="0>3|0" lightTypes="0 3"/>
                <light node="0>13|2" lightTypes="0 3"/>
                <brakeLight node="0>3|0"/>
                <turnLightLeft node="0>3|2"/>
                <turnLightRight node="0>3|4"/>
                <reverseLight node="0>3|5"/>
            </high>
        </realLights>
		<defaultLights>
            
            <defaultLight shaderNode="0>13|1|0" lightTypes="0" intensity="20"/>
            <defaultLight shaderNode="0>13|0|0" lightTypes="0" intensity="20"/>
			
			<defaultLight shaderNode="0>12|4|3|0|0" lightTypes="0 3" intensity="56"/>
            <defaultLight shaderNode="0>12|4|3|1|0" lightTypes="0 3" intensity="56"/>
            <defaultLight shaderNode="0>12|4|3|2|0" lightTypes="0 3" intensity="56"/>
            <defaultLight shaderNode="0>12|4|3|3|0" lightTypes="0 3" intensity="56"/>
			
            <defaultLight shaderNode="0>3|7|0|0" lightTypes="0 3" intensity="30"/>
            <defaultLight shaderNode="0>3|7|1|0" lightTypes="0 3" intensity="30"/>
            <defaultLight shaderNode="0>3|7|2|0" lightTypes="0 3" intensity="30"/>
            <defaultLight shaderNode="0>3|7|3|0" lightTypes="0 3" intensity="30"/>
            <defaultLight shaderNode="0>3|7|4|0" lightTypes="0 3" intensity="30"/>
            <defaultLight shaderNode="0>3|7|5|0" lightTypes="0 3" intensity="30"/>
            <defaultLight shaderNode="0>3|7|6|0" lightTypes="0 3" intensity="30"/>
            <defaultLight shaderNode="0>3|7|7|0" lightTypes="0 3" intensity="30"/>
            
			<defaultLight shaderNode="0>3|8|0|0" lightTypes="0 3" intensity="30"/>
			<defaultLight shaderNode="0>3|8|1|0" lightTypes="0 3" intensity="30"/>
			<defaultLight shaderNode="0>3|8|2|0" lightTypes="0 3" intensity="30"/>
			<defaultLight shaderNode="0>3|8|3|0" lightTypes="0 3" intensity="30"/>
			<defaultLight shaderNode="0>3|8|4|0" lightTypes="0 3" intensity="30"/>
			<defaultLight shaderNode="0>3|8|5|0" lightTypes="0 3" intensity="30"/>

        </defaultLights>
    </lights>
	
	<foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts posDirectionText="Close trailer door" negDirectionText="Open trailer door" requiresPower="false">
                    <foldingPart animationName="backDoors" speedScale="1.2" />
                </foldingParts>
            </foldingConfiguration>
			<foldingConfiguration>
                <foldingParts posDirectionText="Close trailer door" negDirectionText="Open trailer door" requiresPower="false">
                    <foldingPart animationName="Pannel_Left1" speedScale="1" />
                    <foldingPart animationName="Pannel_Left2" speedScale="1" />
                    <foldingPart animationName="Pannel_Left3" speedScale="1" />
                    <foldingPart animationName="Pannel_Right1" speedScale="1" />
                    <foldingPart animationName="Pannel_Right2" speedScale="1" />
                    <foldingPart animationName="Pannel_Right3" speedScale="1" />
                    <foldingPart animationName="Pannel_Back" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>
	
    <animations>
	
	    <animation name="backDoors">
		    <part node="PanelLeftB"        startTime="0" endTime="2" startRot="0 0 0" endRot="0 -180 0" tangentType="spline"/>
            <part node="PanelRightB"       startTime="1.05" endTime="3" startRot="0 0 0" endRot="0 180 0" tangentType="spline"/>

			<sound template="metalDoorsLoop"  startTime="0.01" endTime="2"    volumeScale="3.5" pitchScale="0.9" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="metalDoorsLoop"  startTime="1"    endTime="2.99" volumeScale="4.4" pitchScale="0.7" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="hingeMedium"     startTime="1"                   volumeScale="2.8" pitchScale="0.7"/>
            <sound template="metalDoorsClose" startTime="2"    direction="1"  volumeScale="3"   pitchScale="0.9"/>
            <sound template="metalClose"      startTime="2"    direction="1"  volumeScale="3"   pitchScale="0.9"/>
            <sound template="clackVar1"       startTime="2"    direction="1"  volumeScale="1"   pitchScale="1.1"/>
            <sound template="cylinderPunch"   startTime="2"    direction="1"  volumeScale="0.4" pitchScale="1.5"/>
            <sound template="metalDoorsClose"  startTime="2.99" direction="1"  volumeScale="3"   pitchScale="0.7"/>
            <sound template="metalClose"      startTime="2.99" direction="1"  volumeScale="2"   pitchScale="1.7"/>
            <sound template="clackVar1"       startTime="2.99" direction="1"  volumeScale="1.7" pitchScale="1.3"/>
            <sound template="cylinderPunch"   startTime="2.99" direction="1"  volumeScale="0.4" pitchScale="1"/>
            <sound template="clackVar6"       startTime="1"    direction="-1" volumeScale="2.3" pitchScale="1"/>
            <sound template="cylinderPunch"   startTime="1"    direction="-1" volumeScale="0.5" pitchScale="1.6"/>
            <sound template="sheetImp02"      startTime="1"    direction="-1" volumeScale="1.3" pitchScale="1.4"/>
            <sound template="clackVar6"       startTime="0.01" direction="-1" volumeScale="2.3" pitchScale="0.8"/>
            <sound template="cylinderPunch"   startTime="0.01" direction="-1" volumeScale="0.5" pitchScale="1.3"/>
            <sound template="sheetImp02"      startTime="0.01" direction="-1" volumeScale="1.3" pitchScale="1.8"/>
            <sound template="clackVar3"       startTime="2.99" direction="-1" volumeScale="1.3" pitchScale="1.8"/>
            <sound template="clackVar3"       startTime="2.01" direction="-1" volumeScale="1.3" pitchScale="1.4"/>
        </animation>
        <animation name="moveSupport">
		    <!-- <part node="0>7|3|15|0|0" startTime="0" endTime="0.3" startRot="0 0 0" endRot="0 0 -630" />   -->
		    <!-- <part node="0>7|3|15|1"  startTime="0" endTime="0.3" startRot="0 0 0" endRot="40 0 0" /> -->
			<part node="supportArm" startTime="0" endTime="0.6" startTrans="0 0.44699999 0" endTrans="0 0 0" />
			<part node="0>2|1" startTime="0" endTime="0.6" startTrans="0 0.42699999 -5.51751947" endTrans="0 0 -5.51751947" />
			
		    <sound template="clackVar1" startTime="0.1"  volumeScale="1"   pitchScale="1.3" linkNode="attacherJoint" />
            <sound template="clackVar6" startTime="0.29" volumeScale="0.4" pitchScale="1.3" linkNode="attacherJoint" />
           
        </animation>
		
		<animation name="Pannel_Left1">
            <part node="Pannel_L1"          startTime="0.1" endTime="0.5" startRot="0 0 0" endRot="0 0 -180"/>

            <sound template="metalClose"    startTime="0.15"  direction="-1" volumeScale="1.4" pitchScale="1.4" linkNode="Pannel_L1"/>
            <sound template="metalOpen"     startTime="0.15"  direction="1"  volumeScale="1.6" pitchScale="0.8" linkNode="Pannel_L1"/>
            <sound template="hingeMedium"   startTime="0.90"  direction="-1" volumeScale="0.5" pitchScale="1.1" linkNode="Pannel_L1"/>
        </animation>
		<animation name="Pannel_Left2">
            <part node="Pannel_L2"          startTime="0.2" endTime="0.6" startRot="0 0 0" endRot="0 0 -180"/>

            <sound template="metalClose"    startTime="0.15"  direction="-1" volumeScale="1.4" pitchScale="1.4" linkNode="Pannel_L2"/>
            <sound template="metalOpen"     startTime="0.15"  direction="1"  volumeScale="1.6" pitchScale="0.8" linkNode="Pannel_L2"/>
            <sound template="hingeMedium"   startTime="0.90"  direction="-1" volumeScale="0.5" pitchScale="1.1" linkNode="Pannel_L2"/>
        </animation>
		<animation name="Pannel_Left3">
            <part node="Pannel_L3"          startTime="0.3" endTime="0.7" startRot="0 0 0" endRot="0 0 -180"/>

            <sound template="metalClose"    startTime="0.15"  direction="-1" volumeScale="1.4" pitchScale="1.4" linkNode="Pannel_L3"/>
            <sound template="metalOpen"     startTime="0.15"  direction="1"  volumeScale="1.6" pitchScale="0.8" linkNode="Pannel_L3"/>
            <sound template="hingeMedium"   startTime="0.90"  direction="-1" volumeScale="0.5" pitchScale="1.1" linkNode="Pannel_L3"/>
        </animation>
		<animation name="Pannel_Right1">
            <part node="Pannel_R1"          startTime="0.4" endTime="0.8" startRot="0 0 0" endRot="0 0 180"/>

            <sound template="metalClose"    startTime="0.15"  direction="-1" volumeScale="1.4" pitchScale="1.4" linkNode="Pannel_R1"/>
            <sound template="metalOpen"     startTime="0.15"  direction="1"  volumeScale="1.6" pitchScale="0.8" linkNode="Pannel_R1"/>
            <sound template="hingeMedium"   startTime="0.90"  direction="-1" volumeScale="0.5" pitchScale="1.1" linkNode="Pannel_R1"/>
        </animation>
		<animation name="Pannel_Right2">
            <part node="Pannel_R2"          startTime="0.5" endTime="0.9" startRot="0 0 0" endRot="0 0 180"/>

            <sound template="metalClose"    startTime="0.15"  direction="-1" volumeScale="1.4" pitchScale="1.4" linkNode="Pannel_R2"/>
            <sound template="metalOpen"     startTime="0.15"  direction="1"  volumeScale="1.6" pitchScale="0.8" linkNode="Pannel_R2"/>
            <sound template="hingeMedium"   startTime="0.90"  direction="-1" volumeScale="0.5" pitchScale="1.1" linkNode="Pannel_R2"/>
        </animation>
		<animation name="Pannel_Right3">
            <part node="Pannel_R3"          startTime="0.6" endTime="1.0" startRot="0 0 0" endRot="0 0 180"/>

            <sound template="metalClose"    startTime="0.15"  direction="-1" volumeScale="1.4" pitchScale="1.4" linkNode="Pannel_R3"/>
            <sound template="metalOpen"     startTime="0.15"  direction="1"  volumeScale="1.6" pitchScale="0.8" linkNode="Pannel_R3"/>
            <sound template="hingeMedium"   startTime="0.90"  direction="-1" volumeScale="0.5" pitchScale="1.1" linkNode="Pannel_R3"/>
        </animation>
		<animation name="Pannel_Back">
            <part node="Pannel_B"          startTime="0.7" endTime="1.10" startRot="0 0 0" endRot="-180 0 0"/>

            <sound template="metalClose"    startTime="0.15"  direction="-1" volumeScale="1.4" pitchScale="1.4" linkNode="Pannel_B"/>
            <sound template="metalOpen"     startTime="0.15"  direction="1"  volumeScale="1.6" pitchScale="0.8" linkNode="Pannel_B"/>
            <sound template="hingeMedium"   startTime="0.90"  direction="-1" volumeScale="0.5" pitchScale="1.1" linkNode="Pannel_B"/>
        </animation>
      
    </animations>
	
	<cylindered>
	    <movingTools>			
		    <movingTool node="0>0" wheelIndices="1 2 3 4" playSound="true">
                <controls axis="AXIS_CRANE_ARM" invertAxis="false" mouseSpeedFactor="0.13" iconName="TRAS_UP_DN" />
				<translation transSpeed="0.5" transAcceleration="15" transMax="0.024" transMin="-0.056" translationAxis="2" />
            </movingTool>
        </movingTools>

		<sounds>
			<hydraulic file="sounds/baler_knot_cleaning.ogg" volumeScale="1.7" linkNode="0>" />
		</sounds>
    </cylindered>
	
	<suspensions>
        <suspension node="0>14|2" 	weight="950" inverseMovement="true" 	minRotation="-40 0 0" 	maxRotation="90 0 0" 	suspensionParametersX="20 4" 	suspensionParametersY="5 1" suspensionParametersZ="20 4" />
        <suspension node="0>14|3" 	weight="950" inverseMovement="true" 	minRotation="-40 0 0" 	maxRotation="90 0 0" 	suspensionParametersX="20 4" 	suspensionParametersY="5 1" suspensionParametersZ="20 4" />
        <suspension node="0>14|6" 	weight="950" inverseMovement="true" 	minRotation="-40 0 0" 	maxRotation="90 0 0" 	suspensionParametersX="20 4" 	suspensionParametersY="5 1" suspensionParametersZ="20 4" />
    </suspensions>
	
	<tensionBelts>
	
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="tensionBelts" rootNode="VolvoTrailer_main_component1" jointNode="VolvoTrailer_main_component1" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="-0.45" defaultOffsetSide="0.1" defaultHeight="3" interactionRadius="1.75" totalInteractionRadius="3.5" activationTrigger="beltActivationTrigger">
                    <tensionBelt startNode="beltStart1" endNode="beltEnd1" offsetLeft="0.85"/>
                    <tensionBelt startNode="beltStart2" endNode="beltEnd2"/>
                    <tensionBelt startNode="beltStart3" endNode="beltEnd3"/>
                    <tensionBelt startNode="beltStart4" endNode="beltEnd4" offsetRight="0.85"/>
                    <tensionBelt startNode="beltStart5" endNode="beltEnd5" offsetRight="0.85"/>
                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>

            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
	
	<ai>
		<allowTurnBackward value="false"/>
		<turningRadiusLimitation radius="8"/>
		<agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.5" height="3.45" length="5.9" lengthOffset="1"/>
	</ai>

    <foliageBending>
       <bendingNode minX="-1.15" maxX="1.15" minZ="-2.8" maxZ="2.8" yOffset="0.05" />
    </foliageBending>
	
	<rimColorConfigurations useDefaultColors="true">
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_CHROME" price="1000"/>
        <rimColorConfiguration materialTemplateName="RIM_DEFAULT"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_WHITE"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_BLACK"/>
    </rimColorConfigurations>
	
	<designColor2Configurations title="Box color" useDefaultColors="true">
	    <designColor2Configuration materialTemplateName="AGRIO_WHITE" name="White"/>	
		
        <material materialSlotName="Paint2"/>
    </designColor2Configurations>
	
    <designConfigurations title="$l10n_configuration_Refrigerator">
		
		<designConfiguration name="Without Trailer Refrigerator" price="0" icon="$dataS2/menu/hud/configurations/config_edition.png">
		   <objectChange node="0>12|25" visibilityActive="false" visibilityInactive="false" />
        </designConfiguration>
		
		<designConfiguration name="With Trailer Refrigerator" price="0" icon="$dataS2/menu/hud/configurations/config_edition.png">
           <objectChange node="0>12|25" visibilityActive="true" visibilityInactive="false" />
        </designConfiguration>
		
    </designConfigurations>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="VolvoTrailer_main_component1" node="0>" />
        
        <i3dMapping id="extraWheel" node="0>15|0|0" />
        <i3dMapping id="wheelChock01_01" node="0>15|1" />
        <i3dMapping id="wheelChock01_02" node="0>15|2" />
        <i3dMapping id="attacherJoint" node="0>1" />
		<i3dMapping id="trailerAttacherJoint" node="0>11|0" />
        <i3dMapping id="supportArm" node="0>2|0" />
        
        <i3dMapping id="backLights" node="0>3|1" />
        <i3dMapping id="backLightsHigh" node="0>3|0" />
        <i3dMapping id="fst990_vis" node="0>7|0" />

		<i3dMapping id="PanelRightB" node="0>12|4|1"/>
		<i3dMapping id="PanelLeftB" node="0>12|4|0"/>
		
		<i3dMapping id="tensionBelts" node="0>10|0" />
		<i3dMapping id="beltActivationTrigger" node="0>10|0|5" />
		<i3dMapping id="beltStart1" node="0>10|0|0" />
        <i3dMapping id="beltEnd1" node="0>10|0|0|0" />
        <i3dMapping id="beltStart2" node="0>10|0|1" />
        <i3dMapping id="beltEnd2" node="0>10|0|1|0" />
		<i3dMapping id="beltStart3" node="0>10|0|2" />
        <i3dMapping id="beltEnd3" node="0>10|0|2|0" />
		<i3dMapping id="beltStart4" node="0>10|0|3" />
        <i3dMapping id="beltEnd4" node="0>10|0|3|0" />
		<i3dMapping id="beltStart5" node="0>10|0|4" />
        <i3dMapping id="beltEnd5" node="0>10|0|4|0" />
		<i3dMapping id="electric" node="0>11|1" />
		<i3dMapping id="electricFront" node="0>11|2" />
		
		<i3dMapping id="licensePlateBack" node="0>13" />
		
		<i3dMapping id="rearLight15left" node="0>3|6|0"/>
        <i3dMapping id="rearLight15right" node="0>3|6|1"/>
        <i3dMapping id="sideMarker24_left" node="0>3|6|2"/>
        <i3dMapping id="sideMarker24_right" node="0>3|6|3"/>
		
		<i3dMapping id="airDoubleStorage" node="0>11|4|0" />
        <i3dMapping id="airDoubleControl" node="0>11|4|1" />
        <i3dMapping id="backElectric" node="0>11|4|2" />
        <i3dMapping id="semiElectric" node="0>11|4|3" />
        <i3dMapping id="hydraulic03_out" node="0>11|4|4" />
        <i3dMapping id="hydraulic03_in" node="0>11|4|5" />
        <i3dMapping id="hydraulic02_out" node="0>11|4|6" />
        <i3dMapping id="hydraulic02_in" node="0>11|4|7" />
        <i3dMapping id="airDoubleControl02" node="0>11|4|8" />
        <i3dMapping id="airDoubleStorage02" node="0>11|4|9" />
        <i3dMapping id="hydraulic04_in" node="0>11|4|10" />
        <i3dMapping id="hydraulic04_out" node="0>11|4|11" />
        <i3dMapping id="airRedInFront" node="0>11|4|12" />
        <i3dMapping id="airYellowInFront" node="0>11|4|13" />
		
		<i3dMapping id="Pannel_L1" node="0>12|26|0"/>
        <i3dMapping id="Pannel_L2" node="0>12|26|1"/>
        <i3dMapping id="Pannel_L3" node="0>12|26|2"/>
        <i3dMapping id="Pannel_R1" node="0>12|26|3"/>
        <i3dMapping id="Pannel_R3" node="0>12|26|4"/>
        <i3dMapping id="Pannel_R2" node="0>12|26|5"/>
        <i3dMapping id="Pannel_B" node="0>12|26|6"/>

    </i3dMappings>
</vehicle>
