<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="liveDelimberType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Tigercat 573 Processor</name>
        <specs>
            <power>275</power>
            <maxSpeed>8</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
        </functions>
        <image>store.png</image>
        <price>45000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>FDRLogging</brand>
        <category>forestryExcavatorTools</category>
        <shopTranslationOffset>0 -0.5 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>3328000</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>532224</indexBufferMemoryUsage>
        <textureMemoryUsage>4915200</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>369732</audioMemoryUsage>
    </storeData>

    <base>
	
        <typeDesc>$l10n_typeDesc_mulcher</typeDesc>
        <filename>FDRMachine.i3d</filename>
        <size width="4" length="6" height="10.5" lengthOffset="0.3"/>
		<schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />	
        <mapHotspot type="TOOL" />
			
        <components>
          	
			<component centerOfMass="0 0 0" solverIterationCount="30" mass="1500" />
			<component centerOfMass="0 0 0" solverIterationCount="30" mass="3000" />				
			<component centerOfMass="0 0 -0.02" solverIterationCount="30" mass="1500" />		
			<component centerOfMass="0 0 0" solverIterationCount="30" mass="300" />
			<component centerOfMass="0 0 0" solverIterationCount="30" mass="300" />	
			<component centerOfMass="0 0 0" solverIterationCount="30" mass="800" />
			<component centerOfMass="0 0 0" solverIterationCount="30" mass="800" />		
						
			<joint component1="1" component2="2" node="0>0|0" nodeActor1="0>0"  rotLimit="180 0 180" rotLimitDamping="100000000000000000000000 300 100000000000000000000000"  rotLimitSpring="90000000000000000000000000000000000 1000 90000000000000000000000000000000000"  transLimitSpring="10000000 10000000 10000000"   enableCollision="true" />
			<joint component1="2" component2="3" node="1>1" nodeActor1="2>20" rotLimit="0 0 0"     rotLimitDamping="100000000000000000000000 0 0" maxRotDriveForce="100000000000000000000000 0 0" transLimit="0 0 0"  rotLimitSpring="200000000000000000000000 90000000000000000000000000000000000 90000000000000000000000000000000000"  transLimitSpring="10000000 10000000 10000000"   enableCollision="true" />
			                                                                      
			<joint component1="3" component2="4" node="2>1|0|0|0" nodeActor1="3>"  transLimitDamping="50 50 50"  transLimitSpring="500 500 500"   enableCollision="true" />			
			<joint component1="3" component2="5" node="2>2|0|0|0" nodeActor1="4>"  transLimitDamping="50 50 50"  transLimitSpring="500 500 500"   enableCollision="true" />
			
			<joint component1="3" component2="6" node="2>4" nodeActor1="5>" rotLimit="0 3 0"  rotLimitDamping="300000 20 300000"   rotLimitSpring="90000000000000000000000000000000000 200 90000000000000000000000000000000000"  transLimitSpring="10000000 10000000 10000000"   enableCollision="true" />
			<joint component1="3" component2="7" node="2>5" nodeActor1="6>" rotLimit="0 3 0"  rotLimitDamping="300000 20 300000"   rotLimitSpring="90000000000000000000000000000000000 200 90000000000000000000000000000000000"  transLimitSpring="10000000 10000000 10000000"   enableCollision="true" />

		
		<collisionPair component1="1" component2="2" enabled="false"/>
		<collisionPair component1="2" component2="3" enabled="false"/>	
		<collisionPair component1="4" component2="3" enabled="false"/>	
		<collisionPair component1="5" component2="3" enabled="false"/>	
		<collisionPair component1="6" component2="3" enabled="false"/>		
		<collisionPair component1="7" component2="3" enabled="false"/>	
		<collisionPair component1="4" component2="5" enabled="false"/>
		<collisionPair component1="6" component2="7" enabled="false"/>
		<collisionPair component1="4" component2="6" enabled="false"/>
		<collisionPair component1="5" component2="7" enabled="false"/>
		<collisionPair component1="5" component2="6" enabled="false"/>
		<collisionPair component1="4" component2="7" enabled="false"/>
        </components>
				
    </base>
	
		<!-- New spec -->
    <liveDelimber>
        <delimbNode node="2>8|2" sizeX="4.5" sizeY="4.5" sizeZ="4.5" />
    </liveDelimber>
	
	
	
	 <woodHarvester>
        <cutNode node="2>8|1" attachNode="2>" attachReferenceNode="2>8|3" sizeY="1.5" sizeZ="1.5" maxRadius="999" releasedComponentJointIndex="2" releasedComponentJoint2Index="2"  releasedComponentJointRotLimitXSpeed="55"   />
        <cutLengths min="4" max="20" step="1" />
        <delimbNode node="2>8|2" sizeX="6.5" sizeY="6.5" sizeZ="6.5" delimbOnCut="false" />
        <cutAnimation name="cutAnimation" speedScale="1.3" cutTime="0.60" />       
        <treeSizeMeasure node="2>8|4" rotMaxRadius="2.3" />

        <cutEffects>
            <effectNode effectClass="ParticleEffect" effectNode="2>6|2|0" particleType="CRUSHER_WOOD" emitCountScale="500"/>
            <effectNode effectClass="ParticleEffect" effectNode="2>6|2|1" particleType="CRUSHER_DUST" emitCountScale="20"/>
        </cutEffects>
        <delimbEffects>
            <effectNode effectClass="ParticleEffect" effectNode="2>8|0|0" particleType="CRUSHER_WOOD" emitCountScale="1"/>
            <effectNode effectClass="ParticleEffect" effectNode="2>8|0|1" particleType="CRUSHER_wOOD" emitCountScale="1"/>
        </delimbEffects>

        <forwardingNodes>
            <animationNode node="2>1|0|0"   rotAxis="3" rotSpeed="300" turnOnFadeTime="0" turnOffFadeTime="0" />
            <animationNode node="2>2|0|0"   rotAxis="3" rotSpeed="-300" turnOnFadeTime="0" turnOffFadeTime="0" />
			<animationNode node="2>13"   rotAxis="1" rotSpeed="-300" turnOnFadeTime="0" turnOffFadeTime="0" />
			<animationNode node="2>19"   rotAxis="1" rotSpeed="-300" turnOnFadeTime="0" turnOffFadeTime="0" />
           
        </forwardingNodes>

        
    </woodHarvester>
	
	<stumpCutter>
      
        
		<cutNode node="2>32|0" cutSizeY="1.5" cutSizeZ="1.5" maxCutTime="0.5" maxResetCutTime="0.000001" cutPartThreshold="-9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999"  />

        <effects>
            <effectNode effectClass="ParticleEffect" effectNode="2>6|2|2" particleType="CRUSHER_WOOD" emitCountScale="1"/>
            <effectNode effectClass="ParticleEffect" effectNode="2>6|2|3" particleType="CRUSHER_DUST" emitCountScale="1"/>
        </effects>

          <sounds>

			
		  <work  file="SOUNDS/Pro_Saw.ogg" linkNode="0>" volumeScale="0.3" pitchScale="1" fadeIn="0" fadeOut="0" >
                <volume indoor="0.5" outdoor="10" />
             
            </work>
        </sounds>
</stumpCutter>
	

	<animations>
        
        <animation name="cutAnimation">
            <part node="2>6" startTime="0" endTime="1.0" startRot="0 0 0" endRot="0 50 0"/>
            <part node="2>6" startTime="1.0" endTime="1.5" startRot="0 50 0" endRot="0 0 0"/>
			
	   <sound template="sheetImp01" file="SOUNDS/Pro_Saw.ogg" startTime="0" endTime="2.5" pitchScale="1" volumeScale="0.3"  fadeIn="0" fadeOut="0.3" linkNode="2>6">
                <volume indoor="0.5" outdoor="10" />
            </sound>
        </animation>

		
	

    </animations>



<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
    
     <attachable>
        <inputAttacherJoints>       
			<inputAttacherJoint node="0>2|0|0" jointType="skidSteer"   />
			<inputAttacherJoint node="0>2|0|1" jointType="skidSteer"   /> 
			<inputAttacherJoint node="0>2|0|2" jointType="skidSteer"   /> 
			<inputAttacherJoint node="0>2|0|3" jointType="skidSteer"   /> 
			<inputAttacherJoint node="0>2|0|4" jointType="skidSteer"   /> 
			<inputAttacherJoint node="0>2|0|5" jointType="skidSteer"   /> 			
        </inputAttacherJoints>
    </attachable>

<turnOnVehicle requiresTurnOn="false">
	</turnOnVehicle>

<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>

<cylindered>


   <movingTools>
	       

	

									
<!-----------------------------------------------ROTATE-------------------------------------------->								
								
			<movingTool node="0>0|0" playSound="true" >
                <controls axis="FDR-HeadRotate-Right" invertAxis="true"  />
                <rotation rotSpeed="45"      rotationAxis="2"   />
			

				<componentJoint index="1" anchorActor="0"/>
				<componentJoint index="2" anchorActor="0"/>
				<componentJoint index="3" anchorActor="0"/>

			
			</movingTool> 

<!-----------------------------------------------Main Claw L-------------------------------------------->	

			<movingTool node="2>4" playSound="true" >
			    <controls axis="FDR-Claw-Open" invertAxis="false"  />
				<rotation rotSpeed="180"  rotationAxis="2" rotMax="80" rotMin="0" startRot="60"/>
				
				<dependentMovingTool node="2>5" speedScale="1" />

				<componentJoint index="5" anchorActor="0"/>
							
			</movingTool>    

<!-----------------------------------------------Main Claw R-------------------------------------------->	

			<movingTool node="2>5" playSound="true" >
				<controls axis="FDR-Claw-Open" invertAxis="true"  />
				<rotation rotSpeed="180" rotationAxis="2" rotMax="180" rotMin="90" startRot="150"/>
				
				<dependentMovingTool node="2>4" speedScale="1" />	

				<componentJoint index="6" anchorActor="0"/>
					    		 		
            </movingTool>  
					
<!-----------------------------------------------Roller L-------------------------------------------->
		
			<movingTool node="2>1|0|0" playSound="true" >
				<controls axis="FDR-Processor-RollerFeed-Forward" invertAxis="false"  />				
				<rotation rotSpeed="-850"   rotationAxis="3" />		 
			 
			    <dependentMovingTool node="2>2|0|0" speedScale="1" /> 
				<dependentMovingTool node="2>13" speedScale="1" /> 
				<dependentMovingTool node="2>19" speedScale="1" /> 
				
				<componentJoint index="1" anchorActor="0"/>
				<componentJoint index="2" anchorActor="0"/>
				<componentJoint index="3" anchorActor="0"/>
			    <componentJoint index="4" anchorActor="0"/>
								
            </movingTool>
			
<!-----------------------------------------------Roller R-------------------------------------------->
			
			<movingTool node="2>2|0|0" playSound="true" >    
				<rotation rotSpeed="850"   rotationAxis="3" />		 
				
				<dependentMovingTool node="2>1|0|0" speedScale="1" />
				
				<componentJoint index="1" anchorActor="0"/>
				<componentJoint index="2" anchorActor="0"/>
				<componentJoint index="3" anchorActor="0"/>
			    <componentJoint index="5" anchorActor="0"/>
						
            </movingTool>

            <movingTool node="2>13" playSound="true" >
				<rotation rotSpeed="600" rotationAxis="1" />
				
				<dependentMovingTool node="2>1|0|0" speedScale="1" />		
								
            </movingTool>

			<movingTool node="2>19" playSound="true" >
				<rotation rotSpeed="-600" rotationAxis="1" />
				
				<dependentMovingTool node="2>1|0|0" speedScale="1" />		
								
            </movingTool>

<!-----------------------------------------------Roller Arm L-------------------------------------------->

			<movingTool node="2>1" playSound="true" >
			    <controls axis="FDR-Processor-RollerArm-Open" invertAxis="false"  />
				<rotation rotSpeed="105"  rotationAxis="2" rotMax="7" rotMin="-58"/>			
			
    			<dependentMovingTool node="2>2" speedScale="-1" />
                <dependentMovingTool node="2>13" speedScale="-1" />	

				<dependentPart node="2>15" />
				
				<componentJoint index="1" anchorActor="0"/>
				<componentJoint index="2" anchorActor="0"/>
				<componentJoint index="3" anchorActor="0"/>
				<componentJoint index="4" anchorActor="0"/>
				<componentJoint index="5" anchorActor="0"/>
				
			</movingTool> 			
			  
<!-----------------------------------------------Roller Arm R-------------------------------------------->

			<movingTool node="2>2" playSound="true" >
				<rotation rotSpeed="105" rotationAxis="2" rotMax="58" rotMin="-7"/>
				
				<dependentMovingTool node="2>1" speedScale="1" />
				
				<dependentPart node="2>16" />
				
				<componentJoint index="1" anchorActor="0"/>
				<componentJoint index="2" anchorActor="0"/>
				<componentJoint index="3" anchorActor="0"/>
				<componentJoint index="4" anchorActor="0"/>
				<componentJoint index="6" anchorActor="0"/>
								
            </movingTool>
			
<!-----------------------------------------------Lift & Lower Body-------------------------------------------->

			<movingTool node="1>1" playSound="true" >
				<controls axis="FDR-Processor-Head-Raise" invertAxis="true"  />
				<rotation rotSpeed="150"   rotationAxis="1" rotMax="-81" rotMin="-184" startRot="-81"/>
           
        		<componentJoint index="1" anchorActor="0"/>
				<componentJoint index="2" anchorActor="0"/>
				<componentJoint index="3" anchorActor="0"/>
				<componentJoint index="4" anchorActor="0"/>
			
            </movingTool>

<!-----------------------------------------------MANUAL SAW-------------------------------------------->

			<movingTool node="2>6" playSound="true" >
				<controls axis="FDR-Processor-Saw-Raise" invertAxis="true"  />
				<rotation rotSpeed="90"   rotationAxis="2" rotMax="53" rotMin="0" />
				
				<dependentMovingTool node="2>32|0" speedScale="1" />
 
			
            </movingTool>
			
			<movingTool node="2>32|0" playSound="true" >
				<controls axis="FDR-Processor-Saw-Raise" invertAxis="true"  />
				<translation transSpeed="-3" transMax="0" transMin="-1"  translationAxis="3" />
				
				<dependentMovingTool node="2>6" speedScale="1" />
 
			
            </movingTool>

		
			
   			

	 	

			
		
		
   </movingTools>


<!-----------------------------------------------HYDRO---------------------------------------------->	
        <movingParts>
          
			
			
			<movingPart node="2>15" referencePoint="2>1|11" referenceFrame="2>1|11" limitedAxis="2" >
                <translatingPart node="2>15|1" />
            </movingPart>
			
			<movingPart node="2>16" referencePoint="2>2|11" referenceFrame="2>2|11" limitedAxis="2" >
                <translatingPart node="2>16|1" />
            </movingPart>
		
        </movingParts>
		
		 <sounds>

			<!-------Main Claws----------->	
            <actionSound template="clackVar6"            pitchScale="0.2" volumeScale="2"     linkNode="2>4"      actionNames="TOOL_MOVE_END_POS_LIMIT"     nodes="2>4"/>	
            <actionSound template="clackVar6"            pitchScale="0.2" volumeScale="2"   linkNode="2>5"      actionNames="TOOL_MOVE_END_NEG_LIMIT"     nodes="2>5"/>				
			<!-------Rollers----------->	
            <actionSound template="latchSmall"            pitchScale="0.21"  volumeScale="1.3"   linkNode="2>2|0|0"      actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG"     nodes="2>2|0|0"/>
			<actionSound template="forestryTreeDelimb"    pitchScale="0.3"   volumeScale="0.75"   linkNode="2>2|0|0"      actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG"     nodes="2>2|0|0"/>     		
			<!-------Roller Arms----------->	
            <actionSound template="sheetImp05"            pitchScale="0.5"  volumeScale="4"   linkNode="2>1"      actionNames="TOOL_MOVE_END_POS_LIMIT"     nodes="2>1"/>	
            <actionSound template="clackVar6"             pitchScale="0.5"  volumeScale="2"     linkNode="2>2"      actionNames="TOOL_MOVE_END_POS_LIMIT"     nodes="2>2"/>			
			<!-------Lift Body----------->	
            <actionSound template="hydraulicOpen05" pitchScale="0.4"  volumeScale="1"     linkNode="1>1" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="1>1" fadeIn="0.1" fadeOut="0.1"/>
		</sounds>
 
 
</cylindered>

   <connectionHoses>
        <localHose>
            <hose type="CABLE_BUNDLE"  node="2>33" length="1.2" diameter="0.05" straighteningFactor="10" isWorldSpaceHose="false" isTwoPointHose="true" adapterType="NONE" materialTemplateName="SHARED_GREY5" />
            <target type="CABLE_BUNDLE" node="1>8" straighteningFactor="1"/>
        </localHose>
		 <localHose>
            <hose type="CABLE_BUNDLE"  node="2>34" length="1.2" diameter="0.05" straighteningFactor="10" isWorldSpaceHose="false" isTwoPointHose="true" adapterType="NONE" materialTemplateName="SHARED_GREY5" />
            <target type="CABLE_BUNDLE" node="1>9" straighteningFactor="1"/>
        </localHose>
		 <localHose>
            <hose type="CABLE_BUNDLE"  node="2>35" length="1.2" diameter="0.05" straighteningFactor="10" isWorldSpaceHose="false" isTwoPointHose="true" adapterType="NONE" materialTemplateName="SHARED_GREY5" />
            <target type="CABLE_BUNDLE" node="1>10" straighteningFactor="1"/>
        </localHose>
    </connectionHoses>

<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>


<washable dirtDuration="99999999999999999999999999999999999999999999999999999999999999999" washDuration="1" workMultiplier="0" fieldMultiplier="0"/>
<wearable wearDuration="99999999999999999999999999999999999999999999999999999999999999999" workMultiplier="5" fieldMultiplier="2"/>

   	 <ai>
        <agentAttachment width="1.3" height="1.0" length="1.4" lengthOffset="0.2"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-1.95" maxZ="2.6" yOffset="0.5" />
    </foliageBending>

</vehicle>
