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

    <storeData>
        <name>Framest Frakomb 8000</name>
        <functions>
            <function>$l10n_function_cultivator</function>
        </functions>
        <rotation>0</rotation>
        <image>store_farmet_k600.dds</image>
        <price>45000</price>
        <lifetime>600</lifetime>
        <brand>LIZARD</brand>
        <category>cultivators</category>
        <shopTranslationOffset>0 0.05 0</shopTranslationOffset>
        <specs>
            <neededPower>270</neededPower>
            <workingWidth>8.0</workingWidth>
            <combination>AGCO 650, SB 1000</combination>
        </specs>
        <vertexBufferMemoryUsage>5704000</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1004790</indexBufferMemoryUsage>
        <textureMemoryUsage>24467088</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>farmetKompaktomat.i3d</filename>
        <size width="8" length="8" />
        <speedLimit value="17" />
        <components>
            <component centerOfMass="0 1.35 -0.93" solverIterationCount="10" mass="5360"/>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="800"/>		
            <joint component1="1" component2="2" node="0>0|13" rotLimit="0 90 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL_TRAILED" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T404/400_60R15_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.4" repr="0>0|0|0|0" forcePointRatio="0.9" initialCompression="23" suspTravel="0.15" spring="44" damper="20" rotationDamping="0.002" scale="1" />
						
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T404/400_60R15_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.4" repr="0>0|0|0|1" forcePointRatio="0.9" initialCompression="23" suspTravel="0.15" spring="44" damper="20" rotationDamping="0.002" scale="1"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|2|1|0|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|2|1|1|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|3|2|0|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|3|2|1|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|4|2|0|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|4|2|1|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
			
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="0" brand="TRELLEBORG">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.4" repr="0>0|0|0|0" forcePointRatio="0.9" initialCompression="23" suspTravel="0.15" spring="44" damper="20" rotationDamping="0.002" scale="1" />
						
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.4" repr="0>0|0|0|1" forcePointRatio="0.9" initialCompression="23" suspTravel="0.15" spring="44" damper="20" rotationDamping="0.002" scale="1"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|2|1|0|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|2|1|1|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|3|2|0|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|3|2|1|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|4|2|0|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>

                    <wheel>
                        <physics rotSpeed="0" restLoad="0.6" repr="0>0|4|2|1|0"  useReprDirection="true" forcePointRatio="0.3" radius="0.15" mass="0.3" width="2.5" initialCompression="10" suspTravel="0.15" spring="20" damper="20" frictionScale="2" brakeFactor="1" rotationDamping="0.004" supportsWheelSink="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
			
        </wheelConfigurations>
        <hubs>
            <color0>1 0.393 0</color0>
            <color1>SHARED_BLACK2</color1>
            <hub linkNode="0>0|0|0|0"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.3 0.3 0.3" />
            <hub linkNode="0>0|0|0|1" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.3 0.3 0.3" />
        </hubs>
    </wheels>
	
    <lights>
        <sharedLight linkNode="0>0|18|0"       filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="0>0|18|1"      filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="0>0|18|2"       filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="0>0|18|3"      filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
    </lights>

    <speedRotatingParts>
		<!-- CENTER -->
        <speedRotatingPart node="0>0|2|1|0" radius="0.22" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
        <speedRotatingPart node="0>0|2|1|1" radius="0.22" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
		<!-- LEFT -->
        <speedRotatingPart node="0>0|3|2|0" radius="0.22" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
        <speedRotatingPart node="0>0|3|2|1" radius="0.22" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
		<!-- RIGHT -->
        <speedRotatingPart node="0>0|4|2|0" radius="0.22" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
        <speedRotatingPart node="0>0|4|2|1" radius="0.22" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
    </speedRotatingParts>

    <attachable allowFoldingWhileLowered="false" >
        <inputAttacherJoints>
            <inputAttacherJoint node="1>0|0" rootNode="1>" jointType="implement" allowsJointRotLimitMovement="false" allowsLowering="true" upperRotLimitScale="0 0 1">
                <distanceToGround lower="0.6" upper="0.95" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSuppvort"/>
        <lowerAnimation name="axis"/>
        <brakeForce force="1.5"/>
    </attachable>	


	<attacherJoints>
        <attacherJointConfigurations>
            <attacherJointConfiguration name="$l10n_configuration_valueDefault" price="0" >
                <objectChange node="0>0|14|0" visibilityActive="false" />
                <objectChange node="0>0|16|0" visibilityActive="false" />
            </attacherJointConfiguration>
            <attacherJointConfiguration name="$l10n_configuration_trailerAttacherBack" price="800" >
                <attacherJoint node="0>0|14|0|0" topReferenceNode="0>0|14|0|1" jointType="implement">
					<schema position="1 0" rotation="0" invertX="false"/>
                    <attachSound template="ATTACH_01" />
                </attacherJoint>								
                <objectChange node="0>0|14|0" visibilityActive="true" />
                <objectChange node="0>0|16|0" visibilityActive="true" />
            </attacherJointConfiguration>
        </attacherJointConfigurations>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>" />
        </sounds>
		

		
    </attacherJoints>

    <connectionHoses>
	
        <target attacherJointIndices="1" type="hydraulicOut" node="0>0|16|0|2"/>
        <target attacherJointIndices="1" type="hydraulicIn" node="0>0|16|0|3"/>
        <target attacherJointIndices="1" type="hydraulicOut" node="0>0|16|1|0"/>
        <target attacherJointIndices="1" type="hydraulicIn" node="0>0|16|1|1"/>
		
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="0>0|16|2" length="1.5" diameter="0.018" straighteningFactor="0.2" >
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="0>0|16|3" length="1.5" diameter="0.018" straighteningFactor="0.2" >
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="0>0|16|3" length="1.5" diameter="0.018" straighteningFactor="0.2" >
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="0>0|16|4" length="1.5" diameter="0.018" straighteningFactor="0.2" >
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="0>0|16|5" length="1.5" diameter="0.018" straighteningFactor="0.2" >
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="0>0|16|6" length="1.5" diameter="0.018" straighteningFactor="0.2" >
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="0>0|16|0|0" length="1.5" diameter="0.018" straighteningFactor="0.2" >
        </hose>
    </connectionHoses>

    <powerConsumer forceNode="0>" maxForce="25" neededMaxPtoPower="0"/>

    <groundReferenceNodes>
        <groundReferenceNode node="0>0|9|3" forceFactor="1" threshold="0.1" depthNode="0>0|9|4"/>
    </groundReferenceNodes>

    <workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea" >
            <area startNode="0>0|9|0" widthNode="0>0|9|1" heightNode="0>0|9|2"/>
            <groundReferenceNode index="1"/>
        </workArea>
    </workAreas>

    <workParticles>
        <particleAnimation>
            <node node="0>0|11|0" refNodeIndex="1" materialType="SOIL" />
            <node node="0>0|11|1" refNodeIndex="1" materialType="SOIL" />
            <node node="0>0|11|2" refNodeIndex="1" materialType="SOIL" />						
        </particleAnimation>
		<particle>
			<node node="0>0|20|0" refNodeIndex="1" particleType="SOIL" emitCountScale="1" />
			<node node="0>0|20|1" refNodeIndex="1" particleType="SOIL_SMOKE" emitCountScale="1" />
			<node node="0>0|20|2" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false" emitCountScale="1" />
		</particle>
    </workParticles>
	


    <cultivator useDeepMode="false">
        <sounds>
            <work template="DEFAULT_CULTIVATOR_WORK" linkNode="0>" />
        </sounds>
        <directionNode node="0>" />
        <onlyActiveWhenLowered value="true"/>
    </cultivator>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startAnimTime="1" startMoveDirection="1">
                    <foldingPart animationName="folding" speedScale="0.4" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <animation name="moveSuppvort">
            <part node="0>0|17" startTime="0" endTime="0.2" startTrans="0 0.375 0" endTrans="0 0 0"/>
            <sound template="clackVar2" startTime="0.3" direction="0">
                <volume indoor="0.7" outdoor="0.7" />
                <pitch indoor="1.5" outdoor="1.5" />
            </sound>
            <sound template="switch" startTime="0.3" direction="0">
                <volume indoor="0.3" outdoor="0.3" />
            </sound>			
        </animation>
        <animation name="folding">
            <part node="0>0|4|4" startTime="1.5" endTime="2" startRot="0 0 0" endRot="0 0 96.9"/>
            <part node="0>0|12|0" startTime="1.5" endTime="2" startRot="0 0 0" endRot="0 0 -235"/>
            <part node="0>0|12|1" startTime="1.5" endTime="2" startRot="0 0 0" endRot="0 0 243"/>
            <part node="0>0|3" startTime="0" endTime="1.5" startRot="0 0 0" endRot="0 0 94.4"/>
            <part node="0>0|4" startTime="0" endTime="1.5" startRot="0 0 0" endRot="0 0 -95.9"/>
            <part node="0>0|5" startTime="0" endTime="1.5" startRot="-25 90 0" endRot="-90 90 0"/>
            <part node="0>0|6" startTime="0" endTime="1.5" startRot="-25 -90 0" endRot="-90 -90 0"/>
			
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="7.99" volumeScale="1.6" pitchScale="0.8" />
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="7.5"  volumeScale="1.6" pitchScale="0.6" />
            <sound template="clackVar4"             startTime="7.99" direction="-1" volumeScale="1.7" pitchScale="0.8" />
            <sound template="clackVar3"             startTime="7.99" direction="-1" volumeScale="2.2" pitchScale="0.5" />
            <sound template="sheetImp02"            startTime="7.5"  direction="-1" volumeScale="2.2" pitchScale="0.8" />
            <sound template="clackVar6"             startTime="1.01" direction="-1" volumeScale="1.6" pitchScale="0.7" />
            <sound template="sheetImp02"            startTime="1.01" direction="-1" volumeScale="2.2" pitchScale="0.8" />
            <sound template="clackVar3"             startTime="1.01" direction="-1" volumeScale="2.2" pitchScale="0.7" />
            <sound template="sheetImp02"            startTime="0.01" direction="-1" volumeScale="2.8" pitchScale="0.7" />
            <sound template="clackVar1"             startTime="0.1"  direction="-1" volumeScale="0.8" pitchScale="0.8" />
            <sound template="clackVar3"             startTime="0.1"  direction="-1" volumeScale="1.8" pitchScale="1" />
            <sound template="lowStartGroundMed01"   startTime="0.01" direction="1"  volumeScale="1"   pitchScale="0.8" />
            <sound template="clackVar3"             startTime="0.01" direction="1"  volumeScale="2.4" pitchScale="0.6" />
            <stopTimePosSound template="clackVar6"                                  volumeScale="1"   pitchScale="0.6" />
            <stopTimePosSound template="sheetImp02"                                 volumeScale="2.4" pitchScale="0.7" />
            <sound template="sheetImp02"           startTime="1.01" direction="1"   volumeScale="2"   pitchScale="0.6" />
            <sound template="clackVar6"            startTime="1.1"  direction="1"   volumeScale="1.6" pitchScale="0.8" />
            <sound template="clackVar3"            startTime="1.01" direction="1"   volumeScale="1.4" pitchScale="1" />
            <sound template="clackVar3"            startTime="7.5"  direction="1"   volumeScale="2.2" pitchScale="0.7" />
            <sound template="sheetImp02"           startTime="7.5"  direction="1"   volumeScale="3.2" pitchScale="0.8" />
            <sound template="sheetImp02"           startTime="7.99" direction="1"   volumeScale="2.2" pitchScale="0.6" />
            <sound template="clackVar6"            startTime="7.99" direction="1"   volumeScale="1"   pitchScale="0.6" />			
        </animation>
        <animation name="axis">
            <part node="0>0|0" startTime="0" endTime="2.5" startRot="-23 0 0" endRot="15 0 0"/>
        </animation>
    </animations>
	
	<cylindered>
        <movingTools>
			<!-- Left -->
            <movingTool node="0>0|3" playSound="true" wheelIndices="1 2 3 4 5 6 7 8">
                <dependentPart node="0>0|5|1" />
            </movingTool>
            <movingTool node="0>0|5|1" playSound="true">
                <dependentPart node="0>0|7" />
            </movingTool>
			<!-- Right -->
            <movingTool node="0>0|4" playSound="true" wheelIndices="1 2 3 4 5 6 7 8">
                <dependentPart node="0>0|6|1" />
            </movingTool>
            <movingTool node="0>0|6|1" playSound="true">
                <dependentPart node="0>0|8" />
            </movingTool>
			<!-- Axis -->
            <movingTool node="0>0|0" playSound="true" wheelIndices="1 2" > 
                <dependentPart node="0>0|1|0" />
                <dependentPart node="0>0|1|1" />
            </movingTool>		
        </movingTools>

        <movingParts>
			<!-- Left -->
			<movingPart node="0>0|5|1" referencePoint="0>0|3|0" referenceFrame="0>0|3|0" >
				<translatingPart node="0>0|5|1|0" />
			</movingPart>
			<movingPart node="0>0|7" referencePoint="0>0|5|0" referenceFrame="0>0|5|0" >
				<translatingPart node="0>0|7|0" />
			</movingPart>
			<!-- Right -->			
			<movingPart node="0>0|6|1" referencePoint="0>0|4|0" referenceFrame="0>0|4|0" >
				<translatingPart node="0>0|6|1|0" />
			</movingPart>
			<movingPart node="0>0|8" referencePoint="0>0|6|0" referenceFrame="0>0|6|0" >
				<translatingPart node="0>0|8|0" />
			</movingPart>
			<!-- Axis -->
			<movingPart node="0>0|1|0" referencePoint="0>0|0|1" referenceFrame="0>0|0|1">
				<translatingPart node="0>0|1|0|0" />
			</movingPart>
			<movingPart node="0>0|1|1" referencePoint="0>0|0|2" referenceFrame="0>0|0|2">
				<translatingPart node="0>0|1|1|0" />
			</movingPart>
        </movingParts>
    </cylindered>
	
    <designConfigurations title="Rollers">
        <designConfiguration name="DEFAULT" price="0">
                <objectChange node="0>0|3|2|1|1" visibilityActive="false"/>
                <objectChange node="0>0|3|2|1|2" visibilityActive="false"/>				
                <objectChange node="0>0|2|1|1|1" visibilityActive="false"/>		
                <objectChange node="0>0|4|2|1|1" visibilityActive="false"/>
                <objectChange node="0>0|4|2|1|2" visibilityActive="false"/>				
        </designConfiguration>
        <designConfiguration name="SPECIAL" price="500">
                <objectChange node="0>0|3|2|1|1" visibilityActive="true"/>
                <objectChange node="0>0|2|1|1|1" visibilityActive="true"/>		
                <objectChange node="0>0|4|2|1|1" visibilityActive="true"/>
                <objectChange node="0>0|4|2|1|2" visibilityActive="true"/>	
                <objectChange node="0>0|3|2|1|2" visibilityActive="true"/>					
        </designConfiguration>
    </designConfigurations>		
	
     <ai>
        <needsLowering value="true" />
        <areaMarkers leftNode="0>0|19|0|0" rightNode="0>0|19|0|1" backNode="0>0|19|0|2" />
        <sizeMarkers leftNode="0>0|19|1|0" rightNode="0>0|19|1|1" backNode="0>0|19|1|2" />
        <collisionTrigger node="0>0|19|2" />
        <toolReverserDirectionNode node="0>0|19|0|2" />
        <turningRadiusLimitation radius="7" />
        <allowTurnBackward value="false" />
        <agentAttachment jointNode="1>0|0" rotCenterWheelIndices="1 2" width="3.1" height="3.1" length="6.7" lengthOffset="1.1"/>		
    </ai>
	
    <foliageBending>
        <bendingNode minX="-1.0" maxX="1.0" minZ="-2.2" maxZ="0.7" yOffset="0.5" />
        <bendingNode minX="0.8" maxX="2.6"  minZ="-1.7" maxZ="0.9" yOffset="-0.5" node="0>0|3" />
        <bendingNode minX="-2.6" maxX="-0.8" minZ="-1.7" maxZ="0.9" yOffset="-0.5" node="0>0|4" />
    </foliageBending>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="490" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>

</vehicle>
