<?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 Dom Trailer</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>store_dom.dds</image>
        <price>1500</price>
        <lifetime>800</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>trailers</category>
		<shopTranslationOffset>0 0.9 0</shopTranslationOffset>        
		<shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>838696</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>142152</indexBufferMemoryUsage>
        <textureMemoryUsage>11185056</textureMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>Lizard_Dom.i3d</filename>
        <size width="2" length="4" lengthOffset="0.4" />
        <components>
            <component centerOfMass="0 0 0"  solverIterationCount="10" mass="1100"/>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="900"/>
            <component                            solverIterationCount="10" mass="200"/>
            <joint component1="1" component2="2" node="1>3"    rotLimit="0 120 0" transLimit="0 0 0" />
            <joint component1="2" component2="3" node="2>2"    rotLimit="50 0 0"  transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <configurationSets>
        <configurationSet name="$l10n_configuration_capacityX" params="3000" isDefault="true">
            <configuration name="fillVolume"   index="1" />
            <configuration name="fillUnit"     index="1" />
            <configuration name="trailer"      index="1" />
        </configurationSet>
        <configurationSet name="$l10n_configuration_capacityX" params="3350" isDefault="true">
            <configuration name="fillVolume"   index="2" />
            <configuration name="fillUnit"     index="2" />
            <configuration name="trailer"      index="2" />
        </configurationSet>
    </configurationSets>






    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels hasSurfaceSounds="false">
                    <wheel filename="whell/wheels.xml" isLeft="true">
                        <physics restLoad="0.4" repr="1>1" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                    <wheel filename="whell/wheels.xml" isLeft="false">
                        <physics restLoad="0.4" repr="1>2" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                    <wheel filename="whell/wheels.xml" isLeft="true">
                        <physics restLoad="0.4" repr="0>7" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                    <wheel filename="whell/wheels.xml" isLeft="false">
                        <physics restLoad="0.4" repr="0>8" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="650">
                <wheels hasSurfaceSounds="false">
                    <wheel filename="whell/wheels2.xml" isLeft="true">
                        <physics restLoad="0.4" repr="1>1" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                    <wheel filename="whell/wheels2.xml" isLeft="false">
                        <physics restLoad="0.4" repr="1>2" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                    <wheel filename="whell/wheels2.xml" isLeft="true">
                        <physics restLoad="0.4" repr="0>7" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                    <wheel filename="whell/wheels2.xml" isLeft="false">
                        <physics restLoad="0.4" repr="0>8" forcePointRatio="0.3" initialCompression="30" suspTravel="0.03" spring="40" damper="10" rotationDamping="0.005" mass="0.1" isSynchronized="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>  
    </wheels>

    <rimColorConfigurations>
        <rimColorConfiguration  name="$l10n_Gray" 	    color="0.25 0.25 0.24 6"/>
	    <rimColorConfiguration  name="$l10n_Gray"      color="0.15 0.15 0.15 6"/>
		<rimColorConfiguration  name="$l10n_Gray" 	    color="0.15 0.17 0.20 6"/> 
		<rimColorConfiguration  name="$l10n_Red" 	    color="0.242 0.096 0.095 6"/> 
		<rimColorConfiguration  name="$l10n_Red" 	    color="0.25 0.067 0.057 6"/> 
		<rimColorConfiguration  name="$l10n_Red"      color="0.2 0.0 0.0 6"/>
		<rimColorConfiguration  name="$l10n_Blue" 	    color="0.17 0.27 0.15 6"/>		 
		<rimColorConfiguration  name="$l10n_Green"       color="0.03 0.15 0.03 6"/>
		<rimColorConfiguration  name="$l10n_Green"      color="0.02 0.09 0.04 6"/>
		<rimColorConfiguration  name="$l10n_Blue" 	    color="0.02 0.27 0.72 6"/>
        <rimColorConfiguration  name="$l10n_Blue" 	    color="0.06 0.12 0.5 6"/>     
        <rimColorConfiguration  name="$l10n_Green"       color="0.0194 0.0482 0.2122 6"/>
        <rimColorConfiguration  name="$l10n_Blue" 	    color="0.1 0.2 0.4 6"/> 
    </rimColorConfigurations>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="2>1" jointType="trailer" rootNode="2>" attacherHeight="0.874" />
        </inputAttacherJoints>
        <brakeForce force="0.1" maxForce="0.5" maxForceMass="3150"/>
    </attachable>




    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_capacityX" price="0" params="2560" >
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="2560" >
                        <exactFillRootNode node="0>1|1" />
                        <autoAimTargetNode node="0>1|2" startZ="0.9" endZ="-2.8" invert="false" fillUnitIndex="1" startPercentage="25"/>
                    </fillUnit>
                </fillUnits>
                <objectChange node="0>0|0|2"    visibilityActive="false" />
                <objectChange node="0>0|0|6"  compoundChildActive="false" />
                <objectChange node="0>0|3|1"   visibilityActive="false" />
                <objectChange node="0>0|3|5" compoundChildActive="false" />
                <objectChange node="0>0|2|1"    visibilityActive="false" />
                <objectChange node="0>0|2|3"  compoundChildActive="false" />
                <objectChange node="0>0|1|1"   visibilityActive="false" />
                <objectChange node="0>0|1|3" compoundChildActive="false" />
            </fillUnitConfiguration>
			
			
            <fillUnitConfiguration name="$l10n_configuration_capacityX" price="0" params="3150" >
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="3150" >
                        <exactFillRootNode node="0>1|1" />
                        <autoAimTargetNode node="0>1|2" startZ="0.9" endZ="-2.8" invert="false" fillUnitIndex="1" startPercentage="25"/>
                    </fillUnit>
                </fillUnits>
                <objectChange node="0>0|0|2"    visibilityActive="true" />
                <objectChange node="0>0|0|6"  compoundChildActive="true" />
                <objectChange node="0>0|3|1"   visibilityActive="true" />
                <objectChange node="0>0|3|5" compoundChildActive="true" />
                <objectChange node="0>0|2|1"    visibilityActive="true" />
                <objectChange node="0>0|2|3"  compoundChildActive="true" />
                <objectChange node="0>0|1|1"   visibilityActive="true" />
                <objectChange node="0>0|1|3" compoundChildActive="true" />
				
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>1|0" maxDelta="0.23" maxAllowedHeapAngle="18" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>1|6" maxDelta="0.23" maxAllowedHeapAngle="18" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
		
		
		
		
        <unloadInfos>
            <unloadInfo>
                <node node="0>1|5" width="2" length="1.0" />
            </unloadInfo>
            <unloadInfo>
                <node node="0>1|3" width="1" length="4.0" />
            </unloadInfo>
            <unloadInfo>
                <node node="0>1|4" width="1" length="4.0" />
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="tipAnimationBack" speedScale="1.0" startTipTime="0.9"/>
                    </tipSide>
                    <tipSide name="$l10n_info_tipSideLeft" dischargeNodeIndex="2" >
                        <animation name="tipAnimationLeft" speedScale="1.0" startTipTime="0.9"/>
                    </tipSide>
                    <tipSide name="$l10n_info_tipSideRight" dischargeNodeIndex="3" >
                        <animation name="tipAnimationRight" speedScale="1.0" startTipTime="0.9"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="tipAnimationBack2" speedScale="1.0" startTipTime="0.9"/>
                    </tipSide>
                    <tipSide name="$l10n_info_tipSideLeft" dischargeNodeIndex="2" >
                        <animation name="tipAnimationLeft2" speedScale="1.0" startTipTime="0.9"/>
                    </tipSide>
                    <tipSide name="$l10n_info_tipSideRight" dischargeNodeIndex="3" >
                        <animation name="tipAnimationRight2" speedScale="1.0" startTipTime="0.9"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>

    <animations>
        <animation name="tipAnimationBack">
            <part node="0>0|3" startTime="0.4" endTime="1"  startRot="0 0 0"    endRot="-151.977 0 0" />
            <part node="0>0|3|2|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|2|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
            <part node="0>0|3|3|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|3|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
        </animation>
		
        <animation name="tipAnimationLeft">
            <part node="0>0|2" startTime="0.4" endTime="1"  startRot="0 0 0"    endRot="0 0 -180" />
            <part node="0>0|3|3|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|3|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
            <part node="0>0|0|3|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|0|3|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
        </animation>
		
        <animation name="tipAnimationRight">
            <part node="0>0|1" startTime="0.4"   endTime="1" startRot="0 0 0" endRot="0 0 175" />
            <part node="0>0|3|2|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|2|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
            <part node="0>0|0|4|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|0|4|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
        </animation>
		
        <animation name="tipAnimationBack2">
            <part node="0>0|3" startTime="0.4" endTime="1"  startRot="0 0 0"    endRot="-151.977 0 0" />
            <part node="0>0|3|2|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|2|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
            <part node="0>0|3|3|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|3|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />   
            <part node="0>0|3|1" startTime="0" endTime="0.01" startScale="1 1 1" endScale="0 0 0" /> 
        </animation>
		
        <animation name="tipAnimationLeft2">
            <part node="0>0|2" startTime="0.4" endTime="1"  startRot="0 0 0"    endRot="0 0 -180" />
            <part node="0>0|3|3|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|3|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
            <part node="0>0|0|3|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|0|3|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
            <part node="0>0|2|1" startTime="0" endTime="0.01" startScale="1 1 1" endScale="0 0 0" />      
        </animation>
		
        <animation name="tipAnimationRight2">
            <part node="0>0|1" startTime="0.4"   endTime="1" startRot="0 0 0" endRot="0 0 175" />
            <part node="0>0|3|2|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|3|2|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />
            <part node="0>0|0|4|0"   startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 120 0" />
            <part node="0>0|0|4|0|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 -130 0" />   
            <part node="0>0|1|1" startTime="0" endTime="0.01" startScale="1 1 1" endScale="0 0 0" /> 
        </animation>
    </animations>

    <dischargeable>
        <dischargeNode node="0>3" emptySpeed="200" fillUnitIndex="1" unloadInfoIndex="1" >
            <info width="1.7" length="0.4" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>6|0|0|0" effectClass="ParticleEffect" />
                    <effectNode effectNode="0>2|0|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5" extraDistanceNode="0>3" extraDistance="0"/>
                </effectNode>
                <effectNode effectNode="0>2|0|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
		
		
        <dischargeNode node="0>5" emptySpeed="250" fillUnitIndex="1" unloadInfoIndex="2" >
            <info width="3.3" length="0.4" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>6|1|0|0" effectClass="ParticleEffect" />
                    <effectNode effectNode="0>2|1|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5" extraDistanceNode="0>5" extraDistance="0"/>
                </effectNode>
                <effectNode effectNode="0>2|1|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
		
        <dischargeNode node="0>4" emptySpeed="250" fillUnitIndex="1" unloadInfoIndex="3" >
            <info width="3.3" length="0.4" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>6|2|0|0" effectClass="ParticleEffect" />
                    <effectNode effectNode="0>2|2|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5" extraDistanceNode="0>4" extraDistance="0"/>
                </effectNode>
                <effectNode effectNode="0>2|2|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
		
		
    </dischargeable>

    <ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="7"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1" maxX="1" minZ="-1.9" maxZ="2" yOffset="0.6" />
    </foliageBending>


	  <baseMaterial>
        <material name="Blachy_mat" baseNode="1>0">
            <shaderParameter name="colorMat0" value="0.56 0.23 0.03 0"/>
        </material>
        <material name="Blachy_mat2" baseNode="2>0">
            <shaderParameter name="colorMat0" value="0.56 0.23 0.03 0"/>
        </material>
        <material name="Blachy_mat3" baseNode="0>0|0|4|0">
            <shaderParameter name="colorMat0" value="0.56 0.23 0.03 0"/>
        </material>
        <material name="Blachy_mat5" baseNode="0>0|0">
            <shaderParameter name="colorMat0" value="0.56 0.23 0.03 0"/>
        </material>
        <material name="Blachy_mat6" baseNode="0>0|3">
            <shaderParameter name="colorMat0" value="0.56 0.23 0.03 0"/>
        </material>
        <material name="Deski_mat1" baseNode="0>0|1|1|0">
            <shaderParameter name="colorMat3" value="0.56 0.23 0.03 0"/>
        </material>
        <material name="Deski_mat2" baseNode="0>0|0|0">
            <shaderParameter name="colorMat3" value="0.56 0.23 0.03 0"/>
        </material>
        <material name="Deski_mat3" baseNode="1>0|0">
            <shaderParameter name="colorMat3" value="0.56 0.23 0.03 0"/>
        </material>
    </baseMaterial>
	
	 <designMaterialConfigurations price="500" useDefaultColors="false" defaultColorIndex="1">
        <designMaterialConfiguration  name="$l10n_brown" color="0.42 0.3 0.18"/>
		<designMaterialConfiguration  name="$l10n_brown" color="0.26 0.19 0.09"/>
		<designMaterialConfiguration  name="$l10n_brown" color="0.18 0.13 0.08"/>
		<designMaterialConfiguration  name="$l10n_brown" color="0.3 0.2 0.08"/>
		<designMaterialConfiguration  name="$l10n_brown" color="0.3 0.15 0.08"/>
        <material 					name="Deski_mat1" shaderParameter="colorMat3" />
        <material 					name="Deski_mat2" shaderParameter="colorMat3" />
        <material 					name="Deski_mat3" shaderParameter="colorMat3" />
    </designMaterialConfigurations>

    <baseMaterialConfigurations price="500" useDefaultColors="false" defaultColorIndex="5">
        <baseMaterialConfiguration  name="$l10n_Gray" 	    color="0.2 0.2 0.2 6"/>
		<baseMaterialConfiguration  name="$l10n_Green"      color="0.02 0.09 0.04 6"/>
        <baseMaterialConfiguration  name="$l10n_Red"     color="0.42 0.0 0.0 6"/>
        <baseMaterialConfiguration  name="$l10n_Red"      color="0.2 0.0 0.0 6"/>
        <baseMaterialConfiguration  name="$l10n_Black"      color="0.01 0.01 0.01 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray" 	    color="0.15 0.17 0.20 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray"      color="0.35 0.35 0.35 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray"      color="0.28 0.28 0.28 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray"      color="0.21 0.21 0.21 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray"      color="0.15 0.15 0.15 6"/>
        <baseMaterialConfiguration  name="$l10n_Black"      color="0.08 0.08 0.08 6"/>
        <baseMaterialConfiguration  name="$l10n_Black"      color="0.025 0.025 0.025 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray"      color="0.2 0.1 0.1 6"/>
        <baseMaterialConfiguration  name="$l10n_Red"      color="0.35 0.15 0.1 6"/>
        <baseMaterialConfiguration  name="$l10n_Red"      color="0.4 0.05 0.05 6"/>
        <baseMaterialConfiguration  name="$l10n_Red"      color="0.5 0.02 0.02 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray"     color="0.15 0.16 0.19 6"/>
        <baseMaterialConfiguration  name="$l10n_Gray"      color="0.25 0.26 0.29 6"/>
        <baseMaterialConfiguration  name="$l10n_Green"      color="0.1 0.2 0.1 6"/>
        <baseMaterialConfiguration  name="$l10n_Green"       color="0.05 0.22 0.05 6"/>
        <baseMaterialConfiguration  name="$l10n_Green"      color="0.08 0.19 0.12 6"/>
        <baseMaterialConfiguration  name="$l10n_Green"       color="0.03 0.15 0.03 6"/>
        <baseMaterialConfiguration  name="$l10n_Blue" 	    color="0.1 0.2 0.4 6"/> 
		
        <material name="Blachy_mat" shaderParameter="colorMat0" />
        <material name="Blachy_mat2" shaderParameter="colorMat0" />
        <material name="Blachy_mat3" shaderParameter="colorMat0" />
        <material name="Blachy_mat5" shaderParameter="colorMat0" />
        <material name="Blachy_mat6" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
	
 

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

</vehicle>
