<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="vicon">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Claas Rollant 255</en>
        <de>Claas Rollant 255</de>
    </name>
    <description></description>
	<typeDesc>Claas Rollant 255</typeDesc>
    <filename>Claas.i3d</filename>
    <size width="3.5" length="15.0" />
    <wheels autoRotateBackSpeed="2.0">
	<wheel driveMode="0" repr="0" radius="0.62" deltaY="0.25" suspTravel="0.35" spring="100" damper="0" mass="1" />
        <wheel driveMode="0" repr="1" radius="0.62" deltaY="0.25" suspTravel="0.35" spring="100" damper="0" mass="1" />
    </wheels>
    <capacity>3000</capacity>
    <brakeForce>2</brakeForce>
	<steeringAxleAngleScale startSpeed="5" endSpeed="70" />
    <cuttingAreas count="1">
        <cuttingArea1 startIndex="3" widthIndex="4" heightIndex="5"/>
    </cuttingAreas>
    <fillScale value="1.5" />
    <massScale value="0.2" />
	
    <balerSound file="$data/vehicles/balers/kroneComprimaV180.wav" pitchOffset="1" volume="1"/>
    <balerAlarm file="Sounds/Capacity.ogg" 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="2" jointType="trailer"/>
    <!--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 fruitType="wheat" filename="Bales/roundbaleStraw.i3d" />
        <baleType fruitType="barley" filename="Bales/roundbaleStraw.i3d" />
        <baleType fruitType="dryGrass" filename="Bales/roundbaleHay.i3d" />
        <baleType fruitType="grass" filename="Bales/roundbaleGrass.i3d" />
        <baleType fruitType="triticale" filename="Bales/roundbaleStraw.i3d" />
        <baleType fruitType="oat" filename="Bales/roundbaleStraw.i3d" />
        <baleType fruitType="rye" filename="Bales/roundbaleStraw.i3d" />
    </baleTypes>
    <baleAnimation node="7|0" baleDropAnimTime="9" unloadAnimationName="unloadBale" unloadAnimationSpeed="5" closeAnimationName="closeDoor" closeAnimationSpeed="5"/>
    <allowFillFromAir value="false" />
    <allowTipDischarge value="false" />
    <fillTypes fruitTypes="wheat barley dryGrass grass triticale oat rye" />
	
    <lightCoronas>
	<lightCorona index="0>6|1" />	
    </lightCoronas>

    <lightsaddon lightsStayOn="false">
	<light type="dirLeft" index="0>6|5" />
	<light type="dirRight" index="0>6|6" />
	<light type="parkLeft" index="0>6|3" />
	<light type="parkRight" index="0>6|4" />
	<light type="brake" index="0>6|2" />
    </lightsaddon>
	
    <movingTools>
        <!-- support -->
        <movingTool index="0>10" componentJointIndex="0" anchorActor="0"></movingTool>
    </movingTools>
	
    <animations>
        <!-- unload bale -->
        <animation name="unloadBale">
            <part node="6" startTime="0" endTime="5" startRot="0 0 0" endRot="75 0 0"/>

            <part node="7|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="7|0" startTime="2.5" endTime="4" startRot="0 0 10" endRot="0 0 30"   startTrans="0.689 0.176 0" endTrans="0.805 -0.234 0"/>

            <part node="7|0" startTime="4" endTime="5" startRot="0 0 30" endRot="0 0 15"   startTrans="0.805 -0.234 0" endTrans="0.976 -0.246 0"/>
            <part node="7|0" startTime="5" endTime="6" startRot="0 0 15" endRot="0 0 0"    startTrans="0.976 -0.246 0" endTrans="1.269 -0.349 0"/>
            <part node="7|0" startTime="6" endTime="7.5" startRot="0 0 0" endRot="0 0 -60"    startTrans="1.269 -0.349 0" endTrans="2.190 -0.908 0"/>

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

			

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

        <animation name="closeDoor">
            <part node="6" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0"/>
            <part node="7|0" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 0" startTrans="0 0 0" endTrans="0 0 0"/>
            <part node="8" 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" startTrans="0.3 1.1 1.183" endTrans="0.3 0.46 1.183" />
        </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>10|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
</vehicle>
