<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="harrows">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Harrows</en>
        <de>Harrows</de>
		<pl>Harrows</pl>
    </name>
    <filename>Harrows.i3d</filename>
	<typeDesc>Harrow</typeDesc>
	
	<brakeForce>0.5</brakeForce>
	<size width="10" length="10"/>

	<inputAttacherJoints>
			<inputAttacherJoint index="0>0|10" jointType="implement" topReferenceNode="0>0|11"  upperRotationOffset="0" rotLimitScale="0.05 0.05 0.05" lowerDistanceToGround="0.08"/>
	</inputAttacherJoints>
	
	 <workAreas>
        <workArea startIndex="0>0|20" widthIndex="0>0|21" heightIndex="0>0|22" refNodeIndex="0" type="cultivator" chargeValue="1" />
		<workArea startIndex="0>0|12|2" widthIndex="0>0|12|3" heightIndex="0>0|12|4" refNodeIndex="1" type="cultivator" chargeValue="1" />
		<workArea startIndex="0>0|13|2" widthIndex="0>0|13|2" heightIndex="0>0|13|2" refNodeIndex="2" type="cultivator" chargeValue="1" />
    </workAreas>
	
	<groundReferenceNodes>
        <groundReferenceNode index="0>0|19" threshold="0.2" depthNode="0>0|19" />
		<groundReferenceNode index="0>0|12|1" threshold="0.2" depthNode="0>0|12|1" />
		<groundReferenceNode index="0>0|13|1" threshold="0.2" depthNode="0>0|13|1" />
    </groundReferenceNodes>
	
	<groundParticleAnimations>
										<!--Test-Test-Test-->
       <!--<groundParticleAnimation file="Textures/particleSystem.i3d" >
            <node index="3>3|0|0" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|0|1" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|0|2" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|0|3" animMeshIndex="0|0" refNodeIndex="0" />	

			<node index="3>3|1|0" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|1|1" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|1|2" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|1|3" animMeshIndex="0|0" refNodeIndex="0" />	
			
			<node index="3>3|2|0" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|2|1" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|2|2" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|2|3" animMeshIndex="0|0" refNodeIndex="0" />	
			
			<node index="3>3|3|0" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|3|1" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|3|2" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|3|3" animMeshIndex="0|0" refNodeIndex="0" />	
			
			<node index="3>3|4|0" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|4|1" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|4|2" animMeshIndex="0|0" refNodeIndex="0" />
            <node index="3>3|4|3" animMeshIndex="0|0" refNodeIndex="0" />
        </groundParticleAnimation>-->
										<!--Test-Test-Test-->

        <groundParticle file="Textures/particleSystem.i3d" >
            <node index="0>0|23" particleIndex="0|0" refNodeIndex="0" />
			
			<node index="3>0|0" particleIndex="0|1" refNodeIndex="2" />
			
			<node index="6>0|0" particleIndex="0|2" refNodeIndex="0" />
			<node index="9>0|0" particleIndex="0|3" refNodeIndex="0" />
			<node index="12>0|0" particleIndex="0|4" refNodeIndex="0" />
			
			<node index="15>0|0" particleIndex="0|5" refNodeIndex="1" />
        </groundParticle>
    </groundParticleAnimations>
		
    <cultivatorSound file="$data/vehicles/tools/cultivatorSound.wav" pitchOffset="1" volume="1"/>
	
    <speedLimit value="12" />
	<needsLowering value="false" />
	
	<aiLeftMarker index="0>0|24" />
    <aiRightMarker index="0>0|25" />
    <aiBackMarker index="0>0|26" />
    <aiTurnWidthScale value="0.85" />
	
	<washable dirtDuration="30" washDuration="5" workMultiplier="0.8" />
	
	<movingTools>
        <movingTool index="0>0|12" componentJointIndex="0" anchorActor="0"/>
        <movingTool index="0>0|13" componentJointIndex="1" anchorActor="0"/>
	</movingTools>
	
	<animate>
		<object index="0>0|14" distance="3" animationName="ManualSupport" input="SUPPORT" renderText="true" textP="supportUp" textN="supportDown" together="false" onApproach="true" />
		<object index="0>0|16" distance="2" animationName="FoldingP" input="FOLDING" renderText="true" textP="FoldingUp" textN="FoldingDown" together="false" onApproach="true" />
		<object index="0>0|15" distance="2" animationName="FoldingL" input="FOLDING" renderText="true" textP="FoldingUp" textN="FoldingDown" together="false" onApproach="true" />
	</animate>
	
	<animations>
        <animation name="FoldingP">
		<!--Prawe ramie-->
		<part node="0>0|12" startTime="0" endTime="1.8" startRot="0 0 0" endRot="0 0 -100" />
		<part node="0>0|17" startTime="0" endTime="1.8" startRot="0 0 0" endRot="0 0 -100" />
		
		<part node="0>0|12|0" startTime="1.8" endTime="2" startTrans="-0.326 -0.006 0.734" endTrans="-0.326 -0.006 0.773" />
		<part node="0>0|12|0" startTime="2.1" endTime="5" visibility="false" />
		<part node="0>0|5" startTime="2.6" endTime="5" startRot="0 0 92.781" endRot="0 0 18"/>
		
		<part node="0>0|12" startTime="3.5" endTime="5" startRot="0 0 -100" endRot="0 0 -159.7" />
		<part node="0>0|17" startTime="3.5" endTime="5" startRot="0 0 -100" endRot="0 0 -159.7" />
		
		<part node="0>0|12|0" startTime="5.1" endTime="6" visibility="true" />
		<part node="0>0|12|0" startTime="5.5" endTime="6" startTrans="-0.326 -0.006 0.773" endTrans="-0.326 -0.006 0.734" />
        </animation>
		<animation name="FoldingL">
		<!--Lewe ramie-->
		<part node="0>0|13" startTime="0" endTime="1.8" startRot="0 0 0" endRot="0 0 100"/>
		<part node="0>0|18" startTime="0" endTime="1.8" startRot="0 0 0" endRot="0 0 100"/>
		
		<part node="0>0|13|0" startTime="1.8" endTime="2" startTrans="-0.326 -0.006 0.734" endTrans="-0.326 -0.006 0.773" />
		<part node="0>0|13|0" startTime="2.1" endTime="5" visibility="false" />
		<part node="0>0|4" startTime="2.6" endTime="5" startRot="0 0 -91.855" endRot="0 0 -13.56"/>
		
		<part node="0>0|13" startTime="3.5" endTime="5" startRot="0 0 100" endRot="0 0 159"/>
		<part node="0>0|18" startTime="3.5" endTime="5" startRot="0 0 100" endRot="0 0 159"/>
		
		<part node="0>0|13|0" startTime="5.1" endTime="6" visibility="true" />
		<part node="0>0|13|0" startTime="5.5" endTime="6" startTrans="-0.326 -0.006 0.773" endTrans="-0.326 -0.006 0.734" />
        </animation>
        <animation name="ManualSupport">
			<!--stopka P P-->
            <part node="0>0|0" startTime="7.4" endTime="8" startTrans="-1.052 -0.084 0.379" endTrans="-1.124 -0.084 0.379" />
			<part node="0>0|6" startTime="6.4" endTime="7.4" startTrans="-1.103 -0.167 0.386" endTrans="-1.103 0.101 0.386" />
			<part node="0>0|0" startTime="6" endTime="6.4" startTrans="-1.124 -0.084 0.379" endTrans="-1.052 -0.084 0.379" />
			
			<!--stopka P L-->
            <part node="0>0|1" startTime="5.4" endTime="6" startTrans="1.17 -0.084 0.379" endTrans="1.091 -0.084 0.379" />
			<part node="0>0|7" startTime="4.4" endTime="5.4" startTrans="1.113 -0.167 0.386" endTrans="1.113 0.101 0.386" />
			<part node="0>0|1" startTime="4.4" endTime="4.4" startTrans="1.091 -0.084 0.379" endTrans="1.17 -0.084 0.379" />
			
			<!--stopka T P-->
            <part node="0>0|2" startTime="3" endTime="4" startTrans="-1.165 -0.084 -1.148" endTrans="-1.082 -0.084 -1.148" />
			<part node="0>0|8" startTime="2.4" endTime="3.4" startTrans="-1.103 -0.167 -1.154" endTrans="-1.103 0.101 -1.154" />
			<part node="0>0|2" startTime="2" endTime="2.4" startTrans="-1.082 -0.084 -1.148" endTrans="-1.165 -0.084 -1.148" />
			
			<!--stopka T L-->
            <part node="0>0|3" startTime="1.4" endTime="2" startTrans="1 -0.087 -1.16" endTrans="1.095 -0.087 -1.16" />
			<part node="0>0|9" startTime="0.4" endTime="1.4" startTrans="1.113 -0.167 -1.154" endTrans="1.113 0.101 -1.154" />
			<part node="0>0|3" startTime="0" endTime="0.4" startTrans="1.095 -0.087 -1.16" endTrans="1 -0.087 -1.16" />
        </animation>
    </animations>
	
	<components count="18">
        <component1 centerOfMass="0 0 0" solverIterationCount="10" />
		<component2 centerOfMass="0 0 0" solverIterationCount="10" />
		<component3 centerOfMass="0 0 0" solverIterationCount="10" />
		<component4  solverIterationCount="10" />
		<component5  solverIterationCount="10" />
		<component6  solverIterationCount="10" />
		<component7  solverIterationCount="10" />
		<component8  solverIterationCount="10" />
		<component9  solverIterationCount="10" />
		<component10  solverIterationCount="10" />
		<component11  solverIterationCount="10" />
		<component12  solverIterationCount="10" />
		<component13  solverIterationCount="10" />
		<component14  solverIterationCount="10" />
		<component15  solverIterationCount="10" />	
		<component16  solverIterationCount="10" />
		<component17  solverIterationCount="10" />
		<component18  solverIterationCount="10" />
		<!--Ramiona PL-->
		<joint component1="0" component2="1" index="0>0|17" rotLimit="0 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="2" index="0>0|18" rotLimit="0 0 0" transLimit="0 0 0" />
		<!--Uczep PT-->
		<joint component1="2" component2="4" index="2>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="2" component2="5" index="2>2" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="7" index="7>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="8" index="8>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="10" index="10>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="11" index="11>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="13" index="13>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="14" index="14>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="1" component2="16" index="1>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="1" component2="17" index="1>2" rotLimit="100 0 0" transLimit="0 0 0" />
		<!--Pole brony-->
		<joint component1="4" component2="3" index="3>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="5" component2="3" index="3>2" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="7" component2="6" index="6>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="8" component2="6" index="6>2" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="10" component2="9" index="9>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="11" component2="9" index="9>2" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="13" component2="12" index="12>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="14" component2="12" index="12>2" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="16" component2="15" index="15>1" rotLimit="100 0 0" transLimit="0 0 0" />
		<joint component1="17" component2="15" index="15>2" rotLimit="100 0 0" transLimit="0 0 0" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
