﻿<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="combine_animated">
    <annotation>cabinet74</annotation>
	     <storeData>
         <name> Fortschritt E512 Ohne Kabine </name>
        <functions>
            <function>$l10n_function_combine</function>
		 <function>$l10n_function_combineNeedsCutter</function>
        </functions>
        <specs>
            <power>105</power>
			 <maxSpeed>25</maxSpeed>
            <combination> cutter_fortschritt</combination>
        </specs>
        <image>Store/storeE512OK.dds</image>
        <price>16500</price>
        <dailyUpkeep>130</dailyUpkeep>
        <lifetime>800</lifetime>
        <rotation>0</rotation>
        <brand>FORTSCHRITT</brand>
        <category>harvesters</category>
    </storeData>
	
	 <typeDesc>$l10n_typeDesc_combine</typeDesc>
    <filename>E512_ohne_kabine.i3d</filename>
    <size width="4.8" length="11" lengthOffset="-1"/>
    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="1" repr="2" driveNode="0>2|0" radius="0.40" restLoad="1.66" initialCompression="50" suspTravel="0.15" spring="25" damper="25" hasTireTracks="true" tireTrackAtlasIndex="3" fenderNode="19" mass="0.24" hasParticles="true"/>
        <wheel rotSpeed="1" repr="3" driveNode="0>3|0" radius="0.40" restLoad="1.61" initialCompression="50" suspTravel="0.15" spring="25" damper="25" hasTireTracks="true" tireTrackAtlasIndex="3" fenderNode="19" fenderRotMax="30" mass="0.24" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0" radius="0.69" restLoad="1.43" initialCompression="50" suspTravel="0.09" spring="35" damper="25" hasTireTracks="true" tireTrackAtlasIndex="0" mass="0.54" hasParticles="true"/>
        <wheel rotSpeed="0" repr="1" radius="0.69" restLoad="1.39" initialCompression="50" suspTravel="0.09" spring="35" damper="25" hasTireTracks="true" tireTrackAtlasIndex="0" mass="0.54" hasParticles="true"/>
    </wheels>
	
    <motor torqueScale="1.325" minRpm="1000" maxRpm="2200" maxBackwardSpeed="8" brakeForce="7.5" lowBrakeForceScale="0.25" lowBrakeForceSpeedLimit="1" minForwardGearRatio="35.6" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130">
        <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.96" torque="0.88"/>
        <torque normRpm="1" torque="0.72"/>
    </motor>
	
    <ackermannSteering rotSpeed="70" rotMax="30" rotCenterWheel1="2" rotCenterWheel2="3"/>
    <fuelCapacity>361</fuelCapacity>
    <fuelUsage>40</fuelUsage>
    
	<differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.65" wheelIndex1="0" wheelIndex2="1"/>
        <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.45" differentialIndex1="0" differentialIndex2="1"/>
        <!-- front-back -->
    </differentials>
   
   <aiTurnThreshWidthScale value="0.95"/>
   
   <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>54|0|0" decoration="0>54|0|1" lightTypes="0"/>
            <light realLight="0>54|1|0" decoration="0>54|1|1" lightTypes="1"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>54|0|0" decoration="0>54|0|1" lightTypes="0"/>
            <light realLight="0>54|1|0" decoration="0>54|1|1" lightTypes="1"/>
        </high>
        <!--to be adjusted manually-->
         <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
        </states>
    </lights>
	
    <brakeLights>
        <brakeLight decoration="0>54|3"/>
    </brakeLights>
	
    <beaconLights>
        <beaconLight index="0>54|4|0" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d"/>
    </beaconLights>
	
    <turnLights>
        <turnLightLeft decoration="0>54|2|0"/>
        <turnLightRight decoration="0>54|2|1"/>
    </turnLights>
    <lightsaddon lightsStayOn="true">
        <light type="work" index="0>27|1" inputName="Sonnendach" helptext="Sonnendach" stayOn="true"/>
    </lightsaddon>
	
    <attacherJoints>
        <attacherJoint index="12|0|0" jointType="cutter" rotationNode="12" lowerRotation="18 0 0" upperRotation="0 0 0" rotationNode2="12|0" lowerRotation2="-18 0 0" upperRotation2="" upperDistanceToGround="1.36" lowerDistanceToGround="1.0" moveTime="2.5"comboTime="0">
            <schema position="0 0" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint index="18" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="30 90 90" lowerTransLimit="0 0 0" comboTime="1" >
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
		 <attacherJoint index="18" jointType="trailerLow" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="30 90 90" lowerTransLimit="0 0 0" comboTime="1" >
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
	
    <enterReferenceNode index="0>"/>
    <exitPoint index="7"/>
	
    <motorStartDuration>2500</motorStartDuration>
   <motorStartSound           file="$data/vehicles/steerable/rostselmash/rsmAcros595_start.wav"     pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.40" indoorLowpassGain="0.75" />
    <motorSound                file="$data/vehicles/steerable/rostselmash/rsmAcros595_idle.wav"      pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.40" indoorLowpassGain="0.75" pitchMax="1.1" pitchScale="0.00818"   radius="50" innerRadius="20" />
    <motorStopSound            file="$data/vehicles/steerable/caseIH/caseIH130Series_stop.wav"       pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.35" indoorLowpassGain="0.75"/>

    <threshingStartSound       file="$data/vehicles/steerable/rostselmash/rsmAcros595_startwork.wav" pitchOffset="1.10" volume="1.00" indoorVolumeFactor="0.55" indoorLowpassGain="0.55" />
    <threshingSound            file="$data/vehicles/steerable/rostselmash/rsmAcros595_work.wav"      pitchOffset="1.10" volume="1.00" indoorVolumeFactor="0.55" indoorLowpassGain="0.55" cuttingPitchOffset="1.24" radius="35" innerRadius="25" />
    <threshingStopSound        file="$data/vehicles/steerable/rostselmash/rsmAcros595_stopwork.wav"  pitchOffset="1.10" volume="1.00" indoorVolumeFactor="0.45" indoorLowpassGain="0.55" />

    <motorSoundRun             file="$data/sounds/transmission/transmissionTinged_engine.wav"        pitchOffset="0.85" volume="0.55" indoorVolumeFactor="0.59" indoorLowpassGain="0.85" pitchMax="1" />
    <gearboxSound              file="$data/sounds/transmission/hs115LE.wav"                          pitchOffset="0.75" volume="0.10" indoorVolumeFactor="1.24" indoorLowpassGain="0.45" pitchMax="1.20" volumeMax="0.44"/>
    <retarderSound             file="$data/sounds/transmission/module1.wav"                          pitchOffset="0.95" volume="0.08" indoorVolumeFactor="0.65" indoorLowpassGain="0.45" pitchMax="1.80" volumeMax="0.16" minSpeed="1" />
    <reverseDriveSound         file="$data/sounds/reverseDrivingBeep.wav"                            pitchOffset="0.80" volume="1.00" indoorVolumeFactor="0.25" indoorLowpassGain="0.75" />


    <brakeCompressor capacity="10000" fillSpeed="50" />
    <maximalAirConsumptionPerFullStop value="4000" />
    <brakeCompressorStartSound    file="$data/sounds/technicalAccessories/brakeSmall.wav"         pitchOffset="1.30" volume="0.70" indoorVolumeFactor="0.85" indoorLowpassGain="0.90" />
    <brakeCompressorRunSound      file="$data/sounds/technicalAccessories/compressor_idle.wav"    pitchOffset="1.00" volume="0.18" indoorVolumeFactor="0.00" indoorLowpassGain="0.90" pitchMax="1.15" />
    <brakeCompressorStopSound     file="$data/sounds/technicalAccessories/pressure_regulator.wav" pitchOffset="1.47" volume="0.35" indoorVolumeFactor="0.75" indoorLowpassGain="0.90" />
    <airReleaseValveSound         file="$data/sounds/technicalAccessories/regulator_valve.wav"    pitchOffset="1.00" volume="1.10" indoorVolumeFactor="1.00" indoorLowpassGain="0.95"/>

    <attachSound               file="$data/sounds/header_attach.wav"                              pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.45" indoorLowpassGain="0.75" />
    <honkSound                 file="$data/sounds/horn.wav"                                       pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.55" indoorLowpassGain="0.75" radius="70" innerRadius="10" />
    <cylinderedHydraulicSound file="$data/sounds/cultivatorHydraulic.wav"                         pitchOffset="0.85" volume="1.00" indoorVolumeFactor="0.55" indoorLowpassGain="0.75"  />
    <hydraulicSound            file="$data/sounds/hydraulicUp.wav"                                pitchOffset="0.85" volume="0.55" indoorVolumeFactor="0.55" indoorLowpassGain="0.75"/>

    <fillSound                 file="$data/maps/sounds/siloFillSound.wav"                         pitchOffset="1.00" volume="0.70" indoorVolumeFactor="0.55" indoorLowpassGain="0.75"/>
  
    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>32" type="combine" rotSpeed="100" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>12|3" type="combine" rotSpeed="100" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>31" type="combine" rotSpeed="100" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </turnedOnRotationNodes>
  
   <animations>
       
        <animation name="enterAnimation">
            <part node="0>41" startTime="0" duration="1" startRot="0 0 0" endRot="0 0 0" />
        </animation>
	     <animation name="foldGrainTank">
            <part node="0>42" startTime="0" endTime="2" startRot="-14 0 0" endRot="0 0 0"/>
        </animation>
	   
    </animations>
  
  <movingTools>
        <movingTool index="0>47" playSound="true">
            <dependentPart index="0>47|0"/>
        </movingTool>
		 <movingTool index="0>42" playSound="true">
            <dependentPart index="0>42"/>
        </movingTool>
		
    </movingTools>
	
    <movingParts>
     <!--   <movingPart index="30" referencePoint="0>8|0|4" referenceFrame="0>" scaleZ="true"/>-->
        <movingPart index="0>28" referencePoint="0>12|4" referenceFrame="0>" playSound="false" isActiveDirty="true">
            <translatingPart index="0>28|0"/>
        </movingPart>
        <movingPart index="0>3|1" referencePoint="0>2|1" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>29" referencePoint="0>2|2" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
            <translatingPart index="0>29|0"/>
        </movingPart>
    </movingParts>
	
   
   <pipeEffect>
        <effectNode effectClass="PipeEffect" effectNode="0>47|0|3|0" materialType="pipe"  materialTypeId="1" delay="0"   maxBending="1"  positionUpdateNodes="0>47|0|3|1" />
        <effectNode                          effectNode="0>47|0|3|1" materialType="smoke" materialTypeId="1" delay="0.1" alignToWorldY="true" />
    </pipeEffect>
	
    <cameras count="2">
        <camera1 index="4|0|0" rotatable="true" rotateNode="4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="7" transMax="25">
            <raycastNode index="0>22"/>
            <raycastNode index="0>23"/>
        </camera1>
        <camera2 index="4|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0"/>
    </cameras>
	
	<combine toggleTime="3500">
	   <chopperSwitch available="true"/>
    <strawEffect>
            <effectNode effectNode="0>46|2|0" materialType="straw"   materialTypeId="1" delay="0" />
        </strawEffect>
    <chopperEffect>
            <effectNode effectNode="0>46|1|0" materialType="chopper" materialTypeId="1" delay="0" />
            <effectNode effectNode="0>46|1|1" materialType="chopper" materialTypeId="1" delay="0" />
        </chopperEffect>
	 <chopperParticleSystems>
            <emitterShape node="0>46|1|2" particleType="chopper" worldSpace="false"/>
            <emitterShape node="0>46|1|3" particleType="smoke" emitCountScale="1"/>
            <emitterShape node="0>46|1|4" particleType="smoke" emitCountScale="1"/>
		</chopperParticleSystems>	
    <strawParticleSystems>
            <emitterShape node="0>46|2|1" particleType="smoke" />
        </strawParticleSystems>
	 <fillEffect>
            <effectNode effectNode="0>46|0|0" materialType="unloading" materialTypeId="3" delay="0" />
        </fillEffect>	
    </combine>
	
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>13" minRpmColor="0 0 0 0.05" maxRpmColor="0.01 0.01 0.01 5" minRpmScale="0.08" maxRpmScale="0.8" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    
	<fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="combine" capacity="7500"/>
    </fillUnits>
	
	<fillVolumes>
        <volumes>
            <volume index="0>48" maxAllowedHeapAngle="20" maxDelta="0.28" />
        </volumes>
		
    <dischargeInfos>
            <dischargeInfo>
                <node index="0>47|0|1" width="0.4" length="0.4" />
            </dischargeInfo>
        </dischargeInfos>
		
		<unloadInfos>
            <unloadInfo>
                <node index="0>49" width="0.3" length="0.3" />
            </unloadInfo>
        </unloadInfos>
		
		 <loadInfos>
            <loadInfo>
                <node index="0>50" width="0.2" length="0.2" />
            </loadInfo>
        </loadInfos>
   </fillVolumes>
   
      <enterAnimation name="enterAnimation" />

   
	<animations>
        <animation name="pipeAnimation">
            <part node="0>47|0" startTime="0" endTime="10" startRot="0 0 0" endRot="7 -90 0"/>
        </animation>
	</animations>
	
	 <pipe numStates="2" unloadingStates="2" raycastNodeIndex="0>47|0|2" raycastDistance="6" animName="pipeAnimation" animSpeedScale="1.7" allowDischargeToGround="true" delay="0.5"/>
   
   <overloading capacity="750">
	  <trailerTriggers>
        <trailerTrigger index="0>51"/>
    </trailerTriggers>
	</overloading>
   
   <allowFillFromAir value="false"/>
	
    <combineSize>2</combineSize>
    <steering index="0>9|0" indoorRotation="540" outdoorRotation="50"/>
   
   <characterNode index="0>11|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 108">
        <target ikChain="rightFoot" targetNode="0>11|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>11|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>9|0|0" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>9|0|1" setDirty="true"/>
    </characterNode>
	
	 <foldingParts startMoveDirection="1" turnOnFoldMinLimit="0" turnOnFoldMaxLimit="0.02" >
        <foldingPart animationName="foldGrainTank" speedScale="1.1" />
    </foldingParts>
	
    <workAreas>
        <workArea startIndex="0>14|0" widthIndex="0>14|1" heightIndex="0>14|2" type="combine"/>
    </workAreas>
  
    <ai>
        <trafficCollisionTrigger index="0>17"/>
    </ai>
    
	<washable dirtDuration="50" washDuration="1" workMultiplier="2"/>
	
    <components count="1">
        <component1 centerOfMass="0 0.6 -1.3" solverIterationCount="10"/>
     <!--   <component2 solverIterationCount="10"/>
        <joint component1="0" component2="1" index="0>8|0|1" rotLimit="0 0 0" transLimit="0 0 0"/>
        <component3 solverIterationCount="10"/>
        <joint component1="0" component2="2" index="0>33|0" rotLimit="180 180 0" transLimit="0 0 0"/>-->
    </components>
    
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/vehicleSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/vehicleSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    
   
</vehicle>
