<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="trailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>
			<de>Kipper Aufbau</de>
			<en>Trailer Extension</en>
		</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>store/store_Trailer.png</image>
        <price>8000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>trailers trailersChangingSystem</category>
        <shopTranslationOffset>0 -0.4 1.825</shopTranslationOffset>
        <shopRotationOffset>0.122 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1152256</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>302336</indexBufferMemoryUsage>
        <textureMemoryUsage>393216</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>i3d/Kipper.i3d</filename>
        <size width="2.7" length="1.6" lengthOffset="0.5"/>
        <sounds volumeFactor="1.8"/>
        <components maxMass="6500">
            <component centerOfMass="0 -0.3 -1.795" solverIterationCount="10" mass="800"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="hookLift"/>
        <mapHotspot type="TRAILER"/>
    </base>


    <attachable allowFoldingWhileLowered="false">
        <inputAttacherJoints>
            <inputAttacherJoint node="0>5" jointType="hookLift" upperRotationOffset="0" needsLowering="false" allowsLowering="false">
                <subType name="moduleBackNoPTO" />
                <distanceToGround lower="0.8" upper="0.8"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
		<support animationName="supportAnimation" delayedOnAttach="false" detachAfterAnimation="true"/>
    </attachable>

    <animations>
        <animation name="supportAnimation">
            <part node="0>6|4" startTime="0" endTime="0.5" startScale="0 0 0" endScale="1.272 1.45 0.3"/>
            <part node="0>6|5" startTime="0" endTime="0.5" startScale="0 0 0" endScale="1.272 1.45 0.3"/>
            <part node="0>6|0" startTime="0" endTime="0.01" startScale="0 0 0" endScale="0.1 1.85 0.1"/>
            <part node="0>6|1" startTime="0" endTime="0.01" startScale="0 0 0" endScale="0.1 1.85 0.1"/>
            <part node="0>6|2" startTime="0" endTime="0.01" startScale="0 0 0" endScale="0.1 1.85 0.1"/>
            <part node="0>6|3" startTime="0" endTime="0.01" startScale="0 0 0" endScale="0.1 1.85 0.1"/>
			<part node="0>6|6" startTime="0" endTime="0.01" startScale="0 0 0" endScale="1 1 1"/>
        </animation>
		<animation name="tipAnimationBack">
            <part node="0>8" startTime="0.0" endTime="0.5" startRot="0 0 0" endRot="15 0 0" />
		</animation><!--
		<animation name="tipAnimationGrain">
            <part node="0>14|3|12" startTime="0.0" endTime="0.001" startScale="0.15 0.01 0.15" endScale="0 0 0" />
		</animation>-->
    </animations>

    <fillUnit>
		<fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="BULK" capacity="6500" allowAILoading="true">
                        <exactFillRootNode node="0>9|2" />
                        <autoAimTargetNode node="0>9|3" startZ="0.37" endZ="-1.65" invert="false" startPercentage="25"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>9|1" maxDelta="0.12" maxAllowedHeapAngle="15" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="0>9|5" width="1.0" length="4.5" />
            </unloadInfo><!--
			<unloadInfo>
                <node node="0>9|7" width="1.0" length="1.0" />
            </unloadInfo>-->
        </unloadInfos>
    </fillVolume>

    <trailer>
        <trailerConfigurations>
            <trailerConfiguration name="Standard" price="0">
                <trailer>
                  <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                    <animation name="tipAnimationBack" speedScale="0.95" closeSpeedScale="1.5" startTipTime="0.1"/>
                  </tipSide>
                </trailer>
				<objectChange node="0>14" visibilityActive="false"/>
            </trailerConfiguration><!--
			<trailerConfiguration name="Förderschnecke" price="3500">
                <trailer>
				  <tipSide name="$l10n_info_tipSideBackGrainDoor" dischargeNodeIndex="2">
					<animation name="tipAnimationGrain" speedScale="0.95" closeSpeedScale="1.5" startTipTime="0.1"/>
                  </tipSide>
                </trailer>
				<objectChange node="0>14" visibilityActive="true"/>
            </trailerConfiguration>-->
        </trailerConfigurations>
    </trailer>

    <dischargeable>
        <dischargeableConfigurations>
            <dischargeableConfiguration>
                <dischargeNode node="0>9|4" emptySpeed="571" fillUnitIndex="1" unloadInfoIndex="1" allowAIDischarge="true">
                    <info width="2.3" length="0.5" />
                    <effects>
                        <effectNode effectClass="TipEffect">
                            <effectNode effectNode="0>9|0|0|1|0" effectClass="ParticleEffect" materialType="unloadingParticle" emitCountScale="3"/>
                            <effectNode effectNode="0>9|0|0|0|0" materialType="unloading" fadeTime="0.5" extraDistanceNode="0>9|4" extraDistance="0.45" delay="0.3"/>
                        </effectNode>
                        <effectNode effectNode="0>9|0|0|0|1" materialType="unloadingSmoke" fadeTime="0.5" />
                    </effects>
                </dischargeNode><!--
				<dischargeNode node="0>14|7" emptySpeed="100" fillUnitIndex="1" unloadInfoIndex="2" allowAIDischarge="false">
                    <info width="0.5" length="0.5" />
                    <effects>
                        <effectNode effectClass="TipEffect">
                            <effectNode effectNode="0>9|0|0|1|1" effectClass="ParticleEffect" materialType="unloadingParticle" emitCountScale="3"/>
                            <effectNode effectNode="0>14|8|0" materialType="unloading" fadeTime="0.5" extraDistanceNode="0>14|7" extraDistance="0.45" delay="0.3"/>
                        </effectNode>
                        <effectNode effectNode="0>14|8|1" materialType="unloadingSmoke" fadeTime="0.5" />
                    </effects>
                </dischargeNode>-->
            </dischargeableConfiguration>
        </dischargeableConfigurations>
    </dischargeable>
	
	<baseColorConfigurations title="$l10n_configuration_baseColor" useDefaultColors="false">
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_YELLOW"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_GREEN"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_SD_SILVER"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_SD_GREEN"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_BB_BLACK"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_SILVER"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_WHITE"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_BLUE"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_DAMMANN"/>
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_STOTZ"/> 
		<baseColorConfiguration materialTemplateName="MERCEDES_BENZ_BUBBLUE"/> 
        <material materialSlotName="base_mat"/>
    </baseColorConfigurations>
	
	<designConfigurations title="$l10n_configuration_designColor">
        <designConfiguration name="$l10n_ui_colorGreen" price="100">
			<objectChange node="0>13" visibilityActive="false"/>
			<objectChange node="0>8|6" visibilityActive="false"/>
			
			<objectChange node="0>12" visibilityActive="false"/>
			<objectChange node="0>8|5" visibilityActive="false"/>
			
			<objectChange node="0>11" visibilityActive="true"/>
			<objectChange node="0>8|4" visibilityActive="true"/>
			
		</designConfiguration>
		<designConfiguration name="$l10n_ui_colorWhite" price="100">
			<objectChange node="0>13" visibilityActive="false"/>
			<objectChange node="0>8|6" visibilityActive="false"/>
			
			<objectChange node="0>12" visibilityActive="true"/>
			<objectChange node="0>8|5" visibilityActive="true"/>
			
			<objectChange node="0>11" visibilityActive="false"/>
			<objectChange node="0>8|4" visibilityActive="false"/>
			
		</designConfiguration>
		<designConfiguration name="$l10n_ui_colorBlack" price="100">
			<objectChange node="0>13" visibilityActive="true"/>
			<objectChange node="0>8|6" visibilityActive="true"/>
			
			<objectChange node="0>12" visibilityActive="false"/>
			<objectChange node="0>8|5" visibilityActive="false"/>
			
			<objectChange node="0>11" visibilityActive="false"/>
			<objectChange node="0>8|4" visibilityActive="false"/>
			
		</designConfiguration>
    </designConfigurations>
	
	<licensePlates>
        <licensePlate node="0>8|3" position="BACK" preferedType="ELONGATED" placementArea="0.2 0.15 0.08 0.19"/>
    </licensePlates>
	
    <ai>
        <agentAttachment width="2.7" height="1.6" length="1.6" lengthOffset="0.5"/>
    </ai>

    <tipOccluder>
        <occlusionArea start="0>9|6|0" width="0>9|6|1" height="0>9|6|2" />
		<!--<occlusionArea start="0>14|14|0" width="0>14|14|1" height="0>14|14|2" /> -->
    </tipOccluder>

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

</vehicle>
