<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="sowingMachine">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	
	<storeData>
        <name>Poettinger Vitasem 302A Seeder</name>
        <specs>
            <neededPower>110</neededPower>
            <workingWidth>3.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_sowingMachine</function>
        </functions>
        <image>Store_Seeder.png</image>
        <price>42500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>POETTINGER</brand>
        <category>seeders</category>
        <vertexBufferMemoryUsage>568272</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>79404</indexBufferMemoryUsage>
        <textureMemoryUsage>12583344</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_sowingMachine</typeDesc>
        <filename>poettingerVitasem302ASeeder.i3d</filename>
        <size width="3.5" length="3.5" lengthOffset="0.8"/>
        <speedLimit value="18" />
        <components>
            <component centerOfMass="0 0.5 -0.1" solverIterationCount="20" mass="1800" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <turnedOn name="DEFAULT_IMPLEMENT_ON"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
            <turnedOnSelected name="DEFAULT_IMPLEMENT_SELECTED_ON"/>
        </schemaOverlay>
    </base>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode">
                <distanceToGround lower="0.98" upper="0.98" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>
	
	<powerConsumer forceNode="0>" maxForce="8" ptoRpm="520" neededMaxPtoPower="10" />
	
	<lights>
        <sharedLight linkNode="backlightLeft"     filename="$data/shared/assets/lights/lizard/rear2ChamberLight_03_left.xml" />
        <sharedLight linkNode="backlightRight"    filename="$data/shared/assets/lights/lizard/rear2ChamberLight_03_right.xml" />
        <realLights>
            <high>
                <light node="backLightsHigh01" lightTypes="0"/>
                <brakeLight node="backLightsHigh01"/>
                <turnLightLeft node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightBack"/>
            </high>
        </realLights>
    </lights>
	
	<speedRotatingParts>
        <speedRotatingPart node="sowingWheel"        radius="0.322" groundReferenceNodeIndex="1" />
        <speedRotatingPart node="sowingDiscs2"  radius="0.155" groundReferenceNodeIndex="1" />
        <speedRotatingPart node="sowingDiscs3" radius="0.155" groundReferenceNodeIndex="1" />
        <speedRotatingPart shaderNode="sowingDiscs1"   radius="0.155" groundReferenceNodeIndex="1" />
    </speedRotatingParts>
	
	<groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="1" threshold="0.15" depthNode="groundReferenceNode"/>
    </groundReferenceNodes>
	
	<workAreas>
        <workArea type="sowingMachine" functionName="processSowingMachineArea" needsSetIsTurnedOn="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>

	<animations>
        <animation name="toggleCover">
            <part node="cover"  startTime="0" endTime="1.5" startRot="0 0 0" endRot="90 0 0" />
			<part node="echelle"  startTime="0" endTime="1.5" startRot="0 0 0" endRot="0 0 -180" />
        </animation>
		<animation name="moveSupport">
			<part node="support" startTime="0"    endTime="0.05" visibility="false" />
            <part node="support" startTime="0.05" endTime="0.1"  visibility="true" />
        </animation>
    </animations>
	
	<cover>
        <coverConfigurations>
            <coverConfiguration>
                <cover openAnimation="toggleCover" fillUnitIndices="1" />
            </coverConfiguration>
        </coverConfigurations>
    </cover>
	
	<workParticles>
        <particleAnimation>
			<node node="soilAnimationBack" refNodeIndex="1" materialType="SOIL" />
        </particleAnimation>

        <particle>
			<node node="dustEmitterShapeBack" refNodeIndex="1" particleType="SOIL_SMOKE" emitCountScale="1.0" />
        </particle>
    </workParticles>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <unloading width="12" offset="0 0 0" />
                    <fillUnit unit="$l10n_unit_literShort" fillTypes="seeds" capacity="600" >
                        <exactFillRootNode node="exactFillRootNode" extraEffectDistance="0.6"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxDelta="0.0" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
    </fillVolume>
	
	<sowingMachine fillUnitIndex="1" >
        <seedFruitTypeCategories>sowingMachine</seedFruitTypeCategories>
        <needsActivation value="true"/>
        <useDirectPlanting value="true" />
		<needsLowering value="false" />
        <sounds>
            <work template="DEFAULT_SOWING_WORK" linkNode="0>" />
            <airBlower template="DEFAULT_SOWING_AIR_BLOWER" linkNode="0>" />
        </sounds>
    </sowingMachine>
	
	<ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <collisionTrigger node="aiCollisionTrigger" />
    </ai>
	
	<baseMaterial>
        <material name="Vitasem_mat" baseNode="poettinger_vis">
            <shaderParameter name="colorMat0" value="POETTINGER_YELLOW"/>
            <shaderParameter name="colorMat1" value="POETTINGER_RED1"/>
			<shaderParameter name="colorMat2" value="POETTINGER_WHITE1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
	
	 <i3dMappings>
        <i3dMapping id="Vitasem302A_component1" node="0>" />
        <i3dMapping id="poettinger_vis" node="0>0" />
		<i3dMapping id="support" node="0>0|22" />
		<i3dMapping id="cover" node="0>0|18|0" />
		<i3dMapping id="echelle" node="0>0|18|1" />
		<i3dMapping id="backlightLeft" node="0>0|11|0|0" />
        <i3dMapping id="backlightRight" node="0>0|11|0|1" />
        <i3dMapping id="turnLightLeftBack" node="0>0|11|1" />
        <i3dMapping id="turnLightRightBack" node="0>0|11|2" />
        <i3dMapping id="backLightsHigh01" node="0>0|11|3" />
		<i3dMapping id="attacherJoint" node="0>0|0" />
		<i3dMapping id="topReferenceNode" node="0>0|1" />
		<i3dMapping id="aiCollisionTrigger" node="0>0|21" />
		<i3dMapping id="fillVolume" node="0>0|20|0" />
		<i3dMapping id="exactFillRootNode" node="0>0|20|3" />
		<i3dMapping id="sowingWheel" node="0>0|10" />
		<i3dMapping id="sowingDiscs1" node="0>0|9|0" />
		<i3dMapping id="sowingDiscs2" node="0>0|9|1" />
		<i3dMapping id="sowingDiscs3" node="0>0|9|2" />
		<i3dMapping id="groundReferenceNode" node="0>0|15" />
		<i3dMapping id="workAreaStart" node="0>0|3" />
        <i3dMapping id="workAreaWidth" node="0>0|4" />
        <i3dMapping id="workAreaHeight" node="0>0|5" />
        <i3dMapping id="aiMarkerLeft" node="0>0|6" />
        <i3dMapping id="aiMarkerRight" node="0>0|7" />
        <i3dMapping id="aiMarkerBack" node="0>0|8" />
		<i3dMapping id="soilAnimationBack" node="0>0|14|0" />
		<i3dMapping id="dustEmitterShapeBack" node="0>0|14|1" />
	</i3dMappings>
</vehicle>