<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cultivator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
		<name>GSC 300 Plus</name>
        <specs>
            <neededPower>180</neededPower>
            <workingWidth>3</workingWidth>
			<combination filterCategory="weights" filterSpec="weight" filterSpecMin="600" filterSpecMax="1500"/>			
        </specs>
        <functions>
            <function>$l10n_function_subsoiler</function>
        </functions>
        <image>store/store_GSC.png</image>
        <price>13500</price>
        <lifetime>500</lifetime>
        <rotation>0</rotation>
        <brand>LANDSTAL</brand>
        <category>subsoilers</category>
        <vertexBufferMemoryUsage>1337088</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>317184</indexBufferMemoryUsage>
        <textureMemoryUsage>3145728</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>i3d/GSC.i3d</filename>
        <size width="3.3" length="4" height="1.5"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 0.35 0" solverIterationCount="10" mass="2350"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
	
	<wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="BKT" saveId="BKT_DEFAULT">
                <wheels>
					<wheel filename="$data/shared/wheels/tires/bkt/TR315/26__12__12.xml" isLeft="true" >
                        <physics rotSpeed="0" restLoad="0.5" repr="0>7|6|0"  forcePointRatio="0.5" initialCompression="50" suspTravel="0.01" spring="20" damper="35" frictionScale="1" brakeFactor="0" rotationDamping="0.01" supportsWheelSink="false"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/TR315/26__12__12.xml" isLeft="false" >
                        <physics rotSpeed="0" restLoad="0.5" repr="0>7|6|1" forcePointRatio="0.5" initialCompression="50" suspTravel="0.01" spring="20" damper="35" frictionScale="1" brakeFactor="0" rotationDamping="0.01" supportsWheelSink="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
		</wheelConfigurations>
         
		 <rimMaterial materialTemplateName="RIM_DEFAULT" />
        <hubMaterial>
			<colorScale value="0.05 0.05 0.05"/>
		</hubMaterial>

        <hubs>
			<hub linkNode="0>7|6|0" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="true" scale="0.13 0.13 0.13" />
            <hub linkNode="0>7|6|1" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="false" scale="0.13 0.13 0.13" />
        </hubs>
    </wheels>
	
	<designConfigurations title="$l10n_configuration_lightType" isYesNoOption="true">
        <designConfiguration name="$l10n_configuration_valueNo" price="0" >
            <objectChange node="0>7|5|0|0|0|7" visibilityActive="false" />				
            <objectChange node="0>8|2" visibilityActive="false" />				
            <objectChange node="0>8|3" visibilityActive="false" />				
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_valueYes" price="500" >			
            <objectChange node="0>7|5|0|0|0|7" visibilityActive="true" />
            <objectChange node="0>8|2" visibilityActive="true" />
            <objectChange node="0>8|3" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>

    <speedRotatingParts>
		<speedRotatingPart node="0>7|5|0|0|0|0|0|0" radius="-0.28" groundReferenceNodeIndex="2" foldMinLimit="0" foldMaxLimit="0.1"/>
        <speedRotatingPart node="0>7|5|0|0|0|1|0|0" radius="0.28" groundReferenceNodeIndex="2" foldMinLimit="0" foldMaxLimit="0.1"/>
		
        <speedRotatingPart node="0>7|5|0|0|0|3|0|0|0" radius="0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|0|1|0" radius="0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|0|2|0" radius="0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|0|3|0" radius="0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|0|4|0" radius="0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|0|5|0" radius="0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|0|6|0" radius="0.28" groundReferenceNodeIndex="2"/>
		
		<speedRotatingPart node="0>7|5|0|0|0|3|1|0|0" radius="-0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|1|1|0" radius="-0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|1|2|0" radius="-0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|1|3|0" radius="-0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|1|4|0" radius="-0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|1|5|0" radius="-0.28" groundReferenceNodeIndex="2"/>
        <speedRotatingPart node="0>7|5|0|0|0|3|1|6|0" radius="-0.28" groundReferenceNodeIndex="2"/>
    </speedRotatingParts>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0" jointType="implement" topReferenceNode="0>1" allowsLowering="true" lowerRotationOffset="-1" lowerRotLimitScale="0 0 0.2" upperRotationOffset="10">
                <distanceToGround lower="0.4" upper="1.5" />
				<bottomArm categories="2 3" ballType="1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>
	
	<powerConsumer forceNode="0>" maxForce="23" />
	
	<lights>	
        <sharedLight linkNode="0>7|5|0|0|0|7|0|0|0" filename="$data/shared/assets/lights/lizard/rearLight53_left.xml" />
        <sharedLight linkNode="0>7|5|0|0|0|7|0|0|1" filename="$data/shared/assets/lights/lizard/rearLight53_right.xml" />
		
        <realLights>
            <high>
                <light node="0>7|5|0|0|0|7|0|1|0"       lightTypes="0" />
                <turnLightLeft node="0>7|5|0|0|0|7|0|2|0" />
                <turnLightRight node="0>7|5|0|0|0|7|0|2|1" />
                <brakeLight node="0>7|5|0|0|0|7|0|1|0" />
				<reverseLight node="0>7|5|0|0|0|7|0|1|1" />
            </high>
        </realLights>
    </lights>
	
    <groundReferenceNodes>
        <groundReferenceNode node="0>3|3" threshold="0.1" forceFactor="1" />
        <groundReferenceNode node="0>7|5|0|0|0|8|3" threshold="0.1" forceFactor="0.5" depthNode="0>7|5|0|0|0|8|3" />
    </groundReferenceNodes>
	
    <workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea">
            <area startNode="0>3|0" widthNode="0>3|1" heightNode="0>3|2"/>
            <groundReferenceNode index="1"/>
        </workArea>
		<workArea type="cultivator" functionName="processCultivatorArea">
            <area startNode="0>7|5|0|0|0|8|0" widthNode="0>7|5|0|0|0|8|1" heightNode="0>7|5|0|0|0|8|2"/>
            <groundReferenceNode index="2"/>
        </workArea>
    </workAreas>
	
	<cultivator isSubsoiler="true" useDeepMode="false">
        <sounds>
            <work template="defaultPlowWork" linkNode="0>"/>
            <work template="meadowRollerWork" linkNode="0>" volumeScale="0.4"/>
        </sounds>
        <directionNode node="0>" />
        <onlyActiveWhenLowered value="true"/>
    </cultivator>
	
	<workParticles>
        <effect workAreaIndex="1">
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>7|0|0|1">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>7|0|1|1">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>7|0|2|1">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>7|0|3|1">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>7|0|4|1">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>7|0|5|1">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
        </effect>
		
		<effect workAreaIndex="2">
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>7|5|0|0|0|9">
                <motionPathEffect textureFilename="textures/TalerzeTylne_GSC.dds" numRows="20" rowLength="18" minFade="0.07"/>
            </effectNode>
        </effect>

        <particle>
			<node node="0>5|0" refNodeIndex="1" particleType="SOIL"/>
            <node node="0>5|1" refNodeIndex="1" particleType="SOIL_SMOKE"/>
            <node node="0>5|2" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false"/>			
        </particle>
    </workParticles>
	
	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>8|0|0"  length="1.5" diameter="0.016" straighteningFactor="0.5">
           <objectChange node="0>8|1" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric"     node="0>8|2" length="1.5" diameter="0.01" straighteningFactor="0.5">		
			<objectChange node="0>8|3" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>	
	
	<dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="0>8|1|0"   filename="$data/shared/connectionHoses/connectors.i3d" />			
		<dynamicallyLoadedPart node="1|1" linkNode="0>8|3|0"        filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

	<foldable>
        <foldingConfigurations>
			<foldingConfiguration>
				<foldingParts startMoveDirection="1" turnOnFoldDirection="-1">
                    <foldingPart animationName="folding" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>
	
    <animations>
        <animation name="moveSupport">
            <part node="0>2|0|0" startTime="0" endTime="0.5" startTrans="0 0.7 0" endTrans="0 0 0"/>
            <part node="0>2|0|1" startTime="0" endTime="0.5" startTrans="0 0.7 0" endTrans="0 0 0"/>
			
			<sound template="clackVar6" startTime="0.5" direction="1" volumeScale="3.0" pitchScale="1.8"/>
            <sound template="clackVar6" startTime="0.01" direction="-1" volumeScale="3.0" pitchScale="1.8"/>
        </animation>
		
		<animation name="folding">
			<part node="0>7|5|0|0|0|2|0" startTime="0"    endTime="0.5" visibility="false"/>
			<part node="0>7|5|0|0|0|2|1" startTime="0"    endTime="0.5" visibility="false"/>
			<part node="0>7|5|0|0|0|2|2" startTime="0"    endTime="0.5" visibility="true"/>
			<part node="0>7|5|0|0|0|2|3" startTime="0"    endTime="0.5" visibility="false"/>
			<part node="0>7|5|0|0|0|2|4" startTime="0"    endTime="0.5" visibility="false"/>
			<part node="0>7|5|0|0|0|2|5" startTime="0"    endTime="0.5" visibility="true"/>
			<part node="0>7|5|0|0|0|2" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 0 -0.22"/>
			<part node="0>7|5|0|0|0|2|0" startTime="0.5"    endTime="0.51" visibility="false"/>
			<part node="0>7|5|0|0|0|2|1" startTime="0.5"    endTime="0.51" visibility="false"/>
			<part node="0>7|5|0|0|0|2|2" startTime="0.5"    endTime="0.51" visibility="false"/>
			<part node="0>7|5|0|0|0|2|3" startTime="0.5"    endTime="0.51" visibility="false"/>
			<part node="0>7|5|0|0|0|2|4" startTime="0.5"    endTime="0.51" visibility="false"/>
			<part node="0>7|5|0|0|0|2|5" startTime="0.5"    endTime="0.51" visibility="false"/>
			
			
			<part node="0>7|5|0|0|0|1" startTime="0.5"  endTime="2.5"   startRot="0 0 0" endRot="0 0 -190"/>
			<part node="0>7|5|0|0|0|0" startTime="0.5"  endTime="2.5"   startRot="0 0 0" endRot="0 0 190"/>
			
			<part node="0>7|5|0|0|0|2|4" startTime="0.51"    endTime="2.49" visibility="false"/>
			<part node="0>7|5|0|0|0|2|1" startTime="0.51"    endTime="2.49" visibility="false"/>
			
			<part node="0>7|5|0|0|0|2|0" startTime="2.5"    endTime="3" visibility="false"/>
			<part node="0>7|5|0|0|0|2|1" startTime="2.5"    endTime="3" visibility="true"/>
			<part node="0>7|5|0|0|0|2|2" startTime="2.5"    endTime="3" visibility="false"/>
			<part node="0>7|5|0|0|0|2|3" startTime="2.5"    endTime="3" visibility="false"/>
			<part node="0>7|5|0|0|0|2|4" startTime="2.5"    endTime="3" visibility="true"/>
			<part node="0>7|5|0|0|0|2|5" startTime="2.5"    endTime="3" visibility="false"/>
			<part node="0>7|5|0|0|0|2" startTime="2.5" endTime="3" startTrans="0 0 -0.22" endTrans="0 0 0"/>
			
            <sound template="metalClose" startTime="0.5" direction="-1" volumeScale="2.5" pitchScale="0.7"/>
            <sound template="clackVar4" startTime="0" direction="1" volumeScale="2.0" pitchScale="0.7"/>
            <sound template="clackVar4" startTime="3" direction="1" volumeScale="2.0" pitchScale="0.7"/>
        </animation>
		
		<animation name="talerze" resetOnStart="false">
            <part node="0>7|5|0"            startTime="0"  endTime="4"  startRot="30 0 0"  endRot="5 0 0"/>
            <part node="0>7|5|0|0|0"        startTime="0"  endTime="4"  startRot="-30 0 0"  endRot="-5 0 0"/>

			<sound template="hydraulicOpen05" 		startTime="0"    endTime="4"    volumeScale="1.8"   pitchScale="1" />
            <sound template="clackVar3"             startTime="3.99"  direction="1"  volumeScale="1"   pitchScale="0.7" />
            <sound template="clackVar3"             startTime="0.01"  direction="-1"  volumeScale="1"   pitchScale="0.7" />
			<sound template="foldStartMed02"        startTime="0.01"                   volumeScale="1.7" pitchScale="0.7" />
			<sound template="foldStartMed02"         startTime="3.99"                   volumeScale="0.8" pitchScale="0.8" />
        </animation>
		
		<animation name="kola">
			<part node="0>7|6" startTime="0" endTime="4" startRot="-20 0 0" endRot="30 0 0"/>
            <part node="0>7|6|2|0|0|0" startTime="0" endTime="4" startRot="0 0 0" endRot="0 0 1800"/> <!-- obrot -->
            <part node="0>7|6|2|0|0|1" startTime="0" endTime="4" startRot="0 0 0" endRot="0 0 1800"/> <!-- obrot -->
			<part node="0>7|6|2|0|0|0" startTime="0" endTime="4" startTrans="1.134 0 -0.222" endTrans="1.134 0 -0.275"/> 
            <part node="0>7|6|2|0|0|1" startTime="0" endTime="4" startTrans="-1.133 0 -0.222" endTrans="-1.133 0 -0.275"/>

            <sound template="hingeMedium" startTime="0" endTime="4" volumeScale="0.8"  pitchScale="1.2" />
        </animation>
    </animations>
    
	<cylindered>
        <movingTools>
            <movingTool node="0>7|5|0" playSound="true">
                <controls axis="AXIS_CRANE_ARM" invertAxis="false" mouseSpeedFactor="0.3" iconName="CRANE_ARM1_ROTATE_X" />
                <animation animSpeed="2" animAcceleration="3" animName="talerze" animStartTime="0" />
                
				<dependentPart node="0>7|2|0" />
            </movingTool>
			
			<movingTool node="0>7|6" playSound="true" wheelIndices="1 2">
                <controls axis="AXIS_CRANE_TOOL3" invertAxis="false" mouseSpeedFactor="0.18" iconName="CRANE_ARM2_ROTATE_X" />
                <animation animSpeed="0.8" animAcceleration="2" animName="kola" animStartTime="0" />
                
				<dependentPart node="0>7|6|2|0" />
            </movingTool>

            <movingTool node="0>7|0|0" playSound="false">
                <dependentPart node="0>7|1|0" />
            </movingTool>
			<movingTool node="0>7|0|1" playSound="false">
                <dependentPart node="0>7|1|1" />
            </movingTool>
			<movingTool node="0>7|0|2" playSound="false">
                <dependentPart node="0>7|1|2" />
            </movingTool>
			<movingTool node="0>7|0|3" playSound="false">
                <dependentPart node="0>7|1|3" />
            </movingTool>
			<movingTool node="0>7|0|4" playSound="false">
                <dependentPart node="0>7|1|4" />
            </movingTool>
			<movingTool node="0>7|0|5" playSound="false">
                <dependentPart node="0>7|1|5" />
            </movingTool>
        </movingTools>
        
		<movingParts>
            <movingPart node="0>7|1|0" referencePoint="0>7|0|0|0" referenceFrame="0>7|0|0|0" isActiveDirty="true" maxUpdateDistance="50"/>
			<movingPart node="0>7|1|1" referencePoint="0>7|0|1|0" referenceFrame="0>7|0|1|0" isActiveDirty="true" maxUpdateDistance="50"/>
			<movingPart node="0>7|1|2" referencePoint="0>7|0|2|0" referenceFrame="0>7|0|2|0" isActiveDirty="true" maxUpdateDistance="50"/>
			<movingPart node="0>7|1|3" referencePoint="0>7|0|3|0" referenceFrame="0>7|0|3|0" isActiveDirty="true" maxUpdateDistance="50"/>
			<movingPart node="0>7|1|4" referencePoint="0>7|0|4|0" referenceFrame="0>7|0|4|0" isActiveDirty="true" maxUpdateDistance="50"/>
			<movingPart node="0>7|1|5" referencePoint="0>7|0|5|0" referenceFrame="0>7|0|5|0" isActiveDirty="true" maxUpdateDistance="50"/>


			<movingPart node="0>7|2|0" referencePoint="0>7|5|0|0|0|4" referenceFrame="0>7|5|0|0|0|4" isActiveDirty="true" maxUpdateDistance="50" >
                <translatingPart node="0>7|2|0|0"/>
            </movingPart>
			
			<movingPart node="0>7|4|0" referencePoint="0>7|5|0|0|0|6" referenceFrame="0>7|5|0|0|0|6" isActiveDirty="true" maxUpdateDistance="50" scaleZ="true"/>
			
			<movingPart node="0>7|6|2|0" referencePoint="0>7|7" referenceFrame="0>7|7" isActiveDirty="true" maxUpdateDistance="50" >
                <translatingPart node="0>7|6|2|0|0"/>
            </movingPart>
        </movingParts>
		
		<sounds>
            <hydraulic template="hydraulicOpen05" linkNode="0>" volume="1.3"/>
        </sounds>
    </cylindered>
	
	<randomlyMovingParts maxUpdateDistance="100">
        <randomlyMovingPart node="0>7|0|0" rotAxis="1" rotMax="4" preset="CULTIVATOR" speedScale="0.4" refNodeIndex="1" isSpeedDependent="true" />
        <randomlyMovingPart node="0>7|0|1" rotAxis="1" rotMax="4" preset="CULTIVATOR" speedScale="0.4" refNodeIndex="1" isSpeedDependent="true" />
        <randomlyMovingPart node="0>7|0|2" rotAxis="1" rotMax="4" preset="CULTIVATOR" speedScale="0.4" refNodeIndex="1" isSpeedDependent="true" />
        <randomlyMovingPart node="0>7|0|3" rotAxis="1" rotMax="4" preset="CULTIVATOR" speedScale="0.4" refNodeIndex="1" isSpeedDependent="true" />
        <randomlyMovingPart node="0>7|0|4" rotAxis="1" rotMax="4" preset="CULTIVATOR" speedScale="0.4" refNodeIndex="1" isSpeedDependent="true" />
        <randomlyMovingPart node="0>7|0|5" rotAxis="1" rotMax="4" preset="CULTIVATOR" speedScale="0.4" refNodeIndex="1" isSpeedDependent="true" />
    </randomlyMovingParts>
	
    <ai>
        <needsLowering value="true"/>
        <areaMarkers leftNode="0>4|0|0" rightNode="0>4|0|1" backNode="0>4|0|2"/>
        <sizeMarkers leftNode="0>4|1|0" rightNode="0>4|1|1" backNode="0>4|1|2"/>
        <allowTurnBackward value="false"/>
		<agentAttachment width="3.5" height="2.3" length="4" lengthOffset="-0.1"/>	
    </ai>
	
	 <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-1.8" maxZ="1.8" yOffset="0.3" />
    </foliageBending>
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
</vehicle>
