<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="MULCHER">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>FORESTRY HEADER</name>
        <specs>
            <neededPower>70</neededPower>
            <workingWidth>1.2</workingWidth>
            <combination>Energreen Ilf S1500</combination>
        </specs>
        <functions>
            <function>$l10n_function_stumpCutter</function>
        </functions>
        <image>store_ForestryHead.png</image>
        <price>17500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ENERGREEN</brand>
        <category>wood</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_mulcher</typeDesc>
        <filename>i3d/ForestryHead.i3d</filename>
        <size width="2" length="1.5" />
        <speedLimit value="7"/>
        <components>
            <component centerOfMass="0 0 -0.1" solverIterationCount="10" mass="655" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
    </base>
	
	<attachable>
		<inputAttacherJoints>
			<inputAttacherJoint node="AttacherJoint" jointType="implement" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" >
			<distanceToGround lower="0.8" upper="0.8"/>
			</inputAttacherJoint>
		</inputAttacherJoints>
        <brakeForce force="0.6"/>
    </attachable>
	
	<foliageBending>
        <bendingNode minX="0.65" maxX="-1.3" minZ="-0.65" maxZ="0.65" yOffset="-0.3" node="0>0" />
    </foliageBending>
	
	<workAreas>
        <workArea type="workAreas" functionName="processMowerArea" disableBackwards="false" >
            <area startNode="startIndex" widthNode="widthIndex" heightNode="heightIndex" />
            <groundReferenceNode index="1" />
            <mower dropWindrow="false" dropAreaIndex="2" />
        </workArea>

        <workArea type="auxiliary" >
            <area startNode="startIndex" widthNode="widthIndex" heightNode="heightIndex" />
        </workArea>
		
		<workArea type="plow" functionName="processPlowArea" >
            <area startNode="startIndex" widthNode="widthIndex" heightNode="heightIndex" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>
	
	<cylindered>
	    <movingTools>
			<movingTool node="Ala" playSound="true">
			    <controls  axis="AXIS_CRANE_TOOL" invertAxis="true"  />
				<rotation rotSpeed="105"  rotationAxis="1" rotMax="0" rotMin="-30"/>
                <dependentPart node="Pistone1" />
            </movingTool>
		</movingTools>
		<movingParts>
			<movingPart node="Pistone1" referencePoint="IdraulicReff" referenceFrame="IdraulicReff">
                <translatingPart node="Stelo1" />
            </movingPart>
        </movingParts>
		<sounds>
            <hydraulic template="defaultHydraulicSound" linkNode="EnergreenTools_component1"/>
        </sounds>
    </cylindered>
	
	<workParticles>
        <particle>
            <node node="smokeEmitterShape" refNodeIndex="1" particleType="SOIL_SMOKE" speedThreshold="1" />
        </particle>
    </workParticles>
	
	<stumpCutter>
		<cutNode node="cutNode" cutSizeY="1.4" cutSizeZ="2.3"/>
        <effects>
            <effectNode effectClass="ParticleEffect" effectNode="emitterShapeWood" particleType="CRUSHER_WOOD" emitCountScale="10"/>
            <effectNode effectClass="ParticleEffect" effectNode="emitterShapeDust" particleType="CRUSHER_WOOD" emitCountScale="2"/>
        </effects>
        <animationNodes>
            <animationNode node="DentiCorpoRotante" rotSpeed="4500" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="5"/>
        </animationNodes>
        <sounds>
            <start template="STUMP_CUTTER_START" linkNode="EnergreenTools_component1" />
            <idle template="STUMP_CUTTER_IDLE" linkNode="EnergreenTools_component1" />
            <work template="STUMP_CUTTER_WORK" linkNode="EnergreenTools_component1" />
            <stop template="STUMP_CUTTER_STOP" linkNode="EnergreenTools_component1" />
        </sounds>
    </stumpCutter>
	
	<mower fruitTypeConverter="MOWER">
        <animationNodes>
            <animationNode node="DentiCorpoRotante"    rotSpeed="4500" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
        </animationNodes>
        <dropEffects>
            <dropEffect workAreaIndex="2" dropAreaIndex="1">
                <effectNode effectClass="TypedMotionPathEffect" effectType="MOWER" linkNode="mover">
                    <motionPathEffect textureFilename="$data/vehicles/krone/bigM450/mowerEffectFrontDropArray.dds" numRows="11" rowLength="18" minFade="0.15" speedScale="1.2" maxShapeScale="2.3"/>
                </effectNode>
                <effectNode effectNode="smokeEmitterShape" effectClass="ParticleEffect" particleType="smoke" materialType="smokeParticle" worldSpace="false" emitCountScale="0.25"/>
            </dropEffect>			
        </dropEffects>
    </mower>
	
	<wearable wearDuration="780" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<groundReferenceNodes>
        <groundReferenceNode node="groundRefNode" threshold="0.3" />
    </groundReferenceNodes>
	
	<plow>
        <sounds>
            <work template="DEFAULT_PLOW_WORK" linkNode="EnergreenTools_component1" />
        </sounds>
    </plow>	
	
	<configurationSets>
        <configurationSet name="$l10n_configuration_GG">
			<configuration name="baseMaterial"  index="1" /> 
			<configuration name="design" index="1" />
		</configurationSet>
		<configurationSet name="$l10n_configuration_GV">
			<configuration name="baseMaterial"  index="1" />
			<configuration name="design" index="2" />
		</configurationSet>
		<configurationSet name="$l10n_configuration_KG">
			<configuration name="baseMaterial"  index="2" />
			<configuration name="design" index="3" />
		</configurationSet>
		<configurationSet name="$l10n_configuration_V">
			<configuration name="baseMaterial"  index="3" />
			<configuration name="design" index="4" />
		</configurationSet>
		<configurationSet name="$l10n_configuration_BG">
			<configuration name="baseMaterial"  index="4" />
			<configuration name="design" index="5" />
		</configurationSet>
		<configurationSet name="$l10n_configuration_G">
			<configuration name="baseMaterial"  index="5" />
			<configuration name="design" index="6" />
		</configurationSet>
    </configurationSets>
	
	<designConfigurations title="$l10n_configuration_desing" >
        <designConfiguration name="$l10n_configuration_GG" price="0">
            <objectChange node="DecalsAlaS" visibilityActive="true" />
			<objectChange node="DecalsAlaV" visibilityActive="false" /> 
			<objectChange node="DecalsAlaG" visibilityActive="false" /> 
			<objectChange node="DecalsAlaA" visibilityActive="false" /> 
			<objectChange node="DecalsAlaN" visibilityActive="false" />
			<objectChange node="DecalsTools1" visibilityActive="true" />
			<objectChange node="DecalsTools2" visibilityActive="false" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_GV" price="500">
            <objectChange node="DecalsAlaS" visibilityActive="false" />
			<objectChange node="DecalsAlaV" visibilityActive="true" /> 
			<objectChange node="DecalsAlaG" visibilityActive="false" /> 
			<objectChange node="DecalsAlaA" visibilityActive="false" /> 
			<objectChange node="DecalsAlaN" visibilityActive="false" />
			<objectChange node="DecalsTools1" visibilityActive="true" />
			<objectChange node="DecalsTools2" visibilityActive="false" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_KG" price="800">
            <objectChange node="DecalsAlaS" visibilityActive="true" />
			<objectChange node="DecalsAlaV" visibilityActive="false" /> 
			<objectChange node="DecalsAlaG" visibilityActive="false" /> 
			<objectChange node="DecalsAlaA" visibilityActive="false" /> 
			<objectChange node="DecalsAlaN" visibilityActive="false" />
			<objectChange node="DecalsTools1" visibilityActive="true" />
			<objectChange node="DecalsTools2" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_V" price="800">
            <objectChange node="DecalsAlaS" visibilityActive="false" />
			<objectChange node="DecalsAlaV" visibilityActive="false" /> 
			<objectChange node="DecalsAlaG" visibilityActive="true" /> 
			<objectChange node="DecalsAlaA" visibilityActive="false" /> 
			<objectChange node="DecalsAlaN" visibilityActive="false" />
			<objectChange node="DecalsTools1" visibilityActive="true" />
			<objectChange node="DecalsTools2" visibilityActive="false" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_BG" price="800">
            <objectChange node="DecalsAlaS" visibilityActive="false" />
			<objectChange node="DecalsAlaV" visibilityActive="false" /> 
			<objectChange node="DecalsAlaG" visibilityActive="false" /> 
			<objectChange node="DecalsAlaA" visibilityActive="false" /> 
			<objectChange node="DecalsAlaN" visibilityActive="true" />
			<objectChange node="DecalsTools1" visibilityActive="false" />
			<objectChange node="DecalsTools2" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_G" price="500">
            <objectChange node="DecalsAlaS" visibilityActive="false" />
			<objectChange node="DecalsAlaV" visibilityActive="false" /> 
			<objectChange node="DecalsAlaG" visibilityActive="false" /> 
			<objectChange node="DecalsAlaA" visibilityActive="true" /> 
			<objectChange node="DecalsAlaN" visibilityActive="false" />
			<objectChange node="DecalsTools1" visibilityActive="true" />
			<objectChange node="DecalsTools2" visibilityActive="false" />
        </designConfiguration>
    </designConfigurations>
	
    <baseMaterial>
        <material name="Fresa_mat" baseNode="CorpoMain">
            <shaderParameter name="colorMat0" value="0.745 0.584 0.003 0"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="500" useDefaultColors="false">
		<baseMaterialConfiguration name="GIALLO" color="0.745 0.584 0.003 0" />
        <baseMaterialConfiguration name="KOMMUNAL" color="0.973 0.153 0.000 0"/>
        <baseMaterialConfiguration name="VERDE"    color="0.001 0.144 0.063 0"/>
        <baseMaterialConfiguration name="BIANCO" color="WILSONTRAILER_WHITE1"/>
		<baseMaterialConfiguration name="GRIGIO" color="0.06 0.06 0.06 0"/>
        <material name="Fresa_mat" shaderParameter="colorMat0"/>
	</baseMaterialConfigurations>
	
	<connectionHoses>
		<localHose>
            <hose type="hydraulicIn"  node="inFix5"  length="0.005" diameter="0.02" minCenterPointAngle="0.1"  straighteningFactor="0.1" isWorldSpaceHose="false"/>
            <target  type="hydraulicIn" node="inFix5_1" straighteningFactor="0.1"/>
        </localHose>
		<localHose>
            <hose type="hydraulicOut"  node="outFix5"  length="0.005" diameter="0.02" minCenterPointAngle="0.1"  straighteningFactor="0.1" isWorldSpaceHose="false"/>
            <target  type="hydraulicOut" node="outFix5_1" straighteningFactor="0.1"/>
        </localHose>
		<localHose>
			<hose inputAttacherJointIndices="1" type="CABLE_BOUNDLE"  node="inMainAct" length="0.55" diameter="0.05"  />
			<target inputAttacherJointIndices="1" type="CABLE_BOUNDLE" node="outMainAct" />
		</localHose>
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"   length="0.05" diameter="0.02" >
		<objectChange node="inMainAct" visibilityActive="true" visibilityInactive="false"/>
		<objectChange node="inMain2"   visibilityActive="false" visibilityInactive="true"/>
		<objectChange node="inFix5"   visibilityActive="false" visibilityInactive="true"/>
		<objectChange node="inFix5_1"   visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut"  node="hydraulicOut01"   length="0.05" diameter="0.02" >
		<objectChange node="outMainAct" visibilityActive="true" visibilityInactive="false"/>
		<objectChange node="outMain2"  visibilityActive="false" visibilityInactive="true"/>
		<objectChange node="outFix5"  visibilityActive="false" visibilityInactive="true"/>
		<objectChange node="outFix5_1"  visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<localHose>
			<hose type="CABLE_BOUNDLE" node="inMain" length="1.5" diameter="0.05" straighteningFactor="0.7" isWorldSpaceHose="false" isTwoPointHose="true"/>
			<target type="CABLE_BOUNDLE" node="outMain" />
		</localHose>
		<localHose>
			<hose type="CABLE_BOUNDLE" node="inMain3" length="1.0" diameter="0.03" straighteningFactor="0.7" isWorldSpaceHose="false" isTwoPointHose="true"/>
			<target type="CABLE_BOUNDLE" node="outMain3" />
		</localHose>
		<localHose>
			<hose type="CABLE_BOUNDLE" node="inMain2" length="1.5" diameter="0.05" straighteningFactor="0.7" isWorldSpaceHose="false" isTwoPointHose="true"/>
			<target type="CABLE_BOUNDLE" node="outMain2" />
		</localHose>
		<localHose>
			<hose type="hydraulicIn" node="inFix1" length="0.05" diameter="0.01" isWorldSpaceHose="false" isTwoPointHose="true"/>
			<target type="none" node="outFix1" />
		</localHose>
		<localHose>
			<hose type="hydraulicIn" node="inFix2" length="0.05" diameter="0.01" isWorldSpaceHose="false" isTwoPointHose="true"/>
			<target type="none" node="outFix2" />
		</localHose>
    </connectionHoses>
	
  <i3dMappings>
  <i3dMapping id="EnergreenTools_component1" node="0>" />
  <i3dMapping id="AttacherJoint" node="0>0" />
  <i3dMapping id="CorpoMain" node="0>1" />
  <i3dMapping id="Ala" node="0>1|0|0" />
  <i3dMapping id="DentiCorpoRotante" node="0>1|0|1" />
  <i3dMapping id="Pistone1" node="0>1|0|2" />
  <i3dMapping id="Stelo1" node="0>1|0|2|0" />
  <i3dMapping id="groundRefNode" node="0>1|2" />
  <i3dMapping id="emitterShapeWood" node="0>1|3|0" />
  <i3dMapping id="emitterShapeDust" node="0>1|3|1" />
  <i3dMapping id="cutNode" node="0>1|4|0" />
  <i3dMapping id="mover" node="0>1|5|0" />
  <i3dMapping id="IdraulicReff" node="0>1|0|0|0" />
  <i3dMapping id="DecalsAlaS" node="0>1|0|0|1|0" />
  <i3dMapping id="DecalsAlaV" node="0>1|0|0|1|1" />
  <i3dMapping id="DecalsAlaG" node="0>1|0|0|1|2" />
  <i3dMapping id="DecalsAlaA" node="0>1|0|0|1|3" />
  <i3dMapping id="DecalsAlaN" node="0>1|0|0|1|4" />
  <i3dMapping id="DecalsTools1" node="0>1|0|0|1|5" />
  <i3dMapping id="DecalsTools2" node="0>1|0|0|1|6" />
  <i3dMapping id="startIndex" node="0>1|1|0" />
  <i3dMapping id="widthIndex" node="0>1|1|1" />
  <i3dMapping id="heightIndex" node="0>1|1|2" />
  <i3dMapping id="startIndex" node="0>1|1|0" />
  <i3dMapping id="widthIndex" node="0>1|1|1" />
  <i3dMapping id="heightIndex" node="0>1|1|2" />
  <i3dMapping id="testAreaStart" node="0>1|6|0" />
  <i3dMapping id="testAreaWidth" node="0>1|6|0|0" />
  <i3dMapping id="testAreaHeight" node="0>1|6|0|1" />
  <i3dMapping id="center" node="0>1|7|0" />
  <i3dMapping id="inFix1" node="0>1|0|2|1|0" />
  <i3dMapping id="outFix1" node="0>1|8|5|0" />
  <i3dMapping id="inFix2" node="0>1|0|2|1|1" />
  <i3dMapping id="outFix2" node="0>1|8|5|1" />
  <i3dMapping id="inMain3" node="0>1|8|4" />
  <i3dMapping id="outMain3" node="0>1|8|5" />
  <i3dMapping id="inMain" node="0>1|8|0" />
  <i3dMapping id="outMain" node="0>1|8|1" />
  <i3dMapping id="inMain2" node="0>1|8|2|0" />
  <i3dMapping id="outMain2" node="0>1|8|2|1" />
  <i3dMapping id="inFix5" node="0>1|8|2|2" />
  <i3dMapping id="inFix5_1" node="0>1|8|2|2|0" />
  <i3dMapping id="outFix5" node="0>1|8|2|3" />
  <i3dMapping id="outFix5_1" node="0>1|8|2|3|0" />
  <i3dMapping id="HosesRip" node="0>1|8|2" />
  <i3dMapping id="HosesAct" node="0>1|8|3" />
  <i3dMapping id="inMainAct" node="0>1|8|3|0" />
  <i3dMapping id="outMainAct" node="0>1|8|3|1" />
  <i3dMapping id="hydraulicIn01" node="0>1|8|3|1|0" />
  <i3dMapping id="hydraulicOut01" node="0>1|8|3|1|1" />
  <i3dMapping id="smokeEmitterShape" node="0>1|5|1" />
</i3dMappings>
</vehicle>
