<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="baler">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Ford 551</en>
        <de>Ford 551</de>
    </name>
    <description></description>
	<typeDesc>Ford 551 roundbaler</typeDesc>
    <filename>Ford.i3d</filename>
    <size width="3.5" length="15.0" />
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0" radius="0.5" deltaY="0.15" suspTravel="0.15" spring="50" damper="20" mass="0.4" lateralStiffness="10" />
        <wheel driveMode="0" repr="1" radius="0.5" deltaY="0.15" suspTravel="0.15" spring="50" damper="20" mass="0.4" lateralStiffness="10" />
    </wheels>
    <capacity>3000</capacity>
    <brakeForce>2</brakeForce>
	<steeringAxleAngleScale startSpeed="5" endSpeed="70" />
    <cuttingAreas count="1">
        <cuttingArea1 startIndex="7" widthIndex="8" heightIndex="9"/>
    </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"/>
	
    <attacherJoint index="6" jointType="trailerLow"/>
    <!--trailerAttacherJoint index="8" /-->
    <!--tipReferencePoint index="5" /-->
    <!--tipAnimation rootNode="6" speedScale="1" clip="tipClipSource" /-->
    <!--dischargeParticleSystem node="6" position="0 0.1126 1.1377" rotation="0 0 0" file="data/vehicles/particleSystems/trailerDischargeParticleSystem.i3d" /-->
    <baleTypes>
        <baleType fillType="wheat_windrow" 	filename="Bales/roundbaleStraw.i3d" />
        <baleType fillType="barley_windrow" 	filename="Bales/roundbaleStraw.i3d" />
        <baleType fillType="dryGrass_windrow" 	filename="Bales/roundbaleHay.i3d" />
        <baleType fillType="grass_windrow" 	filename="Bales/roundbaleGrass.i3d" />

    </baleTypes>
    <baleAnimation node="11|0" baleDropAnimTime="9" unloadAnimationName="unloadBale" unloadAnimationSpeed="5" closeAnimationName="closeDoor" closeAnimationSpeed="5"/>
    <allowFillFromAir value="false" />
    <allowTipDischarge value="false" />
    <fillTypes fillTypes="wheat_windrow barley_windrow grass_windrow dryGrass_windrow" />

    <balerUVScrollParts>
		<balerUVScrollPart index="10|1" speed="0 1.6" />
        <balerUVScrollPart index="15"   speed="0 1.6" />
    </balerUVScrollParts>	
	
    <lights count="1">
        <light1 index="10|2" />
    </lights>
	
	<lightCoronas>
		<lightCorona index="10|3" />	
		<lightCorona index="10|4" />	
	</lightCoronas>	
	
    <movingTools>
        <!-- support -->
        <movingTool index="0>16" componentJointIndex="0" anchorActor="0"></movingTool>
    </movingTools>
	
    <animations>
        <!-- unload bale -->
        <animation name="unloadBale">
            <part node="10" startTime="0" endTime="5" startRot="0 0 0" endRot="92 0 0"/>

            <part node="11|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="11|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="11|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="11|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="11|0" startTime="6" endTime="7.5" startRot="0 0 0" endRot="0 0 -60"    startTrans="1.269 -0.549 0" endTrans="2.190 -1.108 0"/>

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

			

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

        <animation name="closeDoor">
            <part node="10" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0"/>
            <part node="11|0" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0" startTrans="0 0 0" endTrans="0 0 0"/>
            <part node="12" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0"/>
        </animation>
		
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="16" startTime="0" duration="0.6" startTrans="0.328 0.428 1.428" endTrans="0.328 0 1.428" />
        </animation>
		
    </animations>

    <support animationName="moveSupport" />	
	
    <components count="2">
        <component1 centerOfMass="0 0 -0.8" solverIterationCount="4" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>16|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
    
    <schemaOverlay file="$data/vehicles/schemas/implementSchema.png" fileSelected="$data/vehicles/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
	
</vehicle>
