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


    <storeData>
	
	<functions>
				<function>$l10n_function_silageRoller</function>
			</functions>
			
        <name>Wheel Loader Compactor v2</name>
        <image>rollerv2.dds</image>
        <price>2400</price>
        <lifetime>100</lifetime>
        <rotation>0</rotation>
         <brand>FSMCR</brand>
        <category>FSMinersCreations</category>
        
    </storeData>

    <base>
	<typeDesc>$l10n_typeDesc_silageRoller</typeDesc>
        <filename>rollerv2.i3d</filename>
        <size width="6" length="6"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="3951" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>   
        </schemaOverlay>
    </base>
	
  <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0" jointType="wheelLoader">  
		     </inputAttacherJoint>

<inputAttacherJoint node="0>1|9|2" jointType="trailer">
            </inputAttacherJoint>
       
	</inputAttacherJoints>
 </attachable>
 	

 <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel>
                        <physics restLoad="3.1" repr="0>4" radius="0.55" width="0.5" mass="0.1" forcePointRatio="0.2" initialCompression="45" suspTravel="0.05" spring="30" damper="10" rotationDamping="0.007" smoothGroundRadius="5.75" maxWheelSink="0.1"/>
                    </wheel>
					
                    <wheel>
                        <physics restLoad="3.1" repr="0>5" radius="0.55" width="0.5" mass="0.1" forcePointRatio="0.2" initialCompression="45" suspTravel="0.05" spring="30" damper="10" rotationDamping="0.007" smoothGroundRadius="5.75" maxWheelSink="0.1"/>
                    </wheel>
					
                    <wheel>
                        <physics restLoad="3.1" repr="0>6" radius="0.55" width="0.5" mass="0.1" forcePointRatio="0.2" initialCompression="45" suspTravel="0.05" spring="30" damper="10" rotationDamping="0.007" smoothGroundRadius="5.75" maxWheelSink="0.1"/>
                    </wheel>
					
                    <wheel>
                        <physics restLoad="3.1" repr="0>7" radius="0.55" width="0.5" mass="0.1" forcePointRatio="0.2" initialCompression="45" suspTravel="0.05" spring="30" damper="10" rotationDamping="0.007" smoothGroundRadius="5.75" maxWheelSink="0.1"/>
                    </wheel>
					
                    <wheel>
                        <physics restLoad="3.1" repr="0>8" radius="0.55" width="0.5" mass="0.1" forcePointRatio="0.2" initialCompression="45" suspTravel="0.05" spring="30" damper="10" rotationDamping="0.007" smoothGroundRadius="5.75" maxWheelSink="0.1"/>
                    </wheel>
					
                   
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>


    <groundReferenceNodes>
        <groundReferenceNode node="0>3" threshold="0.3" />
    </groundReferenceNodes>

 
   <speedRotatingParts>
        <speedRotatingPart node="0>2"   radius="0.5"  wheelIndex="1" onlyActiveWhenLowered="false"/>
    </speedRotatingParts>
    

    <bunkerSiloCompacter compactingScale="4">
        <sounds>
            <compacting template="MEADOW_ROLLER_WORK" linkNode="0>2"/>
        </sounds>
    </bunkerSiloCompacter>

   <baseMaterial>
        <material name="roller_mat" baseNode="0>2">
            <shaderParameter name="colorMat0" value="LIEBHERR_YELLOW1"/>
		 </material>
		 <material name="base_mat" baseNode="0>1">
            <shaderParameter name="colorMat0" value="0.02 0.02 0.02 0"/>
        </material>
	</baseMaterial>
	
   <baseMaterialConfigurations price="100" useDefaultColors="true">
        <baseMaterialConfiguration color="LIEBHERR_YELLOW1" name="LIEBHERRYELLOW"/>
        <material name="roller_mat" shaderParameter="colorMat0" />
   </baseMaterialConfigurations>
	
   <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>
	
	 <foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-0.7" maxZ="0.75" yOffset="0.02"/>
    </foliageBending>
	
<tensionBeltObject>
		<meshNodes>
			<meshNode node="0>1|8"/>
			<meshNode node="0>1|6"/>
			<meshNode node="0>1|7"/>
		</meshNodes>
	</tensionBeltObject>

<foldable>
        <foldingParts startMoveDirection="1">
            <foldingPart animationName="folding" speedScale="1"/>
        </foldingParts>
    </foldable>
	
	<animations>
         <animation name="folding">
         	<part node="0>1|9" startTime="0.1" endTime="0.3" visibility="false"/> 
             <part node="0>1|9" startTime="0.3" endTime="0.5" visibility="true"/>
			 </animation>
    </animations>

	
</vehicle>
