<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="f550baler">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>McHale F550 Round Baler</en>
        <de>McHale F550 Rundballen Presse</de>
    </name>
	 <typeDesc>
        <en>McHale F550 Round Baler</en>
        <de>McHale F550 Rundballen Presse</de>
    </typeDesc>
    <filename>McHale_F550.i3d</filename>
    <size width="2.5" length="5.0" />
	
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="8" radius="0.55" deltaY="0.02" suspTravel="0.02" spring="180" damper="2" mass="0.4" lateralStiffness="10" />
        <wheel driveMode="0" repr="9" radius="0.55" deltaY="0.02" suspTravel="0.02" spring="180" damper="2" mass="0.4" lateralStiffness="10" />
    </wheels>
    <capacity>4500</capacity>
    <brakeForce>1</brakeForce>
    <downForce>3</downForce>

    <cuttingAreas count="1">
        <cuttingArea1 startIndex="1" widthIndex="2" heightIndex="3"/>
    </cuttingAreas>
    <fillScale value="1" />
    <massScale value="0.2" />
	
    <balerSound file="$data/vehicles/balers/kroneComprimaV180.wav" pitchOffset="1" volume="1"/>
    <balerAlarm file="$data/vehicles/balers/kroneComprimaAlarm.wav" pitchOffset="1" volume="1"/>
    <balerBaleEject file="$data/vehicles/balers/kroneComprimaBaleEject.wav" pitchOffset="1" volume="1.5"/>
    <balerDoor file="$data/vehicles/balers/kroneComprimaDoor.wav" pitchOffset="1" volume="1"/>
 	<cylinderedHydraulicSound file="$data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="0.8" volume="0.4" /> 
	
    <balerUVScrollParts>
		<balerUVScrollPart index="16" speed="0 -0.7" />
    </balerUVScrollParts>	
		
    <attacherJoint index="0" jointType="trailerLow"/>

    <baleTypes>
        <baleType fruitType="wheat" filename="Bales/roundbaleStraw.i3d" />
        <baleType fruitType="barley" filename="Bales/roundbaleStraw.i3d" />
        <baleType fruitType="dryGrass" filename="Bales/roundbaleGrass.i3d" />
        <baleType fruitType="grass" filename="Bales/roundbaleGrass.i3d" />
    </baleTypes>
    <baleAnimation node="5|0" baleDropAnimTime="9" unloadAnimationName="unloadBale" unloadAnimationSpeed="5" closeAnimationName="closeDoor" closeAnimationSpeed="5"/>
    <allowFillFromAir value="false" />
    <allowTipDischarge value="false" />
    <fillTypes fruitTypes="wheat barley dryGrass grass" />
	
	<lightCoronas>
		<lightCorona index="4|0" />	
		<lightCorona index="4|1" />	
	</lightCoronas>	

    <brakelights count="1">
        <brakelight1 index="4|14" />
    </brakelights>
	
    <movingTools>
        <movingTool index="0>18|3" componentJointIndex="0" anchorActor="0"></movingTool>  <!-- support -->
        <movingTool index="0>4" componentJointIndex="0" anchorActor="0"> <!-- door -->
            <dependentPart index="17" />
        </movingTool>
    </movingTools>
	
    <movingParts>
        <movingPart index="17" referencePoint="4|12" referenceFrame="0>"> <!-- Ram -->
            <translatingPart index="17|0" />
        </movingPart>
    </movingParts>
	
    <animations>
        <!-- unload bale -->
        <animation name="unloadBale">
            <part node="4" startTime="0" endTime="4.7" startRot="0 0 0" endRot="80 0 0"/>

            <part node="5|0" startTime="0" endTime="2.5" startRot="0 0 0" endRot="0 0 10"   startTrans="0 0 0" endTrans="0.689 0.176 0"/>
            <part node="5|0" startTime="2.5" endTime="4" startRot="0 0 10" endRot="0 0 30"   startTrans="0.689 0.176 0" endTrans="0.805 -0.434 0"/>

            <part node="5|0" startTime="4" endTime="5" startRot="0 0 30" endRot="0 0 15"   startTrans="0.805 -0.434 0" endTrans="0.976 -0.446 0"/>
            <part node="5|0" startTime="5" endTime="6" startRot="0 0 15" endRot="0 0 0"    startTrans="0.976 -0.446 0" endTrans="1.269 -0.549 0"/>
            <part node="5|0" startTime="6" endTime="7.5" startRot="0 0 0" endRot="0 0 -60"    startTrans="1.269 -0.549 0" endTrans="2.190 -0.9 0"/>

            <part node="5|0" startTime="7.5" endTime="8" startRot="0 0 -60" endRot="0 0 -75"  startTrans="2.190 -0.9 0" endTrans="2.589 -0.95 0"/>
            <part node="5|0" startTime="8" endTime="9" startRot="0 0 -75" endRot="0 0 -105"  startTrans="2.589 -0.95 0" endTrans="3.4 -0.95 0"/>

			

            <part node="6" startTime="4" endTime="7.5" startRot="0 0 0" endRot="-30 0 0"/>
            <part node="6" startTime="8.5" endTime="10" startRot="-30 0 0" endRot="0 0 0"/>
        </animation>

        <animation name="closeDoor">
            <part node="4" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0"/>
            <part node="5|0" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0" startTrans="0 0 0" endTrans="0 0 0"/>
            <part node="6" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0"/>
        </animation>
		
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="10" startTime="0" duration="0.6" startRot="90 0 0" endRot="0 0 0" />
            <part node="18|3" startTime="0" duration="0.5" startTrans="0 0.7 2" endTrans="0 0.2 2" />
        </animation>

        <animation name="TransRot">
         <part node="12" startTime="0" endTime="2" startRot="5 0 0" endRot="27 0 0"/> <!--pickup-->
        </animation>		
    </animations>
    <support animationName="moveSupport" />	
    <TransRot animationName="TransRot" />
	
	<balerParticleSystems>
		<balerParticleSystems 	index="14" file="$data/vehicles/particleSystems/threshingCutterMiddleParticleSystem.i3d" />
	</balerParticleSystems>	
	
	 <speedRotatingParts>
		<speedRotatingPart index="12|0|0" radius="0.15"/>
		<speedRotatingPart index="12|0|1" radius="0.15"/>
    </speedRotatingParts>
	

	<pickupWheels index1="12|0" index2="18|0" />	
	<rolls>
		<roll index="4|2" speed="0.009" />
		<roll index="4|3" speed="0.009" />
		<roll index="4|4" speed="0.009" />
		<roll index="4|5" speed="0.009" />
		<roll index="4|6" speed="0.009" />
		<roll index="4|7" speed="0.009" />
		<roll index="4|8" speed="0.009" />
		<roll index="4|9" speed="0.009" />
		<roll index="4|10" speed="0.009" />
		<roll index="4|11" speed="0.009" />
		<roll index="7" speed="0.009" />
		<roll index="15|0" speed="0.009" />
		<roll index="15|1" speed="0.009" />
		<roll index="15|2" speed="0.009" />
		<roll index="15|3" speed="0.009" />
		<roll index="15|4" speed="0.009" />
		<roll index="15|5" speed="0.009" />
		<roll index="15|6" speed="0.009" />
		<roll index="15|7" speed="0.009" />
		<roll index="15|8" speed="0.009" />
		<roll index="11" speed="-0.009" />
		<roll index="12|1" speed="0.015" />
	</rolls>	
	
	<powerShaft deattached="13|0" attached="13|1" index="13|1|0" part="13|1|0|0" fixPoint="13|1|0|0|0" />

	<isDefaultLowered value="true" />
	
    <components count="2">
        <component1 centerOfMass="0 0 0" solverIterationCount="4" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>18|3" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
</vehicle>
