﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cutter_animated">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Krone EasyCollect 1053</en>
        <de>Krone EasyCollect 1053</de>
    </name>
	<typeDesc>$l10n_TypeDesc_CornCutter</typeDesc>
    <filename>data/vehicles/steerable/krone/kroneEasyCollect1053.i3d</filename>

    <size width="5" length="3" />

    <cuttingAreas count="1">
        <cuttingArea1 startIndex="0" widthIndex="1" heightIndex="2" losing="false" foldMinLimit="0" foldMaxLimit="0.1"/>
    </cuttingAreas>

    <cutterThreshingUVScrollParts>
        <cutterThreshingUVScrollPart index="6|0" speed="-0.4 0" />
        <cutterThreshingUVScrollPart index="7|0" speed="-0.4 0" />
        <cutterThreshingUVScrollPart index="8|0" speed="-0.4 0" />
    </cutterThreshingUVScrollParts>

    <rolls>
		<roll index="10|0" speed="-0.009" />
		<roll index="11|0" speed="0.009" />
	</rolls>

    <aiLeftMarker index="4" />
    <aiRightMarker index="5" />

    <aiTrafficCollisionTrigger index="9" />

    <attacherJoint index="3" jointType="cutter" topReferenceNode="0>1" upperRotationOffset="8" lowerRotationOffset="0" lowerDistanceToGround="0" upperDistanceToGround="0.87" />

    <dynamicMount forceLimit="0.04" />

	<cylinderedHydraulicSound file="data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="0.8" volume="0.4" />

    <threshingParticleSystem position="0 0 -1" rotation="0 0 0" file="data/vehicles/particleSystems/threshingCutterMiddlePS.i3d" />
    <preferedCombineSize>2</preferedCombineSize>
    <fruitTypes fruitTypes="maize"/>

    <convertedFruits>
        <convertedFruit input="maize" output="chaff"/>
    </convertedFruits>

    <movingTools>
        <!-- middlePart -->
        <movingTool index="0>8|2">
            <!-- lift cylinder -->
            <dependentPart index="0>8|3" />
        </movingTool>

		<!-- leftPart -->
        <movingTool index="0>7">
            <!-- lift cylinder -->
            <dependentPart index="0>7|3" />
        </movingTool>
    </movingTools>

    <movingParts>
        <!-- middle cylinder -->
        <movingPart index="0>8|3" referencePoint="0>8|2|0" referenceFrame="0>8" invertZ="true">
            <translatingPart index="0>8|3|0" />
        </movingPart>
		<!-- left arm cylinder -->
        <movingPart index="0>7|3" referencePoint="0>8|4" referenceFrame="0>8" invertZ="true">
            <translatingPart index="0>7|3|0" />
        </movingPart>
    </movingParts>

	<foldingParts startMoveDirection="1">
        <foldingPart componentJointIndex="0" anchorActor="0" animationName="rightFold" speedScale="1.2" />
        <foldingPart componentJointIndex="1" anchorActor="0" animationName="leftFold" speedScale="1.2" />
    </foldingParts>

    <animations>
        <animation name="rightFold">
            <part node="0>6" startTime="0" endTime="8.0" startRot="0 0 0 " endRot="0 0 180"/>
            <part node="0>6|1" startTime="0" endTime="4.0" startRot="0 0 0 " endRot="-72 0 0"/>
            <part node="0>8|1" startTime="0" endTime="4.0" startRot="0 0 0 " endRot="125 0 0"/>
            <part node="0>8|2" startTime="0" endTime="4.0" startRot="0 0 0 " endRot="115 0 0"/>
        </animation>
		<animation name="leftFold">
            <part node="0>7" startTime="4" endTime="12.0" startRot="0 0 0" endRot="0 0 -180"/>
            <part node="0>7|1" startTime="4" endTime="8.0" startRot="0 0 0" endRot="-72 0 0"/>
        </animation>
    </animations>

    <components count="3">
        <component1 centerOfMass="0 0 -0.4" solverIterationCount="8" />
        <component2 centerOfMass="0 0 0" solverIterationCount="8" />
        <component3 centerOfMass="0 0 0" solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>6|2" rotLimit="0 0 0" transLimit="0 0 0" />
        <joint component1="0" component2="2" index="0>7|2" rotLimit="0 0 0" transLimit="0 0 0" />
		<collisionPair component1="1" component2="2" enabled="false"/>
    </components>

    <schemaOverlay file="data/vehicles/schemas/implement2Schema.png" fileSelected="data/vehicles/schemas/implement2SchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="1 0"/>

</vehicle>
