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

    <storeData>
        <name>Lizard Titan</name>
        <specs>
        <combination>Truck, Dolly</combination>
        </specs>
        <functions>
            <function>$l10n_function_tipper</function>
            <function>$l10n_function_semiTrailer</function>
        </functions>
        <image>Store/Firmcheb.dds</image>
        <price>32000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>trailers</category>
        
        <vertexBufferMemoryUsage>5432228</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1066896</indexBufferMemoryUsage>
        <textureMemoryUsage>17651432</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>Firmcheb.i3d</filename>
        <size width="3.5" length="9" />
        <components>
            <component centerOfMass="0.00 1.45 -0.54" solverIterationCount="10" mass="4100" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
           <wheelConfiguration name="$l10n_configuration_valueDefault" price="1700" brand="MICHELIN">
                <wheels>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBibHD/500_60R22_5.xml" isLeft="true" hasParticles="true">
                        <physics  restLoad="1.1" repr="wheelAxisFrontLeft"  driveNode="wheelFrontLeft"   initialCompression="10" suspTravel="0.15" spring="20" damper="15" transRatio="1"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBibHD/500_60R22_5.xml" isLeft="false" hasParticles="true">
                        <physics  restLoad="1.1" repr="wheelAxisFrontRight" driveNode="wheelFrontRight"  initialCompression="10" suspTravel="0.15" spring="20" damper="15" transRatio="1"/>
                    </wheel>
					
                    <wheel filename="$data/shared/wheels/michelin/cargoXBibHD/500_60R22_5.xml" isLeft="true" >
                        <physics restLoad="1.1" repr="wheelAxisMainLeft" driveNode="wheelMainLeft"   initialCompression="10" suspTravel="0.15" spring="20" damper="15" transRatio="1"/>
                        <wheelChock parkingNode="wheelChockParkingLeft" />
                        <wheelChock parkingNode="wheelChockParkingRight" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBibHD/500_60R22_5.xml" isLeft="false" >
                        <physics  restLoad="1.1" repr="wheelAxisMainRight" driveNode="wheelMainRight"  initialCompression="10" suspTravel="0.15" spring="20" damper="15" transRatio="1"/>
				    	<wheelChock parkingNode="wheelChockParkingLeft" />
                        <wheelChock parkingNode="wheelChockParkingRight" isInverted="true" />
					</wheel>					
                    <wheel filename="$data/shared/wheels/michelin/cargoXBibHD/500_60R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics  restLoad="1.1" repr="wheelAxisBackLeft"  driveNode="wheelBackLeft"   initialCompression="10" suspTravel="0.15" spring="20" damper="15" transRatio="1"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBibHD/500_60R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics  restLoad="1.1" repr="wheelAxisBackRight" driveNode="wheelBackRight"  initialCompression="10" suspTravel="0.15" spring="20" damper="15" transRatio="1"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
		
		<rimColor material="8">0.5 0.5 0.5</rimColor>

        <hubs>
            <color0>SHARED_BLACK2</color0>
            <color1>SHARED_BLACK2</color1>
            <hub linkNode="wheelFrontLeft"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.335 0.335 0.335" />
            <hub linkNode="wheelFrontRight" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.335 0.335 0.335" />
			<hub linkNode="wheelMainLeft"   filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.335 0.335 0.335" />
            <hub linkNode="wheelMainRight"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.335 0.335 0.335" />
            <hub linkNode="wheelBackLeft"   filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.335 0.335 0.335" />
            <hub linkNode="wheelBackRight"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.335 0.335 0.335" />
        </hubs>
    </wheels> 

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="semitrailer" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce>0.55</brakeForce>
    </attachable>
    
	<connectionHoses>
	    <hose inputAttacherJointIndices="1" type="airDoubleRed"    node="airDoubleStorage"   length="1.3" diameter="0.02"   straighteningFactor="1"  socket="air_red"     />
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="airDoubleControl"   length="1.3" diameter="0.02"   straighteningFactor="1"  socket="air_yellow"  />
        <hose inputAttacherJointIndices="1" type="electric"        node="backElectric"       length="2.2" diameter="0.02"   straighteningFactor="1"  socket="electric"    />
        <hose inputAttacherJointIndices="1" type="hydraulicIn"     node="hydraulic01_in"     length="1.3" diameter="0.02"   straighteningFactor="1"  socket="hydraulic01" />
		<hose inputAttacherJointIndices="1" type="hydraulicOut"    node="hydraulic01_out"    length="1.3" diameter="0.02"   straighteningFactor="1"  socket="hydraulic01" /> 
    </connectionHoses>	

    <lights>       
        <states>            
            <state lightTypes="0" />
			<state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
			<state lightTypes="0 1 2 3" />
        </states>

        <realLights>
            <low>
				<light          node="backGabarit"                      lightTypes="0" />
            </low>                                            
            <high>                                            
				<light          node="backGabarit"                      lightTypes="0" />				
                <brakeLight     node="backStopLights"       />
                <turnLightLeft  node="turnLightLeftFront"   />
                <turnLightRight node="turnLightRightFront"  />
				<reverseLight   node="backReverseLights" />
			</high>
        </realLights>		

        <defaultLights>
		    <defaultLight       shaderNode="defaultLightRightStatic" lightTypes="0" intensity="20" />	
			<defaultLight       shaderNode="defaultLightLeftStatic"  lightTypes="0" intensity="20" />
            <defaultLight       shaderNode="Gab1"                    lightTypes="0" intensity="40" />			
			<defaultLight       shaderNode="Gab2"                    lightTypes="0" intensity="40" />	
			<defaultLight       shaderNode="Gab3"                    lightTypes="0" intensity="40" />	
			<defaultLight       shaderNode="Gab4"                    lightTypes="0" intensity="40" />
			<defaultLight       shaderNode="Gab5"                    lightTypes="0" intensity="40" />	
			<defaultLight       shaderNode="Gab6"                    lightTypes="0" intensity="40" />	
        </defaultLights>		
		
		<reverseLights>
            <reverseLight shaderNode="reverseLightRightStatic" />
			<reverseLight shaderNode="reverseLightLeftStatic" />
        </reverseLights>

        <brakeLights>
            <brakeLight     shaderNode="breakLightRightStatic"        intensity="80"   />
		    <brakeLight     shaderNode="breakLightLeftStatic"        intensity="80"   />
        </brakeLights>

		<turnLights>
		    <turnLightLeft  shaderNode="turnLightLeftStatic"  intensity="100" />
            <turnLightRight shaderNode="turnLightRightStatic" intensity="100" />           
        </turnLights>

        <sounds>
            <switchLight template="SWITCH_01" linkNode="Firmcheb_main_component1" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="Firmcheb_main_component1" />
        </sounds>      
   </lights>

    <animations>    
        <animation name="moveSupport">
            <part node="support" startTime="0.0" endTime="0.1" startTrans="0 0.359 0.989" endTrans="0 -0.056 0.989" />
        </animation>
		<animation name="tipAnimationRight">
            <part node="Bone_Kuzov"        startTime="2"     endTime="9"       startRot="0 0 0"          endRot="25 0 0" />
			<part node="Cil_2"             startTime="2"     endTime="5"       startRot="0 0 0"          endRot="5.387 0 0" />			
			<part node="Bone_BortZ"        startTime="2"     endTime="9.2"     startRot="0 0 0"          endRot="-25 0 0" />			
			<part node="particlesRight"    startTime="2"     endTime="9"       startRot="0 180 0"        endRot="25 180 0" />
		</animation>
		<animation name="toggleCover">		    
			<part node="Shnur"     startTime="0.0"    endTime="0.1"     visibility="true" />
		    <part node="Shnur"     startTime="0.1"    endTime="1.1"     visibility="false" />
			<part node="Tent"      startTime="1.5"    endTime="2.5"     startScale="1 1 1"               endScale="1 0.39 1" />
			<part node="Tent"      startTime="2.5"    endTime="3.5"     startScale="1 0.39 1"            endScale="0.013 0.39 1" />
			<part node="Tent"      startTime="3.5"    endTime="3.6"     startScale="0.013 0.39 1"        endScale="0 0 0" />            
			<part node="Tent2"     startTime="2.5"    endTime="3.6"     startScale="0 0 1"               endScale="1 1 1" />
        </animation>
    </animations> 

    <cylindered>       
        <movingParts>
            <movingPart node="os1"             referencePoint="wheelFrontRight_REF"  referenceFrame="wheelFrontRight_REF" isActiveDirty="true" />
			<movingPart node="os2"             referencePoint="wheelMainRight_REF"   referenceFrame="wheelMainRight_REF"  isActiveDirty="true" />
			<movingPart node="os3"             referencePoint="wheelBackRight_REF"   referenceFrame="wheelBackRight_REF"  isActiveDirty="true" />
		   <movingPart node="Cil_1"            referencePoint="Cil1_ref"             referenceFrame="Cil1_ref"            isActiveDirty="true">
			    <translatingPart node="St1" />
				<translatingPart node="St2" />
				<translatingPart node="St3" />
		   </movingPart>     
        </movingParts>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>            
				    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="25000"  fillAnimationLoadTime="0">
					    <fillRootNode node="Firmcheb_main_component1" />
                        <exactFillRootNode node="exactFillRootNode1"/>
						<autoAimTargetNode node="autoAimTargetNode1" startZ="-0.9" endZ="-3.2" invert="false" fillUnitIndex="1" startPercentage="25"/>
                    </fillUnit>
				</fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>  

   <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume1" maxDelta="0.05" maxAllowedHeapAngle="8" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>      
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="unloadInfo" width="1" length="1" />
            </unloadInfo>            
        </unloadInfos>
		
		<heightNodes>
            <heightNode>
                <refNode node="fillVolumeHeightNode1" />
                <refNode node="fillVolumeHeightNode2" />
				<node node="fillVolumeHeightNode" baseScale="1 1 1"  />
            </heightNode>		
        </heightNodes>
    </fillVolume>
	
	<trailer>
        <trailerConfigurations>         
            <trailerConfiguration>
                <trailer>                    
                    <tipSide name="$l10n_info_tipSideRight" dischargeNodeIndex="1" unloadInfoIndex="1">
                        <animation name="tipAnimationRight" speedScale="1.0" startTipTime="0.5" />
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>
	
	<dischargeable>       
        <dischargeNode node="dischargeNode1" emptySpeed="1500"  fillUnitIndex="1" unloadInfoIndex="1" >
            <info width="2.5" length="20.5" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="particleNodeRight" effectClass="ParticleEffect" />
                    <effectNode effectNode="grainNorm1" materialType="unloading" materialTypeId="1" fadeTime="0.5" />
                </effectNode>				
                <effectNode effectNode="smokeNorm1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />				
            </effects>
        </dischargeNode>
    </dischargeable>

    <cover>
        <coverConfigurations>
            <coverConfiguration openCoverWhileTipping="true">
                <cover openAnimation="toggleCover" fillUnitIndices="1" />
            </coverConfiguration>
        </coverConfigurations>
    </cover>
	
    <suspensions>
	    <suspension node="Bone_BRz"    weight="550"   minTranslation="-0.0 -0.0 -1.5"   maxTranslation="0.0 0.0 1.5"    suspensionParametersX="80 0.1"    suspensionParametersY="70 1"    suspensionParametersZ="70 1" />
	</suspensions>

    <foliageBending>
        <bendingNode minX="-1.4" maxX="1.4" minZ="-5.1" maxZ="4.8 " yOffset="0.6" />
    </foliageBending>

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

    <i3dMappings>
    	<i3dMapping id="Firmcheb_main_component1"             node="0>" />
														   
	    <i3dMapping id="wheelAxisFrontLeft"                   node="0>0|0" />
        <i3dMapping id="wheelFrontLeft"                       node="0>0|0|0|2|0" />
		<i3dMapping id="wheelAxisFrontRight"                  node="0>0|1" />
		<i3dMapping id="wheelFrontRight"                      node="0>0|0|0|3|0" />
		<i3dMapping id="wheelAxisMainLeft"                    node="0>0|2" />
		<i3dMapping id="wheelMainLeft"                        node="0>0|2|1" />
		<i3dMapping id="wheelAxisMainRight"                   node="0>0|3" />
        <i3dMapping id="wheelMainRight"                       node="0>0|3|0" />
		<i3dMapping id="wheelAxisBackLeft"                    node="0>0|4" />
        <i3dMapping id="wheelBackLeft"                        node="0>0|4|1" />
		<i3dMapping id="wheelAxisBackRight"                   node="0>0|5" />
        <i3dMapping id="wheelBackRight"                       node="0>0|5|0" />
		
		<i3dMapping id="os1"                                  node="0>0|0|0" />
		<i3dMapping id="os2"                                  node="0>0|2|0" />
		<i3dMapping id="os3"                                  node="0>0|4|0" />
		
		<i3dMapping id="wheelFrontRight_REF"                  node="0>0|1|0" />
		<i3dMapping id="wheelMainRight_REF"                   node="0>0|3|1" />
		<i3dMapping id="wheelBackRight_REF"                   node="0>0|5|1" />		
		
        <i3dMapping id="wheelChockParkingLeft"                node="0>3|0" />
        <i3dMapping id="wheelChockParkingRight"               node="0>3|1" />	
		
		<i3dMapping id="attacherJoint"                        node="0>1" />
		<i3dMapping id="support"                              node="0>2" />
		 
		<i3dMapping id="fillVolume1"                          node="0>5|0|1|0|0" />
		<i3dMapping id="autoAimTargetNode1"                   node="0>5|0|1|1|0" />
		<i3dMapping id="fillVolumeHeightNode"                 node="0>5|0|1|2" />
		<i3dMapping id="fillVolumeHeightNode1"                node="0>5|0|1|2|0" />
		<i3dMapping id="fillVolumeHeightNode2"                node="0>5|0|1|2|1" />
		<i3dMapping id="exactFillRootNode1"                   node="0>5|0|1|3|0" />
		<i3dMapping id="tipReferencePoint_right"              node="0>5|0|1|4|0" />
		<i3dMapping id="particlesRight"                       node="0>5|0|1|5" />
		<i3dMapping id="particleNodeRight"                    node="0>5|0|1|5|1|0" />	
		<i3dMapping id="grainNorm1"                           node="0>5|0|1|5|0|0" />		
		<i3dMapping id="smokeNorm1"                           node="0>5|0|1|5|0|1" />
		<i3dMapping id="dischargeNode1"                       node="0>5|0|1|6|0" />
		<i3dMapping id="unloadInfo"                           node="0>5|0|1|7" />
		
		<i3dMapping id="Bone_Kuzov"                           node="0>5|0" />
		<i3dMapping id="Bone_BortZ"                           node="0>5|0|0" />	
	
		<i3dMapping id="Cil_1"                                node="0>7|4" />	
		<i3dMapping id="Cil_2"                                node="0>5|0|2" />		
		<i3dMapping id="St1"                                  node="0>7|4|0" />
		<i3dMapping id="St2"                                  node="0>7|4|0|0" />
		<i3dMapping id="St3"                                  node="0>7|4|0|0|0" />
		<i3dMapping id="Cil1_ref"                             node="0>5|0|2|0" />
		
		<i3dMapping id="hydraulic01_in"                       node="0>6|0" />
        <i3dMapping id="hydraulic01_out"                      node="0>6|1" />        
		<i3dMapping id="backElectric"                         node="0>6|2" />
        <i3dMapping id="airDoubleControl"                     node="0>6|3" />
		<i3dMapping id="airDoubleStorage"                     node="0>6|4" />
		
        <i3dMapping id="backGabarit"                          node="0>4|1" />	
		<i3dMapping id="backStopLights"                       node="0>4|2" />
		<i3dMapping id="backReverseLights"                    node="0>4|3" />	
		<i3dMapping id="turnLightLeftFront"                   node="0>4|4" />
		<i3dMapping id="turnLightRightFront"                  node="0>4|5" />
														   
	    <i3dMapping id="Gab1"                                 node="0>4|0|2" />
        <i3dMapping id="Gab2"                                 node="0>4|0|3" />	
        <i3dMapping id="Gab3"                                 node="0>4|0|4|0" />
        <i3dMapping id="Gab4"                                 node="0>4|0|5|0" />
		<i3dMapping id="Gab5"                                 node="0>4|0|6" />
        <i3dMapping id="Gab6"                                 node="0>4|0|7" />
		
		<i3dMapping id="breakLightRightStatic"                node="0>4|0|0|5" />
		<i3dMapping id="defaultLightRightStatic"              node="0>4|0|0|4" />
		<i3dMapping id="reverseLightRightStatic"              node="0>4|0|0|3" />
		<i3dMapping id="breakLightLeftStatic"                 node="0>4|0|1|5" />
		<i3dMapping id="defaultLightLeftStatic"               node="0>4|0|1|4" />
		<i3dMapping id="reverseLightLeftStatic"               node="0>4|0|1|3" />
		<i3dMapping id="turnLightLeftStatic"                  node="0>4|0|1|2" />
		<i3dMapping id="turnLightRightStatic"                 node="0>4|0|0|2" />
		
		<i3dMapping id="Bone_BRz"                             node="0>7|0" />
		
        <i3dMapping id="Tent"                                 node="0>5|0|4|0" />
		<i3dMapping id="Tent2"                                node="0>5|0|4|1" />
		<i3dMapping id="Shnur"                                node="0>5|0|4|2" />   
    </i3dMappings>
</vehicle>
