﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="sowingMachine" 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>Centaya 3000Super</name>
        <specs>
            <neededPower>50</neededPower>
            <workingWidth>3</workingWidth>
            <combination xmlFilename="$data/vehicles/amazone/kg3001Super/kg3001Super.xml"/>
            <combination filterCategory="weights" filterSpec="weight" filterSpecMin="600" filterSpecMax="650"/>
        </specs>
        <functions>
            <function>$l10n_function_sowingMachine</function>
        </functions>
        <image>$data/vehicles/amazone/centaya3000Super/store_centaya3000Super.png</image>
        <price>23500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>AMAZONE</brand>
        <category>seeders</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>0</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>0</indexBufferMemoryUsage>
        <textureMemoryUsage>0</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_sowingMachine</typeDesc>
        <filename>$data/vehicles/amazone/centaya3000Super/centaya3000Super.i3d</filename>
        <size width="4" length="4.8" lengthOffset="-0.3"/>
        <speedLimit value="12" />
        <components>
            <component centerOfMass="0 0.4 -0.4" solverIterationCount="15" mass="500" />
            <component centerOfMass="0 0 0" solverIterationCount="15" mass="200" />
            <joint component1="1" component2="2" node="componentJointRoller" rotLimit="10 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD" saveId="LIZARD_DEFAULT">
                <wheels hasSurfaceSounds="false">
                    <wheel>
                        <physics restLoad="0.8" repr="backWheel01" radius="0.16" width="0.2" forcePointRatio="0.15" initialCompression="30" suspTravel="0.05" spring="64" damper="30" mass="0.1" rotationDamping="0.002" isSynchronized="false"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="0.8" repr="backWheel02" radius="0.16" width="0.2" forcePointRatio="0.15" initialCompression="30" suspTravel="0.05" spring="64" damper="30" mass="0.1" rotationDamping="0.002" isSynchronized="false"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="0.2" repr="backWheel03" radius="0.16" width="0.2" forcePointRatio="0.15" initialCompression="30" suspTravel="0.05" spring="15" damper="30" mass="0.1" rotationDamping="0.002"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="0.2" repr="backWheel04" radius="0.16" width="0.2" forcePointRatio="0.15" initialCompression="30" suspTravel="0.05" spring="15" damper="30" mass="0.1" rotationDamping="0.002"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" topReferenceNode="topReferenceNode" jointType="implement" lowerTransLimitScale="0 0 0" upperRotationOffset="0" lowerRotLimitScale="0 0 0" isDefaultLowered="true" needsLowering="false" allowsLowering="false" forceSelectionOnAttach="false" allowDetachWhileParentLifted="false">
                <distanceToGround lower="0.6" upper="1.0" />
                <objectChange node="attachedPart_vis" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="supportArm" visibilityActive="false" visibilityInactive="true"/>
                <subType name="centaya3000Super"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <powerConsumer ptoRpm="470" neededMaxPtoPower="10" forceNode="centaya3000Super_main_component1" maxForce="5" />

    <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="1" threshold="0.2" depthNode="depthNode" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="sowingMachine" functionName="processSowingMachineArea">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
            <groundReferenceNode index="1"/>
            <onlyActiveWhenLowered value="true"/>
        </workArea>
    </workAreas>

    <speedRotatingParts>
        <speedRotatingPart shaderNode="wheelArray" radius="-0.22" groundReferenceNodeIndex="1"/>
    </speedRotatingParts>

    <lights>
        <sharedLight linkNode="hellaWorkingLightSquare_01" filename="$data/shared/assets/lights/hella/hellaWorkingLightSquare_01_back.xml" />
        <sharedLight linkNode="hellaWorkingLightSquare_02" filename="$data/shared/assets/lights/hella/hellaWorkingLightSquare_01_back.xml" />
        <sharedLight linkNode="rearLight26White" filename="$data/shared/assets/lights/lizard/rearLight26White.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh1" lightTypes="0"/>
                <brakeLight node="backLightsHigh1" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="backlightStatic01" lightTypes="0"/>
        </defaultLights>

        <turnLights>
            <turnLightLeft shaderNode="turnlightLeftBackStatic01" toggleVisibility="true"/>
            <turnLightRight shaderNode="turnlightRightBackStatic01" toggleVisibility="true"/>
        </turnLights>

    </lights>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <unloading width="7.5" offset="0 0 0" />
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="seeds" capacity="1600">
                        <exactFillRootNode node="exactFillRootNode" extraEffectDistance="0.3"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" fillUnitIndex="1" maxDelta="0.2"/>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
    </fillVolume>

    <sowingMachine fillUnitIndex="1">
        <seedFruitTypeCategories>sowingMachine</seedFruitTypeCategories>
        <needsActivation value="true"/>
        <useDirectPlanting value="false" />
        <fieldGroundType value="SOWN" />

        <sounds>
            <work template="DEFAULT_SOWING_WORK" linkNode="centaya3000Super_main_component1" />
        </sounds>
    </sowingMachine>

    <animations>
        <animation name="toggleCover">
            <part node="cover_open" startTime="1.5" endTime="1.6" visibility="true" />
            <part node="cover_open" startTime="1.4" endTime="1.5" visibility="false" />
            <part node="cove_closed" startTime="1.5" endTime="1.6" visibility="false" />
            <part node="cove_closed" startTime="1.4" endTime="1.5" visibility="true" />
            <part node="ladder" startTime="0"  endTime="1.5" startRot="0 0 0" endRot="0 0 -156" />

            <sound template="fabricCover1" startTime="1.49" direction="1"  volumeScale="1.8" pitchScale="1.3" />
            <sound template="fabricCover2" startTime="1.59" direction="-1" volumeScale="1.8" pitchScale="1.3" />
            <sound template="clackVar4"    startTime="0.01" direction="1"  volumeScale="1.2" pitchScale="1.8"/>
            <sound template="clackVar4"    startTime="1.59" direction="-1" volumeScale="1.2" pitchScale="1.8"/>
            <sound template="sheetImp02"   startTime="1.5"  direction="1"  volumeScale="2.5" pitchScale="1.4"/>
            <sound template="sheetImp02"   startTime="0.01" direction="-1" volumeScale="2.5" pitchScale="1.4"/>
            <sound template="hingeMedium"  startTime="0.2"  direction="1"  volumeScale="1.6" pitchScale="0.8"/>
        </animation>
        <animation name="moveSupport">
            <part node="supportCol" startTime="0" endTime="0.5" startTrans="0 0.4 0" endTrans="0 -0.06 0" />
            <part node="rowArm" startTime="0" endTime="0.5" startRot="15 0 0" endRot="15 0 0" />
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="rowArm" playSound="true">
                <dependentPart node="rowArmHydraulic" />
                <dependentPart node="rowArmSpring" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="rowArmSpring" referencePoint="rowArmSpringRef" referenceFrame="rowArmSpringRef" scaleZ="true"/>
            <movingPart node="rowArmHydraulic" referencePoint="rowArmHydraulicRef" referenceFrame="rowArmHydraulicRef">
                <translatingPart node="rowArmHydraulicPunch" />
            </movingPart>

            <movingPart node="backArm" referencePoint="backArmRef" referenceFrame="backArmRef" isActiveDirty="true" maxUpdateDistance="50">
                <dependentPart node="backArmPart01" />
                <dependentPart node="backArmPart03" />
            </movingPart>
            <movingPart node="backArmPart01" localReferencePoint="backArmPart02" referencePoint="backArmPart02Ref" referenceFrame="backArmPart01RefFrame" limitedAxis="1">
                <dependentPart node="backArmPart02" />
            </movingPart>
            <movingPart node="backArmPart02" referencePoint="backArmPart02Ref" referenceFrame="backArmPart02Ref" limitedAxis="1"/>

            <movingPart node="backArmPart03" localReferencePoint="backArmPart04" referencePoint="backArmPart04Ref" referenceFrame="backArmPart03RefFrame" limitedAxis="1">
                <dependentPart node="backArmPart04" />
                <dependentPart node="backArmPart03Hydraulic" />
            </movingPart>
            <movingPart node="backArmPart04" referencePoint="backArmPart04Ref" referenceFrame="backArmPart04Ref" limitedAxis="1"/>
            <movingPart node="backArmPart" referencePoint="backArmPartRef" referenceFrame="backArmPartRef" isActiveDirty="true" maxUpdateDistance="50"/>
            <movingPart node="backArmPart03Hydraulic" referencePoint="backArmPart03HydraulicRef" referenceFrame="backArmPart03HydraulicRef">
                <translatingPart node="backArmPart03HydraulicPunch" />
            </movingPart>

        </movingParts>
        <sounds>
            <hydraulic template="defaultHydraulicSound" linkNode="0>"/>
        </sounds>
    </cylindered>

    <workParticles>
        <effect workAreaIndex="1">
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="rollEffect01LinkNode">
                <motionPathEffect textureFilename="$data/vehicles/amazone/centaya3000Super/rollEffect01Array.dds" numRows="30" rowLength="18" minFade="0.07" density="0.5" shapeScale="0.5" maxShapeScale="0.5"/>
            </effectNode>
        </effect>
        <particle>
            <node node="dustEmitterShape" refNodeIndex="1" particleType="SOIL_SMOKE" emitCountScale="1.0" />
        </particle>
    </workParticles>

    <cover>
        <coverConfigurations>
            <coverConfiguration>
                <cover openAnimation="toggleCover" fillUnitIndices="1" openOnBuy="false"/>
            </coverConfiguration>
        </coverConfigurations>
    </cover>

    <turnOnVehicle>
        <sounds>
            <start template="STRAWBLOWER_START" />
            <work template="STRAWBLOWER_WORK" />
            <stop template="STRAWBLOWER_STOP" />
        </sounds>
    </turnOnVehicle>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack"/>
        <collisionTrigger node="aiCollisionNode" width="3.1" height="2.3"/>
        <lookAheadSize value="3"/>
        <needsLowering value="true"/>
        <agentAttachment width="2.9" height="2.5" length="3.9" lengthOffset="-0.4"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.55" maxX="1.55" minZ="-1.5" maxZ="0.1" yOffset="0.25" />
    </foliageBending>

    <baseMaterial>
        <material name="centaya3000Super_mat" baseNode="centaya3000Super_vis">
            <shaderParameter name="colorMat0" value="AMAZONE_ORANGE1"/>
            <shaderParameter name="colorMat1" value="AMAZONE_GREEN1"/>
            <shaderParameter name="colorMat2" value="AMAZONE_GREEN1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="centaya3000Super_main_component1" node="0>" />
        <i3dMapping id="centaya3000Super_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="topReferenceNode" node="0>0|0|1" />
        <i3dMapping id="supportCol" node="0>0|0|2" />
        <i3dMapping id="attachedPart_vis" node="0>0|0|3" />
        <i3dMapping id="supportArm" node="0>0|0|4" />
        <i3dMapping id="backWheel01" node="0>0|1|0" />
        <i3dMapping id="backWheel02" node="0>0|1|1" />
        <i3dMapping id="hellaWorkingLightSquare_01" node="0>0|2|0|0" />
        <i3dMapping id="hellaWorkingLightSquare_02" node="0>0|2|0|1" />
        <i3dMapping id="rearLight26White" node="0>0|2|0|2" />
        <i3dMapping id="backlightStatic01" node="0>0|2|1|0" />
        <i3dMapping id="turnlightRightBackStatic01" node="0>0|2|1|1" />
        <i3dMapping id="turnlightLeftBackStatic01" node="0>0|2|1|2" />
        <i3dMapping id="backLightsHigh1" node="0>0|2|2|0" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|3|0" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|3|1" />
        <i3dMapping id="cove_closed" node="0>0|3|0" />
        <i3dMapping id="cover_open" node="0>0|3|1" />
        <i3dMapping id="workAreaStart" node="0>0|4|0" />
        <i3dMapping id="workAreaWidth" node="0>0|4|1" />
        <i3dMapping id="workAreaHeight" node="0>0|4|2" />
        <i3dMapping id="groundReferenceNode" node="0>0|4|3" />
        <i3dMapping id="depthNode" node="0>0|4|4" />
        <i3dMapping id="aiMarkerLeft" node="0>0|5|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|5|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|5|2" />
        <i3dMapping id="sizeMarkerLeft" node="0>0|5|3" />
        <i3dMapping id="sizeMarkerRight" node="0>0|5|4" />
        <i3dMapping id="sizeMarkerBack" node="0>0|5|5" />
        <i3dMapping id="aiCollisionNode" node="0>0|5|6" />
        <i3dMapping id="dustEmitterShape" node="0>0|6|0" />
        <i3dMapping id="rollEffect01LinkNode" node="0>0|6|1" />
        <i3dMapping id="exactFillRootNode" node="0>0|7|0" />
        <i3dMapping id="fillVolume" node="0>0|7|1" />
        <i3dMapping id="ladder" node="0>0|8|0" />
        <i3dMapping id="wheelArray" node="0>0|8|2" />
        <i3dMapping id="backArm" node="0>0|8|3|0" />
        <i3dMapping id="backArmPart02Ref" node="0>0|8|3|0|0" />
        <i3dMapping id="backArmPart04Ref" node="0>0|8|3|0|1" />
        <i3dMapping id="backArmPart01RefFrame" node="0>0|8|4" />
        <i3dMapping id="backArmPart01" node="0>0|8|4|0" />
        <i3dMapping id="backArmPart02" node="0>0|8|4|0|0" />
        <i3dMapping id="backArmPartRef" node="0>0|8|4|0|1" />
        <i3dMapping id="backArmPart03RefFrame" node="0>0|8|5" />
        <i3dMapping id="backArmPart03" node="0>0|8|5|0" />
        <i3dMapping id="backArmPart04" node="0>0|8|5|0|0" />
        <i3dMapping id="backArmPart" node="0>0|8|5|0|1" />
        <i3dMapping id="backArmPart03HydraulicRef" node="0>0|8|5|0|3" />
        <i3dMapping id="backArmPart03Hydraulic" node="0>0|8|6" />
        <i3dMapping id="backArmPart03HydraulicPunch" node="0>0|8|6|0" />
        <i3dMapping id="rowArm" node="0>0|8|7" />
        <i3dMapping id="rowArmSpringRef" node="0>0|8|7|0" />
        <i3dMapping id="rowArmHydraulicRef" node="0>0|8|7|1" />
        <i3dMapping id="rowArmSpring" node="0>0|8|8" />
        <i3dMapping id="rowArmHydraulic" node="0>0|8|9" />
        <i3dMapping id="rowArmHydraulicPunch" node="0>0|8|9|0" />
        <i3dMapping id="componentJointRoller" node="0>0|9" />
        <i3dMapping id="centaya3000Super_roller_component2" node="1>" />
        <i3dMapping id="backArmRef" node="1>0" />
        <i3dMapping id="backWheel03" node="1>1" />
        <i3dMapping id="backWheel04" node="1>2" />
    </i3dMappings>
</vehicle>
