<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="trailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">

    <storeData>
        <name>
			<en>Timber Swap Body</en>
		    <de>Holz Wechselaufbau</de>
		    <fi>Tukki Jalkalava</fi>
        </name>
        <specs>
            <combination xmlFilename="xml/lizardspirit.xml"/>
			<combination xmlFilename="$data/vehicles/volvo/fh16/fh16.xml"/>
			<combination xmlFilename="xml/keslacrane.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_forestryTransport</function>
        </functions>
        <image>store_nocrane.dds</image>
        <price>15000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>woodTransport</category>
        <shopTranslationOffset>0 0 0.799</shopTranslationOffset>
    </storeData>
	
    <base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>i3d/tukkilavanocrane.i3d</filename>
        <size width="2.6" length="8" height="4.2"/>
        <components>
            <component centerOfMass="0 1.219 -1.007" solverIterationCount="30" mass="5000"/>
			
			
        </components>
        <schemaOverlay attacherJointPosition="-1 -0.5" name="IMPLEMENT"/>
    </base>
	
   <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>4|0|0|0" jointType="semitrailer" upperRotationOffset="0" enableCollision="true" fixedRotation="false" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0"/>
        
		<inputAttacherJoint node="0>4|0|0|1" jointType="82JointX3" upperRotationOffset="0" enableCollision="true" fixedRotation="false" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0"/>
        
		<inputAttacherJoint node="0>4|0|0|1" jointType="82JointTipperX2" upperRotationOffset="0" enableCollision="true" fixedRotation="false" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0"/>
        
		<inputAttacherJoint node="0>4|0|0|1" jointType="82JointWreckIT" upperRotationOffset="0" enableCollision="true" fixedRotation="false" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0"/>
		
		<inputAttacherJoint node="0>4|0|0|2" jointType="MTBJoint" upperRotationOffset="0" enableCollision="true" fixedRotation="false" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0"/>
		
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce force="0.6" />
    </attachable>
	
    <attacherJoints>
       <attacherJoint node="0>6|1|0" jointType="trailer" lowerRotLimit="30 90 100" allowsLowering="false" upperRotRotationOffset="0" allowsJointLimitMovement="false">
            <distanceToGround lower="0.57" upper="1.03" />
            <schema position="1.5 0" rotation="0" invertX="false" />
			
        </attacherJoint>
       <attacherJoint node="0>1" jointType="MTBJointCrane" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0 0 0">
		
            <distanceToGround lower="0.57" upper="1.03" />
            <schema position="1.5 0" rotation="0" invertX="false" />
			
        </attacherJoint>
		<sounds>
		        <attach template="attachAirBrake" />
                <detach template="detachAirBrake" />
                
                </sounds>
	</attacherJoints>
	
	<lights>	
		<sharedLight linkNode="0>0|5|1|0" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearLight53_left.xml" />
		<sharedLight linkNode="0>0|5|1|1" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearLight53_right.xml" />
		
		<sharedLight linkNode="0>0|5|1|2" lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml" >
            <rotationNode name="rotationNode1" rotation="-80 0 0"/>
			</sharedLight>
        <sharedLight linkNode="0>0|5|1|3" lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml" >
            <rotationNode name="rotationNode1" rotation="-80 0 0"/>
			</sharedLight>
			
			<sharedLight linkNode="0>0|5|1|4" lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml" >
            <rotationNode name="rotationNode1" rotation="-40 0 0"/>
			</sharedLight>
			
			<sharedLight linkNode="0>0|5|1|5" lightTypes="2" filename="$data/shared/assets/lights/hella/hellaWorkingLight06.xml" >
            <rotationNode name="rotationNode1" rotation="-40 0 0"/>
			</sharedLight>
			
	   
	
		
        <states>
            <state lightTypes="0" />
			<state lightTypes="0 1 2" />
			<state lightTypes="0 1 3" />
        </states>

        <realLights>
            <low>
               
				
             
            </low>
            <high>
        
				<light node="0>0|5|1|2|0"   lightTypes="2"/>
				<light node="0>0|5|1|3|0"   lightTypes="2"/>
				<light node="0>0|5|1|4|0"   lightTypes="2"/>
				<light node="0>0|5|1|5|0"   lightTypes="2"/>
                
             
            </high>
        </realLights>

<beaconLights>
            <beaconLight realLight="0>0|5|2|3" realLightRange ="2">
			<staticLight node="0>0|5|2|0" intensity="6" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="15" maxDistance="15" maxIntensity="40"/>
            </staticLight>
            <staticLight node="0>0|5|2|1" intensity="1" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="10" maxDistance="15" maxIntensity="20"/>
            </staticLight>
            <staticLight node="0>0|5|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>
			
			<beaconLight realLight="0>0|5|3|3" realLightRange ="2">
			<staticLight node="0>0|5|3|0" intensity="6" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="15" maxDistance="15" maxIntensity="40"/>
            </staticLight>
            <staticLight node="0>0|5|3|1" intensity="1" multiBlink="true" multiBlinkParameters="3 3 60 0">
                <intensityScale minDistance="3" minIntensity="10" maxDistance="15" maxIntensity="20"/>
            </staticLight>
            <staticLight node="0>0|5|3|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>  
	
	<licensePlates>
        <licensePlate node="0>4|3"  position="BACK"  preferedType="ELONGATED" placementArea="0.07 0.27 0.17 0.27"/>
    </licensePlates>
	
	<cover>
        <coverConfigurations>
            <coverConfiguration>
                <cover openAnimation="verho" fillUnitIndices="1"  autoReactToTrigger="false" posDirectionText="unfold crane" negDirectionText="fold crane" />
				
            </coverConfiguration>
        </coverConfigurations>
    </cover>
	
    <animations>
        <animation name="moveSupport">
          <part node="0>0|2|0|0|0|0"		startTime="3.5"     endTime="4"    startTrans="0.003 0.045 0.874" endTrans="0.003 0.045 1.2"/>
		   <part node="0>0|2|0|0|0"		    startTime="2"     endTime="3"   startRot="0 90 0"   endRot="0 0 0"/>
           <part node="0>0|2|0|0"		startTime="0"     endTime="2"    startTrans="-1.085 0 0" endTrans="0 0 0"/>
		   
		   <part node="0>0|2|0|1|0|0"		startTime="3.5"     endTime="4"    startTrans="0.003 0.045 0.874" endTrans="0.003 0.045 1.2"/>
		   <part node="0>0|2|0|1|0"		    startTime="2"     endTime="3"   startRot="0 90 0"   endRot="0 0 0"/>
           <part node="0>0|2|0|1"		startTime="0"     endTime="2"    startTrans="1.3 0 0" endTrans="0.208 0 0"/>
		   
		    <part node="0>0|2|1|0|0|0"		startTime="3.5"     endTime="4"    startTrans="0.003 0.045 0.874" endTrans="0.003 0.045 1.2"/>
		   <part node="0>0|2|1|0|0"		    startTime="2"     endTime="3"   startRot="0 90 0"   endRot="0 0 0"/>
           <part node="0>0|2|1|0"		startTime="0"     endTime="2"    startTrans="-1.085 0 0" endTrans="0 0 0"/>
		   
		   <part node="0>0|2|1|1|0|0"		startTime="3.5"     endTime="4"    startTrans="0.003 0.045 0.874" endTrans="0.003 0.045 1.2"/>
		   <part node="0>0|2|1|1|0"		    startTime="2"     endTime="3"   startRot="0 90 0"   endRot="0 0 0"/>
           <part node="0>0|2|1|1"		startTime="0"     endTime="2"    startTrans="1.3 0 0" endTrans="0.208 0 0"/>
            
            <sound template="clackVar6"      startTime="1.9" direction="-1" volumeScale="1.2" pitchScale="0.6"/>
			<sound template="clackVar6"      startTime="3.9" direction="-1" volumeScale="1.2" pitchScale="0.6"/>
			<sound template="clackVar6"      startTime="5.9" direction="-1" volumeScale="1.2" pitchScale="0.6"/>
           
        </animation>
       
    </animations>

   

    <cylindered>
       
			
		<movingTools>
		
		<controlGroups>
               
                <controlGroup name="$l10n_pankot" />
            </controlGroups>
		<!-- nosturi -->
           
			
			<!-- pankot -->
			  <movingTool node="0>0|1|0"  playSound="false">
               <controls axis="AXIS_CRANE_ARM" groupIndex="1" invertAxis="false" mouseSpeedFactor="0.5" iconName="panko1_ICON"/>
                <translation transSpeed="0.3" transAcceleration="80" transMax="0" transMin="-0.824" translationAxis="3"/>
	        </movingTool>
	
	        <movingTool node="0>0|1|0|5"  playSound="false">
               <controls axis="AXIS_CRANE_ARM2" groupIndex="1" invertAxis="false" mouseSpeedFactor="0.5" iconName="panko2_ICON"/>
                <translation transSpeed="0.3" transAcceleration="80" transMax="0.873" transMin="-0.208" translationAxis="3"/>
				
	        </movingTool>	
			
			 <movingTool node="0>0|1|1"  playSound="false">
               <controls axis="AXIS_CRANE_ARM3" groupIndex="1" invertAxis="false" mouseSpeedFactor="0.5" iconName="panko4_ICON"/>
                <translation transSpeed="0.3" transAcceleration="80" transMax="-0.654" transMin="-1.687" translationAxis="3"/>
	        </movingTool>
	
	        <movingTool node="0>0|1|1|5"  playSound="false">
               <controls axis="AXIS_CRANE_ARM4" groupIndex="1" invertAxis="false" mouseSpeedFactor="0.5" iconName="panko3_ICON"/>
                <translation transSpeed="0.3" transAcceleration="80" transMax="2.695" transMin="1.527" translationAxis="3"/>
				
	        </movingTool>	
				
				
			
			
		</movingTools>
		
    </cylindered>
	
	<connectionHoses>
		
		<target attacherJointIndices="1" type="airDoubleRed"  node="0>6|0|0|0|0|0"> 
			<objectChange node="0>6|0|0|0|0|1" rotationActive="0 0 0" rotationInactive="-95 0 0"/>
			
		</target>
		 <target attacherJointIndices="1" type="airDoubleYellow" node="0>6|0|0|1|0|0">
			<objectChange node="0>6|0|0|1|0|1" rotationActive="0 0 0" rotationInactive="-95 0 0"/>
			
		</target>
		<target attacherJointIndices="1" type="electric" node="0>6|0|0|2|0|0">
			<objectChange node="0>6|0|0|2|0|1" rotationActive="0 0 0" rotationInactive="-90 0 0"/>
			
		</target>
		<target attacherJointIndices="1" type="electric" node="0>6|0|0|3|0|0">
			<objectChange node="0>6|0|0|3|0|1" rotationActive="0 0 0" rotationInactive="-90 0 0"/>
			
		</target>
		 <target attacherJointIndices="1" type="hydraulicIn" node="0>6|0|0|4|0">
			
			<objectChange node="0>6|0|0|4|1" visibilityActive="false" visibilityInactive="true"/>
		
		</target>
		<target attacherJointIndices="1" type="hydraulicOut" node="0>6|0|0|5|0">
			
			<objectChange node="0>6|0|0|5|1" visibilityActive="false" visibilityInactive="true"/>
			
		</target>
		
		
		 <target attacherJointIndices="2" type="hydraulicIn" node="0>6|0|0|6|0">
			
			<objectChange node="0>6|0|0|6|1" visibilityActive="false" visibilityInactive="true"/>
		
		</target>
		<target attacherJointIndices="2" type="hydraulicOut" node="0>6|0|0|7|0">
			
			<objectChange node="0>6|0|0|7|1" visibilityActive="false" visibilityInactive="true"/>
			
		</target>
		
	</connectionHoses>
	
	
	
    <ai supportsAIJobs="false">
    <agentAttachment/>
    </ai>

 
	
	  <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="0>0|4" jointNode="tukkilava" tensionBeltType="us01" width="0.06" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="-0.25" defaultOffsetSide="0.1" defaultHeight="4" interactionRadius="1" totalInteractionRadius="6.5" activationTrigger="0>0|4|2">
                    <tensionBelt startNode="0>0|4|0" endNode="0>0|4|0|0"> 
					    <intersectionNode node="0>0|4|0|1"/>
                        <intersectionNode node="0>0|4|0|2"/>
                        <objectChange  node="0>0|0|1" visibilityActive="false" visibilityInactive="true"/>
                    </tensionBelt>
					<tensionBelt startNode="0>0|4|1" endNode="0>0|4|1|0"> 
					    <intersectionNode node="0>0|4|1|1"/>
                        <intersectionNode node="0>0|4|1|2"/>
                        <objectChange  node="0>0|0|2" visibilityActive="false" visibilityInactive="true"/>
                    </tensionBelt>
					<sounds>
                        <addBelt template="beltOpen"/>
                        <removeBelt template="beltClose"/>
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	
	<designConfigurations title="$l10n_pankot">
	  <designConfiguration name="$l10n_alu" price="0" isDefault="true">
            <objectChange node="0>0|1|0|3"   visibilityActive="true" visibilityInactive="false" />
			<objectChange node="0>0|1|0|5|3"   visibilityActive="true" visibilityInactive="false" />
			<objectChange node="0>0|1|1|3"   visibilityActive="true" visibilityInactive="false" />
			<objectChange node="0>0|1|1|5|3"   visibilityActive="true" visibilityInactive="false" />
			
            <objectChange node="0>0|1|0|4" visibilityActive="false" visibilityInactive="true" />
			<objectChange node="0>0|1|0|5|4" visibilityActive="false" visibilityInactive="true" />
			<objectChange node="0>0|1|1|4" visibilityActive="false" visibilityInactive="true" />
			<objectChange node="0>0|1|1|5|4" visibilityActive="false" visibilityInactive="true" />
			
            
        </designConfiguration>
        <designConfiguration name="$l10n_teras" price="0">
		<objectChange node="0>0|1|0|5|3" visibilityActive="false" visibilityInactive="true" />
		<objectChange node="0>0|1|0|3" visibilityActive="false" visibilityInactive="true" />
		<objectChange node="0>0|1|1|3" visibilityActive="false" visibilityInactive="true" />
		<objectChange node="0>0|1|1|5|3" visibilityActive="false" visibilityInactive="true" />
		
        <objectChange node="0>0|1|0|4"   visibilityActive="true" visibilityInactive="false" />
		<objectChange node="0>0|1|0|5|4"   visibilityActive="true" visibilityInactive="false" />
        <objectChange node="0>0|1|1|4"   visibilityActive="true" visibilityInactive="false" />
		<objectChange node="0>0|1|1|5|4"   visibilityActive="true" visibilityInactive="false" />
		
		
        </designConfiguration>
    </designConfigurations>
	
	  	 <designColorConfigurations useDefaultColors="true" defaultColorIndex="5" title="$l10n_configuration_chassisColor">
        
        <material materialSlotName="runko"/>
        
    </designColorConfigurations>
	
	

	 <designColor6Configurations useDefaultColors="true" defaultColorIndex="15" title="$l10n_configuration_designColor">
       

        <material materialSlotName="pankovarimat"/>
        
    </designColor6Configurations>
	
    <i3dMappings>
      
	  <i3dMapping id="tukkilava" node="0>" />
	
		
    </i3dMappings>

</vehicle>
