<?xml version="1.0.4" encoding="utf-8" standalone="no"?>
<vehicle type="combineDrivable">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Gleaner S98</name>
        <specs>
            <combination>Gleaner S98 9250 DynaFlex,Gleaner Command Series, MacDon FD75 40'</combination>
            <power>471</power>
        </specs>
        <functions>
            <function>$l10n_function_combine</function>
            <function>$l10n_function_combineNeedsCutter</function>
        </functions>
        <image>textures/store.dds</image>
        <price>350000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>AGCO</brand>
        <category>harvesters</category>
	<shopFoldingState>1</shopFoldingState>
	<vertexBufferMemoryUsage>2433844</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>418062</indexBufferMemoryUsage>
        <textureMemoryUsage>30146984</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_combine</typeDesc>
        <filename>gleaner.i3d</filename>
        <size width="5" length="11" lengthOffset="0"/>
        <components>
            <component centerOfMass="0 0.5 0" solverIterationCount="200" mass="10000"/>
            <component centerOfMass="0 0 0" solverIterationCount="200" mass="9000"/>
            <joint component1="1" component2="2" node="0>16" rotLimit="0 0 5" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0">
            <default name="DEFAULT_VEHICLE"/>
            <turnedOn name="DEFAULT_VEHICLE_ON"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
            <turnedOnSelected name="DEFAULT_VEHICLE_SELECTED_ON"/>
        </schemaOverlay>
    </base>

    <powerConsumer ptoRpm="350" neededMaxPtoPower="10"/>


    <wheels>
        <wheelConfigurations>
	    <!-- Crawler -->
            <wheelConfiguration name="$l10n_configuration_valueCrawler" price="22000" brand="MICHELIN">
                <wheels autoRotateBackSpeed="2">

		     <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1"  restLoad="2.8" repr="crawlerLeftBackWheelRepr" driveNode="crawlerLeftBackWheelDriveNode" radius="0.44" width="0.8" mass="0.2" frictionScale="6" tireType="crawler" initialCompression="50" suspTravel="0.25" spring="30" damper="30" />
                        <tire tireTrackAtlasIndex="7" />
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1"  restLoad="1.8" repr="crawlerLeftFrontWheel" radius="0.44" width="0.8" mass="0.2" frictionScale="6" tireType="crawler" initialCompression="25" suspTravel="0.25" spring="30" damper="30" />
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1"  restLoad="2.8" repr="crawlerRightBackWheelRepr" driveNode="crawlerRightBackWheelDriveNode" radius="0.44" width="0.8" mass="0.2" frictionScale="6" tireType="crawler" initialCompression="50" suspTravel="0.25" spring="30" damper="30" />
                        <tire tireTrackAtlasIndex="7" />
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1"  restLoad="1.8" repr="crawlerRightFrontWheel" radius="0.44" width="0.8" mass="0.2" frictionScale="6" tireType="crawler" initialCompression="25" suspTravel="0.25" spring="30" damper="30" />
                    </wheel>


                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="leftRearWheel" driveNode="leftRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="2" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
                    </wheel>

                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="rightRearWheel" driveNode="rightRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="2" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
                    </wheel>
                </wheels>

		<crawlers>
			<crawler filename="$data/shared/wheels/crawlers/lizard/crawler02.xml" linkNode="crawlerLeftLinkNode"  wheelIndex="1" isLeft="true"/>
                 	<crawler filename="$data/shared/wheels/crawlers/lizard/crawler02.xml" linkNode="crawlerRightLinkNode" wheelIndex="3" isLeft="false"/>
                </crawlers>

		<objectChange node="leftFrontWheels" visibilityActive="false"/>
		<objectChange node="rightFrontWheels" visibilityActive="false"/>


            </wheelConfiguration>

	    <!-- Narrow -->
	    <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="MICHELIN">
                <wheels autoRotateBackSpeed="1.8">
		    <wheel filename="wheels/620_70R42.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
		        <physics tipOcclusionAreaGroupId="1" restLoad="2.0" repr="leftFrontMichelin"  forcePointRatio="0.5" frictionScale="6" initialCompression="10" suspTravel="0.22" spring="59" damper="40" />
		    </wheel>
		    <wheel filename="wheels/620_70R42.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
		        <physics tipOcclusionAreaGroupId="1" restLoad="2.0" repr="rightFrontMichelin"  forcePointRatio="0.5" frictionScale="6" initialCompression="10" suspTravel="0.22" spring="59" damper="40" />
		    </wheel>

		    <wheel hasTireTracks="true" hasParticles="true">
			<physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="leftRearWheel" driveNode="leftRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="4" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
		    </wheel>

		    <wheel hasTireTracks="true" hasParticles="true">
			<physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="rightRearWheel" driveNode="rightRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="2" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
		    </wheel>
                </wheels>

		<!-- Turn on wheels -->
		<objectChange node="leftFrontWheels" visibilityActive="true"/>
		<objectChange node="rightFrontWheels" visibilityActive="true"/>
		
		<!-- Hide Broad Rims -->
		<objectChange node="leftFrontBroadRim" visibilityActive="false"/>
		<objectChange node="rightFrontBroadRim" visibilityActive="false"/>

            </wheelConfiguration>

	    <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="4000" brand="MICHELIN">
                <wheels autoRotateBackSpeed="2">
		    <wheel filename="wheels/1050_70R42.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
		        <physics tipOcclusionAreaGroupId="1" restLoad="1.7" repr="leftFrontBroadMichelin"  forcePointRatio="0.5" frictionScale="6" initialCompression="10" suspTravel="0.22" spring="59" damper="40" />
		    </wheel>
		    <wheel filename="wheels/1050_70R42.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
		        <physics tipOcclusionAreaGroupId="1" restLoad="1.7" repr="rightFrontBroadMichelin"  forcePointRatio="0.5" frictionScale="6" initialCompression="10" suspTravel="0.22" spring="59" damper="40" />
		    </wheel>

	    	    <wheel hasTireTracks="true" hasParticles="true">
			<physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="leftRearWheel" driveNode="leftRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="2" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
		    </wheel>

		    <wheel hasTireTracks="true" hasParticles="true">
			<physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="rightRearWheel" driveNode="rightRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="2" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
		    </wheel>

		</wheels>

		<!-- Turn on wheels -->
		<objectChange node="leftFrontWheels" visibilityActive="true"/>
		<objectChange node="rightFrontWheels" visibilityActive="true"/>

		<!-- Hide narrow rims -->
		<objectChange node="leftDual" visibilityActive="false"/>
		<objectChange node="rightDual" visibilityActive="false"/>
		
		<!-- Show broad Rims -->
		<objectChange node="leftFrontBroadRim" visibilityActive="true"/>
		<objectChange node="rightFrontBroadRim" visibilityActive="true"/>


		<!-- Ladder stub -->
		<objectChange node="stairsLadder" translationActive="0.983 -0.532 0.14" />
            </wheelConfiguration>

	    <wheelConfiguration name="$l10n_configuration_valueTwinWheelsFront" price="6000" brand="MICHELIN">
                <wheels autoRotateBackSpeed="1.7">
		    <wheel filename="wheels/620_70R42.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
		        <physics tipOcclusionAreaGroupId="1" restLoad="2.0" repr="leftFrontMichelin"  forcePointRatio="0.5" frictionScale="6" initialCompression="10" suspTravel="0.22" spring="59" damper="40" />
			<additionalWheel filename="wheels/620_70R42.xml" offset="0.13" hasTireTracks="true" hasParticles="true"/>

		    </wheel>
		    <wheel filename="wheels/620_70R42.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
		        <physics tipOcclusionAreaGroupId="1" restLoad="2.0" repr="rightFrontMichelin"  forcePointRatio="0.5" frictionScale="6" initialCompression="10" suspTravel="0.22" spring="59" damper="40" />

			<additionalWheel filename="wheels/620_70R42.xml" offset="0.13" hasTireTracks="true" hasParticles="true"/>
		    </wheel>
		    <wheel hasTireTracks="true" hasParticles="true">
			<physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="leftRearWheel" driveNode="leftRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="2" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
		    </wheel>

		    <wheel hasTireTracks="true" hasParticles="true">
			<physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="6.4" repr="rightRearWheel" driveNode="rightRearWheelDriveNode" forcePointRatio="0.5" radius="0.73" width="0.7" frictionScale="2" mass="2" initialCompression="50" suspTravel="0.2" spring="45" damper="40" maxLongStiffness="8" maxLatStiffness="100" maxLatStiffnessLoad="2"/>
			<tire maxDeformation="0.096" isCareWheel="false" tireTrackAtlasIndex="1"/>
		    </wheel>

		</wheels>
		<!-- Show Duals -->
		<objectChange node="leftFrontWheels" visibilityActive="true"/>
		<objectChange node="rightFrontWheels" visibilityActive="true"/>
		<objectChange node="outterDualLeft" visibilityActive="true"/>
		<objectChange node="outterDualRight" visibilityActive="true"/>

		<!-- Hide Broad Rims -->
		<objectChange node="leftFrontBroadRim" visibilityActive="false"/>
		<objectChange node="rightFrontBroadRim" visibilityActive="false"/>



		<!-- Adjust Ladder -->
		<objectChange node="stairsLadder" visibilityActive="false"/>
		<objectChange node="stairsLadderTwins" visibilityActive="true"/>
            </wheelConfiguration>


        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="48" rotMax="45" rotCenter="0 2.0"/>
        </ackermannSteeringConfigurations>
    </wheels>

    <attachable>
        <airConsumer usage="4000"/>
    </attachable>

    <attacherJoints>
        <attacherJoint node="0>0|1|0|0" jointType="cutter" jointPositionOffset="0 0 -1.8" lowerRotLimit="0 0 15" lowerTransLimit="0 0 0" lockDownRotLimit="true" moveTime="3.5">
            <distanceToGround lower="1.5" upper="2.21"/>
            <rotationNode node="0>0|1|0" upperRotation="-20 0 0" lowerRotation="10 0 0"/>
            <bottomArm rotationNode="0>0|1|1" referenceNode="0>0|1|1|2" startRotation="-5 0 0" />
            <schema position="1 0" rotation="0" invertX="true"/>
        </attacherJoint>

              <attacherJoint node="rearAttacherJoint" jointType="trailerLow" lowerRotLimit="10 80 50" upperRotationOffset="0" comboTime="1" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>

        <attacherJoint node="rearAttacherJoint" jointType="trailer" lowerRotLimit="10 80 50" upperRotationOffset="0" comboTime="1" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>

        
        <sounds>
            <attach template="ATTACH_01"/>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND"/>
         </sounds>
    </attacherJoints>

    <lights>
        <sharedLight linkNode="sharedFrontLeft1" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />
        <sharedLight linkNode="sharedFrontLeft2" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />
        <sharedLight linkNode="sharedFrontLeft3" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />
        <sharedLight linkNode="sharedFrontLeft4" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />
        <sharedLight linkNode="sharedFrontRight1" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />
        <sharedLight linkNode="sharedFrontRight2" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />
        <sharedLight linkNode="sharedFrontRight3" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />
        <sharedLight linkNode="sharedFrontRight4" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLightOval_02.xml" />

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

        <realLights>
            <low>
		<light node="frontLightLowMiddle" lightTypes="0 2"/>
                <light node="frontLightLowRight" lightTypes="0 2"/>
                <light node="frontLightLowLeft" lightTypes="0 2"/>
                <light node="workLightBackLowRight" lightTypes="1 2"/>
                <light node="workLightBackLowLeft" lightTypes="1 2"/>
    		<light node="highBeamRight" lightTypes="2"/>
                <light node="highBeamLeft" lightTypes="2"/>
            </low>
            <high>
		<light node="frontLightLowMiddle" lightTypes="0 2"/>
                <light node="frontLightLowRight" lightTypes="0 2"/>
                <light node="frontLightLowLeft" lightTypes="0 2"/>
		<light node="workLightBackLowMiddle" lightTypes="1 2"/>
                <light node="workLightBackLowRight" lightTypes="1 2"/>
                <light node="workLightBackLowLeft" lightTypes="1 2"/>
                <light node="pipeLight" lightTypes="1"/>
    		<light node="highBeamRight" lightTypes="2"/>
                <light node="highBeamLeft" lightTypes="2"/>
    		<light node="highBeamRight2" lightTypes="2"/>
    		<light node="highBeamLeft2" lightTypes="2"/>
                <light node="workLightBackHighRight" lightTypes="2"/>
                <light node="workLightBackHighLeft" lightTypes="2"/>
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="light_glass1" lightTypes="0 2" />
            <defaultLight shaderNode="light_glass2" lightTypes="0 2" />
            <defaultLight shaderNode="workLightBackLeftGlass" lightTypes="1 2" />
            <defaultLight shaderNode="workLightBackRightGlass" lightTypes="1 2" />
            <defaultLight shaderNode="pipeLightGlass" lightTypes="1 2" />
            <defaultLight shaderNode="brakeLightLeftGlass" lightTypes="0 2" />
            <defaultLight shaderNode="brakeLightRightGlass" lightTypes="0 2" />
        </defaultLights>

        <brakeLights>
                <brakeLight shaderNode="brakeLightLeftGlass" />
                <brakeLight shaderNode="brakeLightRightGlass"/>
        </brakeLights>


	    <turnLights>
            <turnLightLeft shaderNode="turnLeftFront" />
            <turnLightLeft shaderNode="turnLightLeftBackGlass" />
            <turnLightRight shaderNode="turnLightRightBackGlass" />
            <turnLightRight shaderNode="turnRightFront" />
        </turnLights>

        <beaconLights>
            <beaconLight node="0>17" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
        </beaconLights>

        <sounds>
            <switchLight template="SWITCH_01"/>
            <turnLight template="SWITCH_TURNLIGHT"/>
        </sounds>

        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState" node="joystickLightDecal" intensity="0.2" lightTypes="0 1 2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="interior_decals" intensity="0.2" lightTypes="0 1 2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="interior_decals1" intensity="0.2" lightTypes="0 1 2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="stickerDecal_lightOn"  baseColor="BLACK" emitColor="0.23 0.38 0.93 1"    intensity="0.8" lightTypes="0 1 2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightLeft" node="stickerDecalTurnLeft" baseColor="BLACK" emitColor="GREEN" intensity="1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightRight" node="stickerDecalTurnRight"  baseColor="BLACK" emitColor="GREEN"    intensity="1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightHazard" node="stickerDecalHazard"  baseColor="BLACK" emitColor="RED"    intensity="4" groups="MOTOR_ACTIVE"/>
        </dashboards>
                 
    </lights>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="combine" capacity="24590"/>
                    <fillUnit unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="true" showInShop="true" capacity="460" />
                    <fillUnit unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="true" capacity="92" />
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>

        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxAllowedHeapAngle="25" maxDelta="2" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
        
        <unloadInfos>
            <unloadInfo>
                <node node="effect_unloading" width="0.4" length="0.4"/>
            </unloadInfo>
        </unloadInfos>

        <loadInfos>
            <loadInfo>
                <node node="fillVolumeLoadNode" width="0.4" length="0.4"/>
            </loadInfo>
        </loadInfos>

    </fillVolume>


    <enterable isTabbable="true">
        <exitPoint node="exitPoint"/>
        <enterReferenceNode node="main"/>

        <characterNode node="playerSkin" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="rightFoot"/>
            <target ikChain="leftFoot" targetNode="leftFoot"/>
            <target ikChain="rightArm" targetNode="rightHand"/>
            <target ikChain="leftArm" targetNode="leftHand"/>
        </characterNode>
		<characterTargetNodeModifier node="rightFoot" transitionTime="0.1">
            <state node="brakeTarget" referenceNode="brakePedalRefNode" />
	    </characterTargetNodeModifier>

        <cameras>
            <camera node="0>15|0|0" rotatable="true" rotateNode="0>15|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="7" transMax="25" translation="0 0 10" rotation="-15 180 0">
                <raycastNode node="0>13|0"/>
                <raycastNode node="0>13|1"/>
            </camera>
            <camera node="0>15|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowBox"/>
        </cameras>

        <mirrors>
            <mirror node="mirrorRightTopDecal"    prio="2" />
            <mirror node="mirrorRightBottomDecal" prio="2" />
            <mirror node="mirrorLeftTopDecal"     prio="1" />
            <mirror node="mirrorLeftBottomDecal"  prio="1" />
        </mirrors>

    </enterable>

    <motorized>

        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="2" usage="187"  fillType="diesel" />  
                <consumer fillUnitIndex="3" usage="3.0"  fillType="def" />  
            </consumerConfiguration>
        </consumerConfigurations>

        <motorConfigurations>
            <motorConfiguration name="GLEANER S98" hp="471" price="0">
                <motor torqueScale="2.891" minRpm="1000" maxRpm="2200" minSpeed="0.01" maxForwardSpeed="42" maxBackwardSpeed="15" brakeForce="12" lowBrakeForceScale="0.22">
                    <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="200" minBackwardGearRatio="40" maxBackwardGearRatio="200"/>
            </motorConfiguration>
        </motorConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="1" wheelIndex2="2" /> <!-- front left-right -->
                </differentials>
            </differentialConfiguration>
            <differentialConfiguration>
                    <differentials>
                        <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="1" wheelIndex2="2" />
                        <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4" />
                        <differential torqueRatio="0.5" maxSpeedRatio="2.0" differentialIndex1="1" differentialIndex2="2" /> <!-- front left-right -->
                        <differential torqueRatio="0.5" maxSpeedRatio="2.0" wheelIndex1="5" wheelIndex2="6" /> <!-- back left-right -->
                        <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="3" differentialIndex2="4" /> <!-- front-back -->
                    </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <exhaustEffects>
            <exhaustEffect node="0>11|0|0" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.1" maxRpmScale="0.55" xzRotationsOffset="0 0" xzRotationsForward="-180 0" xzRotationsBackward="150 0" xzRotationsLeft="0 -150" xzRotationsRight="0 150"/>
        </exhaustEffects>

        <motorStartDuration>2800</motorStartDuration>

	    <sounds externalSoundFile="sounds/gleaner_s98.xml" />

    <animationNodes>
        <animationNode node="fan" rotSpeed="250" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
    </animationNodes>

    </motorized>

    <drivable>
        <sounds>
           <waterSplash template="WATER_SPLASH_01" />
        </sounds>

        <steeringWheel node="steeringWheel" indoorRotation="360" outdoorRotation="30"/>

        <dashboards>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedalRefNode" minRot="0 0 0" maxRot="20 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>

    </drivable>

    <foldable>
        <foldingParts startMoveDirection="1" turnOnFoldMinLimit="0" turnOnFoldMaxLimit="0.02">
            <foldingPart animationName="foldGrainTank" speedScale="1.1"/>
        </foldingParts>
    </foldable>

    <animations>
        <animation name="foldGrainTank">
            <part node="hopperAuger" startTime="0" endTime="2" startRot="-90 0 -42.866" endRot="-90 0 -69.206"/>
            <part node="eastGuard" startTime="3" endTime="6" startRot="0 0 0" endRot="0 0 -132" />
            <part node="northeastGuard" startTime="2" endTime="3" startRot="0 0 0" endRot="-24 60 0" />
            <part node="southeastGuard" startTime="2" endTime="3" startRot="0 0 0" endRot="27 -55 0" />
            <part node="westGuard" startTime="3" endTime="6" startRot="0 0 0" endRot="0 0 132" />
            <part node="northwestGuard" startTime="2" endTime="3" startRot="0 0 0" endRot="-25 -53 0" />
            <part node="southwestGuard" startTime="2" endTime="3" startRot="0 0 0" endRot="24 53 0" />
            <part node="northGuard" startTime="6" endTime="8" startRot="0 0 0" endRot="-129 0 0"/>
            <part node="northGuard" startTime="6" endTime="8" startTrans="-0.059 1.724 2.435" endTrans="-0.059 1.688 2.55"/>
            <part node="southGuard" startTime="6" endTime="8" startRot="0 0 0" endRot="129 0 0"/>
            <part node="southGuard" startTime="6" endTime="8" startTrans="-0.057 1.727 -0.071" endTrans="-0.057 1.693 -0.071"/>
            <part node="stairs" startTime="0" endTime="2" startRot="0 0 0" endRot="0 -90 0"/>
            <part node="stairsLadderTwins" startTime="0" endTime="5" startTrans="-0.041 0.057 0.079" endTrans="-0.47 0.057 0.079" />
        </animation>
        <animation name="toggleChopper">
            <part node="smallSpreader1" startTime="0" duration="0.01" startScale="0 0 0" endScale="1 1 1"/>
            <part node="smallSpreader2" startTime="0" duration="0.01" startScale="0 0 0" endScale="1 1 1"/>
            <part node="largeSpreader" startTime="0" duration="0.01" startScale="0 0 0" endScale="1 1 1"/>
        </animation>
		<animation name="foldPipe">
            <part node="pipe" startTime="0" endTime="5" startRot="0 0 0" endRot="124.75 9.50 -25.13"/>
		</animation>
    </animations>

    <cylindered>

        <movingTools>
            <movingTool node="hopperAuger" playSound="true">
            </movingTool>
            <movingTool node="northGuard" playSound="true">
            </movingTool>
            <movingTool node="eastGuard" playSound="true">
            </movingTool>
            <movingTool node="northeastGuard" playSound="true">
            </movingTool>
            <movingTool node="westGuard" playSound="true">
            </movingTool>
            <movingTool node="northwestGuard" playSound="true">
            </movingTool>
            <movingTool node="southGuard" playSound="true">
            </movingTool>
            <movingTool node="stairs" playSound="true">
            </movingTool>
            <movingTool node="pipe" playSound="true">
            </movingTool>
        </movingTools>

        <movingParts>

            <movingPart node="1>0|2" referencePoint="1>0|0|2" referenceFrame="1>0|0|2" isActiveDirty="true">
                <translatingPart node="1>0|2|0"/>
            </movingPart>
            <movingPart node="1>0|3" referencePoint="1>0|1|2" referenceFrame="1>0|1|2" isActiveDirty="true">
                <translatingPart node="1>0|3|0"/>
            </movingPart>
            <movingPart node="1>0|0|1" referencePoint="1>0|1|1" referenceFrame="1>0|1|1" isActiveDirty="true" scaleZ="true"/>

	        <!-- crawler KEEP CRAWLERS FROM TURNING -->
            <movingPart node="crawlerLeftLinkNode" referencePoint="crawlerLeftFrontWheel" referenceFrame="crawlerLeftLinkNodeRefFrame" isActiveDirty="true"/>
            <movingPart node="crawlerRightLinkNode" referencePoint="crawlerRightFrontWheel" referenceFrame="crawlerRightLinkNodeRefFrame" isActiveDirty="true"/>

        </movingParts>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="main"/>
        </sounds>

    </cylindered>

    <powerTakeOffs>
        <output outputNode="pto" attacherJointIndices="1" ptoName="LEFT_PTO"/>
        <output outputNode="pto2" attacherJointIndices="1" ptoName="RIGHT_PTO"/>
    </powerTakeOffs>


    <honk>
        <sound template="HONK_IDEAL9T" />
    </honk>

    <workAreas>
        <workArea type="combineSwath" functionName="processCombineSwathArea" requiresGroundContact="false" disableBackwards="false">
            <area startNode="workAreaStrawStart" widthNode="workAreaStrawWidth" heightNode="workAreaStrawHeight"/>
        </workArea>
        <workArea type="combineChopper" functionName="processCombineChopperArea" requiresGroundContact="false" disableBackwards="false">
            <area startNode="workAreaChopperStart" widthNode="workAreaChopperWidth" heightNode="workAreaChopperHeight" />
        </workArea>
    </workAreas>

   
    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeRaycastNode" emptySpeed="500" fillUnitIndex="1" maxDistance="6">
            <info width="0.4" length="0.4"/>
            <effects>
                <effectNode effectClass="PipeEffect" effectNode="pipeEffect" materialType="pipe" materialTypeId="1" maxBending="1" positionUpdateNodes="pipeEffectSmoke" delay="0"/>
                <effectNode effectNode="pipeEffectSmoke" materialType="smoke" materialTypeId="1" delay="0.1" alignToWorldY="true"/>
            </effects>
        </dischargeNode>
    </dischargeable>

    <pipe foldMinState="1" foldMaxState="1" foldMinLimit="0" foldMaxLimit="0">
        <unloadingTriggers>
            <unloadingTrigger node="trailerTrigger"/>
        </unloadingTriggers>
        <animation name="foldPipe" speedScale=".5" />
        <!--pipeNodes>
            <pipeNode node="pipe" rotationSpeeds="15 5 5">
                <state1 rotation="0 0 0"/>
                <state2 rotation="112.868 -13.417 -39.334"/>
            </pipeNode>
        </pipeNodes-->
        <states num="2" unloading="2"/>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" />
        </sounds>
    </pipe>

    <combine fillUnitIndex="1" allowThreshingDuringRain="false">
        <swath available="true" workAreaIndex="2"/>
        <chopper available="true" workAreaIndex="1" animName="toggleChopper" animSpeedScale="1"/>
        <processing toggleTime="3.5"/>
        <folding allowWhileThreshing="false" />
        <fillEffect>
            <effectNode effectNode="0>5|2" materialType="unloading" materialTypeId="3" delay="0"/>
            <effectNode effectNode="0>5|1" materialType="smoke" materialTypeId="1" delay="0.1"/>
        </fillEffect>
        <chopperEffect>
            <effectNode effectNode="chopperEffect" materialType="chopper" materialTypeId="1" delay="0"/>
            <effectNode effectClass="ParticleEffect" effectNode="chopperEffectEmitter" particleType="chopper" worldSpace="false" emitCountScale="1.7"/>
            <effectNode effectClass="ParticleEffect" effectNode="chopperSmokeEmitter" particleType="smoke" />
        </chopperEffect>
        <strawEffect>
            <effectNode effectNode="0>7|0" materialType="straw" materialTypeId="1" delay="0"/>
            <effectNode effectNode="0>7|1" effectClass="ParticleEffect" particleType="smoke"/>
        </strawEffect>
        <animationNodes>
            <animationNode node="0>0|1|1|0" rotSpeed="1500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="fan" rotSpeed="250" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="0>0|2|0" rotSpeed="-1500" rotAxis="3" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="0>0|5" rotSpeed="1500" rotAxis="2" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="0>0|10" rotSpeed="-1500" rotAxis="2" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="0>0|6" rotSpeed="-1500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="2"/>
        </animationNodes>
        <sounds>
            <start template="HARVESTER_TOOL_START" />
            <work template="HARVESTER_TOOL_WORK" />
            <stop template="HARVESTER_TOOL_STOP" />
         </sounds>
	<folding allowWhileThreshing="false"/>
    </combine>

    <washable dirtDuration="100" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>

        <default>
            <dashboard displayType="VISIBILITY" node="combine_simplified"  groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="dashboardDisplay_decal"  groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="terminal_decal"  groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="dashboard"  groups="MOTOR_ACTIVE" />
            <dashboard displayType="EMITTER" node="stickerDecalRed_start"  baseColor="BLACK" emitColor="RED"    intensity="0.75" groups="MOTOR_STARTING"/>
            <dashboard displayType="EMITTER" node="stickerDecalLight_start"  baseColor="BLACK" emitColor="LIGHT_GREEN"    intensity="0.75" groups="MOTOR_STARTING"/>
        </default>

    </dashboard>


    <ai>
        <collisionTrigger node="trafficCollisionTrigger"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-2" maxX="2" minZ="-1.9" maxZ="4.2" yOffset="0.6" />
    </foliageBending>


    <i3dMappings>
        <i3dMapping id="main" node="0>"/>
        <i3dMapping id="joystickLightDecal" node="0>0|0|5|0|2"/>
        <i3dMapping id="interior_decals" node="0>0|0|10"/>
        <i3dMapping id="interior_decals1" node="0>0|0|3|0"/>
        <i3dMapping id="stickerDecal_lightOn" node="0>0|0|3|1|2"/>
        <i3dMapping id="stickerDecalTurnRight" node="0>0|0|3|1|0"/>
        <i3dMapping id="stickerDecalTurnLeft" node="0>0|0|3|1|1"/>
        <i3dMapping id="stickerDecalHazard" node="0>0|0|3|1|5"/>
        <i3dMapping id="stickerDecalRed_start" node="0>0|0|3|1|3"/>
        <i3dMapping id="stickerDecalLight_start" node="0>0|0|3|1|4"/>
        <i3dMapping id="combine_simplified" node="0>0|0|6|0"/>
        <i3dMapping id="dashboardDisplay_decal" node="0>0|0|7"/>
        <i3dMapping id="terminal_decal" node="0>0|0|8"/>
        <i3dMapping id="dashboard" node="0>0|0|4"/>
        <i3dMapping id="shadowBox" node="0>0|0|13"/>
        <i3dMapping id="fan" node="0>0|4"/>
        <i3dMapping id="stairs" node="0>0|7"/>
        <i3dMapping id="stairsLadder" node="0>0|7|0"/>
        <i3dMapping id="stairsLadderTwins" node="0>0|7|1"/>
        <i3dMapping id="exitPoint" node="0>12"/>
        <i3dMapping id="steeringWheel" node="0>26|0"/>
        <i3dMapping id="crawlerLeftBackWheelRepr" node="0>25|0"/>
        <i3dMapping id="crawlerLeftBackWheelDriveNode" node="0>25|0|0"/>
        <i3dMapping id="crawlerLeftLinkNodeRefFrame" node="0>25|0|1"/>
        <i3dMapping id="crawlerLeftLinkNode" node="0>25|0|1|0"/>
        <i3dMapping id="crawlerLeftFrontWheel" node="0>25|1"/>
        <i3dMapping id="crawlerRightBackWheelRepr" node="0>25|2"/>
        <i3dMapping id="crawlerRightBackWheelDriveNode" node="0>25|2|0"/>
        <i3dMapping id="crawlerRightLinkNodeRefFrame" node="0>25|2|1"/>
        <i3dMapping id="crawlerRightLinkNode" node="0>25|2|1|0"/>
        <i3dMapping id="crawlerRightFrontWheel" node="0>25|3"/>
        <i3dMapping id="leftFrontWheels" node="0>25|4"/>
        <i3dMapping id="rightFrontWheels" node="0>25|5"/>
        <i3dMapping id="leftFrontMichelin" node="0>25|4|0"/>
        <i3dMapping id="rightFrontMichelin" node="0>25|5|0"/>
        <i3dMapping id="leftDual" node="0>25|4|0|0"/>
        <i3dMapping id="rightDual" node="0>25|5|0|0"/>
        <i3dMapping id="outterDualLeft" node="0>25|4|0|0|0"/>
        <i3dMapping id="outterDualRight" node="0>25|5|0|0|0"/>
        <i3dMapping id="leftFrontBroadRim" node="0>25|4|1|0|0"/>
        <i3dMapping id="rightFrontBroadRim" node="0>25|5|1|0|0"/>
        <i3dMapping id="leftFrontBroadMichelin" node="0>25|4|1|0"/>
        <i3dMapping id="rightFrontBroadMichelin" node="0>25|5|1|0"/>
        <i3dMapping id="hopperAuger" node="0>0|2"/>
        <i3dMapping id="pipe" node="0>0|11|0"/>
        <i3dMapping id="northGuard" node="0>0|12|0"/>
        <i3dMapping id="eastGuard" node="0>0|12|1"/>
        <i3dMapping id="northeastGuard" node="0>0|12|1|0"/>
        <i3dMapping id="southeastGuard" node="0>0|12|1|1"/>
        <i3dMapping id="westGuard" node="0>0|12|2"/>
        <i3dMapping id="northwestGuard" node="0>0|12|2|0"/>
        <i3dMapping id="southwestGuard" node="0>0|12|2|1"/>
        <i3dMapping id="southGuard" node="0>0|12|3"/>
        <i3dMapping id="leftRearWheel" node="1>0|0"/>
        <i3dMapping id="rightRearWheel" node="1>0|1"/>
        <i3dMapping id="leftRearWheelDriveNode" node="1>0|0|0"/>
        <i3dMapping id="rightRearWheelDriveNode" node="1>0|1|0"/>
        <i3dMapping id="playerSkin" node="0>0|0|14|0"/>
        <i3dMapping id="rightFoot" node="0>0|0|14|1"/>
        <i3dMapping id="leftFoot" node="0>0|0|14|2"/>
        <i3dMapping id="rightHand" node="0>0|0|14|3"/>
        <i3dMapping id="leftHand" node="0>26|0|0"/>
        <i3dMapping id="brakePedalRefNode" node="0>0|0|15|0"/>
        <i3dMapping id="brakeTarget" node="0>0|0|15|0|0"/>
        <i3dMapping id="pto" node="0>0|1|1|1"/>
        <i3dMapping id="pto2" node="0>0|1|1|5"/>
        <i3dMapping id="mirrorRightTopDecal" node="0>27|0"/>
        <i3dMapping id="mirrorRightBottomDecal" node="0>27|1"/>
        <i3dMapping id="mirrorLeftTopDecal" node="0>27|2"/>
        <i3dMapping id="mirrorLeftBottomDecal" node="0>27|3"/>
        <i3dMapping id="sharedFrontLeft1" node="0>9|4|0"/>
        <i3dMapping id="sharedFrontLeft2" node="0>9|4|1"/>
        <i3dMapping id="sharedFrontLeft3" node="0>9|4|2"/>
        <i3dMapping id="sharedFrontLeft4" node="0>9|4|3"/>
        <i3dMapping id="sharedFrontRight1" node="0>9|4|4"/>
        <i3dMapping id="sharedFrontRight2" node="0>9|4|5"/>
        <i3dMapping id="sharedFrontRight3" node="0>9|4|6"/>
        <i3dMapping id="sharedFrontRight4" node="0>9|4|7"/>
        <i3dMapping id="frontLightLowMiddle" node="0>9|0|0"/>
        <i3dMapping id="frontLightLowRight" node="0>9|0|1"/>
        <i3dMapping id="frontLightLowLeft" node="0>9|0|1|0"/>
        <i3dMapping id="highBeamRight" node="0>9|0|2"/>
        <i3dMapping id="highBeamLeft" node="0>9|0|2|0"/>
        <i3dMapping id="highBeamRight2" node="0>9|1|1|0"/>
        <i3dMapping id="highBeamLeft2" node="0>9|1|1|0|0"/>
        <i3dMapping id="workLightBackLowMiddle" node="0>9|1|0|0"/>
        <i3dMapping id="workLightBackLowLeft" node="0>9|1|0|1"/>
        <i3dMapping id="workLightBackLowRight" node="0>9|1|0|1|0"/>
        <i3dMapping id="workLightBackHighRight" node="0>9|2|0"/>
        <i3dMapping id="workLightBackHighLeft" node="0>9|2|0|0"/>
        <i3dMapping id="pipeLight" node="0>0|11|0|0|1"/>
        <i3dMapping id="light_glass1" node="0>9|3|2"/>
        <i3dMapping id="light_glass2" node="0>9|3|3"/>
        <i3dMapping id="workLightBackLeftGlass" node="0>9|3|4"/>
        <i3dMapping id="workLightBackRightGlass" node="0>9|3|5"/>
        <i3dMapping id="pipeLightGlass" node="0>0|11|0|0|3"/>
        <i3dMapping id="brakeLightLeftGlass" node="0>9|3|6"/>
        <i3dMapping id="brakeLightRightGlass" node="0>9|3|7"/>
        <i3dMapping id="turnLightLeftBackGlass" node="0>9|3|8"/>
        <i3dMapping id="turnLightRightBackGlass" node="0>9|3|9"/>
        <i3dMapping id="turnLeftFront" node="0>9|3|0"/>
        <i3dMapping id="turnRightFront" node="0>9|3|1"/>
        <i3dMapping id="trailerTrigger" node="0>14|0"/>
        <i3dMapping id="trafficCollisionTrigger" node="0>14|1"/>
        <i3dMapping id="workAreaStrawStart" node="0>24|0|0"/>
        <i3dMapping id="workAreaStrawWidth" node="0>24|0|1"/>
        <i3dMapping id="workAreaStrawHeight" node="0>24|0|2"/>
        <i3dMapping id="workAreaChopperStart" node="0>24|1|0"/>
        <i3dMapping id="workAreaChopperWidth" node="0>24|1|1"/>
        <i3dMapping id="workAreaChopperHeight" node="0>24|1|2"/>
        <i3dMapping id="smallSpreader1" node="0>0|5"/>
        <i3dMapping id="largeSpreader" node="0>0|6"/>
        <i3dMapping id="smallSpreader2" node="0>0|10"/>
        <i3dMapping id="chopperEffect" node="0>6|0"/>
        <i3dMapping id="chopperEffectEmitter" node="0>6|1"/>
        <i3dMapping id="chopperSmokeEmitter" node="0>6|2"/>
        <i3dMapping id="fillVolume" node="0>23"/>
        <i3dMapping id="effect_unloading" node="0>5|2"/>
        <i3dMapping id="fillVolumeLoadNode" node="0>5|4"/>
        <i3dMapping id="dischargeRaycastNode" node="0>0|11|0|1|0"/>
        <i3dMapping id="discharge" node="0>0|11|0|1|2"/>
        <i3dMapping id="pipeEffect" node="0>0|11|0|1|1"/>
        <i3dMapping id="pipeEffectSmoke" node="0>0|11|0|1|3"/>
        <i3dMapping id="rearAttacherJoint" node="0>0|13|1|0"/>
    </i3dMappings>


</vehicle>
