<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="FSMdozerRipper" 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 Ripper</en>
		</name>
        <specs>
            <neededPower>20</neededPower>
            <workingWidth>0.4</workingWidth>
            <combination>D155AXi</combination>
        </specs>
        <functions>
            <function>$l10n_function_plow</function>
        </functions>
        <storePacks>
            <storePack>FSM_CREATIONS_DOZERS</storePack>
        </storePacks>
        <image>store_ripper.dds</image>
        <price>85000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KOMATSU</brand>
         <category>miscDrivables</category> 
        
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_plow</typeDesc>
        <filename>155Ripper.i3d</filename>
        <size width="3.2" length="1.2"  height="1" lengthOffset="0"/>
        <speedLimit value="8"/>
        <components>
            <component centerOfMass="0 0 -1.34" solverIterationCount="20" mass="2862"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="ripperAttacher1" jointType="FSMdozerRipper" topReferenceNode="topReferenceNode" allowsLowering="false" lowerRotLimitScale="0 0 0" upperRotationOffset="0" lowerRotationOffset="0">
                <distanceToGround lower="0" upper="1.3"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
	
	<ai supportsAIJobs="false">
<agentAttachment/>
</ai>

     <connectionHoses>
	 
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="ripperLowerTubehose3" length="1.7" diameter="0.035" straighteningFactor="2" isTwoPointHose="true"  />
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="ripperLowerTubehose4" length="1.7" diameter="0.035" straighteningFactor="2" isTwoPointHose="true"  />
       
	 
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="ripperUpperTubeHose1" length="1.7" diameter="0.035" straighteningFactor="2" isTwoPointHose="true"  />
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="ripperUpperTubeHose2" length="1.7" diameter="0.035" straighteningFactor="2" isTwoPointHose="true"  />
       
	 </connectionHoses>  
	
    <powerConsumer neededMinPtoPower="2450" neededMaxPtoPower="2480" forceNode="0>" maxForce="1000"/>
	
	 <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="1" threshold="0.1" depthNode="depthNode" chargeValue="1"/>
    </groundReferenceNodes>
    <workAreas>
        <workArea type="plow" functionName="processPlowArea" needsSetIsTurnedOn="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="chunksEmitter" refNodeIndex="1" particleType="SOIL_CHUNKS"/>
            <node node="smokeEmitter" refNodeIndex="1" particleType="SOIL_BIG_CHUNKS" worldSpace="false"/>
        </particle>
    </workParticles>
    <cultivator isSubsoiler="true">
        <sounds>
            <work template="DEFAULT_PLOW_WORK" linkNode="0>"/>
        </sounds>
        <directionNode node="0>"/>
        <onlyActiveWhenLowered value="true"/>
    </cultivator>
	
	 <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <!-- <collisionTrigger node="aiCollisionTrigger"/> -->
        <needsLowering value="true"/>
    </ai>
	
	 <foldable>
	  <foldingConfigurations>
	  <foldingConfiguration>
        <foldingParts startMoveDirection="1" foldMiddleAnimTime="1" turnOnFoldMinLimit="0.0" turnOnFoldMaxLimit="1.0">
            <foldingPart animationName="folding" speedScale="1"/>
        </foldingParts>
	  </foldingConfiguration>
	  </foldingConfigurations>
    </foldable>
      
	 <animations>
            <animation name="folding">
                <part node="ripperArmRot" startTime="0" endTime="2.5" startRot="-10 0 0" endRot="30 0 0"/>
                <part node="c1" startTime="0" endTime="2.5" endTrans="0 -0.848 0" startTrans="0 0.1 0"/>
			 </animation>
		<!--  <animation name="moveSupport">
            <part node="support" startTime="0" duration="0.1" endTrans="0 0 0" startTrans="0 0 0" />
        </animation> -->
	 </animations>
	 
	<cylindered> 
	 <movingTools>
            <movingTool node="ripperArmRot" playSound="true" isConsumingPower="true">
                <dependentPart node="ripperRearPartRot"/>
            </movingTool>
        </movingTools> 
        <movingParts>
		
               <movingPart node="ripperTubeR" referencePoint="ripperTubeRRef" referenceFrame="ripperTubeRRef" isActiveDirty="true" maxUpdateDistance="50">
                <translatingPart node="ripperTubeR1" />
            </movingPart>
            <movingPart node="ripperTubeL" referencePoint="ripperTubeLRef" referenceFrame="ripperTubeLRef" isActiveDirty="true" maxUpdateDistance="50">
                <translatingPart node="ripperTubeL1" />
            </movingPart>
			
			
            <movingPart node="ripperRearPartRot" referenceFrame="0>"/>
           
          </movingParts>
      
    </cylindered>
	
	<foliageBending>
        <bendingNode minX="-1.6" maxX="1.6" minZ="-0.3" maxZ="0.3" yOffset="0.6"/>
    </foliageBending>
	
   <!-- <tensionBeltObject>
        <meshNodes>
            <meshNode node="0>" />
        </meshNodes>
    </tensionBeltObject>  -->
    

    <wearable wearDuration="480" workMultiplier="1" fieldMultiplier="1"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
	
	   <designColorConfigurations useDefaultColors="true" defaultColorMaterialTemplateName="calibratedGlossPaint" title="Ripper 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="ripperMat"/>
    </designColorConfigurations>
	
	<machine type="ripper">
        <input modes="FLATTEN SMOOTH LOWER PAINT" />

        <workArea referenceNode="groundReferenceNode" offset="0 0 0" width="0.4" />

        <effects effectTurnOffThreshold="0.3" >
            <effectNode effectNode="smokeEmitter" effectClass="ParticleEffect" particleType="smoke" emitCountScale="2" delay="0" spriteScale="1.0" ignoreDistanceLifeSpan="true" lifespan="3.0" worldSpace="true" />
        </effects>
		
		   <workSound linkNode="groundReferenceNode" file="$data/sounds/vehicles/surfaces/surDirtLoop_01.wav" loops="0" fadeIn="0.2" fadeOut="0.9" pitchScale="0.6" volumeScale="5.2" />
   
    </machine>
	
<i3dMappings>
  <i3dMapping id="mainCompRipper" node="0>" />
  <i3dMapping id="ripperVis" node="0>0" />
  <i3dMapping id="ripperArmRot" node="0>0|0" />
  <i3dMapping id="ripperLowerArm" node="0>0|0|0" />
  <i3dMapping id="ripperRearPartRot" node="0>0|0|1" />
  <i3dMapping id="c1" node="0>0|0|1|0" />
  <i3dMapping id="c2" node="0>0|0|1|1" />
  <i3dMapping id="ripperRear" node="0>0|0|1|2" />
  <i3dMapping id="ripperTubeLRef" node="0>0|0|1|3" />
  <i3dMapping id="ripperTubeRRef" node="0>0|0|1|4" />
  <i3dMapping id="triRipper" node="0>0|0|1|5" />
  <i3dMapping id="PlowNodes" node="0>0|0|1|6" />
  <i3dMapping id="ai" node="0>0|0|1|6|0" />
  <i3dMapping id="aiMarkers" node="0>0|0|1|6|0|0" />
  <i3dMapping id="aiMarkerLeft" node="0>0|0|1|6|0|0|0" />
  <i3dMapping id="aiMarkerRight" node="0>0|0|1|6|0|0|1" />
  <i3dMapping id="aiMarkerBack" node="0>0|0|1|6|0|0|2" />
  <i3dMapping id="aiCollisionTrigger" node="0>0|0|1|6|0|1" />
  <i3dMapping id="effects" node="0>0|0|1|6|0|2" />
  <i3dMapping id="soilEmitter" node="0>0|0|1|6|0|2|0" />
  <i3dMapping id="chunksEmitter" node="0>0|0|1|6|0|2|1" />
  <i3dMapping id="smokeEmitter" node="0>0|0|1|6|0|2|2" />
  <i3dMapping id="cultivatorAnimation1" node="0>0|0|1|6|0|2|3" />
  <i3dMapping id="workArea" node="0>0|0|1|6|0|3" />
  <i3dMapping id="workAreaStart" node="0>0|0|1|6|0|3|0" />
  <i3dMapping id="workAreaWidth" node="0>0|0|1|6|0|3|1" />
  <i3dMapping id="workAreaHeight" node="0>0|0|1|6|0|3|2" />
  <i3dMapping id="groundReferenceNode" node="0>0|0|1|6|0|3|3" />
  <i3dMapping id="cylinder_0" node="0>0|0|1|6|0|3|3|0" />
  <i3dMapping id="depthNode" node="0>0|0|1|6|0|3|4" />
  <i3dMapping id="cylinder_1" node="0>0|0|1|6|0|3|4|0" />
  <i3dMapping id="ripperAttacher1" node="0>0|1" />
  <i3dMapping id="ripperTubeL" node="0>0|2" />
  <i3dMapping id="ripperTubeL1" node="0>0|2|0" />
  <i3dMapping id="ripperUpperTubeHose1" node="0>0|2|1" />
  <i3dMapping id="ripperUpperTubeHose2" node="0>0|2|2" />
  <i3dMapping id="ripperTubeR" node="0>0|3" />
  <i3dMapping id="ripperLowerTubehose3" node="0>0|3|0" />
  <i3dMapping id="ripperLowerTubehose4" node="0>0|3|1" />
  <i3dMapping id="ripperTubeR1" node="0>0|3|2" />
  <i3dMapping id="topReferenceNode" node="0>0|4" />
</i3dMappings>
</vehicle>
