<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="autoloadTrailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	
	<storeData>
        <name>PF 60 Vert</name>
        <functions>
            <function>$l10n_function_baleTrailer</function>			
        </functions>
        <image>Store/PF60.dds</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LAMBERT</brand>
        <category>baling</category>
    </storeData>

	<base>
		<typeDesc>$l10n_typeDesc_baleTrailer</typeDesc>
		<filename>PF60.i3d</filename>
		<size width="3.5" length="10" />
		<components>
            <component centerOfMass="0.00 1.10 -0.18" solverIterationCount="10" mass="6000" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

	<wheels>
		<wheelConfigurations>
			<wheelConfiguration name="choix1" price="0">
                <wheels>
                    <wheel filename="$data/shared/wheels/trelleborg/T404/500_45R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.7" repr="0>0"   forcePointRatio="0.5" initialCompression="10" suspTravel="0.13" spring="43" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T404/500_45R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.7" repr="0>1"  forcePointRatio="0.5" initialCompression="10" suspTravel="0.13" spring="43" damper="50" />
                    </wheel>
                </wheels>
                <objectChange node="0>15" visibilityActive="false" visibilityInactive="true"/>
				<objectChange node="0>16" visibilityActive="false" visibilityInactive="true"/>
            </wheelConfiguration>
			<wheelConfiguration name="choix2" price="0">
                <wheels>
                    <wheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="0>0"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.20" spring="22" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="0>1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.20" spring="22" damper="50" />
                    </wheel>
                </wheels>
                <objectChange node="0>15" visibilityActive="false" visibilityInactive="true"/>
				<objectChange node="0>16" visibilityActive="false" visibilityInactive="true"/>
            </wheelConfiguration>
            <wheelConfiguration name="choix3" price="0">
                <wheels>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/500_60R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.9" repr="0>0" forcePointRatio="0.2" initialCompression="20" suspTravel="0.2" spring="25" damper="50"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/500_60R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="0.9" repr="0>1" forcePointRatio="0.2" initialCompression="20" suspTravel="0.2" spring="25" damper="50"/>
                    </wheel>
                </wheels>
                <objectChange node="0>15" visibilityActive="false" visibilityInactive="true"/>
				<objectChange node="0>16" visibilityActive="false" visibilityInactive="true"/>
            </wheelConfiguration>
		</wheelConfigurations>
		
		<hubs>
            <color0>0 0.32 0.1</color0>
            <color1>0 0.32 0.1</color1>
            <hub linkNode="0>0"   	filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.285 0.285 0.285" />
            <hub linkNode="0>1"  	filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.285 0.285 0.285" />
            <hub linkNode="0>15"   	filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.285 0.285 0.285" />
            <hub linkNode="0>16"  	filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.285 0.285 0.285" />
        </hubs>
	</wheels>
	
    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>14|0"  length="0.75" diameter="0.02" straighteningFactor="1">
            <objectChange node="0>14|0|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric"  node="0>14|1"  length="1.6" diameter="0.0075" straighteningFactor="0.5">
            <objectChange node="0>14|1|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>
	
	<designConfigurations>
		<designConfiguration name="Sans Fourragere" price="0">
			<objectChange node="0>10" 	scaleActive="0 0 0" scaleInactive="1 1 1"/>
			<objectChange node="0>11" 	scaleActive="0 0 0" scaleInactive="1 1 1"/>
        </designConfiguration>
		 <designConfiguration name="Avec Fourragere" price="2000" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>10" visibilityActive="true" />
			<objectChange node="0>11" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>
	
	<vehicleTypeConfigurations>
        <vehicleTypeConfiguration name="Sans Paille" price="0" vehicleType="autoloadTrailer">
        </vehicleTypeConfiguration>
		<vehicleTypeConfiguration name="Paille" price="400" vehicleType="autoloadTrailer">
			<objectChange node="0>13|16" visibilityActive="true"/>
		</vehicleTypeConfiguration>
		<vehicleTypeConfiguration name="Paille X2" price="0" vehicleType="autoloadTrailer">
			<objectChange node="0>13|16" visibilityActive="true"/>
			<objectChange node="0>13|17" visibilityActive="true"/>
        </vehicleTypeConfiguration>
    </vehicleTypeConfigurations>
	
	<foldable>
        <foldingParts startAnimTime="1" turnOnFoldMinLimit="0" turnOnFoldMaxLimit="0.5" turnOnFoldDirection="-1">
            <foldingPart animationName="openBackDoor" speedScale="1"/>
        </foldingParts>
    </foldable>
		
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>2" jointType="trailerLow" attacherHeight="0.453" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce>0.35</brakeForce>
    </attachable>
	
	<attacherJoints>
		<attacherJoint node="0>13|15" jointType="trailerLow" lowerRotLimit="10 80 80" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
			<schema position="0.5 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>13|15" jointType="trailer" lowerRotLimit="10 80 80" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="0.5 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
	
   <lights>
        <realLights>
            <high>
                <light node="0>12|1|0" lightTypes="0" />
                <turnLightLeft node="0>12|1|1" />
                <turnLightRight node="0>12|1|2" />
                <brakeLight node="0>12|1|0" />
            </high>
        </realLights>
		
        <defaultLights>
            <defaultLight shaderNode="0>12|0|2|1" lightTypes="0" />
            <defaultLight shaderNode="0>12|0|3|1" lightTypes="0" />
        </defaultLights>
        <brakeLights>
            <brakeLight shaderNode="0>12|0|2|1"/>
            <brakeLight shaderNode="0>12|0|3|1"/>
        </brakeLights>
        <turnLights>
              <turnLightLeft  shaderNode="0>12|0|2|0" />
              <turnLightRight shaderNode="0>12|0|3|0" />
        </turnLights>
		
		<beaconLights>
			<beaconLight node="0>12|0|6" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml" />
		</beaconLights>
    </lights>
   
   <animations>
        <animation name="moveSupport">
			<part node="0>5|0"     			startTime="0"   	duration="0.4"   	startRot="0 0 180"  			endRot="0 0 0"/>
			<part node="0>5|0|0"   	startTime="0.4" 	duration="0.5"   	startTrans="0 -0.266 0" 		endTrans="0 -0.376 0"/>
			<part node="0>5|1"     		startTime="0"		duration="0.1"  	startTrans="0.243 0.71 3.132"  	endTrans="0.243 0.207 3.132"/>
		</animation>
		
         <animation name="openBackDoor">
            <part node="0>10|0" startTime="0" endTime="2" startRot="0 0 0" endRot="-115 0 0"/>
            <part node="0>11|0" startTime="0" endTime="2" startRot="0 0 0" endRot="-115 0 0"/>
        </animation>
		
		<animation name="moveTrigger">
			<part node="0>17|3"   startTime="0"  endTime="0.001" startTrans="0 -10 2.83" endTrans="0 0 2.83" />
		</animation>
    </animations>
	
	<easyAutoLoad objectsIndex="0>17|1" triggersIndex="0>17|3" markerPositionsIndex="0>17|2" markerIndex="0>17|0" triggerAnimation="moveTrigger" centerMarkerIndex="1" unloadHeightOffset="-0.75">
        <levelBarOptions coloredIcons="true" iconColor="0.6307 0.6307 0.6307 1" fillLevelColor="0.991 0.3865 0.01 1"/>
        <palletIcon colorIcon="textures/palletIconOverlay.png" overlayIcon="textures/palletIconOverlay.png"/>
        <roundBaleIcon colorIcon="textures/roundBaleIconOverlay.png" overlayIcon="textures/roundBaleIconOverlay.png"/>
        <squareBaleIcon colorIcon="textures/squareBaleIconOverlay.png" overlayIcon="textures/squareBaleIconOverlay.png"/>
        <weightIcon colorIcon="textures/weightIcon.png" overlayIcon="textures/weightIconOverlay.png"/>
        <moveableMarkerOptions minX="0 4 -25 -25" maxX="0 25 25 -4" minY="0 -0.7 -0.7 -0.7" maxY="0 15 15 15" minZ="0 -20 -30 -20" maxZ="0 20 -16 20" markerMoveSpeed="0.05"/>
    </easyAutoLoad>
	
	<tensionBelts>
		<tensionBeltsConfigurations>
			<tensionBeltsConfiguration>
				<tensionBelts linkNode="0>3" jointNode="0>" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="5" activationTrigger="0>3|7" >
					<tensionBelt startNode="0>3|0" endNode="0>3|0|0" offsetLeft="1.3" />
					<tensionBelt startNode="0>3|1" endNode="0>3|1|0" />
					<tensionBelt startNode="0>3|2" endNode="0>3|2|0" />
					<tensionBelt startNode="0>3|3" endNode="0>3|3|0" />
					<tensionBelt startNode="0>3|4" endNode="0>3|4|0" />
					<tensionBelt startNode="0>3|5" endNode="0>3|5|0" />
					<tensionBelt startNode="0>3|6" endNode="0>3|6|0" offsetRight="1.2" />
				</tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>	

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