<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="plow">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>PTO 2.25</name>
        <specs>
            <neededPower>30</neededPower>
            <workingWidth>0.5</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_plow</function>
        </functions>
        <image>Texture/OLT.dds</image>
        <price>300</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>OLT</brand>
        <category>plows</category>
		<shopTranslationOffset>0 0.006 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
    </storeData>
	<base>
        <typeDesc>$l10n_function_plow</typeDesc>
        <filename>OLT.i3d</filename>
        <size width="1.5" height="3" length="2" lengthOffset="0.2"/>
        <speedLimit value="12"/>
        <components>
			<component centerOfMass="-0.12 0.6 0.7" solverIterationCount="1" mass="120"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
	
	<wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels hasSurfaceSounds="false">
                    <wheel>
                        <physics restLoad="0.14" repr="0>6|9|1" radius="0.165" width="0.2" forcePointRatio="0.2" initialCompression="10" suspTravel="0.02" spring="20" damper="28" rotationDamping="0.005" supportsWheelSink="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
   </wheels>
   
   <vehicleTypeConfigurations title="Attacher option">
        <vehicleTypeConfiguration name="1" price="0" vehicleType="plow">
            <objectChange node="0>6" translationActive="-0.295 0.62 1.21"/>
			<objectChange node="0>0|6" rotationActive="-25.517 2.499 -1.192"/>
        </vehicleTypeConfiguration>
        <vehicleTypeConfiguration name="2" price="0" vehicleType="plow">
            <objectChange node="0>6" translationActive="-0.235 0.62 1.21"/>
			<objectChange node="0>0|6" rotationActive="-25.5 -0.405 -0.2"/>
        </vehicleTypeConfiguration>
		<vehicleTypeConfiguration name="3" price="0" vehicleType="plow">
            <objectChange node="0>6" translationActive="-0.185 0.62 1.21"/>
			<objectChange node="0>0|6" rotationActive="-25.529 -2.648 1.2"/>
        </vehicleTypeConfiguration>
		<vehicleTypeConfiguration name="4" price="0" vehicleType="plow">
            <objectChange node="0>6" translationActive="-0.125 0.62 1.21"/>
			<objectChange node="0>0|6" rotationActive="-25.623 -5.439 2.7"/>
        </vehicleTypeConfiguration>
    </vehicleTypeConfigurations>
	
	<designConfigurations title="Furrows">
	    <designConfiguration name="2" price="0">
            <objectChange node="0>6|1" visibilityActive="true"/>
        </designConfiguration>
        <designConfiguration name="1" price="50">
            <objectChange node="0>6|1" visibilityActive="false"/>
			<objectChange node="0>6|7|0" translationActive="-0.07 0 -0.609"/>
			<objectChange node="0>6|7|2" translationActive="-0.07 0 -1.151"/>
			<objectChange node="0>6|8|0" translationActive="-0.07 0 -0.275"/>
			<objectChange node="0>6|8|2" translationActive="-0.07 0 -0.77"/>
			<objectChange node="0>6|6|3" visibilityActive="false"/>
			<objectChange node="0>6|6|4" visibilityActive="false"/>
			<objectChange node="0>6|5|1" visibilityActive="false"/>
			<objectChange node="0>6|4|0" visibilityActive="false"/>
			<objectChange node="0>" massActive="90" />
        </designConfiguration>		
    </designConfigurations>
	
	<design2Configurations title="Extension">
	    <design2Configuration name="No" price="0">
            <objectChange node="0>6|4" visibilityActive="false"/>
        </design2Configuration>
        <design2Configuration name="Yes" price="50">
            <objectChange node="0>6|4" visibilityActive="true"/>			
        </design2Configuration>		
    </design2Configurations>

    <design3Configurations title="Cutting discs">
	    <design3Configuration name="No" price="0">
            <objectChange node="0>6|5" visibilityActive="false"/>
        </design3Configuration>
        <design3Configuration name="Yes" price="100">
            <objectChange node="0>6|5" visibilityActive="true"/>			
        </design3Configuration>		
    </design3Configurations>

    <design4Configurations title="Decal">
	    <design4Configuration name="Yes" price="0">
            <objectChange node="0>6|19" visibilityActive="true"/>			
        </design4Configuration>	
	    <design4Configuration name="No" price="0">
            <objectChange node="0>6|19" visibilityActive="false"/>
        </design4Configuration>	
    </design4Configurations>
	
	<powerConsumer forceNode="0>" maxForce="15" />
	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>5|0" jointType="implement" topReferenceNode="0>5|1" lowerRotLimitScale="0 0 0" rotLimitThreshold="0"  upperRotationOffset="15" lowerRotationOffset="0"  rotLimitSpring="0 0 0">
                <distanceToGround lower="0.3" upper="1" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>
	
	<animations>
        <animation name="moveSupport">
            <part endTime="0.01" node="0>5|2" startTime="0" visibility="false"/>
            <part endTime="0.011" node="0>5|2" startTime="0.01" visibility="true"/>
			<part endTime="0.1" node="0>5|2" startTime="0.01" startScale="0 0 0" endScale="1 1 1.1"/>
			<part endTime="0.01" node="0>5|3" startTime="0" visibility="false"/>
            <part endTime="0.011" node="0>5|3" startTime="0.01" visibility="true"/>
			<part endTime="0.1" node="0>5|3" startTime="0.01" startScale="0 0 0" endScale="1 1 1"/>
        </animation>
    </animations>
	
	<speedRotatingParts>
        <speedRotatingPart node="0>6|5|0|1|1" radius="0.15" groundReferenceNodeIndex="1"/>
        <speedRotatingPart node="0>6|5|1|1|1" radius="0.15" groundReferenceNodeIndex="1"/>
    </speedRotatingParts>
	
	<cylindered>
        <movingTools>
            <movingTool node="0>4" playSound="true">
            </movingTool>
        </movingTools>
    </cylindered>
	
	<baseMaterial>
        <material name="olt_mat" baseNode="0>0">
            <shaderParameter name="colorMat0" value="NEWHOLLAND_BLUE1"/>
        </material>
		<material name="olt_mat2" baseNode="0>0|6|0|0">
            <shaderParameter name="colorMat0" value="NEWHOLLAND_BLUE1"/>
        </material>
        <material name="OLT" baseNode="0>6|4|0">
            <shaderParameter name="colorMat0" value="NEWHOLLAND_BLUE1"/>
			<shaderParameter name="colorMat3" value="NEWHOLLAND_BLUE1"/>
			<shaderParameter name="colorMat5" value="NEWHOLLAND_BLUE1"/>
        </material>
         <material name="Default" baseNode="0>6|0|1">
            <shaderParameter name="colorMat0" value="NEWHOLLAND_BLUE1"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations useDefaultColors="false">
	<baseMaterialConfiguration name="OLT blue new" color="NEWHOLLAND_BLUE1" material="0" price="0"/>
	<baseMaterialConfiguration name="OLT blue old" color="RABE_BLUE1" material="0" price="0"/>
	<baseMaterialConfiguration name="OLT red" color="FENDT_RED1" material="0" price="0"/>
	<baseMaterialConfiguration name="OLT orange" color="STARA_ORANGE" material="0" price="0"/>
	<baseMaterialConfiguration name="OLT green" color="KOTTE_GREEN1" material="0" price="0"/>
	<baseMaterialConfiguration name="OLT green 2" color="KOTTE_GREEN2" material="0" price="0"/>
	<material name="olt_mat" shaderParameter="colorMat0"/>
	<material name="olt_mat2" shaderParameter="colorMat0"/>
    <material name="OLT" shaderParameter="colorMat0"/>
	<material name="OLT" shaderParameter="colorMat3"/>
	<material name="OLT" shaderParameter="colorMat5"/>
    <material name="Default" shaderParameter="colorMat0"/>
  </baseMaterialConfigurations>
  
  
		
	<ai>
        <needsLowering value="true" />
        <areaMarkers leftNode="0>6|8|0" rightNode="0>6|8|1" backNode="0>6|8|2" />
        <sizeMarkers leftNode="0>6|8|0" rightNode="0>6|8|1" backNode="0>6|8|2" />
        <hasNoFullCoverageArea value="true" />
        <agentAttachment width="2.5" height="3.8" length="3" lengthOffset="-0.2"/>
    </ai>
	
	<groundReferenceNodes>
        <groundReferenceNode node="0>6|7|3" threshold="0.075" forceFactor="0" depthNode="0>4|4"/>
    </groundReferenceNodes>
	
	<workAreas>
        <workArea type="plow" functionName="processPlowArea" >
            <area startNode="0>6|7|0" widthNode="0>6|7|1" heightNode="0>6|7|2" />
            <groundReferenceNode index="1" />
            <onlyActiveWhenLowered value="true"/>
        </workArea>
    </workAreas>

	
	<workParticles>
        <particle>
			<node node="0>6|6|2" refNodeIndex="1" particleType="SOIL_SMOKE" emitCountScale="2" speedThreshold="2"/>
        </particle>
        <effect groundReferenceNodeIndex="1" speedThreshold="0">
            <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="0>6|6|0">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.1" speedScale="0.5" />
            </effectNode>
            <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="0>6|6|3">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.1" speedScale="0.5" />
            </effectNode>
        </effect>
    </workParticles>
		
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
</vehicle>
