<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="plow" 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>Combinable 600</name>
        <specs>
            <neededPower>200</neededPower>
            <workingWidth>6.0</workingWidth>
			<combination filterCategory="weights" filterSpec="weight" filterSpecMin="800" filterSpecMax="1500"/>
        </specs>
        <functions>
            <function>$l10n_function_subsoiler</function>
        </functions>
        <image>store_Combinable600.png</image>
        <price>14580</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>subsoilers</category>
		<shopFoldingState>1</shopFoldingState>
        <vertexBufferMemoryUsage>488192</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>116736</indexBufferMemoryUsage>
        <textureMemoryUsage>851968</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>Combinable600.i3d</filename>
        <size width="3.5" length="1.5" height="1.5"/>
        <speedLimit value="12" />
        <components>
            <component centerOfMass="0 0.3 0" solverIterationCount="20" mass="1200" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
	
	<wheels>
        <wheelConfigurations>
			<wheelConfiguration name="$l10n_configuration_valueWheelNarrow" price="0" brand="TRELLEBORG">
				<wheels>
					<wheel filename="Shared/wheel.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.6" repr="LeftWheel" forcePointRatio="0.15" initialCompression="5" suspTravel="0.05" spring="150" damper="30" yOffset="0.005"/>
					</wheel>
                    <wheel filename="Shared/wheel.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.6" repr="RightWheel" forcePointRatio="0.15" initialCompression="5" suspTravel="0.05" spring="150" damper="30" yOffset="0.005"/>
					</wheel>	
                </wheels>
			</wheelConfiguration>
		</wheelConfigurations>
        <rimMaterial materialTemplateName="RIM_DEFAULT" />
        <hubMaterial useBaseColor="true"/>
		<hubs>
            <hub linkNode="LeftWheel"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false"  scale="0.15 0.15 0.15" />
            <hub linkNode="RightWheel" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true" scale="0.15 0.15 0.15" />
        </hubs>
   </wheels>
   
    <attachable allowFoldingWhileLowered="false">
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint" lowerTransLimitScale="0 1 0" lowerRotationOffset="-2" upperRotationOffset="5" lowerRotLimitScale="0 0 0" forcedAttachingDirection="-1">
                <distanceToGround lower="0.45" upper="1.8" />
                <bottomArm categories="2" ballType="1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <attacherJoints>
        <attacherJoint node="lowerLink" jointType="implement" lowerTransLimit="0 0 0" upperTransLimit="0 0 0" lowerRotLimit="0 0 0" upperRotLimit="0 0 0" lowerRotationOffset="-5" upperRotationOffset="10" lockDownTransLimit="false" moveTime="2.5" comboTime="0">
            <topArm baseNode="upperLink" filename="$data/shared/assets/upperLinks/antonioCarraroSO_45_145.xml" zScale="-1" toggleVisibility="true"/>
            <schema position="1 0" rotation="0" invertX="false" liftedOffset="0 0"/>
        </attacherJoint>
        <sounds>
            <attach template="attach01" />
            <hydraulic template="hydraulicOpen01" />
        </sounds>
    </attacherJoints>
	
	<dynamicallyLoadedParts>
		<dynamicallyLoadedPart node="1|0" linkNode="Hose01Node"  filename="$data/shared/connectionHoses/connectors.i3d" />
		<dynamicallyLoadedPart node="1|0" linkNode="Hose02Node"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <powerTakeOffs>
        <output attacherJointIndices="1" skipToInputAttacherIndex="1" />
    </powerTakeOffs>

    <connectionHoses>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="topRightPipeSkipPoint" type="TOOL_CONNECTOR_TOP_RIGHT" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicIn01" type="hydraulicIn" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicOut01" type="hydraulicOut" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicIn02" type="hydraulicIn" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicOut02" type="hydraulicOut" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicIn03" type="hydraulicIn" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicOut03" type="hydraulicOut" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeElectric" type="electric" length="1" isTwoPointHose="true"/>
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="Hose01Ref"  length="1.4" diameter="0.015">
            <objectChange node="Hose01" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="Hose01Ref" length="1.4" diameter="0.015">
            <objectChange node="Hose02" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="1" threshold="0.1" depthNode="groundReferenceNode" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="plow" functionName="processPlowArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
            <onlyActiveWhenLowered value="true"/>
        </workArea>
    </workAreas>

	<powerConsumer forceNode="Combinable_component1" maxForce="30" />
	
	<cylindered>
        <movingTools>
			<movingTool node="LeftPart" wheelIndices="1" playSound="true">
                <dependentPart node="LeftHydrolic"/>
				<dependentPart node="LeftArm01"/>
            </movingTool>
			<movingTool node="RightPart" wheelIndices="2" playSound="true">
                <dependentPart node="RightHydrolic"/>
				<dependentPart node="RightArm01"/>
            </movingTool>
		</movingTools>
		
		<movingParts>
			<movingPart node="LeftHydrolic" referencePoint="LeftHydrolicRef" referenceFrame="LeftHydrolicRef" isActiveDirty="true" maxUpdateDistance="20">
                <translatingPart node="LeftHydrolicPush" />
            </movingPart>
            <movingPart node="RightHydrolic" referencePoint="RightHydrolicRef" referenceFrame="RightHydrolicRef" isActiveDirty="true" maxUpdateDistance="20">
                <translatingPart node="RightHydrolicPush" />
            </movingPart>
			
			<movingPart node="LeftArm01" localReferencePoint="LeftArm02" referencePoint="LeftArmRef" referenceFrame="0>0|5|6"  isActiveDirty="true" maxUpdateDistance="20">
                <dependentPart node="LeftArm02" />
            </movingPart>
            <movingPart node="LeftArm02" referencePoint="LeftArmRef" referenceFrame="LeftArmRef"  isActiveDirty="true" maxUpdateDistance="20"/>
			
			<movingPart node="RightArm01" localReferencePoint="RightArm02" referencePoint="RightArmRef" referenceFrame="0>0|5|7"  isActiveDirty="true" maxUpdateDistance="20">
                <dependentPart node="RightArm02" />
            </movingPart>
            <movingPart node="RightArm02" referencePoint="RightArmRef" referenceFrame="RightArmRef"  isActiveDirty="true" maxUpdateDistance="20"/>
        </movingParts>
    </cylindered>

    <animations>
        <animation name="moveSupport">
            <part node="supportCollision" startTime="0" endTime="0.3" startTrans="0 0.915 0.014" endTrans="0 0.162 0.014" />
            <part node="supportCollision" startTime="0" endTime="0.3" startRot="90 0 0" endRot="0 0 0" />
            <part node="support" startTime="0" endTime="0.15" startTrans="0 0.8 0" endTrans="0 0 0" />

            <sound template="clackVar5"  startTime="0.29" direction="-1" volumeScale="0.9" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="latchSmall" startTime="0.29" direction="-1" volumeScale="0.2" pitchScale="1.2" linkNode="attacherJoint"/>
            <sound template="clackVar1"  startTime="0.2"  direction="1"  volumeScale="1.2" pitchScale="1.6" linkNode="attacherJoint"/>
        </animation>

		<animation name="folding">
			<part node="LeftPart"  startTime="0" endTime="7" startRot="0 0 0" endRot="0 0 180"/>
            <part node="RightPart" startTime="0" endTime="7" startRot="0 0 0" endRot="0 0 -180"/>
            <part node="groundReferenceNode" startTime="2" endTime="2.1" startTrans="0 -0.008 0" endTrans="0 2.008 0" />
			
			<sound template="hydraulicClose01" startTime="0"  endTime="6.99" volumeScale="0.6" pitchScale="1.1" />
            <sound template="hydraulicClose01" startTime="0"  endTime="6.99" volumeScale="0.6" pitchScale="0.9" />
            <sound template="sheetImp02"            startTime="6.99" direction="-1" volumeScale="1.6" pitchScale="0.8" />
            <sound template="clackVar6"             startTime="6.99" direction="-1" volumeScale="0.8" pitchScale="0.7" />
            <sound template="clackVar4"             startTime="6.99"    direction="-1" volumeScale="1.1" pitchScale="0.7" />
            <sound template="foldStartMed02"        startTime="6.99"    direction="-1" volumeScale="1.6" pitchScale="0.7" />
            <sound template="sheetImp02"            startTime="0.5"  direction="-1" volumeScale="2.1" pitchScale="0.7" />
            <sound template="foldStartMed02"        startTime="0.1"  direction="-1" volumeScale="2.2" pitchScale="0.7" />
            <sound template="sheetImp02"            startTime="0.01" direction="1"  volumeScale="2.2" pitchScale="0.7" />
            <sound template="clackVar4"             startTime="6.99"    direction="1"  volumeScale="1.3" pitchScale="0.7" />
            <sound template="foldStartMed02"        startTime="6.99"    direction="1"  volumeScale="1.2" pitchScale="0.8" />
            <sound template="sheetImp02"            startTime="6.99" direction="1"  volumeScale="2.3" pitchScale="0.8" />
            <sound template="clackVar6"             startTime="6.99" direction="1"  volumeScale="1"   pitchScale="0.7" />
		</animation>
    </animations>
	
	<foldable>
		<foldingConfigurations>
            <foldingConfiguration>
				<foldingParts startAnimTime="1" turnOnFoldDirection="-1" >
					<foldingPart animationName="folding" speedScale="1" />
				</foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <plow>
        <sounds>
            <work template="defaultPlowWork"/>
        </sounds>
        <directionNode node="Combinable_component1"/>
        <onlyActiveWhenLowered value="true"/>
    </plow>

    <workParticles>
        <effect workAreaIndex="1">
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode01">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode02">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode03">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode04">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode05">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode06">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode07">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode08">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode09">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode10">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode11">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="sweepEffectLinkNode12">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
        </effect>

        <particle>
            <node node="smokeEmitterShape"  refNodeIndex="1" particleType="SOIL_SMOKE" emitCountScale="1.5" />
        </particle>
    </workParticles>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <collisionTrigger node="aiCollisionNode" width="4.1" height="1.8"/>
        <needsLowering value="true"/>
        <agentAttachment width="5" height="1.7" length="1" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-0.2" maxZ="0.3" yOffset="0.5" />
        <bendingNode minX="-1.5" maxX="0.05" minZ="-0.2" maxZ="0.3" yOffset="-0.85" node="RightPart" />
        <bendingNode minX="-0.05" maxX="1.5" minZ="-0.2" maxZ="0.3" yOffset="-0.85" node="LeftPart" />
    </foliageBending>

    <baseColorConfigurations title="$l10n_configuration_chassisColor" price="500" useDefaultColors="true">
        <baseColorConfiguration isDefault="true" materialTemplateName="COMBI_BLUE"/>
        <baseColorConfiguration materialTemplateName="COMBI_RED"/>
        <material materialSlotName="body_mat" />
    </baseColorConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
	
    <i3dMappings>
        <i3dMapping id="Combinable_component1" node="0>" />
        <i3dMapping id="Combinable_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="topReferencePoint" node="0>0|0|0|0" />
        <i3dMapping id="skipNodeHydraulicIn01" node="0>0|0|1|0" />
        <i3dMapping id="skipNodeHydraulicIn02" node="0>0|0|1|1" />
        <i3dMapping id="skipNodeHydraulicIn03" node="0>0|0|1|2" />
        <i3dMapping id="skipNodeHydraulicOut01" node="0>0|0|1|3" />
        <i3dMapping id="skipNodeHydraulicOut02" node="0>0|0|1|4" />
        <i3dMapping id="skipNodeHydraulicOut03" node="0>0|0|1|5" />
        <i3dMapping id="skipNodeElectric" node="0>0|0|1|6" />
        <i3dMapping id="topRightPipeSkipPoint" node="0>0|0|1|7" />
        <i3dMapping id="supportCollision" node="0>0|0|2|0" />
        <i3dMapping id="support" node="0>0|0|2|1" />
		<i3dMapping id="Hose01Ref" node="0>0|0|3" />
		<i3dMapping id="Hose01" node="0>0|0|3|0" />
		<i3dMapping id="Hose01Node" node="0>0|0|3|0|0" />
		<i3dMapping id="Hose02Ref" node="0>0|0|4" />
		<i3dMapping id="Hose02" node="0>0|0|4|0" />
		<i3dMapping id="Hose02Node" node="0>0|0|4|0|0" />
        <i3dMapping id="lowerLink" node="0>0|1|1|0|0" />
        <i3dMapping id="upperLink" node="0>0|1|0|0" />
        <i3dMapping id="BackArm" 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="smokeEmitterShape" node="0>0|3|0|0" />
        <i3dMapping id="sweepEffectLinkNode01" node="0>0|3|2" />
        <i3dMapping id="sweepEffectLinkNode02" node="0>0|3|3" />
        <i3dMapping id="sweepEffectLinkNode03" node="0>0|3|4" />
        <i3dMapping id="sweepEffectLinkNode04" node="0>0|3|5" />
        <i3dMapping id="sweepEffectLinkNode05" node="0>0|3|6" />
        <i3dMapping id="sweepEffectLinkNode06" node="0>0|3|7" />
		<i3dMapping id="sweepEffectLinkNode07" node="0>0|3|8" />
		<i3dMapping id="sweepEffectLinkNode08" node="0>0|3|9" />
		<i3dMapping id="sweepEffectLinkNode09" node="0>0|3|10" />
		<i3dMapping id="sweepEffectLinkNode10" node="0>0|3|11" />
		<i3dMapping id="sweepEffectLinkNode11" node="0>0|3|12" />
		<i3dMapping id="sweepEffectLinkNode12" node="0>0|3|13" />
        <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" />
        <i3dMapping id="aiCollisionNode" node="0>0|4|1" />
		
		<i3dMapping id="LeftPart" node="0>0|5|0" />
		<i3dMapping id="LeftWheel" node="0>0|5|0|0" />
		<i3dMapping id="LeftArmRef" node="0>0|5|0|1" />
		
		<i3dMapping id="RightPart" node="0>0|5|1" />
		<i3dMapping id="RightWheel" node="0>0|5|1|0" />
		<i3dMapping id="RightArmRef" node="0>0|5|1|1" />
		
		<i3dMapping id="LeftHydrolic" node="0>0|5|2" />
		<i3dMapping id="LeftHydrolicPush" node="0>0|5|2|0" />
		<i3dMapping id="RightHydrolic" node="0>0|5|3" />
		<i3dMapping id="RightHydrolicPush" node="0>0|5|3|0" />
		
		<i3dMapping id="LeftArm01" node="0>0|5|4" />
		<i3dMapping id="LeftArm02" node="0>0|5|4|0" />
		<i3dMapping id="LeftHydrolicRef" node="0>0|5|4|1" />
		
		<i3dMapping id="RightArm01" node="0>0|5|5" />
		<i3dMapping id="RightArm02" node="0>0|5|5|0" />
		<i3dMapping id="RightHydrolicRef" node="0>0|5|5|1" />

    </i3dMappings>
</vehicle>
