<?xml version="1.0" encoding="utf-8" standalone="no"?>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="tractor">
    <annotation>Ezioo</annotation>
    <storeData>
        <name>Renault 95.14 Tx</name>
        <specs>
            <power>85</power>
            <maxSpeed>28</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
			<function>$l10n_function_tractorFrontloader</function>
        </functions>
        <image>store.dds</image>
        <price>51379</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>RENAULT</brand>
        <category>tractorsS</category>
        <vertexBufferMemoryUsage>4047572</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1028328</indexBufferMemoryUsage>
        <textureMemoryUsage>34035440</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
	    <typeDesc>$l10n_typeDesc_tractor</typeDesc>
        <filename>Renault.i3d</filename>
		<sounds filename="$data/vehicles/buehrer/series6105/sounds/series6105.xml"/>
        <size width="3.6" length="6.5"/>
        <components count="2">
            <component centerOfMass="0 0.6 0.1" solverIterationCount="10" mass="4000"/>
            <component centerOfMass="0 0 0" solverIterationCount="20" mass="620"/>
            <joint component1="1" component2="2" node="1>0" rotLimit="0 0 7" rotLimitSpring="0 0 4000" rotLimitDamping="0 0 75" maxRotDriveForce="0 0 50" rotDriveRotation="0 0 0" rotDriveSpring="0 0 5" rotDriveDamping="0 0 5" breakable="false"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <turnedOn name="DEFAULT_VEHICLE_ON"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
            <turnedOnSelected name="DEFAULT_VEHICLE_SELECTED_ON"/>
        </schemaOverlay>
    </base>

<wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD">
                <wheels>
                    <wheel filename="wheel/wheelfrontO4.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.6" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.16" spring="36" damper="40" />
                    </wheel>
                    <wheel filename="wheel/wheelfrontO4.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.6" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.16" spring="36" damper="40" />
                    </wheel>
                    <wheel filename="wheel/wheelO.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.5" repr="wheelBackLeft"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.2" spring="28" damper="40" />
                    </wheel>
                    <wheel filename="wheel/wheelO.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="1.5" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.2" spring="28" damper="40" />
                    </wheel>
                </wheels>
            <objectChange node="wheelBackLeftHub"  visibilityActive="false"/>
            <objectChange node="wheelBackRightHub" visibilityActive="false"/> 
            <objectChange node="wheelFrontLeftHub"  visibilityActive="false"/>
            <objectChange node="wheelFrontRightHub" visibilityActive="false"/> 
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="35" rotMax="38" rotCenterWheel1="3" rotCenterWheel2="4" />
            <ackermannSteering rotSpeed="35" rotMax="40" rotCenterWheel1="3" rotCenterWheel2="4" />
        </ackermannSteeringConfigurations>

        <rimColor>1 0.87 0.55 0</rimColor>

        <hubs>
            <color0 useBaseColor="true" />
            <hub linkNode="wheelFrontLeftHub"      filename="$data/shared/wheels/hubs/hub_n8_1.xml" isLeft="true"  scale="0.58 0.22 0.22" />
            <hub linkNode="wheelFrontRightHub"     filename="$data/shared/wheels/hubs/hub_n8_1.xml" isLeft="false" scale="0.58 0.22 0.22" />
            <hub linkNode="wheelBackLeftHub"  filename="$data/shared/wheels/hubs/hub_n8_2.xml" isLeft="true"  scale="0.285 0.285 0.285" />
            <hub linkNode="wheelBackRightHub" filename="$data/shared/wheels/hubs/hub_n8_2.xml" isLeft="false" scale="0.285 0.285 0.285" />
        </hubs>
    </wheels>
    
    <attacherJoints comboDuration="2">
        <attacherJoint node="0>11|0|0" upperRotationOffset="-0.10" moveTime="2.5" comboTime="1">
            <distanceToGround lower="0.38" upper="1"/>
            <rotationNode node="0>11" upperRotation="34 0 0" lowerRotation="-1 0 0"/>
            <rotationNode2 node="0>11|0"/>
            <bottomArm rotationNode="0>12" translationNode="0>12|0" referenceNode="0>12|0|0" zScale="-1"/>
            <topArm baseNode="0>13" filename="$data/shared/assets/upperLinks/walterscheid01.i3d" zScale="-1"/>
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
       
       <attacherJoint node="0>42|0" jointType="trailer" lowerRotLimit="10 50 50" upperRotationOffset="0" comboTime="1" allowsJointLimitMovement="false">
	     <distanceToGround lower="0.840" upper="1.251"/>	
      <transNode node="0>42" minY="0.841" maxY="1.252"/>       <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>44|0" jointType="trailerLow" lowerRotLimit="10 50 50" upperRotationOffset="0" comboTime="1" allowsJointLimitMovement="false">
		    <distanceToGround upper="1" lower="0.40"/>
            <schema position="1 0" rotation="0" invertX="false"/>
<objectChange node="0>42" visibilityActive="false" visibilityInactive="true" />
 <objectChange node="0>44" visibilityActive="true" visibilityInactive="false" />
 
        </attacherJoint>
    </attacherJoints>
    <powerTakeOffs>
       
		<output outputNode="0>20" attacherJointIndices="1 2 3"/>
    </powerTakeOffs>
	<frontloaderConfigurations>
        <frontloaderConfiguration name="$l10n_ui_no" price="0"/>
        <frontloaderConfiguration name="MX" price="1500" displayBrand="MX">
            <objectChange node="attacherBlock" visibilityActive="true" visibilityInactive="false"/>
            <attacherJoint node="attacherJointFL" jointType="attachableFrontloader" lowerTransLimit="0 0 0" lowerRotLimit="0 0 0" moveTime="2" >
                <schema position="0.8 0" rotation="0" invertX="true" />
            </attacherJoint>
        </frontloaderConfiguration>
    </frontloaderConfigurations>
	<connectionHoses>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="0>34|1|0"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="0>34|5|0"/>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="0>34|2|0"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="0>34|6|0"/>
		<target attacherJointIndices="1 2 3" type="hydraulicIn" node="0>34|11|0"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="0>34|7|0"/>
           <target attacherJointIndices="1 2 3" type="electric" node="0>34|0|0" socket="electric"/>
        <target attacherJointIndices="1 2 3" type="airDoubleRed" node="0>34|4" socket="air_red"/>
        <target attacherJointIndices="1 2 3" type="airDoubleYellow" node="0>34|3" socket="air_yellow"/>
		
       
    </connectionHoses>
	<suspensions>
        <suspension node="0>31|1"              weight="150" minTranslation="-0.05 -0.15 0.0" maxTranslation="0.05 0.15 0.0" suspensionParametersX="20 4" suspensionParametersY="5 1" suspensionParametersZ="20 4" />
        <suspension useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1" />
    </suspensions>
    <lights>
        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
        </states>
		
		<realLights>
            <low>
                <light node="0>28|0|0" lightTypes="0" excludedLightTypes="2 3"/> <!-- FrontLights -->
                <light node="0>29|0" lightTypes="1"/> <!-- WorklightBack -->
                <light node="0>28|0|1" lightTypes="3"/> <!-- HighBeam -->
            </low>
            <high>
                <light node="0>28|0|2" lightTypes="0" excludedLightTypes="2 3"/> <!--FrontLights-->
                <light node="0>28|0|3" lightTypes="0" excludedLightTypes="2 3"/> <!--FrontLights-->
                <light node="0>28|2|0" lightTypes="0"/> <!--BackLights-->
                <light node="0>29|1" lightTypes="1"/> <!--WorklightBack-->
                <light node="0>29|2" lightTypes="1"/> <!--WorklightBack-->
                <light node="0>28|1|0|0" lightTypes="2"/> <!--WorklightFront -->
                <light node="0>28|1|0|1" lightTypes="2"/> <!--WorklightFront -->
                <light node="0>28|0|4" lightTypes="3"/> <!--HighBeam -->
                <light node="0>28|0|5" lightTypes="3"/> <!--HighBeam -->
                          <brakeLight node="0>28|2|0"/>
            </high>
        </realLights>
		
		<defaultLights>
		    <defaultLight shaderNode="0>28|0|9|0"    lightTypes="0 3" />
		    <defaultLight shaderNode="0>28|0|10|0"    lightTypes="0 3" />
		    <defaultLight shaderNode="0>28|2|2|0"    lightTypes="0 3" />
		    <defaultLight shaderNode="0>28|2|3|0"    lightTypes="0 3" />
		    <defaultLight shaderNode="0>28|0|7|0"    lightTypes="0 3" />
		    <defaultLight shaderNode="0>28|0|8|0"    lightTypes="0 3" />
		    <defaultLight shaderNode="0>28|1|1|0"  lightTypes="2"  /> <!--WorklightFront -->
		    <defaultLight shaderNode="0>28|1|2|0"  lightTypes="2"  /> <!--WorklightFront -->
		</defaultLights>
		
        <beaconLights>
        </beaconLights>
	
	    <brakeLights>
            <brakeLight shaderNode="0>28|2|2|1" />
		    <brakeLight shaderNode="0>28|2|3|1" />
        </brakeLights>
		
	    <turnLights>
            <turnLightLeft shaderNode="0>28|2|2|2" />
            <turnLightRight shaderNode="0>28|2|3|2" />
		    <turnLightLeft shaderNode="0>28|0|7|1" />
		    <turnLightRight shaderNode="0>28|0|8|1" />
	    </turnLights>
		
	    <sounds>
            <switchLight template="SWITCH_01" />
            <turnLight template="SWITCH_TURNLIGHT" />
        </sounds>
    </lights>
    <enterable isTabbable="true" >
        <exitPoint node="0>8"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>24|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>24|1"/>
            <target ikChain="leftFoot" targetNode="0>24|2"/>
            <target ikChain="rightArm" targetNode="0>23|0|0" setDirty="true"/>
            <target ikChain="leftArm" targetNode="0>23|0|1" setDirty="true"/>
        </characterNode>
		<characterTargetNodeModifier node="0>24|1" transitionTime="0.1" >
            <state node="0>31|2|3|3"   referenceNode="0>31|2|3|2" directionReferenceNode="0>31|2|3|2|0" />
            <state node="0>31|2|3|1|0" referenceNode="0>31|2|3|1" />
        </characterTargetNodeModifier>
        <cameras>
            <camera node="0>4|0" rotatable="true" rotateNode="0>4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="40" translation="0 0 5.75" rotation="-17.5 180 0">
                <raycastNode node="0>6"/>
                <raycastNode node="0>7"/>
            </camera>
            <camera node="0>5" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
		<mirrors>
			<mirror node="0>31|5|0|0|2|0|0" prio="1" />
			<mirror node="0>31|4|0|2|0|0" prio="1" />
        </mirrors>
		<dashboards>
            <dashboard displayType="NUMBER" valueType="time"          numbers="0>27|5"          precision="2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="NUMBER" valueType="operatingTime" numbers="0>27|4" precision="1" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </enterable>
	<dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>
	<foliageBending>
        <bendingNode minX="-1.05" maxX="1.05" minZ="0.75" maxZ="2.05"  yOffset="0.6" />
        <bendingNode minX="-1.05" maxX="1.05" minZ="-2.15" maxZ="-0.3" yOffset="0.6" />
        <bendingNode minX="-1.05" maxX="1.05" minZ="-0.3" maxZ="0.75" yOffset="0.6" />
    </foliageBending>


    <motorized>

        <motorConfigurations>

            <motorConfiguration name="95.14" hp="85" price="0">
                <motor torqueScale="0.400" minRpm="900" maxRpm="2200" maxForwardSpeed="42" maxBackwardSpeed="15" brakeForce="4" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0012">
                    <torque normRpm="0.45" torque="0.9"/>
                    <torque normRpm="0.5" torque="0.97"/>
                    <torque normRpm="0.59" torque="1"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="0.86" torque="0.88"/>
                    <torque normRpm="1" torque="0.72"/>
                </motor>
                <transmission minForwardGearRatio="14.5" maxForwardGearRatio="300" minBackwardGearRatio="40" maxBackwardGearRatio="300"/>

              
            </motorConfiguration>

           
        </motorConfigurations>

		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="39"  fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="3.0" fillType="def" />     <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="3" usage="1500" fillType="air" permanentConsumption="false" refillLitersPerSecond="350" refillCapacityPercentage="0.5" /> <!-- usage per second at full brake power -->
            </consumerConfiguration>
        </consumerConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>26" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.15" maxRpmScale="0.45" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        </exhaustEffects>
        <motorStartDuration>2500</motorStartDuration>
				<dashboards>
            <dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" minValueAnim="0" maxValueAnim="2500" groups="MOTOR_ACTIVE"/>
        </dashboards>

    </motorized>
	
	<transmission autoGearChangeTime="1" gearChangeTime="0.5" axleRatio="0.96" name="$l10n_info_transmission_manualWithPowerShiftGroups">
                    <directionChange useGear="false" useGroup="false" changeTime="0.5"/>
                    <groups type="POWERSHIFT" changeTime="0.5">
                        <group ratio="0.581" name="I" />
                        <group ratio="0.694" name="II" />
                        <group ratio="0.835" name="III" />
                        <group ratio="1"     name="IV" isDefault="true"/>
                    </groups>

                    <forwardGear maxSpeed="5.47" />
                    <forwardGear maxSpeed="8.50" />
                    <forwardGear maxSpeed="13.46" />

                    <forwardGear maxSpeed="20.97" />
                    <forwardGear maxSpeed="30.77" />
                    <forwardGear maxSpeed="50.00" />
                </transmission>
	
	
	
	
    <drivable>
        <steeringWheel node="0>23|0" indoorRotation="540" outdoorRotation="60"/>
		<sounds>
            <waterSplash template="WATER_SPLASH_01" />
        </sounds>
		<dashboards>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="0>31|2|3|2"   minRot="10 0 0" maxRot="-6 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="0>31|2|3|1" minRot="15 0 0" maxRot="-21 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>  
	    </dashboards>
    </drivable>
    <animations>
<animation name="leftDoor">
            <part node="0>31|6" startTime="0" duration="1" startRot="0 2 0" endRot="10 -168 3"/>
        </animation>
        <animation name="rightDoor">
            <part node="0>31|5" startTime="0" duration="1" startRot="0 0 0" endRot="10 170 -3"/>
        </animation>
       
        <animation name="backWindow">
            <part node="0>31|3|1" startTime="0" duration="1" startRot="0 0 0" endRot="60 0 0"/>
  
                   </animation>
        <animation name="fuelDisplay">
            <part node="0>27|1|0" startTime="0.5" endTime="1" startRot="0 0 -148.778" endRot="0 0 -85.49"/>
            <part node="0>27|2|0" startTime="0" endTime="0.5" startRot="0 0 89.996" endRot="0 0 27.415"/>
        </animation>
     <animation name="rpmDisplay">
            <part node="0>27|0|0" startTime="0.27" endTime="1" startRot="0 0 190" endRot="0 0 120" />
        </animation>
    </animations>

    <cylindered> 
        <movingTools>
            <movingTool node="0>12">
                <dependentPart node="0>14"/>
                <dependentPart node="0>15"/>
            </movingTool>
           
        </movingTools>
        <movingParts>
            <movingPart node="0>14" referencePoint="0>15|1" referenceFrame="0>33">
                <translatingPart node="0>14|0"/>
            </movingPart>
            <movingPart node="0>15" referencePoint="0>12|0|1" localReferencePoint="0>15|0" referenceFrame="0>32">
                <dependentPart node="0>15|0"/>
            </movingPart>
            <movingPart node="0>15|0" referencePoint="0>12|0|1" referenceFrame="0>12|0|1|0">
                <dependentPart node="0>15|0|0"/>
                <dependentPart node="0>15|0|1"/>
            </movingPart>
            <movingPart node="0>15|0|0" referencePoint="0>12|0|1|0" referenceFrame="0>12|0|1|0">
                <translatingPart node="0>15|0|0|0"/>
            </movingPart>
            <movingPart node="0>15|0|1" referencePoint="0>12|0|1|1" referenceFrame="0>12|0|1|0">
                <translatingPart node="0>15|0|1|0"/>
            </movingPart>
          
            <movingPart node="1>3|1" referencePoint="1>2|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false"/>
        </movingParts>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
				    <fillTrigger>
                        <fillSound template="DEFAULT_REFUEL_SOUND" linkNode="0>"/>
                    </fillTrigger>
                    <fillUnit capacity="225" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false">
					<dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
					</fillUnit>
                    <fillUnit capacity="45" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                    <fillUnit capacity="3000" unit="$l10n_unit_literShort" fillTypes="air" showOnHud="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <honk>
        <sound template="HONK_FENDT511C" />
    </honk>
    <ai>
        <collisionTrigger node="0>25|0"/>
    </ai>
   <designConfigurations>
        <designConfiguration name="sans masse" price="0">
            <objectChange node="0>39|1" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
        <designConfiguration name="avec masse" price="1000">
            <objectChange node="0>39|1" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
		 </designConfigurations>		
 <i3dMappings>
     
        <i3dMapping id="wheelBackLeft" node="0>1" />
        <i3dMapping id="wheelBackRight" node="0>0" />
        <i3dMapping id="wheelBackLeftHub" node="0>1|0" />
        <i3dMapping id="wheelBackRightHub" node="0>0|0" />
      
        <i3dMapping id="axisFrontLeft" node="1>3" />
        <i3dMapping id="axisFrontRight" node="1>2" />
        <i3dMapping id="wheelFrontLeft" node="1>3|0" />
        <i3dMapping id="wheelFrontRight" node="1>2|0" />
        <i3dMapping id="wheelFrontLeftHub" node="1>3|0|0" />
        <i3dMapping id="wheelFrontRightHub" node="1>2|0|0" />
        <i3dMapping id="masse" node="0>39|1" />		
		
		<i3dMapping id="attacherBlock" node="0>36|0" /> <!-- Modifier les index en fonction de votre tracteur -->
        <i3dMapping id="attacherJointFL" node="0>36|0|0" /> <!-- Modifier les index en fonction de votre tracteur -->

      
    </i3dMappings>

</vehicle>
