<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="plow">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	
    <storeData>
        <name> 
			<en>Sanayi_Patlatma</en>
		</name>
        <specs>
            <neededPower>60</neededPower>
            <workingWidth>1</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_subsoiler</function>
        </functions>
        <image>store_agramGeoSub.dds</image>
        <price>3000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>brand_agram.dds</brand>
        <category>subsoilers</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>agramGeoSub.i3d</filename>
        <size width="1.2" length="1.2" />
        <speedLimit value="10" />
        <components>
            <component centerOfMass="0 0.3 0" solverIterationCount="20" mass="600" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
	
	<groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="1" threshold="0.05" depthNode="groundReferenceNode" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="cultivator" functionName="processPlowArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>
	
	<!-- recommended horsepower by manufacturer: 50-80 -->
    <powerConsumer forceNode="geoSub_main_component1" maxForce="6" />

    <plow>
        <sounds>
            <turn template="DEFAULT_PLOW_TURN" linkNode="geoSub_main_component1" />
            <work template="DEFAULT_PLOW_WORK" linkNode="geoSub_main_component1" />
        </sounds>
    </plow>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint" allowsLowering="true" lowerRotLimitScale="0 0 0" upperRotationOffset="15" lowerRotationOffset="0"   >
                <distanceToGround lower="0.60" upper="1.5" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>
	
	<animations>
        <animation name="moveSupport">
            <part node="supportCol" startTime="0" endTime="0.1" startTrans="0 0.8 0" endTrans="0 0 0" />
            <part node="support" startTime="0" endTime="0.8" startTrans="0 4.2 0" endTrans="0 0 0" />
        </animation>
		<animation name="ayak">
            <part node="0>0|7|0" startTime="0" endTime="0.1" startTrans="0 0 0" endTrans="0 4.2 0" />
        </animation>
    </animations>

    <workParticles>
        <particleAnimation>
            <node node="centerAnimation" refNodeIndex="1" materialType="SOIL" />
        </particleAnimation>

        <particle>
            <node node="soilEmitShape"      refNodeIndex="1" particleType="SOIL" />
            <node node="smokeEmitterShape"  refNodeIndex="1" particleType="SOIL_SMOKE"      emitCountScale="1.5" />
        </particle>
    </workParticles>
	
	<ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <collisionTrigger node="aiCollisionTrigger" />
        <needsLowering value="true"/>
    </ai>

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

    <baseMaterial>
        <material name="sousSoleur_mat" baseNode="geoSub_vis">
            <shaderParameter name="colorMat0" value="KUHN_RED1"/>
			<shaderParameter name="colorMat1" value="0.02 0.02 0.02"/>
        </material>
    </baseMaterial>

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

    <i3dMappings>
        <i3dMapping id="geoSub_main_component1" node="0>" />
        <i3dMapping id="geoSub_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="topReferencePoint" node="0>0|0|1" />
		<i3dMapping id="support" node="0>0|7|0" />
        <i3dMapping id="supportCol" node="0>0|1|1" />
		<i3dMapping id="workAreaStart" node="0>0|2|0" />
        <i3dMapping id="workAreaWidth" node="0>0|2|1" />
		<i3dMapping id="workAreaHeight" node="0>0|2|2" />
        <i3dMapping id="groundReferenceNode" node="0>0|2|3" />
		<i3dMapping id="centerAnimation" node="0>0|3|0|0" />
        <i3dMapping id="soilEmitShape" node="0>0|3|0|1" />
		<i3dMapping id="smokeEmitterShape" node="0>0|3|0|2" />
        <i3dMapping id="aiCollisionTrigger" node="0>0|4|1" />
		<i3dMapping id="aiMarkerLeft" node="0>0|4|0|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|4|0|1" />
		<i3dMapping id="aiMarkerBack" node="0>0|4|0|2" />
    </i3dMappings>
</vehicle>
