<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cultivator">
    <storeData>
        <name>            
		<en>Környei Simító S2H/R</en>
        </name>
        <specs>
            <neededPower>170</neededPower>
            <workingWidth>8.4</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_cultivator</function>
        </functions>
        <image>store.dds</image>
        <price>14000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KORNYEI</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>S2HR.i3d</filename>
        <size width="8.4" length="4.3"/>
        <speedLimit value="20"/>
        <components>
            <component centerOfMass="0 0.4 0" solverIterationCount="35" mass="1300"/>
            <component centerOfMass="0 0 0" solverIterationCount="35" mass="800"/>
            <component centerOfMass="0 -0.2 0" solverIterationCount="35" mass="5"/> 
			<component centerOfMass="0 -0.52 -0.65" solverIterationCount="35" mass="150"/> 
			<component centerOfMass="0 -0.52 -0.65" solverIterationCount="35" mass="150"/> 
			<component centerOfMass="0 -0.52 -0.65" solverIterationCount="35" mass="150"/> 
			<component centerOfMass="0 -0.52 -0.65" solverIterationCount="35" mass="150"/>
            <joint component1="1" component2="2" node="1>1" rotLimit="0 80 0" transLimit="0 0 0"/>
            <joint component1="1" component2="3" node="0>0|10" rotLimit="20 0 0" transLimit="0 0 0"/> 
			<joint component1="1" component2="4" node="0>4" rotLimit="10 0 0" transLimit="0 0 0"/> 
			<joint component1="1" component2="5" node="0>5" rotLimit="10 0 0" transLimit="0 0 0"/> 
			<joint component1="1" component2="6" node="0>0|2|2" rotLimit="10 0 0" transLimit="0 0 0"/> 
			<joint component1="1" component2="7" node="0>0|1|2" rotLimit="10 0 0" transLimit="0 0 0"/>
        </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 hasSurfaceSounds="false">
                    <wheel filename="wheel/R15.xml" isLeft="true">
                        <physics restLoad="0.4" repr="0>0|0|0"  forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="60" damper="70" isSynchronized="false"  />
						<tire tireTrackAtlasIndex="3"/>
                    </wheel>
                    <wheel filename="wheel/R15.xml" isLeft="false">
                        <physics restLoad="0.4" repr="0>0|0|1"  forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="60" damper="70" isSynchronized="false"  />
						<tire tireTrackAtlasIndex="3"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
    <speedRotatingParts> 
	    <speedRotatingPart node="3>0|0" radius="0.1" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
        <speedRotatingPart node="4>0|0" radius="0.1" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
        <speedRotatingPart node="5>0|0" radius="0.1" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
        <speedRotatingPart node="6>0|0" radius="0.1" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.1"/>
    </speedRotatingParts>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="1>0" rootNode="1>" jointType="implement" lowerRotLimitScale="0 0 1" upperRotLimitScale="0 0 1" lowerTransLimitScale="0 1 0" allowsLowering="true">
                <distanceToGround lower="0.35" upper="0.65"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <lowerAnimation name="lowerAnimation" speed="1"/>
        <brakeForce>0.05</brakeForce>
    </attachable> 
	<connectionHoses>
		<localHose>
            <hose type="CABLE_BOUNDLE"  node="0>3|0|0"  length="0.06" diameter="0.02" straighteningFactor="0.15" isWorldSpaceHose="false"/>
            <target attacherJointIndices="1 3 4" type="CABLE_BOUNDLE" node="0>0|7|1|1|0" straighteningFactor="1.3"/>
        </localHose>
		<localHose>
            <hose type="CABLE_BOUNDLE"  node="0>3|0|1"  length="0.06" diameter="0.02" straighteningFactor="1.15" isWorldSpaceHose="false"/>
            <target attacherJointIndices="1 3 4" type="CABLE_BOUNDLE" node="0>0|7|1|2|0" straighteningFactor="1.15"/>
        </localHose>
		<localHose>
            <hose type="CABLE_BOUNDLE"  node="0>3|0|3"  length="0.02" diameter="0.02" straighteningFactor="0.5" isWorldSpaceHose="false"/>
            <target attacherJointIndices="1 3 4" type="CABLE_BOUNDLE" node="0>0|8|1|0" straighteningFactor="0.5"/>
        </localHose> 
		<localHose>
            <hose type="CABLE_BOUNDLE"  node="0>3|0|2"  length="0.02" diameter="0.02" straighteningFactor="0.2" isWorldSpaceHose="false"/>
            <target attacherJointIndices="1 3 4" type="CABLE_BOUNDLE" node="0>0|8|2|0" straighteningFactor="0.5"/>
        </localHose>
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>3|1"  length="2.0" diameter="0.02" straighteningFactor="2.5">
            <objectChange node="0>3|5" visibilityActive="false" visibilityInactive="true" />
		</hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="0>3|2" length="2.0" diameter="0.02" straighteningFactor="2.5">
            <objectChange node="0>3|5" visibilityActive="false" visibilityInactive="true" />
		</hose>
		<hose inputAttacherJointIndices="1" type="hydraulicOut" node="0>3|4" length="2.0" diameter="0.02" straighteningFactor="2.5">
            <objectChange node="0>3|5" visibilityActive="false" visibilityInactive="true" />
		</hose> 
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>3|3"  length="2.0" diameter="0.02" straighteningFactor="2.5">
            <objectChange node="0>3|5" visibilityActive="false" visibilityInactive="true" />
		</hose>
    </connectionHoses>
    <groundReferenceNodes>
        <groundReferenceNode node="0>1|0|3" threshold="0.25" depthNode="0>1|2"/>
    </groundReferenceNodes>
    <workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea" >
            <area startNode="0>1|0|0" widthNode="0>1|0|1" heightNode="0>1|0|2"/>
            <groundReferenceNode index="1"/>
        </workArea> 
		<workArea type="cultivator" functionName="processCultivatorArea" >
            <area startNode="0>0|1|6|0" widthNode="0>0|1|6|1" heightNode="0>0|1|6|2"/>
            <groundReferenceNode index="1"/>
        </workArea> 
		<workArea type="cultivator" functionName="processCultivatorArea" >
            <area startNode="0>0|2|6|0" widthNode="0>0|2|6|1" heightNode="0>0|2|6|2"/>
            <groundReferenceNode index="1"/>
        </workArea>
    </workAreas>
    <workParticles>
        <particleAnimation>
            <node node="0>0|3|0|1|0" refNodeIndex="1" maxDepth="-0.01" materialType="SOIL" /> 
            <node node="0>0|3|1|0|0" refNodeIndex="1" maxDepth="-0.01" materialType="SOIL" /> 
            <node node="0>0|1|0|1|0" refNodeIndex="1" maxDepth="-0.01" materialType="SOIL" />			
			<node node="0>0|1|1|0|0" refNodeIndex="1" maxDepth="-0.01" materialType="SOIL" /> 
			<node node="0>0|2|0|1|0" refNodeIndex="1" maxDepth="-0.01" materialType="SOIL" /> 
			<node node="0>0|2|1|0|0" refNodeIndex="1" maxDepth="-0.01" materialType="SOIL" />
        </particleAnimation>
        <particle>
            <node node="0>1|1|0" refNodeIndex="1" particleType="SOIL_SMOKE" emitCountScale="0.89"/>
        </particle>
    </workParticles>
    <foldable>
        <foldingParts startMoveDirection="1" turnOnFoldDirection="-1" loweringMinLimit="0" loweringMaxLimit="0" >
            <foldingPart animationName="folding" speedScale="1" />
        </foldingParts>
    </foldable>
    <animations>
        <animation name="lowerAnimation"> 
            <part node="0>0|0" startTime="0" endTime="2" startRot="0 0 0" endRot="38 0 0"/> 
			<part node="0>0|3|0" startTime="1.5" endTime="2" startRot="0 0 0" endRot="30 0 0"/> 
			<part node="0>0|3|1" startTime="1.5" endTime="2" startRot="0 0 0" endRot="30 0 0"/> 
			<part node="0>0|3|0|0" startTime="1.5" endTime="2" startRot="0 0 0" endRot="-30 0 0"/> 
			<part node="0>0|1|0" startTime="1.5" endTime="2" startRot="0 0 0" endRot="30 0 0"/> 
			<part node="0>0|1|1" startTime="1.5" endTime="2" startRot="0 0 0" endRot="30 0 0"/> 
			<part node="0>0|1|0|0" startTime="1.5" endTime="2" startRot="0 0 0" endRot="-30 0 0"/> 
			<part node="0>0|2|0" startTime="1.5" endTime="2" startRot="0 0 0" endRot="30 0 0"/> 
			<part node="0>0|2|1" startTime="1.5" endTime="2" startRot="0 0 0" endRot="30 0 0"/> 
			<part node="0>0|2|0|0" startTime="1.5" endTime="2" startRot="0 0 0" endRot="-30 0 0"/>
        </animation>
        <animation name="folding">  
		    <part node="0>0|5" startTime="0" endTime="0.5" startRot="0 0 0" endRot="38 0 0"/>
			<part node="0>0|1" startTime="1" endTime="8" startRot="0 0 0" endRot="0 0 100"/>
            <part node="0>0|2" startTime="1" endTime="8" startRot="0 0 0" endRot="0 0 -100"/>
            <part node="0>0|6" startTime="1" endTime="8" startRot="0 0 0" endRot="0 0 -30"/>
            <part node="0>0|7" startTime="1" endTime="8" startRot="0 0 0" endRot="0 0 30"/>  
			<part node="2>0" startTime="8" endTime="8.01" startScale="0 0 0" endScale="1 1 1"/>
        </animation>
        <animation name="moveSupport">
            <part node="0>0|4" startTime="0.05" duration="0.09" startRot="0 0 0" endRot="90 0 0"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="0>0|0" wheelIndices="1 2">
                <dependentPart node="0>0|8"/>
            </movingTool> 
			<movingTool node="0>0|7">
                <dependentPart node="0>0|7|1"/>
            </movingTool> 
			<movingTool node="0>0|2">
                <dependentPart node="0>0|7|1"/> 
				<componentJoint index="5" anchorActor="0"/>
            </movingTool> 
			<movingTool node="0>0|1">
                <dependentPart node="0>0|7|1"/> 
				<componentJoint index="6" anchorActor="0"/>
            </movingTool>
			<movingTool node="0>0|6|1"/>
            <movingTool node="0>0|7|0"/>
            <movingTool node="0>0|6|0"/>
        </movingTools>
        <movingParts>
            <movingPart node="0>0|8" referencePoint="0>0|0|2" referenceFrame="0>0|0|2" playSound="true">
                <translatingPart node="0>0|8|0"/>
            </movingPart> 
			<movingPart node="0>0|7|1" referencePoint="0>0|6|2" referenceFrame="0>0|6|2" playSound="true">
                <translatingPart node="0>0|7|1|0"/>
            </movingPart> 
			<movingPart node="0>0|6|1" referencePoint="0>0|7|2" referenceFrame="0>0|7|2" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/> 
			<movingPart node="0>0|7|0" referencePoint="0>0|1|5" referenceFrame="0>0|1|5" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/> 
			<movingPart node="0>0|6|0" referencePoint="0>0|2|5" referenceFrame="0>0|2|5" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/> 
			<movingPart node="0>0|9" referencePoint="0>0|3|0|0|0" referenceFrame="0>0|3|0|0|0" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/> 
			<movingPart node="0>0|2|0|0|0|0" referencePoint="0>0|2|3" referenceFrame="0>0|2|3" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/> 
			<movingPart node="0>0|2|0|0|0|1" referencePoint="0>0|2|4" referenceFrame="0>0|2|4" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/> 
			<movingPart node="0>0|1|0|0|0|0" referencePoint="0>0|1|3" referenceFrame="0>0|1|3" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/> 
			<movingPart node="0>0|1|0|0|0|1" referencePoint="0>0|1|4" referenceFrame="0>0|1|4" isActiveDirty="true" doDirectionAlignment="true" scaleZ="true"/>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND"/>
        </sounds>
    </cylindered>
    <cultivator>
        <sounds>
            <work template="DEFAULT_CULTIVATOR_WORK" linkNode="0>" />
        </sounds>
    </cultivator>
	<baseMaterial>
        <material name="Alvaz_mat" baseNode="0>0">
            <shaderParameter name="colorMat0" material="1" value="0.2 0.3 0.4 16"/>
        </material>
        <material name="Alvaz_mat2" baseNode="0>0|2|0|0">
            <shaderParameter name="colorMat0" material="1" value="0.2 0.3 0.4 16"/>
        </material> 
		<material name="Alvaz_mat3" baseNode="1>2|0">
            <shaderParameter name="colorMat0" material="1" value="0.2 0.3 0.4 16"/>
        </material>
		<material name="Hidraulika_mat" baseNode="0>0|6">
            <shaderParameter name="colorMat1" material="1" value="0.2 0.3 0.4 16"/>
        </material>
    </baseMaterial>
	<baseMaterialConfigurations useDefaultColors="false" defaultColorIndex="0">
        <baseMaterialConfiguration name="Green"		   color="0.0 0.13 0.0"   	material="0" 	price="0"/>
        <baseMaterialConfiguration name="Yellow"	   color="0.8 0.5 0"	  	material="0" 	price="100"/>
        <material name="Alvaz_mat" shaderParameter="colorMat0" />
		<material name="Alvaz_mat2" shaderParameter="colorMat0" /> 
		<material name="Alvaz_mat3" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
    <designMaterialConfigurations useDefaultColors="false" defaultColorIndex="0">
        <designMaterialConfiguration name="Yellow"	   color="0.8 0.5 0"	  	material="0" 	price="0"/>
		<designMaterialConfiguration name="Red" 	   color="0.701 0.013 0.027"material="0" 	price="100"/>
		<designMaterialConfiguration name="White" 	   color="0.5 0.5 0.5"		material="0"    price="100"/>
        <designMaterialConfiguration name="Green"	   color="0.0 0.13 0.0"    material="0" 	price="100"/>
        <material name="Hidraulika_mat" shaderParameter="colorMat1" />
    </designMaterialConfigurations>
	<rimColorConfigurations useDefaultColors="false" price="100">
        <rimColorConfiguration color="0.8 0.5 0 1" />
		<rimColorConfiguration color="0.701 0.013 0.027 1" />
		<rimColorConfiguration color="0.5 0.5 0.5 1" />
		<rimColorConfiguration color="0.0 0.13 0.0" price="0" icon="$dataS2/menu/hud/configurations/config_rimColor.png" />
        <colorNode node="0>1|2"/>
    </rimColorConfigurations>
    <ai>
        <needsLowering value="true"/>
		<collisionTrigger node="0>2|2"/>
        <areaMarkers leftNode="0>2|0|0" rightNode="0>2|0|1" backNode="0>2|0|2"/>
        <sizeMarkers leftNode="0>2|1|0" rightNode="0>2|1|1" backNode="0>2|1|2"/>
        <allowTurnBackward value="false"/>
		<turningRadiusLimitation radius="6" />
        <toolReverserDirectionNode node="0>2|2"/>
    </ai>
	<foliageBending>
        <bendingNode minX="-1.5" maxX="1.5"    minZ="-1.5"  maxZ="1.5" yOffset="-0.4" />
        <bendingNode minX="-1.5" maxX="-1.5"   minZ="-1.5"  maxZ="1.5" yOffset="-0.4" node="0>0|2" />
		<bendingNode minX="1.5"  maxX="1.5"    minZ="-1.5"  maxZ="1.5" yOffset="-0.4" node="0>0|1" />
    </foliageBending>
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
</vehicle>
