<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Sipma_Z279_by_Tomy">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Sipma Z279</en>
        <de>Sipma Z279</de>
    </name>
    <description></description>
	<typeDesc>$l10n_TypeDesc_Baler</typeDesc>
    <filename>Sipma_Z279_by_Tomy.i3d</filename>
    <size width="3.5" length="15.0" />
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="1" radius="0.57" deltaY="0.18" suspTravel="0.25" spring="5" damper="20" mass="0.4" lateralStiffness="10" />
        <wheel driveMode="0" repr="2" radius="0.57" deltaY="0.18" suspTravel="0.25" spring="5" damper="20" mass="0.4" lateralStiffness="10" />
        <wheel driveMode="0" repr="1>1" radius="0.18" deltaY="0.15" suspTravel="0.15" spring="15" damper="30" mass="0.2" lateralStiffness="1" />
        <wheel driveMode="0" repr="1>2" radius="0.18" deltaY="0.15" suspTravel="0.15" spring="15" damper="30" mass="0.2" lateralStiffness="1" />
    </wheels>
    <capacity>3500</capacity>
    <brakeForce>2</brakeForce>
    <cuttingAreas count="1">
        <cuttingArea1 startIndex="1>5" widthIndex="1>4" heightIndex="1>6"/>
    </cuttingAreas>
    <fillScale value="1.5" />
    <massScale value="0.2" />
	
    <balerSound file="Sounds/prasowanie.wav" pitchOffset="1" volume="2.0"/>
      <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="Sounds/zamykanie.wav" pitchOffset="1" volume="2.0"/>
	
    <attacherJoint index="3" jointType="trailer"/>
    <baleTypes>
        <baleType fruitType="wheat" filename="bele/roundbaleStrawp.i3d" />
        <baleType fruitType="barley" filename="bele/roundbaleStraw.i3d" />
		<baleType fruitType="grass" filename="bele/roundbaleHay.i3d" />
        <baleType fruitType="dryGrass" filename="bele/roundbaleHays.i3d" />
    </baleTypes>
    <baleAnimation node="4|0" baleDropAnimTime="9" unloadAnimationName="unloadBale" unloadAnimationSpeed="5" closeAnimationName="closeDoor" closeAnimationSpeed="5"/>
    <allowFillFromAir value="false" />
    <allowTipDischarge value="false" />
    <fillTypes fruitTypes="wheat barley grass dryGrass" />

    <balerUVScrollParts>
		<balerUVScrollPart index="0|0" speed="0 1.6" />
        <balerUVScrollPart index="5|0"   speed="0 1.6" />
    </balerUVScrollParts>	
	
    <lights count="0">
        <light1 index="99" />
    </lights>
	
	<lightCoronas>
		<lightCorona index="5|1" />		
	</lightCoronas>
	
    <animations>
        <!-- unload bale -->
        <animation name="unloadBale">
            <part node="5" startTime="0" endTime="5" startRot="0 0 0" endRot="90 0 0"/>

            <part node="4|0" startTime="0" endTime="2.5" startRot="0 0 0" endRot="0 0 -15"   startTrans="0 0 0" endTrans="0.86466 -0.12808 0"/>
            <part node="4|0" startTime="2.5" endTime="4" startRot="0 0 -15" endRot="0 0 -40"   startTrans="0.86466 -0.12808 0" endTrans="1.04077 -0.27586 0"/>

            <part node="4|0" startTime="4" endTime="5" startRot="0 0 -40" endRot="0 0 -64"   startTrans="1.04077 -0.27586 0" endTrans="1.5766 -0.38741 0"/>
            <part node="4|0" startTime="5" endTime="6" startRot="0 0 -64" endRot="0 0 -85"    startTrans="1.5766 -0.38741 0" endTrans="2.15022 -0.82901 0"/>
            <part node="4|0" startTime="6" endTime="7.5" startRot="0 0 -85" endRot="0 0 -125"    startTrans="2.15022 -0.82901 0" endTrans="2.52591 -0.94445 0"/>

            <part node="4|0" startTime="7.5" endTime="8" startRot="0 0 -125" endRot="0 0 -140"  startTrans="2.52591 -0.94445 0" endTrans="2.77667 -0.94445 0"/>
            <part node="4|0" startTime="8" endTime="9" startRot="0 0 -140" endRot="0 0 -150"  startTrans="2.77667 -0.94445 0" endTrans="3.02518 -0.94445 0"/>

			

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

        <animation name="closeDoor">
            <part node="5" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0"/>
            <part node="4|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="40 0 0" endRot="40 0 0"/>
        </animation>
		
    </animations>
	
	<animationParts>
		<animationPart rootNode="0>11" clipName="pickupclipSource" loadSave="false" numJoints="1" offSet="40" >
			<componentJoint1 index="1" />
		</animationPart>
		<animationPart rootNode="0>14" clipName="supportclipSource" loadSave="false" numJoints="1" offSet="40" >
			<componentJoint1 index="2" />
		</animationPart>
		<animationPart rootNode="1>3" clipName="rotorclipSource" clipSpeed="2.5" offSet="10" loop="true" accerlation="0.08" deAccerlation="0.2" >
		</animationPart>
		<animationPart rootNode="0>7" clipName="doorclipSource" loadSave="false" numJoints="0" offSet="40" >
		</animationPart>
	</animationParts>
	
	<powerShaft index="0>8" part="0>8|0" fixPoint="0>8|0|0" />
	
	<Ropes index="0>10" Capacity="35" />
	
	<rotationPartFillLevel index="17|0" minRot="-25 0 0" maxRot="25 0 0" rotTime="1" touchRotLimit="10" />
	
	<wheatParticleSystems>
		<wheatParticleSystem file="particleSystems/StrawPickup.i3d" node="0>16|0" position="0 0 0" rotation="0 0 0" /> 
		<wheatParticleSystem file="particleSystems/Dust_Wheat_Barley.i3d" node="0>16|1" position="0 0 0" rotation="0 0 0" /> 
	</wheatParticleSystems>
	<grassParticleSystems>
		<grassParticleSystem file="particleSystems/GrassPickup.i3d" node="0>16|0" position="0 0 0" rotation="0 0 0" /> 
	</grassParticleSystems>
	
	<lightsaddon lightsStayOn="false">
		<light type="dirLeft" index="5|2|1" />
		<light type="dirRight" index="5|2|2" />
		<light type="brake" index="5|2|0" />
	</lightsaddon>
	
	<OverflowModel index="1>7" />
	
	<hydraulicCylinders>
		<hydraulicCylinder cylinder="9" punch="9|0" punchFix="9|0|0" cylinderFix="5|3" />
    </hydraulicCylinders>	
	
    <components count="3">
        <component1 centerOfMass="0 -1.15 0" solverIterationCount="4" />
        <component2 solverIterationCount="8" />
		<component3 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>11" rotLimit="0 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="2" index="0>14" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
</vehicle>
