<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="mower" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>            
		    <en>KDN-210</en>
		    <ru>КДН-210</ru>
        </name>
        <specs>
            <neededPower>27</neededPower>
            <workingWidth>2.1</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_mower</function>
        </functions>
        <image>store.dds</image>
        <price>2708</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>BOBRUISKAGROMASH</brand>
        <category>mowers</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1265720</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>206112</indexBufferMemoryUsage>
        <textureMemoryUsage>6116856</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
    <base>
        <typeDesc>$l10n_typeDesc_mower</typeDesc>
        <filename>KDN210.i3d</filename>
        <size width="1.6" length="3.6"/>
        <components>
            <component centerOfMass="-0.20 0.25 0.3" solverIterationCount="10" mass="530"/>
			<component centerOfMass="0 0 0" solverIterationCount="10" mass="100"/>
            <joint component1="1" component2="2" node="0>0|1" rotLimit="0 0 0" transLimit="0 0 0" />
        </components>
        <schemaOverlay name="IMPLEMENT" attacherJointPosition="0 0"/>
        <speedLimit value="16"/>
    </base>
	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" lowerRotLimitScale="0 0 0" topReferenceNode="topReference" upperRotationOffset="3">
                <distanceToGround lower="0.55" upper="0.8"/>
                <objectChange node="lock" visibilityActive="true" visibilityInactive="false"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
	
    <powerTakeOffs>
        <input aboveAttacher="true" inputAttacherJointIndices="1" inputNode="ptoInputNode"/>
    </powerTakeOffs>
	
    <connectionHoses>
        <hose diameter="0.025" inputAttacherJointIndices="1" length="0.8" node="connectionHose" type="hydraulicIn"/>
    </connectionHoses>
	
    <powerConsumer ptoRpm="540" neededMinPtoPower="25" neededMaxPtoPower="25"/>
	
    <groundReferenceNodes>
        <groundReferenceNode node="0>3" threshold="0.3"/>
    </groundReferenceNodes>
	
    <workAreas>
        <workArea disableBackwards="false" functionName="processMowerArea" type="mower">
            <area heightNode="areaHeight" startNode="areaStart" widthNode="areaWidth"/>
            <folding maxLimit="0.1" minLimit="0"/>
            <groundReferenceNode index="1"/>
            <mower dropAreaIndex="2" dropWindrow="true"/>
        </workArea>
        <workArea type="auxiliary">
            <area heightNode="areaDropHeight" startNode="areaDropStart" widthNode="areaDropWidth"/>
        </workArea>
    </workAreas>
	
    <animations>
        <animation name="moveSupport">
            <part endTime="0.7" endTrans="0 0 0" node="supportArm" startTime="0" startTrans="0 0 -0.4"/>
        </animation>
        <animation name="folding">
            <part endRot="0 -62 0" endTime="1.9" node="sheet" startRot="0 0 0" startTime="0"/>
            <part endRot="0 0 0" endTime="0.5" node="thrust" startRot="91 0 0" startTime="0"/>
        </animation>
    </animations>
	
    <foldable>
		<foldingConfigurations>
            <foldingConfiguration>
				<foldingParts startMoveDirection="1">
					<foldingPart animationName="folding" speedScale="1" componentJointIndex="1" anchorActor="0"/>
				</foldingParts>
			</foldingConfiguration>
        </foldingConfigurations>
    </foldable>

	<cylindered>
        <movingTools>
            <movingTool node="sheet" playSound="true">
                <dependentPart node="supportArm"/>
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="cylinder" referencePoint="Point" referenceFrame="KDN210" isActiveDirty="true" maxUpdateDistance="25">
                <translatingPart node="stock"/>
            </movingPart>
        </movingParts>
    </cylindered>
	
	<mower fruitTypeConverter="MOWER">
        <animationNodes>
            <animationNode node="knife1"  rotAxis="3" rotSpeed="-3000" turnOnFadeTime="3" turnOffFadeTime="3" />
            <animationNode node="knife2"  rotAxis="3" rotSpeed="3000"  turnOnFadeTime="3" turnOffFadeTime="3" />
            <animationNode node="knife3"  rotAxis="3" rotSpeed="-3000" turnOnFadeTime="3" turnOffFadeTime="3" />
            <animationNode node="knife4"  rotAxis="3" rotSpeed="3000"  turnOnFadeTime="3" turnOffFadeTime="3" />
        </animationNodes>

        <dropEffects>
            <dropEffect dropAreaIndex="1">
				<effectNode effectClass="TypedMotionPathEffect" effectType="MOWER" linkNode="mowerEffectNode">
                    <motionPathEffect textureFilename="$data/vehicles/seppKnusel/f240/mowerEffectArray.dds" numRows="6" rowLength="11" minFade="0.15" shapeScale="1" maxShapeScale="1.3"/>
                </effectNode>
                <effectNode effectNode="smokeEmitter" effectClass="ParticleEffect" particleType="smoke" materialType="smokeParticle" worldSpace="false" emitCountScale="0.25"/>
            </dropEffect>
        </dropEffects>
        <sounds>
            <cut template="grassCut" linkNode="KDN210" volumeScale="0.7"/>
        </sounds>
    </mower>
	
    <turnOnVehicle turnOffIfNotAllowed="true">
        <sounds>
            <start linkNode="KDN210" template="DEFAULT_MOWER_START_SHORT"/>
            <work linkNode="KDN210" template="DEFAULT_MOWER_WORK"/>
            <stop linkNode="KDN210" template="DEFAULT_MOWER_STOP"/>
        </sounds>
    </turnOnVehicle>
	
    <foliageBending>
        <bendingNode minX="-3.2" maxX="0.35" minZ="-0.15" maxZ="0.5" yOffset="-0.3" node="KDN210"/>
    </foliageBending>
	
    <baseMaterial>
        <material name="KDN_210" baseNode="kdh210">
            <shaderParameter name="colorMat0" value="0.4 0.05 0 0"/>
        </material>
		<material name="POLOTNO" baseNode="polotno">
            <shaderParameter name="colorMat0" value="0.4 0.05 0 0"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="0">
        <baseMaterialConfiguration color="0.4 0.05 0 0"           price="0"/>
		<baseMaterialConfiguration color="0.1036 0.2674 0.7969 0" price="0"/>
		<baseMaterialConfiguration color="0 0.3 0.05 0"           price="0"/>
        <material name="KDN_210"   shaderParameter="colorMat0" />
        <material name="POLOTNO"   shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
	
	<ai>
        <needsLowering value="true" />
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
		<sizeMarkers backNode="sizeMarkerBack" leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight"/>
        <collisionTrigger node="aiCollisionNode" width="5.0" height="1.5"/>
		<agentAttachment width="2.3" height="1.2" length="1.2" lengthOffset="0.15"/>
    </ai>
	
    <i3dMappings>
        <i3dMapping id="KDN210" node="0>"/>
        <i3dMapping id="areaStart" node="0>4|0"/>
        <i3dMapping id="areaWidth" node="0>4|1"/>
        <i3dMapping id="areaHeight" node="0>4|2"/>
        <i3dMapping id="areaDropStart" node="0>4|3"/>
        <i3dMapping id="areaDropWidth" node="0>4|4"/>
        <i3dMapping id="areaDropHeight" node="0>4|5"/>
        <i3dMapping id="attacherJoint" node="0>2|0"/>
        <i3dMapping id="topReference" node="0>2|1"/>
        <i3dMapping id="lock" node="0>0|0|0"/>
        <i3dMapping id="connectionHose" node="0>2|2"/>
        <i3dMapping id="ptoInputNode" node="0>2|3"/>
        <i3dMapping id="sheet" node="0>0|1"/>
        <i3dMapping id="cylinder" node="0>0|2"/>
        <i3dMapping id="stock" node="0>0|2|0"/>
        <i3dMapping id="Point" node="0>0|1|6"/>
        <i3dMapping id="supportArm" node="0>0|6|0"/>
        <i3dMapping id="thrust" node="0>0|5|0"/>
        <i3dMapping id="knife1" node="0>0|1|0"/>
        <i3dMapping id="knife2" node="0>0|1|1"/>
        <i3dMapping id="knife3" node="0>0|1|2"/>
        <i3dMapping id="knife4" node="0>0|1|3"/>
        <i3dMapping id="mowerEffect" node="0>0|1|4"/>
        <i3dMapping id="aiMarkerLeft" node="0>5|0|0"/>
        <i3dMapping id="aiMarkerRight" node="0>5|0|1"/>
        <i3dMapping id="aiMarkerBack" node="0>5|0|2"/>
        <i3dMapping id="sizeMarkerLeft" node="0>5|1|0"/>
        <i3dMapping id="sizeMarkerRight" node="0>5|1|1"/>
        <i3dMapping id="sizeMarkerBack" node="0>5|1|2"/>
        <i3dMapping id="aiCollisionNode" node="0>5|2"/>
        <i3dMapping id="kdh210" node="0>0|0"/>
        <i3dMapping id="polotno" node="0>0|1"/>
		 <i3dMapping id="smokeEmitter" node="1>0|0" />
		 <i3dMapping id="mowerEffectNode" node="1>0|1" />
    </i3dMappings>
</vehicle>
