<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="575ripper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation> Build By FS Miner For FS25</annotation>

    <storeData>
        <name>
        <en>D575 Ripper</en>
		<de>D575 Aufreißer</de>
		</name>
        <specs>
            <neededPower>380</neededPower>
            <workingWidth>0.6</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_plow</function>
        </functions>
        <storePacks>
            <storePack>FSM_CREATIONS_DOZERS</storePack>
        </storePacks>
        <image>store_ripper.dds</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KOMATSU</brand>
        <category>miscDrivables</category>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_plow</typeDesc>
        <filename>575Dripper.i3d</filename>
        <size width="3.2" length="1.2"  height="2" />
        <speedLimit value="8"/>
        <components>
            <component centerOfMass="0 0.3 0" solverIterationCount="20" mass="4762"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="riiperAttach" jointType="telehandler" 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="rt1"  length="1" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="rt2" length="1.5" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="rt3"  length="1" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="rt4" length="1.5" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="rt5"  length="1" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="rt6" length="1.4" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="rt7"  length="1" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="rt8" length="1.4" diameter="0.05" straighteningFactor="2" isWorldSpaceHose="true" />
		
	 </connectionHoses> 
	
    
    <powerConsumer neededMinPtoPower="450" neededMaxPtoPower="480" forceNode="0>" maxForce="10"/>
	 <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="defaultPlowWork" 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="riiperArmRot" startTime="0" endTime="2.5" startRot="0 0 0" endRot="45 0 0"/>
            <part node="ripperrearRot" startTime="0" endTime="2.5" startRot="0 0 0" endRot="-35 0 0"/>
			 </animation>
			  <animation name="moveSupport">
            <part node="support_colFront1" startTime="0" duration="0.1" endTrans="0 -1.606 0.182" startTrans="0 0 0.182" />
			
			<sound template="hydraulicClose01"     startTime="0.1"   endTime="2.5"   volumeScale="2.3" pitchScale="0.7" fadeIn="0.1" fadeOut="0.1" />
            <sound template="hydraulicClose01"     startTime="0.6"   endTime="2.5"   volumeScale="2.3" pitchScale="0.9"   fadeIn="0.1" fadeOut="0.1" />
            <sound template="hydraulicOpen05"      startTime="0.7"   endTime="2.5"   volumeScale="1.5" pitchScale="1.4" fadeIn="0.1" fadeOut="0.1" />
            <sound template="hydraulicOpen05"      startTime="2.3"   endTime="0"   volumeScale="1.5" pitchScale="1.6" fadeIn="0.1" fadeOut="0.1" />
            <sound template="hydraulicClose01"     startTime="2.4"    endTime="0" volumeScale="2.4" pitchScale="0.7" fadeIn="0.1" fadeOut="0.1" />
            <sound template="clackVar2"             startTime="0.1"   direction="1"   volumeScale="1.5" pitchScale="0.7" />
            <sound template="clackVar4"             startTime="0.01"  direction="1"   volumeScale="1.5" pitchScale="1.3" />
            <sound template="clackVar5"             startTime="0.5"   direction="1"   volumeScale="0.7" pitchScale="1.5" />
            <sound template="clackVar1"             startTime="2.5"   direction="1"   volumeScale="1.5" pitchScale="1" />
            <sound template="clackVar5"             startTime="2.5"   direction="1"   volumeScale="1.5" pitchScale="1" />
			
			
        </animation> 
    </animations>
	
	<cylindered> 
	 <movingTools>
            <movingTool node="riiperArmRot" playSound="true" isConsumingPower="true">
            </movingTool>
        </movingTools> 
        <movingParts>
		           <movingPart node="ripperTubeH" referencePoint="ripperTubeHRef" referenceFrame="ripperTubeHRef" isActiveDirty="true" maxUpdateDistance="50"  >
                        <translatingPart node="ripperTubeH1" />
                </movingPart>
                  <movingPart node="ripperTubeL" referencePoint="ripperTubeLRef" referenceFrame="ripperTubeLRef" isActiveDirty="true" maxUpdateDistance="50"  >
                        <translatingPart node="ripperTubeL1" />
                </movingPart>
       </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="0.1" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
	
	 <designColor2Configurations useDefaultColors="true" defaultColorMaterialTemplateName="calibratedGlossPaint" title="Ripper Color">
	
	
        <designColor2Configuration name="Komatsu Orange New"      color="1 0.546 0"             />
        <designColor2Configuration name="Komatsu Orange"          color="0.6 0.5 0"             />
        <designColor2Configuration name="Komatsu Dark Grey"       color="0.03 0.03 0.032"       />
        <designColor2Configuration name="Komatsu Old Orange"      color="0.739 0.292 0.036"     />
        <designColor2Configuration name="Komatsu Old Grey"        color="0.114 0.118 0.130"     />
        <designColor2Configuration name="Komatsu White"           color="0.7 0.7 0.75"          />
        <designColor2Configuration name="Komatsu Dark Blue"       color="0.002 0.019 0.038"     />
        <designColor2Configuration name="Komatsu New Blue"        color="0.06 0.06 0.16"        />
        <designColor2Configuration name="Komatsu Navy Blue"       color="0.09 0.13 0.26"        />
        <designColor2Configuration name="Komatsu Blue"            color="0 0.000212 0.06072"    />
	
        <material materialSlotName="ripper_mat"/>
    </designColor2Configurations>
	
	<machine type="ripper">
        <input modes="FLATTEN SMOOTH LOWER PAINT" />

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

        <effects effectTurnOffThreshold="0.3" >
            <effectNode effectNode="terraParticleEffect" effectClass="ParticleEffect" particleType="smoke" emitCountScale="2" delay="0" spriteScale="1.0" ignoreDistanceLifeSpan="true" lifespan="3.0" worldSpace="true" />
        </effects>
		
		   <workSound linkNode="terraNode" 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="riiperVis" node="0>0" />
  <i3dMapping id="riiperArmRot" node="0>0|0" />
  <i3dMapping id="ripperLowArm" node="0>0|0|0" />
  <i3dMapping id="ripperrearRot" node="0>0|0|1" />
  <i3dMapping id="support_colFront1" node="0>0|0|1|0" />
  <i3dMapping id="col.002" node="0>0|0|1|1" />
  <i3dMapping id="ripperRear" node="0>0|0|1|2" />
  <i3dMapping id="ripperTubeHRef" node="0>0|0|1|3" />
  <i3dMapping id="ripperTubeLRef" node="0>0|0|1|4" />
  <i3dMapping id="PlowNodes" node="0>0|0|1|5" />
  <i3dMapping id="ai" node="0>0|0|1|5|0" />
  <i3dMapping id="aiMarkers" node="0>0|0|1|5|0|0" />
  <i3dMapping id="aiMarkerLeft" node="0>0|0|1|5|0|0|0" />
  <i3dMapping id="aiMarkerRight" node="0>0|0|1|5|0|0|1" />
  <i3dMapping id="aiMarkerBack" node="0>0|0|1|5|0|0|2" />
  <i3dMapping id="aiCollisionTrigger" node="0>0|0|1|5|0|1" />
  <i3dMapping id="effects" node="0>0|0|1|5|0|2" />
  <i3dMapping id="soilEmitter" node="0>0|0|1|5|0|2|0" />
  <i3dMapping id="chunksEmitter" node="0>0|0|1|5|0|2|1" />
  <i3dMapping id="smokeEmitter" node="0>0|0|1|5|0|2|2" />
  <i3dMapping id="cultivatorAnimation1" node="0>0|0|1|5|0|2|3" />
  <i3dMapping id="workArea" node="0>0|0|1|5|0|3" />
  <i3dMapping id="workAreaStart" node="0>0|0|1|5|0|3|0" />
  <i3dMapping id="workAreaWidth" node="0>0|0|1|5|0|3|1" />
  <i3dMapping id="workAreaHeight" node="0>0|0|1|5|0|3|2" />
  <i3dMapping id="groundReferenceNode" node="0>0|0|1|5|0|3|3" />
  <i3dMapping id="depthNode" node="0>0|0|1|5|0|3|4" />
  <i3dMapping id="111" node="0>0|0|1|5|1" />
  <i3dMapping id="terraNode" node="0>0|0|1|6" />
  <i3dMapping id="terraParticleEffect" node="0>0|0|1|6|0" />
  <i3dMapping id="riiperAttach" node="0>0|1" />
  <i3dMapping id="ripperTubeH" node="0>0|2" />
  <i3dMapping id="ripperTubeH1" node="0>0|2|0" />
  <i3dMapping id="rt1" node="0>0|2|1" />
  <i3dMapping id="rt2" node="0>0|2|2" />
  <i3dMapping id="rt3" node="0>0|2|3" />
  <i3dMapping id="rt4" node="0>0|2|4" />
  <i3dMapping id="ripperTubeL" node="0>0|3" />
  <i3dMapping id="ripperTubeL1" node="0>0|3|0" />
  <i3dMapping id="rt5" node="0>0|3|1" />
  <i3dMapping id="rt6" node="0>0|3|2" />
  <i3dMapping id="rt7" node="0>0|3|3" />
  <i3dMapping id="rt8" node="0>0|3|4" />
  <i3dMapping id="topReferenceNode" node="0>0|4" />
</i3dMappings>
</vehicle>
