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

    <storeData>
        <name>Meyer RTX226</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>Store_MeyerRT226.dds</image>
        <price>92899</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MEYER</brand>
        <category>ForageTrailer</category>
        <vertexBufferMemoryUsage>511280</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>71394</indexBufferMemoryUsage>
        <textureMemoryUsage>5942048</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>MeyerRTX226.i3d</filename>
        <size width="3" length="14"/>
        <components>
            <component centerOfMass="0 0.45 2" solverIterationCount="35" mass="2500"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="Wheels/Wheels.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.9" repr="0>0|0"    forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="40" damper="50" frictionScale="2"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="0.9" repr="0>0|1"   forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="40" damper="50" frictionScale="2"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.8" repr="0>0|2"   forcePointRatio="0.5" initialCompression="15" suspTravel="0.15" spring="32" damper="50" frictionScale="2.5"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.8" repr="0>0|3" forcePointRatio="0.5" initialCompression="15" suspTravel="0.15" spring="32" damper="50" frictionScale="2.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="Ballon" price="0">
                <wheels>
                    <wheel filename="Wheels/Wheels2.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.9" repr="0>0|0"    forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="40" damper="50" frictionScale="2"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels2.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="0.9" repr="0>0|1"   forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="40" damper="50" frictionScale="2"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels2.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.8" repr="0>0|2"   forcePointRatio="0.5" initialCompression="15" suspTravel="0.15" spring="32" damper="50" frictionScale="2.5"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels2.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.8" repr="0>0|3" forcePointRatio="0.5" initialCompression="15" suspTravel="0.15" spring="32" damper="50" frictionScale="2.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="BKT" price="0">
                <wheels>
                    <wheel filename="Wheels/Wheels3.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.9" repr="0>0|0"    forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="40" damper="50" frictionScale="2"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels3.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="0.9" repr="0>0|1"   forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="40" damper="50" frictionScale="2"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels3.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.8" repr="0>0|2"   forcePointRatio="0.5" initialCompression="15" suspTravel="0.15" spring="32" damper="50" frictionScale="2.5"/>
                    </wheel>
                    <wheel filename="Wheels/Wheels3.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.8" repr="0>0|3" forcePointRatio="0.5" initialCompression="15" suspTravel="0.15" spring="32" damper="50" frictionScale="2.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>8" rootNode="0>" jointType="trailerLow" attacherHeight="0.63"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce>0.4</brakeForce>
    </attachable>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" detachNode="0>3|6|2" inputNode="0>3|6|1" aboveAttacher="true" />
    </powerTakeOffs>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>3|6|3"  length="2" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="0>3|6|0|1" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="0>3|6|4" length="2" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="0>3|6|0|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <lights>
        <sharedLight linkNode="0>2|5|0"          filename="$data/shared/assets/lights/lizard/rearLightOvalLEDOrange_01_left.xml" />
        <sharedLight linkNode="0>2|5|2"          filename="$data/shared/assets/lights/lizard/rearLightOvalLEDOrange_01_right.xml" />
        <sharedLight linkNode="0>2|5|1"          filename="$data/shared/assets/lights/lizard/rearLightOvalLEDRed_01.xml" />
        <sharedLight linkNode="0>2|5|3"          filename="$data/shared/assets/lights/lizard/rearLightOvalLEDRed_01.xml" />
        <realLights>
            <high>
                <turnLightLeft node="0>2|5|0|0" />
                <turnLightRight node="0>2|5|2|0" />
                <brakeLight node="0>2|5|1|0" />
                <brakeLight node="0>2|5|3|0" />
            </high>
        </realLights>
    </lights>

    <animations>
        <animation name="tipAnimationBack">
			<part node="0>2|1" startTime="0" endTime="5" startRot="0 0 0" endRot="-75 0 0" />
        </animation>
        <animation name="tipAnimationFront">
			<part node="0>3|4|1" startTime="0" endTime="1.5" startRot="0 0 0" endRot="0 0 90" />
			<part node="0>3|4|2" startTime="1.5" endTime="3" startRot="0 0 0" endRot="0 0 90" />
			<part node="0>3|4|0" startTime="3" endTime="4.5" startRot="-8 0 0" endRot="-160 0 0" />
			<part node="0>3|2" startTime="0" endTime="3" startRot="0 0 -80" endRot="0 0 0" />
        </animation>
        <animation name="tipAnimationBackDoor">
			<part node="0>3|3|6" startTime="0" endTime="4.5" startRot="0 0 0" endRot="0 0 90" />
        </animation>
        <animation name="moveSupport">
            <part node="0>9|0" startTime="0.001"    endTime="1" endTrans="-0.066 -0.4 0" startTrans="-0.066 -0.22 0" />
            <part node="0>9" startTime="0"    endTime="0.001" endTrans="0.073 0.392 5.463" startTrans="0 0.5 4.268" />
            <part node="0>9" startTime="0"    endTime="0.001" endRot="0 180 0" startRot="90 0 -90" />
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="0>2|1" playSound="true">
                <dependentPart node="0>2|1|0" />
            </movingTool>
            <movingTool node="0>3|2" playSound="true">
                <dependentPart node="0>3|1" />
            </movingTool>
        </movingTools>

        <movingParts> 
			<movingPart node="0>2|1|0" referencePoint="0>2|4" referenceFrame="0>2|4">
                <translatingPart node="0>2|1|0|0" />
            </movingPart>
			<movingPart node="0>3|1" referencePoint="0>3|2|3" referenceFrame="0>3|2|3">
                <translatingPart node="0>3|1|0" />
            </movingPart>
        </movingParts>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="42763" >
                        <exactFillRootNode node="0>5|0" />
                        <autoAimTargetNode node="0>5|1" startZ="2" endZ="-2.5" invert="false" fillUnitIndex="1" startPercentage="25"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>4|0" maxDelta="0.40" maxAllowedHeapAngle="20" fillUnitIndex="1" >
                        <deformNode node="0>4|4|0"/>
                        <deformNode node="0>4|4|1"/>
                        <deformNode node="0>4|4|2"/>
                        <deformNode node="0>4|4|3"/>
                    </volume>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo fillVolumeIndex="1" >
                <node node="0>4|2|0" width="1.3" length="1.5" priority="2" minHeight="1.0" />
                <node node="0>4|2|1" width="1.3" length="1.5" priority="2" minHeight="1.0" />
                <node node="0>4|1" width="1.3" length="1.7" />
            </unloadInfo>
            <unloadInfo fillVolumeIndex="1" >
                <node node="0>3|8|1|0" width="1.3" length="1.5" priority="2" minHeight="1.0" />
                <node node="0>3|8|1|1" width="1.3" length="1.5" priority="2" minHeight="1.0" />
                <node node="0>3|8|0" width="0.6" length="0.6" />
            </unloadInfo>
        </unloadInfos>

        <heightNodes>
            <heightNode fillVolumeIndex="1" >
                <refNode node="0>4|2|0" />
                <refNode node="0>4|2|1" />
                <node node="0>6|1|0" baseScale="1 0.1 1" scaleAxis="0 0.5 0" />
            </heightNode>
            <heightNode fillVolumeIndex="1" >
                <refNode node="0>3|8|1|0" />
                <refNode node="0>3|8|1|1" />
                <node node="0>3|7|1|0" baseScale="1 0.1 1" scaleAxis="0 0.5 0" />
            </heightNode>
        </heightNodes>
    </fillVolume>

    <trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="Front Unload" dischargeNodeIndex="2">
						<animation name="tipAnimationFront" speedScale="1.0"/>
                        <doorAnimation name="tipAnimationBackDoor" speedScale="1.0" startTipTime="1.0"/>
                        <animationNodes>
                            <animationNode node="0>3|3|0" rotSpeed="-300"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>3|3|1" rotSpeed="-300"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>3|3|2" rotSpeed="-300"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>3|3|3" rotSpeed="-300"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>3|3|4" rotSpeed="-20"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>2|0|0" rotSpeed="-20"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>3|3|5" rotSpeed="300"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>3|2|0" rotSpeed="300"  rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5" />
                            <animationNode node="0>2|0|1" rotSpeed="-7"  rotAxis="1" shaderComponentScale="0 1 0 0" shaderParameterName="offsetUV" />
                            <animationNode node="0>2|0|2" rotSpeed="-7"  rotAxis="1" shaderComponentScale="0 1 0 0" shaderParameterName="offsetUV" />
                            <animationNode node="0>3|2|2" rotSpeed="100"  rotAxis="1" shaderComponentScale="0 1 0 0" shaderParameterName="offsetUV" />
                            <animationNode node="0>3|3|7" rotSpeed="100"  rotAxis="1" shaderComponentScale="0 1 0 0" shaderParameterName="offsetUV" />
                        </animationNodes>
                    </tipSide>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
						<animation name="tipAnimationBack" speedScale="1.0" />
                        <doorAnimation name="tipAnimationBackDoor" speedScale="1.0" startTipTime="0.6"/>
                        <animationNodes>
                            <animationNode node="0>3|3|4" rotSpeed="50"  rotAxis="1"/>
                            <animationNode node="0>2|0|0" rotSpeed="50"  rotAxis="1"/>
                            <animationNode node="0>2|0|1" rotSpeed="15"  rotAxis="1" shaderComponentScale="0 1 0 0" shaderParameterName="offsetUV" />
                            <animationNode node="0>2|0|2" rotSpeed="15"  rotAxis="1" shaderComponentScale="0 1 0 0" shaderParameterName="offsetUV" />
                        </animationNodes>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>

    <dischargeable>
        <dischargeNode node="0>4|3" emptySpeed="1000" fillUnitIndex="1" unloadInfoIndex="1" >
            <info width="1.5" length="0.9" />
            <effects>
                    <effectNode effectNode="0>6|1|0" effectClass="ParticleEffect" extraDistance="1.5"/>
                    <effectNode effectNode="0>6|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5"/>
                <!--effectNode effectNode="0>6|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" /-->
            </effects>
        </dischargeNode>
        <dischargeNode node="0>3|8|2" emptySpeed="200" fillUnitIndex="1" unloadInfoIndex="2" >
            <info width="0.6" length="0.6" />
            <effects>
                    <effectNode effectNode="0>3|7|1|0" effectClass="ParticleEffect" extraDistance="1.5"/>
                    <effectNode effectNode="0>3|7|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5"/>
                <!--effectNode effectNode="0>3|7|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" /-->
            </effects>
        </dischargeNode>
    </dischargeable>

    <foliageBending>
        <bendingNode minX="-1" maxX="1" minZ="-3" maxZ="3" yOffset="0.4" />
    </foliageBending>

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

    <i3dMappings>
    </i3dMappings>
</vehicle>

