<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="trailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.dimanix</annotation>
    <storeData>
        <name>            
		<en>Flisslap</en>
        </name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>XFlis_trailer_4axlat.dds</image>
        <price>75000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>XMODDING</brand>
        <category>trailers</category>
        <shopTranslationOffset>0 0.03 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2255588</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>479604</indexBufferMemoryUsage>
        <textureMemoryUsage>20797224</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
    <base>
	    <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>XFlis_trailer_4axlat.i3d</filename>
        <size width="4" length="8" lengthOffset="0.5"/>
        <components>
            <component centerOfMass="0.01 1.11 -1.35" solverIterationCount="10"/>
            <component centerOfMass="0.0 0.26 0.63" solverIterationCount="10"/>
            <component solverIterationCount="10"/>
            <joint component1="1" component2="2" node="0>6|12" rotLimit="0 120 0" transLimit="0 0 0"/>
            <joint component1="2" component2="3" node="1>2" rotLimit="20 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
	
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="1.5">
                    <wheel>
                        <physics restLoad="5.0" repr="0>0" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="0>1" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="0>2" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="0>3" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="0>4" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="0>5" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="1>0" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="1>1" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="1>5" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                    <wheel>
                        <physics restLoad="5.0" repr="1>6" forcePointRatio="0.3" radius="0.53" width="0.42" mass="0.2" initialCompression="50" suspTravel="0.3" spring="75" damper="50" frictionScale="1.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>    
   
   <lights>
        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
			<state lightTypes="0 1 2" />
            <state lightTypes="0 1 2 3"/>
        </states>
		<!--bak-->
		<sharedLight linkNode="0>8|1" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearMultipointLight_02_right.xml" />
		<sharedLight linkNode="0>8|2" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearMultipointLight_02_right.xml" />
		<sharedLight linkNode="0>8|3" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearMultipointLight_02_left.xml"  />
		<sharedLight linkNode="0>8|4" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearMultipointLight_02_left.xml"  />
		<!--Work-->
		
		<!--orangeLeft-->
		<sharedLight linkNode="0>7|0|3|4|0"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|1"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|2"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|3"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|4"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|5"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|6"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|7"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|8"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|9"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|10" lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|3|4|11" lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
         <!--orangeRight-->
		<sharedLight linkNode="0>7|0|20|0"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|1"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|2"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|3"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|4"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|5"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|6"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|7"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|8"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|9"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|10" lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|20|11" lightTypes="0" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
		<!--RedSkap-->
		<sharedLight linkNode="0>7|0|21|0"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|1"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|2"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|3"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|4"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|5"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|6"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|7"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|8"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
		<sharedLight linkNode="0>7|0|21|9"  lightTypes="0" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml"/>
        <realLights>
            <low>
              
            </low>
            <high>
			    <light node="" lightTypes="0"/>
			    <light node="" lightTypes="0"/>
                <light node="" lightTypes="1"/>
                <light node="" lightTypes="1"/>
				<light node="" lightTypes="3"/>
			    <light node="" lightTypes="3"/>
                <light node="" lightTypes="2"/>
                <light node="" lightTypes="2"/>
                <light node="" lightTypes="2"/>
                
            </high>
			 
        
        </realLights>
		<defaultLights>
		<!--HvitPark-->
		    <defaultLight node="0>8|0|0" lightTypes="0"/>
			<defaultLight node="0>8|0|1" lightTypes="0"/>
			<defaultLight node="0>8|0|2" lightTypes="0"/>
			<defaultLight node="0>8|0|3" lightTypes="0"/>
			<defaultLight node="1>9|0"   lightTypes="0"/>
			<defaultLight node="1>9|1"   lightTypes="0"/>
			<!--RødPark-->
			<defaultLight node="0>8|0|4" lightTypes="0"/>
			<defaultLight node="0>8|0|5" lightTypes="0"/>
			<defaultLight node="0>8|0|6" lightTypes="0"/>
			<defaultLight node="0>8|0|7" lightTypes="0"/>
			<!--orangeLeft-->
			<defaultLight node="0>7|0|3|4|12|0"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|1"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|2"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|3"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|4"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|5"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|6"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|7"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|8"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|9"  lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|10" lightTypes="0"/>
			<defaultLight node="0>7|0|3|4|12|11" lightTypes="0"/>
			<!--orangeRight-->
			<defaultLight node="0>7|0|20|12|0"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|1"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|2"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|3"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|4"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|5"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|6"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|7"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|8"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|9"  lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|10" lightTypes="0"/>
			<defaultLight node="0>7|0|20|12|11" lightTypes="0"/>
			<!--RedSkap-->
			<defaultLight node="0>7|0|21|10|0"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|1"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|2"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|3"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|4"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|5"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|6"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|7"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|8"  lightTypes="0"/>
			<defaultLight node="0>7|0|21|10|9"  lightTypes="0"/>
        </defaultLights>
  	    <beaconLights>
	        <beaconLight node="" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
			<beaconLight node="" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
			<beaconLight node="" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
			<beaconLight node="" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
        </beaconLights>
		
        <brakeLights>
            <brakeLight node="0>8|5|2"/>
			<brakeLight node="0>8|5|3"/>
        </brakeLights>
        <turnLights>
		    <turnLightRight node="0>8|2|2" />
            <turnLightRight node="0>8|2|2" />
            <turnLightLeft  node="0>8|3|2" />
			<turnLightLeft  node="0>8|4|2" />
        </turnLights>

		<reverseLights>
            <reverseLight node="0>8|5|0"/>
			<reverseLight node="0>8|5|1"/>
        </reverseLights>
		
    </lights>
   
   <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="2>0" rootNode="2>" jointType="trailer" attacherHeight="1"/>
        </inputAttacherJoints>
        <brakeForce>0.8</brakeForce>
        <airConsumer usage="0.3"/>
    </attachable>
    
	<!--<attacherJoints>
        <sounds>
            <attach file="$data/sounds/attach.wav">
                <volume indoor="0.35" outdoor="1.0"/>
                <pitch outdoor="1.0"/>
                <lowpassGain indoor="0.75"/>
            </attach>
        </sounds>
    </attacherJoints>-->

    <animations>
		<animation name="fold1Source">
            <part node="0>7|0|3" startTime="0" duration="1" startRot="0 0 0" endRot="0 0 90"/>
        </animation>
      </animations>
	  
    <cylindered>
        <movingTools>
            <!--<movingTool node="0>7" playSound="true">
                <dependentPart node="0>6|13"/>
            </movingTool>-->
            <movingTool node="0>7|0|3" playSound="true">
                <dependentPart node="0>7|0|8|0"/>
                <dependentPart node="0>7|0|8|1"/>
            </movingTool>
            <movingTool node="0>7" playSound="true">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.6" iconName="FRONTLOADER_ARM_ROTATE_TOOL"/>
                <rotation rotSpeed="25" rotAcceleration="100" rotMax="0" rotMin="-45" rotationAxis="3" startRot="0"/>
            </movingTool>
        </movingTools>
        <movingParts isActiveDirtyTimeOffset="1">
            <movingPart node="0>7|0|8|0" referencePoint="0>7|0|3|1|0" referenceFrame="0>7|0|3|1|0">
                <translatingPart node="0>7|0|8|0|0"/>
            </movingPart>
            <movingPart node="0>7|0|8|1" referencePoint="0>7|0|3|2|0" referenceFrame="0>7|0|3|2|0">
                <translatingPart node="0>7|0|8|1|0"/>
            </movingPart>
			
            <movingPart node="0>7|0|18" referenceFrame="0>" isActiveDirty="true"/>
       
        </movingParts>
    </cylindered>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="66500">
                        <exactFillRootNode node="0>7|0|1"/>
                        <!--<autoAimTargetNode node="0>7|0|2|0" startZ="3.8" endZ="-3.7" invert="false" startPercentage="25"/>-->
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>7|0|0" allSidePlanes="true" maxAllowedHeapAngle="40" fillUnitIndex="1"/>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="0>7|0|16" width="2" length="6"/>
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <dischargeable>
        <dischargeNode node="0>7|0|18|0" fillUnitIndex="1" emptySpeed="1400" >
            <raycast node="0>7|0|18|0" maxDistance="6" />
            <info width="8.0" length="2.0"/>

            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>7|0|19|0" effectClass="ParticleEffect" lifespan="0.11"/>
                    <effectNode effectNode="0>7|0|19|1" materialType="unloading" materialTypeId="3" fadeTime="0.5" alignXAxisToWorldY="true" />
                </effectNode>

                <effectNode effectNode="0>7|0|19|2" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
	</dischargeable>	
	
	<shovel>
        <dischargeInfo node="0>7|0|17" minSpeedAngle="110" maxSpeedAngle="165" />
    </shovel>

    <tipOccluder>
        <occlusionArea start="occlusionAreaStart" width="occlusionAreaWidth" height="occlusionAreaHeight"/>
    </tipOccluder>

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

    <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="0>7|0|15" jointNode="0>" width="0.1" maxEdgeLength="0.5" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="5">
                    <tensionBelt startNode="0>7|0|15|0" endNode="0>7|0|15|0|0"/>
                    <tensionBelt startNode="0>7|0|15|1" endNode="0>7|0|15|1|0"/>
                    <tensionBelt startNode="0>7|0|15|2" endNode="0>7|0|15|2|0"/>
                    <tensionBelt startNode="0>7|0|15|3" endNode="0>7|0|15|3|0"/>
                    <tensionBelt startNode="0>7|0|15|4" endNode="0>7|0|15|4|0"/>
                    <tensionBelt startNode="0>7|0|15|5" endNode="0>7|0|15|5|0"/>
                    <tensionBelt startNode="0>7|0|15|6" endNode="0>7|0|15|6|0"/>
                    <tensionBelt startNode="0>7|0|15|7" endNode="0>7|0|15|7|0"/>
                    <tensionBelt startNode="0>7|0|15|8" endNode="0>7|0|15|8|0"/>
                    <tensionBelt startNode="0>7|0|15|9" endNode="0>7|0|15|9|0"/>
                    <tensionBelt startNode="0>7|0|15|10" endNode="0>7|0|15|10|0"/>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
    <!--<cover>
        <coverConfigurations>
            <coverConfiguration>
                <cover openAnimation="toggleCover"/>
            </coverConfiguration>
        </coverConfigurations>
    </cover>--->
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
	<foldable>
        <foldingParts posDirectionText="door_close" negDirectionText="door_open" startMoveDirection="0">
            <foldingPart animationName="fold1Source" speedScale="1" componentJointIndex="1" anchorActor="0"/>
        </foldingParts>
    </foldable>

</vehicle>
