<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="tractor">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>IH 806</en>
		</name>
        <specs>
            <power>90</power>
            <maxSpeed>26</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
        </functions>
        <image>store.dds</image>
        <price>6800</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CASEIH</brand>
        <category>tractorsS</category>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_tractor</typeDesc>
        <filename>806.i3d</filename>
        <size width="4.5" length="6"/>
        <components>
            <component centerOfMass="0.00 1.55 -0.07" solverIterationCount="100"/>
            <component centerOfMass="0 -0.8 0" solverIterationCount="190"/>
            <component centerOfMass="0 -0.8 0" solverIterationCount="190"/>
            <component centerOfMass="0 -0.8 0" solverIterationCount="190"/>
            <component centerOfMass="0 -0.8 0" solverIterationCount="190"/>
            <joint component1="1" component2="2" node="1>0" rotLimit="0 0 0" transLimit="0 0 0"/>
            <joint component1="1" component2="3" node="2>0" rotLimit="0 0 0" transLimit="0 0 0"/>
            <joint component1="1" component2="4" node="3>0" rotLimit="0 0 0" transLimit="0 0 0"/>
            <joint component1="1" component2="5" node="4>0" rotLimit="0 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
	
   <designConfigurations>
        <designConfiguration name="No weight" price="0" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>37" visibilityActive="false"/>
        </designConfiguration>
		<designConfiguration name="Weight" price="550" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>37" visibilityActive="true"/>
        </designConfiguration>
    </designConfigurations>
    <wheels>
        <wheelConfigurations>
             <wheelConfiguration name="Singles" price="0">
                <wheels autoRotateBackSpeed="2">
                    <wheel hasParticles="true" rotMin="-30" rotMax="30">
                        <physics rotSpeed="70" repr="1>1" driveNode="1>1|0" radius="0.4" suspTravel="0.23" deltaY="0.18" spring="50" damper="70" frictionScale="1.5"/>
                    </wheel>
                    <wheel hasParticles="true" rotMin="-30" rotMax="30">
                        <physics rotSpeed="70" repr="2>1" driveNode="2>1|0" radius="0.4" suspTravel="0.23" deltaY="0.18" spring="50" damper="70" frictionScale="1.5"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.0" repr="3>1" radius="0.84" forcePointRatio="0.5" initialCompression="15" suspTravel="0.1" spring="25" damper="30" frictionScale="2"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.0" repr="4>1" radius="0.84" forcePointRatio="0.5" initialCompression="15" suspTravel="0.1" spring="25" damper="30" frictionScale="2"/>
                    </wheel>
                </wheels>
				<objectChange node="3>1|1" visibilityActive="false"/>
                <objectChange node="4>1|1" visibilityActive="false"/>
			</wheelConfiguration>
             <wheelConfiguration name="Duals" price="1000">
                <wheels autoRotateBackSpeed="2">
                    <wheel hasParticles="true" rotMin="-30" rotMax="30">
                        <physics rotSpeed="70" repr="1>1" driveNode="1>1|0" radius="0.4" mass="3" suspTravel="0.23" deltaY="0.18" spring="50" damper="70" frictionScale="1.5"/>
                    </wheel>
                    <wheel hasParticles="true" rotMin="-30" rotMax="30">
                        <physics rotSpeed="70" repr="2>1" driveNode="2>1|0" radius="0.4" mass="3" suspTravel="0.23" deltaY="0.18" spring="50" damper="70" frictionScale="1.5"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.0" repr="3>1" radius="0.84" forcePointRatio="0.5" initialCompression="15" suspTravel="0.1" spring="25" damper="30" frictionScale="2"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.0" repr="4>1" radius="0.84" forcePointRatio="0.5" initialCompression="15" suspTravel="0.1" spring="25" damper="30" frictionScale="2"/>
                    </wheel>
                </wheels>
				<objectChange node="3>1|1" visibilityActive="true"/>
                <objectChange node="4>1|1" visibilityActive="true"/>
			</wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="65" rotMax="45" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
    <attacherJoints comboDuration="2">
        <attacherJoint node="0>39|0|0|0" lowerRotLimit="0 0 20" lowerRotationOffset="-16.82" upperRotationOffset="15.18" lowerTransLimit="0 0.5 0" moveTime="3" comboTime="1">
            <distanceToGround lower="0.34" upper="1.40"/>
            <rotationNode node="0>39|0" upperRotation="32 0 0" lowerRotation="-15 0 0"/>
            <rotationNode2 node="0>39|0|0" upperRotation="-15 0 0" lowerRotation="0 0 0"/>
            <bottomArm rotationNode="0>39|1" translationNode="0>39|1|0" referenceNode="0>39|1|0|0" zScale="-1"/>
            <schema position="1 0" rotation="0" invertX="false"/>
            <topArm baseNode="0>39|2" filename="topLinkage.i3d" zScale="-1"/>
        </attacherJoint>
        <attacherJoint node="0>13" jointType="trailerLow" lowerRotLimit="10 80 50" lowerTransLimit="0 0 0" comboTime="1" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="true">
            <schema position="0 0" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint node="0>11" jointType="trailer" lowerRotLimit="10 80 50" lowerTransLimit="0 0 0" comboTime="0" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="true">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <sounds>
            <attach file="$data/sounds/vehicle/shared/attach_01.ogg">
                <pitch outdoor="1"/>
            </attach>
        </sounds>
    </attacherJoints>
    <powerTakeOffs>
        <output outputNode="0>12" attacherJointIndices="1 2 3"/>
    </powerTakeOffs>
      <lights>
        <states>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
		
        <realLights>
            <low>
               <light node="0>10|0|1"     lightTypes="0"/>
			   <light node="0>10|0|2"     lightTypes="2"/>
			   <light node="0>10|1|0|2"     lightTypes="1"/>
            </low>
            <high>
               <light node="0>10|0|3"     lightTypes="0"/>
			   <light node="0>10|0|3|0"     lightTypes="0"/>
			   <light node="0>10|0|4"     lightTypes="2"/>
			   <light node="0>10|0|4|0"     lightTypes="2"/>
			   <light node="0>10|1|0|1"     lightTypes="1"/>
            </high>
        </realLights>
		  </lights>  
    <enterable>
        <exitPoint node="0>8"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>15|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>15|1"/>
            <target ikChain="leftFoot" targetNode="0>15|2"/>
            <target ikChain="rightArm" targetNode="0>14|0|0"/>
            <target ikChain="leftArm" targetNode="0>14|0|1"/>
        </characterNode>
        <cameras>
            <camera node="0>4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35">
                <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>
    </enterable>
	   <consumerConfigurations>
			<consumerConfiguration>
				<consumer fillUnitIndex="1" usage="90"  fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
			</consumerConfiguration>
		</consumerConfigurations>
   <motorized>
	<consumerConfigurations>
			<consumerConfiguration>
				<consumer fillUnitnode="1" usage="90"  fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
			</consumerConfiguration>
		</consumerConfigurations>
		
        <motorConfigurations>
            <motorConfiguration name="D361" price="0">
                <motor torqueScale="0.865" minRpm="1000" maxRpm="4200" maxForwardSpeed="36" maxBackwardSpeed="15" brakeForce="1" lowBrakeForceScale="0.1" lowBrakeForceSpeedLimit="1">
                    <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"/>
					<torque normRpm="1.2" torque="1.2"/>
                    <torque normRpm="1.7" torque="1.5"/>
                </motor>
                <transmission minForwardGearRatio="13.5" maxForwardGearRatio="350" minBackwardGearRatio="50" maxBackwardGearRatio="130"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0" maxSpeedRatio="0" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0" maxSpeedRatio="0" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>17" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0 0 0 1" maxRpmColor="0 0 0 10" minRpmScale="0.2" maxRpmScale="0.5" xzRotationsOffset="0 0" xzRotationsForward="-150 0" xzRotationsBackward="100 0" xzRotationsLeft="0 100" xzRotationsRight="0 -100"/>
        </exhaustEffects>
		<exhaustFlap node="0>38|13" maxRot="-90" />
        <motorStartDuration>2000</motorStartDuration>
        <sounds>
            <motorStart file="Sounds/schlueter_start.wav">
                <volume indoor="0.40" outdoor="0.40" />
                <pitch outdoor="0.60" />
                <lowpassGain indoor="0.95" />
            </motorStart>
            <motor file="Sounds/schlueter_idle.wav" innerRadius="20">
                <volume indoor="0.40" outdoor="0.40" />
                <pitch outdoor="0.60" />
                <lowpassGain indoor="0.95" />
            </motor>
			    <motor template="DEFAULT_MOTOR_OFFLOAD_RUN" file="Sounds/schlueter_run.wav" linkNode="0>"/>
                <motor template="DEFAULT_MOTOR_ONLOAD_RUN" file="Sounds/schlueter_run.wav" linkNode="0>"/>
            <motorStop file="Sounds/schlueter_stop.wav">
                <volume indoor="0.40" outdoor="0.40" />
                <pitch outdoor="0.60" />
                <lowpassGain indoor="0.95" />
            </motorStop>
            <compressedAir file="Sounds/kramerKL200_brake.wav">
                <volume indoor="0.40" outdoor="0.40" />
                <pitch outdoor="0.60" />
                <lowpassGain indoor="0.95" />
            </compressedAir>
        </sounds>
    </motorized>
    <drivable>
        <steeringWheel node="0>14|0" indoorRotation="540" outdoorRotation="50"/>
    </drivable>
    <cylindered>
        <movingTools>
        <movingTool node="0>39|1">
            <dependentPart node="0>39|7"/>
        </movingTool>
        </movingTools>
        <movingParts>
        <movingPart node="0>39|7" referencePoint="0>39|1|0|1" localReferencePoint="0>39|7|0" referenceFrame="0>" invertZ="true" playSound="false">
            <dependentPart node="0>39|7|0"/>
        </movingPart>
        <!-- arm lifter 2 -->
        <movingPart node="0>39|7|0" referencePoint="0>39|1|0|1" referenceFrame="0>39|7|1" invertZ="true" playSound="false"/>
            <movingPart node="1>1|1" referencePoint="2>1|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false"/>
            <movingPart node="1>1|2" referencePoint="2>1|2" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false"/>
        </movingParts>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="500" >
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <honk>
        <sound file="Sounds/Horn.wav" innerRadius="35">
            <volume outdoor="1"/>
        </sound>
    </honk>
    <ai>
        <collisionTrigger node="0>16"/>
    </ai>
    <!--Non converted elements:


<?xml version="1.0" encoding="utf-8" standalone="no"?>

<vehicle>
<motorConfigurations>
<motorConfiguration hp="100"/>
</motorConfigurations>
</vehicle>

-->
</vehicle>
