<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cultivator">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>ih_tarcsa</en></name>
        <specs>
            <neededPower>250</neededPower>
            <workingWidth>7.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_cultivator</function>
        </functions>
        <image>store.dds</image>
        <price>24000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CASEIH</brand>
        <category>cultivators</category>
        <vertexBufferMemoryUsage>1389264</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>247584</indexBufferMemoryUsage>
        <textureMemoryUsage>15314104</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>Tarcsa/ih_tarcsa.i3d</filename>
        <size width="7" length="10"/>
        <speedLimit value="18"/>
        <components>
            <component centerOfMass="0 0 -1.455" solverIterationCount="10"  mass="4200"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                     <wheel isLeft="false" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.15" repr="0>0|1|0" radius="0.55" width="0.28" initialCompression="5" suspTravel="0.35" spring="27" damper="20"/>
                     </wheel>
                     <wheel isLeft="false" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.15" repr="0>0|1|1" radius="0.55" width="0.28" initialCompression="5" suspTravel="0.35" spring="27" damper="20"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
    <speedRotatingParts>
        <speedRotatingPart node="0>0|7|0|0" radius="0.266" foldMinLimit="0" foldMaxLimit="0.05"/>
        <speedRotatingPart node="0>0|7|1|0" radius="0.266" foldMinLimit="0" foldMaxLimit="0.05"/>
        <speedRotatingPart node="0>0|3|0|0" radius="0.266" foldMinLimit="0" foldMaxLimit="0.05"/>
        <speedRotatingPart node="0>0|4|0|0" radius="0.266" foldMinLimit="0" foldMaxLimit="0.05"/>
        <speedRotatingPart node="0>0|5|0|0" radius="0.266" foldMinLimit="0" foldMaxLimit="0.05"/>
        <speedRotatingPart node="0>0|6|0|0" radius="0.266" foldMinLimit="0" foldMaxLimit="0.05"/>
    </speedRotatingParts>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|0" jointType="trailerLow"/>
        </inputAttacherJoints>
        <brakeForce>0.4</brakeForce>
    </attachable>
   

	    <cultivator isSubsoiler="true" >
        <sounds>
            <work template="DEFAULT_PLOW_WORK" linkNode="0>" />
        </sounds>
        <directionNode node="0>" />
        <onlyActiveWhenLowered value="true"/>
    </cultivator>
	
        <groundReferenceNodes>
        <groundReferenceNode node="0>0|11|3" threshold="0.1" chargeValue="1" depthNode="0>0|9" maxDepth="-0.2" />
    </groundReferenceNodes>
	    <workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea" needsSetIsTurnedOn="false">
            <area startNode="0>1" widthNode="0>2" heightNode="0>3"/>
            <groundReferenceNode index="1"/>
            <folding minLimit="0" maxLimit="0.1"/>
        </workArea>
    </workAreas>
    <workParticles>
        <particleAnimation>
            <node node="0>0|11|0" refNodeIndex="1" materialType="SOIL"/>
        </particleAnimation>
        <particle>
            <node node="0>0|11|1" refNodeIndex="1" particleType="SOIL"/>
            <node node="0>0|11|2" refNodeIndex="1" particleType="SOIL_SMOKE"/>
            <node node="0>0|11|4" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false"/>
        </particle>
    </workParticles>


	
    <foldable>
        <foldingParts startMoveDirection="1" foldMiddleAnimTime="0.15">
            <foldingPart animationName="folding"/>
        </foldingParts>
    </foldable>
	
	<animations>
        <animation name="folding">
            <part node="0>0|1" startTime="0" endTime="1.5" startRot="32 0 0" endRot="-10 0 0"/>
            <part node="0>0|3|0" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 102"/>
            <part node="0>0|3|0|1" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 -89"/>
            <part node="0>0|12|0|0" startTime="2" endTime="7" startTrans="0 0 0" endTrans="0 0 -0.276"/>
            <part node="0>0|3|0" startTime="7" endTime="10" startRot="0 0 102" endRot="0 0 159"/>
            <part node="0>0|3|0|1" startTime="7" endTime="10" startRot="0 0 -89" endRot="0 0 -207"/>
            <part node="0>0|4|0" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 102"/>
            <part node="0>0|4|0|1" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 -89"/>
            <part node="0>0|12|1|0" startTime="2" endTime="7" startTrans="0 0 0" endTrans="0 0 -0.276"/>
            <part node="0>0|4|0" startTime="7" endTime="10" startRot="0 0 102" endRot="0 0 159"/>
            <part node="0>0|4|0|1" startTime="7" endTime="10" startRot="0 0 -89" endRot="0 0 -207"/>
            <part node="0>0|5|0" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 -102"/>
            <part node="0>0|5|0|1" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 89"/>
            <part node="0>0|12|2|0" startTime="2" endTime="7" startTrans="0 0 0" endTrans="0 0 -0.276"/>
            <part node="0>0|5|0" startTime="7" endTime="10" startRot="0 0 -102" endRot="0 0 -159"/>
            <part node="0>0|5|0|1" startTime="7" endTime="10" startRot="0 0 89" endRot="0 0 207"/>
            <part node="0>0|6|0" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 -102"/>
            <part node="0>0|6|0|1" startTime="2" endTime="7" startRot="0 0 0" endRot="0 0 89"/>
            <part node="0>0|12|3|0" startTime="2" endTime="7" startTrans="0 0 0" endTrans="0 0 -0.276"/>
            <part node="0>0|6|0" startTime="7" endTime="10" startRot="0 0 -102" endRot="0 0 -159"/>
            <part node="0>0|6|0|1" startTime="7" endTime="10" startRot="0 0 89" endRot="0 0 207"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="0>0|12|0|0" playSound="true">
                <dependentPart node="0>0|2|0"/>
            </movingTool>
            <movingTool node="0>0|12|1|0" playSound="true">
                <dependentPart node="0>0|2|1"/>
            </movingTool>
            <movingTool node="0>0|12|2|0" playSound="true">
                <dependentPart node="0>0|2|2"/>
            </movingTool>
            <movingTool node="0>0|12|3|0" playSound="true">
                <dependentPart node="0>0|2|3"/>
            </movingTool>
            <movingTool node="0>0|1" playSound="true" wheelIndices="1 2">
                <dependentPart node="0>0|2|4"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="0>0|2|0" referencePoint="0>0|12|0|0|0" referenceFrame="0>0|12|0|0|0">
                <translatingPart node="0>0|2|0|0"/>
            </movingPart>
            <movingPart node="0>0|2|1" referencePoint="0>0|12|1|0|0" referenceFrame="0>0|12|1|0|0">
                <translatingPart node="0>0|2|1|0"/>
            </movingPart>
            <movingPart node="0>0|2|2" referencePoint="0>0|12|2|0|0" referenceFrame="0>0|12|2|0|0">
                <translatingPart node="0>0|2|2|0"/>
            </movingPart>
            <movingPart node="0>0|2|3" referencePoint="0>0|12|3|0|0" referenceFrame="0>0|12|3|0|0">
                <translatingPart node="0>0|2|3|0"/>
            </movingPart>
            <movingPart node="0>0|2|4" referencePoint="0>0|1|2" referenceFrame="0>0|1|2">
                <translatingPart node="0>0|2|4|0"/>
            </movingPart>
        </movingParts>

    </cylindered>
    <cultivator>
        <onlyActiveWhenLowered value="false"/>
        <sounds>
            <work file="cultivatorSound.wav">
                <volume indoor="0.50" outdoor="1.00"/>
                <pitch outdoor="1.10"/>
            </work>
        </sounds>
    </cultivator>
    <washable dirtDuration="30" washDuration="1" workMultiplier="20"/>


   <ai>
        <needsLowering value="true"/>
        <areaMarkers leftNode="0>4|1|0" rightNode="0>4|1|1" backNode="0>4|1|2"/>
        <sizeMarkers leftNode="0>4|2|0" rightNode="0>4|2|1" backNode="0>4|2|2"/>
        <collisionTrigger node="0>4|0"/>
        <allowTurnBackward value="true"/>
        <toolReverserDirectionNode node="0>4|2|2"/>
    </ai>
</vehicle>
