<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cultivator">
    <annotation>Copyright (C) GIANTS Software GmbH and JOSHmodels, All Rights Reserved.</annotation>
 <storeData>
        <name> 
		<de>Tiefenlockerer 3 Pfoten</de>
		<en>Chisel Plow 3 Paws</en>
		<pl>Głębosz 3 Łapy</pl>
		<fr>Sous-Soleuse 3 Pattes</fr>
        </name> 
        <specs>
            <neededPower>100</neededPower>
            <workingWidth>2.5</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_subsoiler</function>
        </functions>
        <image>store.dds</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>subsoilers</category>       
        <vertexBufferMemoryUsage>297984</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>46592</indexBufferMemoryUsage>
        <textureMemoryUsage>720896</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>	
	<base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>calete.i3d</filename>
        <size width="4" length="3" lengthOffset="0"/>
        <speedLimit value="12" />
        <components count="1">
			<component centerOfMass="0 0.3 0.03" solverIterationCount="20" mass="700" />
		</components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacher" jointType="implement" topReferenceNode="topReferenceNode" lowerTransLimitScale="0 1 0" lowerRotationOffset="18" upperRotationOffset="7" upperTransLimitScale="0 0 0">
                <distanceToGround lower="0.45" upper="1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce force="0.05"/>
    </attachable>
	
	<speedRotatingParts>
        <speedRotatingPart node="wal" radius="0.35" groundReferenceNodeIndex="1"/>
    </speedRotatingParts>
	
	<powerConsumer maxForce="20" />
	
	 <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" threshold="0.2" depthNode="depthNode" chargeValue="1" />
    </groundReferenceNodes>
	
	<workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea" >
            <area startNode="startIndex" widthNode="widthIndex" heightNode="heightIndex" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>	
	
	<workParticles>
        <effect workAreaIndex="1">
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode01">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode02">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode03">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>            
        </effect>

        <particle>
            <node node="smokeEmitter" refNodeIndex="1" particleType="SOIL_SMOKE" worldSpace="false"/>
        </particle>
    </workParticles>
	
	<cultivator isSubsoiler="true" >
        <sounds>
            <work template="DEFAULT_PLOW_WORK" linkNode="calete_mainComponent" />
        </sounds>
        <directionNode node="calete_mainComponent" />
        <onlyActiveWhenLowered value="true"/>
    </cultivator>

    <animations>
        <animation name="moveSupport">
            <part node="moveSupport" startTime="0" endTime="0.1" startTrans="0 0.36 0" endTrans="0 0 0" />
        </animation>
	</animations>
    
	<ai>
        <areaMarkers leftNode="startIndex" rightNode="widthIndex" backNode="aiBackMarker" />
		<needsLowering value="true"/>
        <agentAttachment width="2.2" height="1.7" length="1.5" lengthOffset="0"/>
    </ai>		    

	<foliageBending>
        <bendingNode minX="-0.962" maxX="0.962" minZ="0.51" maxZ="-1.316" yOffset="0.6"/>
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
	
	<i3dMappings>
  <i3dMapping id="calete_mainComponent" node="0>" />
  <i3dMapping id="attacher" node="0>0|6" />
  <i3dMapping id="topReferenceNode" node="0>0|5" />
  <i3dMapping id="wal" node="0>0|0" />
  <i3dMapping id="groundReferenceNode" node="0>0|2" />
  <i3dMapping id="depthNode" node="0>0|3" />
  <i3dMapping id="startIndex" node="0>0|4|0" />
  <i3dMapping id="widthIndex" node="0>0|4|1" />
  <i3dMapping id="heightIndex" node="0>0|4|2" />
  <i3dMapping id="aiBackMarker" node="0>0|4|3" />
  <i3dMapping id="sweepEffectLinkNode01" node="0>0|7|0" />
  <i3dMapping id="sweepEffectLinkNode02" node="0>0|7|1" />
  <i3dMapping id="sweepEffectLinkNode03" node="0>0|7|2" />
  <i3dMapping id="smokeEmitter" node="0>0|7|3" />
  <i3dMapping id="moveSupport" node="0>0|1" />
</i3dMappings>
</vehicle>