<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="fsmDozerRake" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation> Made By FS Miner For FS25</annotation>
 
    <storeData>
       <name>
       <en>D155Axi Rake</en>
     </name>
	    <functions>
            <function>$l10n_function_Rake</function>
        </functions>
        <storePacks>
            <storePack>FSM_CREATIONS_DOZERS</storePack>
        </storePacks>
	    <image>store_rake.dds</image>
        <price>5500</price>
        <rotation>0</rotation>
        <brand>FSMCR</brand>
        <category>miscDrivables</category>
     </storeData>
   
   <base>
        <typeDesc>$l10n_typeDesc_dozerTool</typeDesc>
        <filename>155Rake.i3d</filename>
        <size width="3" length="1.5" height="1" lengthOffset="1"/>
        <components>
            <component centerOfMass="0 0.923 0.3" solverIterationCount="10" mass="2000"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TOOL" />
        <supportsPickUp>true</supportsPickUp>
    </base>
	
	 <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="rakeAttach" jointType="skidSteer" attachAngleLimitAxis="2">
            <objectChange node="rakeHidePart" visibilityActive="true" visibilityInactive="false"  />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <!-- <support animationName="moveSupport"/> -->
    </attachable>
	
	<!--  <animations>
		  <animation name="moveSupport">
            <part node="support" startTime="0" duration="0.1" endTrans="0 0 0" startTrans="0 0 0" />
        </animation> 
	 </animations> -->
	
	    <ai>
        <agentAttachment width="2.56" height="0.8" length="1.5" lengthOffset="0.12"/>
    </ai>
	
	 <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="4" threshold="0.05" onlyActiveWhenLowered="false" depthNode="depthNode"  />
        <groundReferenceNode node="groundReferenceNodeCutter" forceFactor="2" threshold="0.05"   />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="plow" functionName="processPlowArea" needsSetIsTurnedOn="true" disableBackwards="false" requiresOwnedFarmland="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
            <groundReferenceNode index="1"/>
        </workArea>
		<workArea type="stumpCutter" functionName="processStumpCutterArea" disableBackwards="false">
               <area startNode="workAreaStartCutter" widthNode="workAreaWidthCutter" heightNode="workAreaHeightCutter" />
               <groundReferenceNode index="2" />
               <onlyActiveWhenLowered value="false"/>
           </workArea>
    </workAreas>
	
 <powerConsumer forceNode="0>" maxForce="90" />
 
     <workAreas>
	        <workArea type="stumpCutter" functionName="processStumpCutterArea" disableBackwards="false">
               <area startNode="workAreaStartCutter" widthNode="workAreaWidthCutter" heightNode="workAreaHeightCutter" />
               <groundReferenceNode index="2" />
               <onlyActiveWhenLowered value="false"/>
           </workArea>
        <workArea type="plow" functionName="processPlowArea" needsSetIsTurnedOn="true" disableBackwards="false" requiresOwnedFarmland="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
            <groundReferenceNode index="1"/>
        </workArea>
    </workAreas>
	
	<workParticles>
       <particleAnimation>
            <node node="cultivatorAnimation1" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
        </particleAnimation>
        <particle>
            <node node="soilEmitter" refNodeIndex="1" particleType="SOIL"/>
            <node node="smokeEmitter" refNodeIndex="1" particleType="SOIL_BIG_CHUNKS" worldSpace="false"/>
        </particle>
    </workParticles>
	 
	<plow>
        <onlyActiveWhenLowered value="false"/>
        <sounds>
            <work template="defaultPlowWork" linkNode="0>"/>
        </sounds>
    </plow>
	
	 <stumpCutter>
        <cutNode node="cutNode2"      cutSizeY="1" cutSizeZ="8.6" maxCutTime="0.001" maxResetCutTime="0.001" workAreaIndex="1"/>
		<!-- <cutNode node="cutNodeFront"      cutSizeY="1" cutSizeZ="1.5" maxCutTime="0.1" maxResetCutTime="1.001"/>
		<cutNode node="cutNodeBack"      cutSizeY="1.5" cutSizeZ="1" maxCutTime="0.1" maxResetCutTime="1.001"/>
		<cutNode node="cutNode3"      cutSizeY="2.5" cutSizeZ="1" maxCutTime="0.1" maxResetCutTime="0.001"/> -->

        <effects>
        </effects>
    </stumpCutter>
	
	<cylindered>
        <movingTools>
			 <movingTool node="rakeSpike"  isConsumingPower="true">
                <controls axis="AXIS_CRANE_ARM3" invertAxis="true" mouseSpeedFactor="0.6" />
                <rotation rotSpeed="85" rotAcceleration="30" rotationAxis="1" rotMax="0" rotMin="-98" startRot="0" />
            </movingTool>
        </movingTools>
      
    </cylindered> 

    <treeSaw>
	
        <cutNode node="cutnode" sizeY="1.3" sizeZ="1.3" timer="0.0001" />

    </treeSaw>
	
	<foliageBending>
        <bendingNode minX="-2.25" maxX="2.25" minZ="-1.5" maxZ="1.5" yOffset="0.2" />
    </foliageBending>
      
        <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
        <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>
		
		<designColorConfigurations useDefaultColors="true" defaultColorMaterialTemplateName="calibratedGlossPaint" title="Rake Color">
	
        <designColorConfiguration name="Komatsu Orange New"      color="1 0.546 0"             />
        <designColorConfiguration name="Komatsu Dark Grey"       color="0.03 0.03 0.032"       />
        <designColorConfiguration name="Komatsu Orange"          color="0.6 0.5 0"             />
        <designColorConfiguration name="Komatsu Old Orange"      color="0.739 0.292 0.036"     />
        <designColorConfiguration name="Komatsu Old Grey"        color="0.114 0.118 0.130"     />
        <designColorConfiguration name="Komatsu White"           color="0.7 0.7 0.75"          />
        <designColorConfiguration name="Komatsu Dark Blue"       color="0.002 0.019 0.038"     />
        <designColorConfiguration name="Komatsu New Blue"        color="0.06 0.06 0.16"        />
        <designColorConfiguration name="Komatsu Navy Blue"       color="0.09 0.13 0.26"        />
        <designColorConfiguration name="Komatsu Blue"            color="0 0.000212 0.06072"    />

        <material materialSlotName="rakeMat"/>
    </designColorConfigurations>
	
	<foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1"  turnOnFoldDirection="-1">
                    <foldingPart animationName="folding" speedScale="1.0" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <animation name="folding" soundVolumeFactor="2.8">
		
            <part node="rakeSpike"    startTime="0" endTime="1" startRot="0 0 0" endRot="-14.957 0 0" />
            <part node="rakeSideR"     startTime="0" endTime="4" endRot="0 182.5 0"   startRot="0 0 0" />
            <part node="rakeSideL"     startTime="0" endTime="4" endRot="0 -182.5 0"  startRot="0 0 0" />
            <part node="rakeSpike"    startTime="4" endTime="5" startRot="-14.957 0 0" endRot="0 0 0" />
           
          
            <sound template="foldStartMed02"     startTime="1.99"  direction="-1" volumeScale="1.8"  pitchScale="0.9" />
            <sound template="sheetImp02"         startTime="0.01"  direction="-1" volumeScale="1.0"  pitchScale="1.1" linkNode="155RakeRrot"/>
            <sound template="clackVar2"          startTime="0.99"  direction="-1" volumeScale="0.85" pitchScale="0.7" linkNode="155RakeRrot"/>
            <sound template="foldStartMed02"     startTime="0.01"  direction="-1" volumeScale="1.8"  pitchScale="0.6" linkNode="155RakeRrot"/>
            <sound template="foldStartMed02"     startTime="0.01"  direction="1"  volumeScale="1.8"  pitchScale="0.9" linkNode="155RakeRrot"/>
        </animation>
		
    </animations>
	
	
	  <tensionBeltObject>
        <meshNodes>
            <meshNode node="rake1" />
            <meshNode node="rakeSpike" />
        </meshNodes>
    </tensionBeltObject> 
	
	<i3dMappings>
  <i3dMapping id="rakeMainComp" node="0>" />
  <i3dMapping id="rakeMainVis" node="0>0" />
  <i3dMapping id="rake1" node="0>0|0" />
  <i3dMapping id="155RakeLrot" node="0>0|0|0" />
  <i3dMapping id="rakeSideL" node="0>0|0|0|0" />
  <i3dMapping id="col.011" node="0>0|0|0|0|0" />
  <i3dMapping id="155RakeRrot" node="0>0|0|1" />
  <i3dMapping id="rakeSideR" node="0>0|0|1|0" />
  <i3dMapping id="col.010" node="0>0|0|1|0|0" />
  <i3dMapping id="rakeHidePart" node="0>0|0|2" />
  <i3dMapping id="rakeLowCol" node="0>0|0|3" />
  <i3dMapping id="rakeSpike" node="0>0|1" />
  <i3dMapping id="col.008" node="0>0|1|0" />
  <i3dMapping id="workArea_0" node="0>0|1|1" />
  <i3dMapping id="groundReferenceNodeCutter1" node="0>0|1|1|0" />
  <i3dMapping id="cutnode" node="0>0|1|2" />
  <i3dMapping id="Plow" node="0>0|2" />
  <i3dMapping id="workArea_1" node="0>0|2|0" />
  <i3dMapping id="workAreaStart" node="0>0|2|0|0" />
  <i3dMapping id="workAreaWidth" node="0>0|2|0|1" />
  <i3dMapping id="workAreaHeight" node="0>0|2|0|2" />
  <i3dMapping id="groundReferenceNode" node="0>0|2|0|3" />
  <i3dMapping id="depthNode" node="0>0|2|0|4" />
  <i3dMapping id="effects" node="0>0|2|1" />
  <i3dMapping id="soilEmitter" node="0>0|2|1|0" />
  <i3dMapping id="smokeEmitter" node="0>0|2|1|1" />
  <i3dMapping id="cultivatorAnimation1" node="0>0|2|1|2" />
  <i3dMapping id="ai" node="0>0|2|2" />
  <i3dMapping id="aiMarkers" node="0>0|2|2|0" />
  <i3dMapping id="aiMarkerLeft" node="0>0|2|2|0|0" />
  <i3dMapping id="aiMarkerRight" node="0>0|2|2|0|1" />
  <i3dMapping id="aiMarkerBack" node="0>0|2|2|0|2" />
  <i3dMapping id="aiCollisionNode" node="0>0|2|2|1" />
  <i3dMapping id="cutNodes" node="0>0|3" />
  <i3dMapping id="cutNode2" node="0>0|3|0" />
  <i3dMapping id="workArea_2" node="0>0|3|1" />
  <i3dMapping id="workAreaStartCutter" node="0>0|3|1|0" />
  <i3dMapping id="workAreaWidthCutter" node="0>0|3|1|1" />
  <i3dMapping id="workAreaHeightCutter" node="0>0|3|1|2" />
  <i3dMapping id="groundReferenceNodeCutter" node="0>0|3|1|3" />
  <i3dMapping id="attachable" node="0>1" />
  <i3dMapping id="rakeAttach" node="0>1|0" />
</i3dMappings>
</vehicle>
