<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="semiTrailerFront">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>2 Axle Front</name>
        <specs>
            <combination>Truck, Dolly</combination>
        </specs>
        <functions>
            <function>$l10n_function_lowLoader</function>
            <function>$l10n_function_semiTrailer</function>
        </functions>
        <image>front_store.dds</image>
        <price>11000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
		<brand>GOLDHOFER</brand>
         <category>FSMinersCreations</category> 
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_lowLoader</typeDesc>
        <filename>FrontTrailer.i3d</filename>
        <size width="3" length="3.5" />
        <components>
            <component centerOfMass="0 0.1 -1.5" solverIterationCount="10" mass="950"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="semitrailer" upperRotationOffset="0"/>
        </inputAttacherJoints>
		<support animationName="moveSupport" />
    </attachable>
    <attacherJoints>
        <attacherJoint node="attacherJointBack" jointType="semitrailerHook" lowerRotLimit="0 0 0" allowsJointLimitMovement="false" enableCollision="false" >
            <schema position="1 0" rotation="0" invertX="false" />
            <attachSound template="HEADER_ATTACH_01" linkNode="0>" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" />
        </sounds>
    </attacherJoints>
	 <animations>
        <animation name="moveSupport">
            <part node="supportBoxes" startTime="0"    endTime="0.7"  startTrans="0 0.825 -1.427"  endTrans="0 0.396 -1.427" />
            <part node="supportBoxes" startTime="0.6"  endTime="0.65" visibility="false" />
            <part node="supportBoxes" startTime="0.65" endTime="0.7"  visibility="true" />
        </animation>
    </animations>
	<cylindered>
        <movingTools>
			<movingTool node="attacherMove" sound="true">
                <controls axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM1_ROTATE_X" />
                <translation transSpeed="0.4" transAcceleration="80" transMax="0.3" transMin="0" starttrans="0" translationAxis="3"/>
				<inputAttacherJoint value="true" />
            </movingTool>
        </movingTools>
       
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>
	
	<tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="belts" jointNode="base" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="-0.25" defaultOffsetSide="0.1" defaultHeight="2.75" interactionRadius="1.5" totalInteractionRadius="6.5" activationTrigger="beltActivationTrigger">
                    <tensionBelt startNode="beltStart1" endNode="beltEnd1" offsetLeft="0.95"/>
                    <tensionBelt startNode="beltStart2" endNode="beltEnd2" />
                    <tensionBelt startNode="beltStart3" endNode="beltEnd3" />
                    <!-- <tensionBelt startNode="beltStart4" endNode="beltEnd4" offsetRight="0.95"/> -->
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
	
	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicOut"  node="hydraulicIn01_attached"  length="0.80" diameter="0.025" minDeltaY="-0.3" straighteningFactor="2" minCenterPointOffset="0 0 0" maxCenterPointOffset="0 0 0">
            <objectChange node="hydraulicIn01_connector" visibilityActive="false" visibilityInactive="true" />
            <objectChange node="hydraulicIn01_connector" visibilityActive="true" visibilityInactive="false" />
			<objectChange node="detachedCab" visibilityActive="false" visibilityInactive="true" />
			<objectChange node="attachedCab" visibilityActive="false" visibilityInactive="true" />			
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn02_attached"  length="0.80" diameter="0.025" minDeltaY="-0.3" straighteningFactor="2" minCenterPointOffset="0 0 0" maxCenterPointOffset="0 0 0">
            <objectChange node="hydraulicIn02_connector" visibilityActive="false" visibilityInactive="true" />
            <objectChange node="hydraulicIn02_connector" visibilityActive="true" visibilityInactive="false" />
			<objectChange node="detachedCab1" visibilityActive="false" visibilityInactive="true" />
			<objectChange node="attachedCab1" visibilityActive="false" visibilityInactive="true" />	
        </hose>
        <hose inputAttacherJointIndices="1" type="electric"  node="elettric_attached"  length="0.80" diameter="0.02" minDeltaY="-0.3" straighteningFactor="2" minCenterPointOffset="0 0 0" maxCenterPointOffset="0 0 0">
            <objectChange node="elettric_connector" visibilityActive="false" visibilityInactive="true" />
            <objectChange node="elettric_connector" visibilityActive="true" visibilityInactive="false" />
			<objectChange node="rotElettric" rotationActive="0 0 0" rotationInactive="-90 0 0"/>		
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleYellow"  node="airIn_attached"  length="0.80" diameter="0.025" minDeltaY="-0.35" straighteningFactor="2" minCenterPointOffset="0 0 0" maxCenterPointOffset="0 0 0">
            <objectChange node="air1_Connector" visibilityActive="false" visibilityInactive="true" />
            <objectChange node="air1_Connector" visibilityActive="true" visibilityInactive="false" />
			<objectChange node="cabRed" rotationActive="95 0 0" rotationInactive="0 0 0"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleRed"  node="airOut_attached"  length="0.80" diameter="0.025" minDeltaY="-0.35" straighteningFactor="2" minCenterPointOffset="0 0 0" maxCenterPointOffset="0 0 0">
            <objectChange node="air2_Connector" visibilityActive="false" visibilityInactive="true" />
            <objectChange node="air2_Connector" visibilityActive="true" visibilityInactive="false" />
			<objectChange node="cabYellow" rotationActive="95 0 0" rotationInactive="0 0 0"/>		
        </hose>
    </connectionHoses>
	
   <lights>
        <defaultLights>
		
          <defaultLight shaderNode="0>0|2|4|2" lightTypes="0" intensity="35"/>
          <defaultLight shaderNode="0>0|2|5|2" lightTypes="0" intensity="35"/>
          <defaultLight shaderNode="0>0|2|6|2" lightTypes="0" intensity="35"/>
          <defaultLight shaderNode="0>0|2|8|2" lightTypes="0" intensity="35"/>
          <defaultLight shaderNode="0>0|2|7|2" lightTypes="0" intensity="35"/>
          <defaultLight shaderNode="0>0|2|9|2" lightTypes="0" intensity="35"/>
		  
		
		  
       </defaultLights>
		  
        
		  
            <turnLights>
          <turnLightLeft shaderNode="0>0|2|4|0" intensity="35"/>
          <turnLightLeft shaderNode="0>0|2|5|0" intensity="35"/>
          <turnLightLeft shaderNode="0>0|2|6|0" intensity="35"/>
			 
          <turnLightRight shaderNode="0>0|2|7|0" intensity="35"/>
          <turnLightRight shaderNode="0>0|2|8|0" intensity="35"/>
          <turnLightRight shaderNode="0>0|2|9|0" intensity="35"/>
        </turnLights> 
		
		
    </lights>
	
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	 <baseMaterial>
        <material name="trailer" baseNode="0>0|5">
            <shaderParameter name="colorMat0" value="CASEIH_RED1"/>
            <shaderParameter name="colorMat3" value="CASEIH_RED1"/>
        </material>
		<!-- <material name="extension" baseNode="0>0|2|6|2">
            <shaderParameter name="colorMat1" value="CASEIH_RED1"/>
		</material> -->
      
    </baseMaterial>
	 <baseMaterialConfigurations price="3000" useDefaultColors="true" defaultColorIndex="0">
        <baseMaterialConfiguration name="[Matt] Gruenblau" color="0.0020 0.0697 0.1275 1" material="1" price="500" /> 
		 <baseMaterialConfiguration name="RAL5002" color="0.000 0.041 0.190 1" material="0" price="1200"/> 
         <baseMaterialConfiguration name="RAL3000" color="0.374 0.010 0.003 1" material="0" price="1200"/>
        <baseMaterialConfiguration name="RED SATIN" color="CASEIH_RED1" material="27" price="2500" />		
		<baseMaterialConfiguration name="WHITE SATIN" color="SHARED_WHITE2" material="27" price="2500" />
		<baseMaterialConfiguration name="BLACK SATIN" color="SHARED_BLACK2" material="27" price="2500" />
		<baseMaterialConfiguration name="BLUE SATIN" color="NEWHOLLAND_BLUE1" material="27" price="2500" />
		<baseMaterialConfiguration name="ORANGE SATIN" color="STARA_ORANGE" material="27" price="2500" /> 
		<baseMaterialConfiguration name="Old Orange" color="FLIEGL_ORANGE1" material="6" price="2500" />
        <baseMaterialConfiguration name="JOSKIN YELLOW" color="JOSKIN_YELLOW1" material="32" price="2500" />
		<baseMaterialConfiguration name="Old Red" color="CASEIH_RED1" material="6" price="2500" />
        <baseMaterialConfiguration name="Gun Metal Satin" color="SHARED_GREY5" material="27" price="2500" />
	    <baseMaterialConfiguration name="New Silver" color="SHARED_GREY2" material="27" />
       <!--  <material name="extension" shaderParameter="colorMat1" /> -->
        <material name="trailer" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
	
	
 <designMaterialConfigurations useDefaultColors="true" price="0">
	<designMaterialConfiguration  name="Reflector Yellow" color="1 0.6 0.001" material="21" price="1200"/>
	<designMaterialConfiguration  name="Reflector White" color="0.6 0.6 0.75 " material="20" price="1200"/>
	<designMaterialConfiguration  name="Reflector Red" color="1 0.01 0.01" material="22" price="1200"/>
	<designMaterialConfiguration  name="Reflector Orange" color="1 0.2 0.001" material="23" price="1200"/>
		<material name="trailer" shaderParameter="colorMat3" />
	</designMaterialConfigurations> 
	
	
	
    <i3dMappings>
        <i3dMapping id="base" node="0>" />
        <i3dMapping id="attacherMove" node="0>0|0|0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0|0" />
        <i3dMapping id="attacherJointBack" node="0>0|1" />
		<i3dMapping id="belts" node="0>0|3" />
	    <i3dMapping id="beltStart1" node="0>0|3|0" />
	    <i3dMapping id="beltEnd1" node="0>0|3|0|0" />
	    <i3dMapping id="beltStart2" node="0>0|3|1" />
	    <i3dMapping id="beltEnd2" node="0>0|3|1|0" />
	    <i3dMapping id="beltStart3" node="0>0|3|2" />
	    <i3dMapping id="beltEnd3" node="0>0|3|2|0" />
	    <i3dMapping id="beltStart4" node="0>0|3|3" />
	    <i3dMapping id="beltEnd4" node="0>0|3|3|0" />
	    <i3dMapping id="beltActivationTrigger" node="0>0|3|4" />
	    <i3dMapping id="supportBoxes" node="0>0|4|0" />
		
		<i3dMapping id="connectionHoses" 				node="0>0|2|3" />
		<i3dMapping id="hydraulicIn01_attached" 		node="0>0|2|3|0" />
		<i3dMapping id="hydraulicIn02_attached" 		node="0>0|2|3|1" />
		<i3dMapping id="elettric_attached"				node="0>0|2|3|2" />
		<i3dMapping id="airIn_attached" 				node="0>0|2|3|3" />
		<i3dMapping id="airOut_attached" 				node="0>0|2|3|4" />		
		<i3dMapping id="BodyConnector" 					node="0>0|2|3|5" /> 
		<i3dMapping id="hydraulic1_Connector" 			node="0>0|2|3|5|0" />
		<i3dMapping id="detachedCab" 					node="0>0|2|3|5|0|0" />
		<i3dMapping id="attachedCab" 					node="0>0|2|3|5|0|1" />		
		<i3dMapping id="hydraulic2_Connector" 			node="0>0|2|3|5|1" />
		<i3dMapping id="detachedCab1" 					node="0>0|2|3|5|1|0" />
		<i3dMapping id="attachedCab1" 					node="0>0|2|3|5|1|1" /> 		
		<i3dMapping id="airIN_Connector" 				node="0>0|2|3|5|2" />
		<i3dMapping id="cabRed" 						node="0>0|2|3|5|2|0" />		
		<i3dMapping id="airOUT_Connector" 				node="0>0|2|3|5|3" />
		<i3dMapping id="cabYellow" 						node="0>0|2|3|5|3|0" />		
		<i3dMapping id="electricBase"					node="0>0|2|3|5|4" />
		<i3dMapping id="rotElettric" 					node="0>0|2|3|5|4|0" />
		<i3dMapping id="decals_0" 						node="0>0|2|3|5|4|1" />		
		<i3dMapping id="HosesConnector" 				node="0>0|2|3|6" />
		<i3dMapping id="hydraulicIn01_connector" 		node="0>0|2|3|6|0" />
		<i3dMapping id="hydraulicIn02_connector" 		node="0>0|2|3|6|1" />
		<i3dMapping id="elettric_connector"		 		node="0>0|2|3|6|2" />
		<i3dMapping id="air1_Connector" 		 		node="0>0|2|3|6|3" />
		<i3dMapping id="air2_Connector" 		 		node="0>0|2|3|6|4" />
		
    </i3dMappings>
</vehicle>
