<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="baseTipper">

    <storeData>
        <name>
			<en>Cassette Trailer</en>
		    <de>Kassettenanhänger</de>
		    <fi>Kasetti Perävaunu</fi>
        </name>
        <specs>
            <combination>sisu tipper</combination>
        </specs>
        <functions>
            <function>$l10n_function_tipper</function>
           
        </functions>
        <image>cassettetrailer.dds</image>
        <price>80000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>lizard</brand>
        <category>trailers</category>
        <shopTranslationOffset>0 -0.04 0</shopTranslationOffset>
        <shopRotationOffset>-0.77 0 0</shopRotationOffset>
        
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>i3d/kasettipv.i3d</filename>
        <size width="2.5" length="13" lengthOffset="0.3"/>
        <components>
            <component centerOfMass="0 2.207 -1.136" solverIterationCount="30" mass="5000" />
			<component centerOfMass="0 -0.155 0" solverIterationCount="10" mass="4000"/>
            <component                            solverIterationCount="10" mass="500"/>
			<component centerOfMass="0 0 0.229" solverIterationCount="10" mass="300" />
            <joint component1="1" component2="2" node="0>4|0"   rotLimit="0 120 0" transLimit="0 0 0" />
            <joint component1="2" component2="3" node="1>3|0" rotLimit="120 0 0" transLimit="0 0 0" rotLimitSpring="0 0 0" rotLimitDamping="0 0 0"/>
			<joint component1="1" component2="4" node="0>4|1" rotLimit="30 0 0" transLimit="0 0 0" rotLimitSpring="0.01 0 0" rotLimitDamping="0.5 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0.5"/>
    </base>

   <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
					<wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="true" hasTireTracks="true" hasParticles="true">
						<physics restLoad="1.4" repr="aks1vas" forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="2"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="true" offset="0.02" />	
                    </wheel>
					<wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true">
						<physics restLoad="1.4" repr="aks1oik" forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="2"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="false" offset="0.02" />	
                    </wheel>
					<wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="true" hasTireTracks="true" hasParticles="true">
						<physics restLoad="1.4" repr="aks2vas" forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="2"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="true" offset="0.02" />	
                    </wheel>
                    <wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.4" repr="aks2oik"  forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="2"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="false" offset="0.02" />
                    </wheel>
					<wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics  restLoad="1.4" repr="aks3vas"  forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="1.5"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="true" offset="0.02" />
                    </wheel>
                    <wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.4" repr="aks3oik" forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="1.5"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="false" offset="0.02"  />
                    </wheel>
                    <wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.4" repr="aks4vas"  forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="1.5"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="true" offset="0.02" />
                    </wheel>
                    <wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.4" repr="aks4oik" forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="1.5"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="false" offset="0.02" />
                    </wheel>
					
					<wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.4" repr="aks5vas"  forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="1.5"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="true" offset="0.02" />
                    </wheel>
                    <wheel filename="renkaat/275_70R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.4" repr="aks5oik" forcePointRatio="0.5" radius="0.5" initialCompression="12" suspTravel="0.8" spring="150" damper="150" frictionScale="1.5"/>
                        <additionalWheel filename="renkaat/275_70R22_5.xml" configId="dualConnector" isLeft="false" offset="0.02" />
                    </wheel>
					
					
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
	<hubs>
            <hub linkNode="aks1vashub"   filename="renkaat/lizard_hub.xml" isLeft="true"  scale="1 1 1" />
			<hub linkNode="aks2vashub"   filename="renkaat/lizard_hub.xml" isLeft="true"  scale="1 1 1" />
			<hub linkNode="aks3vashub"   filename="renkaat/lizard_hub.xml" isLeft="true"  scale="1 1 1" />
			<hub linkNode="aks4vashub"   filename="renkaat/lizard_hub.xml" isLeft="true"  scale="1 1 1" />
			<hub linkNode="aks5vashub"   filename="renkaat/lizard_hub.xml" isLeft="true"  scale="1 1 1" />
			<hub linkNode="aks1oikhub"   filename="renkaat/lizard_hub.xml" isLeft="false"  scale="1 1 1" />
			<hub linkNode="aks2oikhub"   filename="renkaat/lizard_hub.xml" isLeft="false"  scale="1 1 1" />
			<hub linkNode="aks3oikhub"   filename="renkaat/lizard_hub.xml" isLeft="false"  scale="1 1 1" />
			<hub linkNode="aks4oikhub"   filename="renkaat/lizard_hub.xml" isLeft="false"  scale="1 1 1" />
			<hub linkNode="aks5oikhub"   filename="renkaat/lizard_hub.xml" isLeft="false"  scale="1 1 1" />
          
        </hubs>
    </wheels>
	
    <rimColorConfigurations>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_CHROME" price="1000"/>
        <rimColorConfiguration materialTemplateName="RIM_DEFAULT"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_WHITE"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_BLACK"/>
    </rimColorConfigurations>
	
     <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="2>1|0" jointType="trailer" rootNode="2>" forceSelectionOnAttach="true" attacherHeight="0.874" />
        </inputAttacherJoints>
        <brakeForce force="0.8"/>
		
		 <sounds>
            <active file="$data/sounds/tools/trailer/trailerRattle_02.wav" innerRadius="10" outerRadius="50" volumeScale="5" isLocalSound="true" pitchScale="0.8">
                <volume indoor="0.6" outdoor="0.9" >
                    <modifier type="WHEEL_SUSPENSION" value="-0.12" modifiedValue="0.4"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.00" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.12" modifiedValue="0.4"/>

                    <modifier type="SPEED" value="0.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="2.0" modifiedValue="1.0"/>
                    <modifier type="SPEED" value="40.0" modifiedValue="1.0"/>
                </volume>
                <lowpassCutoffFrequency indoor="300" outdoor="20000" />
                <lowpassGain indoor="0.7" outdoor="1" />
            </active>
        </sounds>
    </attachable>
	
	<licensePlates>
       <licensePlate node="0>4|3"  position="BACK"  preferedType="ELONGATED" placementArea="0.08 0.28 0.15 0.28"/>
    </licensePlates>
	
	<attacherJoints>
        <attacherJoint node="0>4|2" jointType="MTBkas" lowerRotLimit="0 0 0" allowsJointLimitMovement="false" enableCollision="false" >
           <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
       
		
    </attacherJoints>
	
    
   <connectionHoses>
		<hose inputAttacherJointIndices="1" type="electric" node="2>1|1|8" length="1.3" diameter="0.02" straighteningFactor="1.5">
	        <objectChange node="2>1|1|2|0" visibilityActive="false" visibilityInactive="true"/>
			</hose>
        <hose inputAttacherJointIndices="1" type="airDoubleRed"  node="2>1|1|7"  length="1.3" diameter="0.02" straighteningFactor="1.5" >
            <objectChange node="2>1|1|0|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="2>1|1|8" length="1.3" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="2>1|1|1|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="2>1|1|7"  length="1.3" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="2>1|1|3|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="2>1|1|7" length="1.3" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="2>1|1|4|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="electric" node="2>1|1|7" length="1.3" diameter="0.02" straighteningFactor="1.5">
	        <objectChange node="2>1|1|5|0" visibilityActive="false" visibilityInactive="true"/>
			</hose>
		
    </connectionHoses>
	
	
	
	
    <lights>
        <sharedLight linkNode="0>3|2|2|2" filename="$data/shared/assets/lights/lizard/sideMarker03_left.xml" />
		<sharedLight linkNode="0>3|2|2|3" filename="$data/shared/assets/lights/lizard/sideMarker03_left.xml" />
        <sharedLight linkNode="0>3|2|2|4" filename="$data/shared/assets/lights/lizard/sideMarker03_right.xml" />
        <sharedLight linkNode="0>3|2|2|5" filename="$data/shared/assets/lights/lizard/sideMarker03_right.xml" />
		
		<sharedLight linkNode="0>3|2|2|6" filename="$data/shared/assets/lights/lizard/plateNumberLight03.xml" />
		<sharedLight linkNode="0>3|2|2|7" filename="$data/shared/assets/lights/lizard/plateNumberLight03.xml" />
		
		<sharedLight linkNode="0>3|2|2|0"  lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml">
		<rotationNode name="rotationNode1" rotation="-75 0 0"/>
			</sharedLight>
			
			<sharedLight linkNode="0>3|2|2|1"  lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml">
		<rotationNode name="rotationNode1" rotation="-75 0 0"/>
			</sharedLight>

		<sharedLight linkNode="1>2|2"  lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml">
		<rotationNode name="rotationNode1" rotation="-10 0 0"/>
			</sharedLight>
        <sharedLight linkNode="1>2|3"  lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml">
		<rotationNode name="rotationNode1" rotation="-10 0 0"/>
			</sharedLight>
			
		<sharedLight linkNode="0>3|2|0|0" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		<sharedLight linkNode="0>3|2|0|1" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		
		<sharedLight linkNode="0>3|2|0|2" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		<sharedLight linkNode="0>3|2|0|3" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		
		<sharedLight linkNode="0>3|2|0|4" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		<sharedLight linkNode="0>3|2|0|5" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		
		<sharedLight linkNode="0>3|2|0|6" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		<sharedLight linkNode="0>3|2|0|7" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		
		<sharedLight linkNode="0>3|2|0|8" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		<sharedLight linkNode="0>3|2|0|9" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		
		<sharedLight linkNode="0>3|2|0|10" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		<sharedLight linkNode="0>3|2|0|11" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		
		<sharedLight linkNode="0>3|2|0|12" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		<sharedLight linkNode="0>3|2|0|13" filename="$data/shared/assets/lights/lizard/sideMarker16Orange.xml"/>
		
		<sharedLight linkNode="1>2|1" filename="$data/shared/assets/lights/lizard/sideMarker08White.xml"/>
		<sharedLight linkNode="1>2|0" filename="$data/shared/assets/lights/lizard/sideMarker08White.xml"/>
		
		
        <realLights>
            <high>
                <light node="0>3|1|0" lightTypes="0"/>
                <turnLightLeft node="0>3|1|1"/>
                <turnLightRight node="0>3|1|2"/>
                <brakeLight node="0>3|1|0"/>
                <reverseLight node="0>3|1|3"/>
				
				<light node="0>3|1|6" lightTypes="0"/>
                <light node="0>3|1|7" lightTypes="0"/>
				
				<light node="0>3|1|4" lightTypes="2"/>
                <light node="0>3|1|5" lightTypes="2"/>
				<light node="1>2|4" lightTypes="2"/>
                <light node="1>2|5" lightTypes="2"/>
            </high>
        </realLights>
		
		<staticLightCompounds>
            <staticLightCompound>
                <node node="0>3|0|0" intensity="5"/>
                <node node="0>3|0|1" intensity="5"/>
                <node node="0>3|0|2" intensity="5"/>
                <node node="0>3|0|3" intensity="5"/>
                <node node="0>3|0|4" intensity="5"/>
            </staticLightCompound>
        </staticLightCompounds>
		
		<beaconLights>
            <beaconLight realLight="0>3|2|1|1|3" realLightRange ="2">
			<staticLight node="0>3|2|1|1|0" intensity="6" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="15" maxDistance="15" maxIntensity="40"/>
            </staticLight>
            <staticLight node="0>3|2|1|1|1" intensity="1" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="10" maxDistance="15" maxIntensity="20"/>
            </staticLight>
            <staticLight node="0>3|2|1|1|2" intensity="50" multiBlink="true" multiBlinkParameters="3 3 60 0" minDistance="10">
                <intensityScale minDistance="10" minIntensity="50" maxDistance="30" maxIntensity="500"/>
            </staticLight>			
            
            <device mode="DOUBLE_BLINK_TRIPLE_WAIT" rpm="100" numLEDScale="1" brightnessScale="1" />
			</beaconLight>
			
			<beaconLight realLight="0>3|2|1|0|3" realLightRange ="2">
			<staticLight node="0>3|2|1|0|0" intensity="6" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="15" maxDistance="15" maxIntensity="40"/>
            </staticLight>
            <staticLight node="0>3|2|1|0|1" intensity="1" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="10" maxDistance="15" maxIntensity="20"/>
            </staticLight>
            <staticLight node="0>3|2|1|0|2" intensity="50" multiBlink="true" multiBlinkParameters="3 3 60 0" minDistance="10">
                <intensityScale minDistance="10" minIntensity="50" maxDistance="30" maxIntensity="500"/>
            </staticLight>			
          
            <device mode="DOUBLE_BLINK_TRIPLE_WAIT" rpm="100" numLEDScale="1" brightnessScale="1" />
			</beaconLight>
			
			<beaconLight realLight="0>3|2|1|2|3" realLightRange ="2">
			<staticLight node="0>3|2|1|2|0" intensity="6" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="15" maxDistance="15" maxIntensity="40"/>
            </staticLight>
            <staticLight node="0>3|2|1|2|1" intensity="1" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="10" maxDistance="15" maxIntensity="20"/>
            </staticLight>
            <staticLight node="0>3|2|1|2|2" intensity="50" multiBlink="true" multiBlinkParameters="3 3 60 0" minDistance="10">
                <intensityScale minDistance="10" minIntensity="50" maxDistance="30" maxIntensity="500"/>
            </staticLight>			
          
            <device mode="DOUBLE_BLINK_TRIPLE_WAIT" rpm="100" numLEDScale="1" brightnessScale="1" />
			</beaconLight>
        </beaconLights>
		
    </lights>
	

   

   

	<animations>
      
	
      		
	    <animation name="akselinosto">
            
			
			<part node="0>2|2|0" startTime="0" endTime="1"   startRot="80 0 0" endRot="97 0 0" />
			
			<part node="0>2|2|0|0" endTime="1" startTime="0"   startTrans="0 -0.326 0.042" endTrans="0 -0.326 -0.042"/>
			
			<sound template="hydraulicOpen06" startTime="0.01" endTime="1"   volumeScale="2" pitchScale="1.5"/>
			<sound template="detachAirBrake" startTime="0.01" direction="1"  volumeScale="2" pitchScale="1.5"/>
			<sound template="detachAirBrake" startTime="0.95" direction="-1"  volumeScale="2" pitchScale="1.5"/>
        </animation>  
       
	 
		
    </animations>
	
	
			
			
       
	
	<cylindered>
	
		
		   <movingTools>
		
			<movingTool node="0>2|2|0|0"  playSound="false" wheelIndices="1 2 3 4 5 6 7 8 9 10">
			</movingTool>
			
		    <movingTool node="0>2|2|0"  playSound="true" wheelIndices="1 2 3 4 5 6 7 8 9 10">
               <controls axis="AXIS_CRANE_TOOL2" invertAxis="false" mouseSpeedFactor="0.5" iconName="teli_ICON"/>
                <animation animName="akselinosto" animSpeed="1" animStartTime="0" />
				
			</movingTool>
			
			
            <movingTool node="2>" playSound="false" >
            <componentJoint index="2"/>
            </movingTool>
			
		</movingTools>
		
		
	</cylindered>
	
	
	
	
	
    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-2.603" maxZ="8.416" yOffset="0.6" />
		
    </foliageBending>
	
	<ai supportsAIJobs="false">
    <agentAttachment/>
    </ai>
	
	<designColorConfigurations useDefaultColors="true" defaultColorIndex="5" title="$l10n_configuration_chassisColor">
        

        <material materialSlotName="runkomat"/>
        
    </designColorConfigurations>

   
	
	<designColor2Configurations useDefaultColors="true" defaultColorIndex="7" title="$l10n_configuration_designColor">
       

        <material materialSlotName="lokasuojamat"/>
        
    </designColor2Configurations>
	
	
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
    <i3dMapping id="aks1vas"    node="1>1|0|0|0|0" />
	<i3dMapping id="aks1vashub" node="1>1|0|0|0|0|0" />
	<i3dMapping id="aks1oik" node="1>1|0|0|0|1" />
	<i3dMapping id="aks1oikhub" node="1>1|0|0|0|1|0" />
	<i3dMapping id="aks2vas" node="1>1|1|0|0|0" />
	<i3dMapping id="aks2vashub" node="1>1|1|0|0|0|0" />
	<i3dMapping id="aks2oik" node="1>1|1|0|0|1" />
	<i3dMapping id="aks2oikhub" node="1>1|1|0|0|1|0" />
	<i3dMapping id="aks3vas" node="0>2|0|0|0|0" />
	<i3dMapping id="aks3vashub" node="0>2|0|0|0|0|0" />
	<i3dMapping id="aks3oik" node="0>2|0|0|0|1" />
	<i3dMapping id="aks3oikhub" node="0>2|0|0|0|1|0" />
	<i3dMapping id="aks4vas" node="0>2|1|0|0|0" />
	<i3dMapping id="aks4vashub" node="0>2|1|0|0|0|0" />
	<i3dMapping id="aks4oik" node="0>2|1|0|0|1" />
	<i3dMapping id="aks4oikhub" node="0>2|1|0|0|1|0" />
	<i3dMapping id="aks5vas" node="0>2|2|0|0|0" />
	<i3dMapping id="aks5vashub" node="0>2|2|0|0|0|0" />
	<i3dMapping id="aks5oik" node="0>2|2|0|0|1" />
	<i3dMapping id="aks5oikhub" node="0>2|2|0|0|1|0" />
    </i3dMappings>
</vehicle>