<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cutter">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>GE50</name>
        <specs>
            <workingWidth>5.0</workingWidth>
            <combination>FR 780, BiG X 1180</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutterForage</function>
        </functions>
        <image>store.png</image>
        <price>19000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>forageHarvesterCutters</category>
        <vertexBufferMemoryUsage>1763508</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>242376</indexBufferMemoryUsage>
        <textureMemoryUsage>3233336</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pickup</typeDesc>
        <filename>ge50.i3d</filename>
        <size width="3.5" length="2.5"/>
        <speedLimit value="20"/>
        <components>
            <component centerOfMass="0.00 0.84 0.22" solverIterationCount="10" mass="2127"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <turnedOn name="DEFAULT_IMPLEMENT_ON"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
            <turnedOnSelected name="DEFAULT_IMPLEMENT_SELECTED_ON"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="$data/shared/wheels/trelleborg/T510/15x6_00R6.xml" >
                        <physics restLoad="0.2" repr="0>1|0|4" configId="axis" forcePointRatio="0.3" mass="0.1" initialCompression="15" suspTravel="0.1" spring="3" damper="2" brakeFactor="0" rotationDamping="0.001"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T510/15x6_00R6.xml" >
                        <physics restLoad="0.2" repr="0>1|0|5" configId="axis" forcePointRatio="0.3" mass="0.1" initialCompression="15" suspTravel="0.1" spring="3" damper="2" brakeFactor="0" rotationDamping="0.001"/>
                    </wheel>
					<wheel filename="$data/shared/wheels/trelleborg/T510/215_65R8.xml" isLeft="false" >
                        <physics restLoad="0.7" repr="0>1|1|1|0|0|0|0"  useDriveNodeDirection="true" radius="0.287" forcePointRatio="0.2" initialCompression="25" suspTravel="0.1" spring="25" damper="10" />
                    </wheel>
					<wheel filename="$data/shared/wheels/trelleborg/T510/215_65R8.xml" isLeft="false" >
                        <physics restLoad="0.7" repr="0>1|1|1|0|0|1|0|0"  useDriveNodeDirection="true" radius="0.287" forcePointRatio="0.2" initialCompression="25" suspTravel="0.1" spring="25" damper="10" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <hubs>
			<hub linkNode="0>1|0|4"  filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="true"  scale="0.132 0.132 0.132" />
            <hub linkNode="0>1|0|5" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="false" scale="0.132 0.132 0.132" />
            <hub linkNode="0>1|1|1|0|0|0|0"  filename="$data/shared/wheels/hubs/hub_n5_1.xml" isLeft="true"  scale="0.1 0.1 0.1" />
            <hub linkNode="0>1|1|1|0|0|1|0|0" filename="$data/shared/wheels/hubs/hub_n5_1.xml" isLeft="false" scale="0.1 0.1 0.1" />
        </hubs>
    </wheels>

    <speedRotatingParts>
	    <speedRotatingPart node="0>1|1|0|0" radius="0.19" groundReferenceNodeIndex="1" onlyActiveWhenLowered="true"/>
		<speedRotatingPart node="0>1|1|0|1" radius="0.19" groundReferenceNodeIndex="1" onlyActiveWhenLowered="true"/>
        <speedRotatingPart node="0>1|1|0|2" radius="0.19" groundReferenceNodeIndex="1" onlyActiveWhenLowered="true"/>
    </speedRotatingParts>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>1|0|1" jointType="cutterHarvester" forceSelectionOnAttach="false">
                <heightNode node="0>1|3|3"/>
                <distanceToGround lower="0" upper="1.4"/>
            </inputAttacherJoint>
            <inputAttacherJoint node="0>0|0|0" jointType="trailer" attacherHeight="0.4" rootNode="0>" allowsLowering="false" foldMinLimit="0.99" foldMaxLimit="1"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce>0.2</brakeForce>
    </attachable>
	
	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>1|0|6|0"  length="1.2" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="0>1|0|6|0|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="0>1|0|6|1" length="1.2" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="0>1|0|6|1|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>
	
	<lights>
        <sharedLight linkNode="0>1|1|3|0"      filename="$data/shared/assets/lights/lizard/rear2ChamberLight_05_left.xml" />
        <sharedLight linkNode="0>1|1|4|0"      filename="$data/shared/assets/lights/lizard/rear2ChamberLight_05_right.xml" />

        <realLights>
            <high>
                <light node="0>1|6|1|0" lightTypes="0" />
                <turnLightLeft node="0>1|6|2|0|0" />
                <turnLightRight node="0>1|6|2|1|0" />
                <brakeLight node="0>1|6|1|0" />
            </high>
        </realLights>
    </lights>

    <powerTakeOffs>
        <input inputNode="0>1|0|2" detachNode="0>1|0|3" inputAttacherJointIndices="1" aboveAttacher="true" ptoName="LEFT_PTO"/>
    </powerTakeOffs>

    <powerConsumer ptoRpm="540" neededMaxPtoPower="50"/>

    <groundReferenceNodes>
        <groundReferenceNode node="0>1|3|3" threshold="0.2" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="cutter" functionName="processPickupCutterArea" disableBackwards="false" >
            <area startNode="0>1|3|0" widthNode="0>1|3|1" heightNode="0>1|3|2" />
            <groundReferenceNode index="1" />
            <folding minLimit="0" maxLimit="0.1" />
        </workArea>
    </workAreas>

    <foldable>
        <foldingParts startMoveDirection="1" turnOnFoldMaxLimit="0.5" turnOnFoldMinLimit="0">
            <foldingPart animationName="folding" speedScale="1.2" />
        </foldingParts>
    </foldable>

    <animations>
        <animation name="folding">
		    <!-- repliage -->
			<part node="0>0" startTime="0"    endTime="3"    startTrans="0.491 0.479 0.115" endTrans="2.552 0.479 0.115" />
		    <part node="0>1|1|1|0" startTime="0"    endTime="3"    startTrans="0 -0.058 0" endTrans="0 -0.546 0" />
            <part node="0>1|1|1|0|0"   startTime="0" endTime="3" startRot="69.64 0 0" endRot="-1.397 0 0"/>
            <part node="0>1|1|1|0|0|1"   startTime="0" endTime="3" startRot="0 -168 0" endRot="0 0 0"/>
			<!-- feux -->
            <part node="0>1|1|3"   startTime="0" endTime="3" startRot="0 168 0" endRot="0 0 0"/>
            <part node="0>1|1|4"   startTime="0" endTime="3" startRot="0 -163 0" endRot="0 0 0"/>
        </animation>

        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>1|0|0" startTime="0"    endTime="1"    startTrans="2.549 0.693 -0.022" endTrans="2.549 0.485 -0.022" />
        </animation>
    </animations>

    <cylindered>
        <movingTools>
		    <movingTool node="0>1|1|1|0|0" wheelIndices="3 4" />
			<movingTool node="0>1|1|1|0|0|1" wheelIndices="3 4" />
			<movingTool node="0>1|1|2" foldMinLimit="0.01" foldMaxLimit="1" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_Y" />
                <rotation rotationAxis="1" rotSpeed="20" rotAcceleration="50" rotMax="2" rotMin="-30" startRot="2" />
                <dependentPart node="0>1|2|0" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="0>1|2|0" referencePoint="0>1|1|2|0" referenceFrame="0>">
                <translatingPart node="0>1|2|0|0" />
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>

    <dynamicMount forceLimitScale="1" />

    <cutter fruitTypeCategories="pickup" fruitTypeConverter="forageHarvester" useWindrowed="true">
        <fillEffect>
            <effectNode effectClass="MorphPositionEffect" effectNode="0>1|5|0"    materialType="pickup" materialTypeId="1" delay="0" fadeTime="0.5" speed="0.9" scrollLength="1.5" scrollSpeed="2"/>
            <effectNode effectClass="ParticleEffect"      effectNode="0>1|5|1" particleType="PICKUP" useCuttingWidth="false" emitCountScale="6" worldSpace="false"/>
            <effectNode effectClass="ParticleEffect"      effectNode="0>1|5|2" particleType="SMOKE"  useCuttingWidth="false" emitCountScale="1"/>
        </fillEffect>
        <animationNodes>

            <animationNode node="0>1|1|0|4" rotAxis="1" rotSpeed="800"  turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="0>1|1|0|3" rotAxis="1" rotSpeed="-600" turnOnFadeTime="2" turnOffFadeTime="4"/>
        </animationNodes>
    </cutter>

    <turnOnVehicle turnedOnByAttacherVehicle="true" turnOffIfNotAllowed="true"/>

    <foliageBending>
        <bendingNode minX="-1.60" maxX="1.60" minZ="-0.7" maxZ="0.6" yOffset="0.3" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
</vehicle>
