<?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 300</name>
        <specs>
            <neededPower>100</neededPower>
			<combination filterCategory="weights" filterSpec="weight" filterSpecMin="600" filterSpecMax="700"/>
        </specs>
        <functions>
            <function>$l10n_function_subsoiler</function>
        </functions>
        <image>store_Combinable300.png</image>
        <price>10500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>subsoilers</category>
        <vertexBufferMemoryUsage>289536</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>68864</indexBufferMemoryUsage>
        <textureMemoryUsage>851968</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>Combinable300.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="680" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint" allowsLowering="true" lowerRotLimitScale="0 0 0" upperRotationOffset="15" lowerRotationOffset="0" >
                <distanceToGround lower="0.55" upper="1.2" />
                <bottomArm categories="2" ballType="1" scaleActive="2 2 2" />
            </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>

    <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"/>
    </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 isYesNoOption="true">
        <powerConsumerConfigurations title="$l10n_configuration_design">
             <powerConsumerConfiguration name="Combinable 400" vehicleIcon="store_Combinable400.dds" price="1250" workingWidth="4.0" forceNode="Combinable_component1" maxForce="22" neededMaxPtoPower="0" neededPower="140" vehicleName="Combinable 400">
                <objectChange node="smokeEmitterShape"   scaleActive="1 1 1"/>
                <objectChange node="sweepEffectLinkNode01"   visibilityActive="true"/>
                <objectChange node="sweepEffectLinkNode08"   visibilityActive="true"/>
                <objectChange node="Combinable400"   visibilityActive="true"/>
                <objectChange node="Decal_300"       visibilityActive="false"/>
                <objectChange node="LeftReflector"   translationActive="0.5 0 0"/>
                <objectChange node="RightReflector"  translationActive="-0.5 0 0"/>
                <objectChange node="workAreaStart"  translationActive="2 0.052 0.082"/>
                <objectChange node="workAreaWidth"  translationActive="-2 0.052 0.082"/>
                <objectChange node="workAreaHeight" translationActive="2 0.052 -0.308"/>
                <objectChange node="aiMarkerLeft"   translationActive="2 0 0.241"/>
                <objectChange node="aiMarkerRight"  translationActive="-2 0 0.241"/>
                <objectChange node="Combinable_component1" massActive="730" centerOfMassActive="0 0.3 0" />
            </powerConsumerConfiguration>
            <powerConsumerConfiguration name="Combinable 300" vehicleIcon="store_Combinable300.dds" price="0" workingWidth="3.0" forceNode="Combinable_component1" maxForce="20" neededMaxPtoPower="0" neededPower="100" vehicleName="Combinable 300">
				<objectChange node="smokeEmitterShape"   scaleActive="0.7 1 1"/>
				<objectChange node="supportCollision"   scaleActive="0.8 1 1"/>
                <objectChange node="sweepEffectLinkNode01"   visibilityActive="false"/>
				<objectChange node="sweepEffectLinkNode08"   visibilityActive="false"/>
				<objectChange node="Combinable400"   visibilityActive="false"/>
				<objectChange node="Decal_300"       visibilityActive="true"/>
				<objectChange node="LeftReflector"   translationActive="0 0 0"/>
				<objectChange node="RightReflector"  translationActive="0 0 0"/>
                <objectChange node="workAreaStart"  translationActive="0 0.052 0.082"/>
                <objectChange node="workAreaWidth"  translationActive="-1.5 0.052 0.082"/>
                <objectChange node="workAreaHeight" translationActive="1.5 0.052 -0.308"/>
                <objectChange node="aiMarkerLeft"   translationActive="1.5 0 0.241"/>
                <objectChange node="aiMarkerRight"  translationActive="-1.5 0 0.241"/>
                <objectChange node="colPartLeft"    compoundChildActive="false" compoundChildInactive="true"/>
                <objectChange node="colPartRight"   compoundChildActive="false" compoundChildInactive="true"/>
				<objectChange node="Combinable_component1" massActive="680" centerOfMassActive="0 0.3 0" />
                <foliageBendingModifier index="1" minX="-1.5" maxX="1.5"/>
            </powerConsumerConfiguration>
        </powerConsumerConfigurations>
	</powerConsumer>

    <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>
    </animations>

	<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>
        </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="4" height="1.7" length="1" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-2" maxX="2" minZ="-0.2" maxZ="0.3" yOffset="0.5" />
    </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="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="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="Combinable400" node="0>0|5|0" />	
		<i3dMapping id="LeftReflector" node="0>0|5|1" />
		<i3dMapping id="RightReflector" node="0>0|5|2" />
		<i3dMapping id="colPartLeft" node="0>0|5|0|1" />
		<i3dMapping id="colPartRight" node="0>0|5|0|2" />
		<i3dMapping id="Decal_300" node="0>0|6|0" />
    </i3dMappings>
</vehicle>
