﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="trailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>            <en>SZK 1402</en>
        </name>
        <specs>
            <combination>E 8041,TDK 1600</combination>
        </specs>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>Textures/store_metaltechDB8000.dds</image>
        <price>9400</price>
        <dailyUpkeep>5</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>STRAUTMANN</brand>
        <category>tippers</category>
        <vertexBufferMemoryUsage>1284904</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>208248</indexBufferMemoryUsage>
        <textureMemoryUsage>19573616</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <typeDesc>$l10n_typeDesc_tipper</typeDesc>
    <filename>db8000.i3d</filename>
    <size width="3" length="8" lengthOffset="0.75"/>
    <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
            <wheels>
                <wheel restLoad="0.7" repr="0>0" driveNode="0>0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="true"  initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="0.7" repr="0>1"                   forcePointRatio="0.2" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="false" initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="1.3" repr="1>0"                   forcePointRatio="0.3" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="true"  initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="1.3" repr="1>1"                   forcePointRatio="0.3" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="false" initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
            </wheels>
        </wheelConfiguration>
        <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="400" icon="$dataS2/menu/hud/configurations/config_wheel_broad.png" >
            <wheels>
                <wheel restLoad="0.7" repr="0>0" driveNode="0>0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/T404_500_45R22_5.xml" isLeft="true"  configIndex="n10v5" initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="0.7" repr="0>1"                   forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/T404_500_45R22_5.xml" isLeft="false" configIndex="n10v5" initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="1.3" repr="1>0"                   forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/T404_500_45R22_5.xml" isLeft="true"  configIndex="n10v5" initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="1.3" repr="1>1"                   forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/T404_500_45R22_5.xml" isLeft="false" configIndex="n10v5" initialCompression="25" suspTravel="0.15" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
            </wheels>
        </wheelConfiguration>
    </wheelConfigurations>

    <axisColor>0.4151 0.0210 0.0290 1</axisColor>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="0>0|1|0" filename="$data/shared/vehicleParts/wheelChock01.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>0|1|1" filename="$data/shared/vehicleParts/wheelChock01.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>2|4|0" filename="$data/shared/vehicleParts/wheelChock01.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>2|4|1" filename="$data/shared/vehicleParts/wheelChock01.i3d" />
    </dynamicallyLoadedParts>

    <brakeForce>0.5</brakeForce>
    <maximalAirConsumptionPerFullStop value="0.3" />

    <lights>
        <low>
            <light                       decoration="0>2|2|0|0" lightTypes="0 3" />
            <light                       decoration="0>2|2|1|0" lightTypes="0 3" />
            <light                       decoration="1>2|0"     lightTypes="0 3" />
        </low>
        <high>
            <light                       decoration="0>2|2|0|0" lightTypes="0 3" />
            <light realLight="0>2|2|1|1" decoration="0>2|2|1|0" lightTypes="0 3" />
            <light                       decoration="1>2|0"     lightTypes="0 3" />
        </high>
    </lights>

    <brakeLights>
        <brakeLight realLight="0>2|2|1|1" decoration="0>2|2|3|0" />
    </brakeLights>

    <turnLights>
        <turnLightLeft  realLight="0>2|2|2|0|1" decoration="0>2|2|2|0|0" />
        <turnLightRight realLight="0>2|2|2|1|1" decoration="0>2|2|2|1|0" />
    </turnLights>

    <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav"  pitchOffset="0.8" volume="0.5" indoorVolumeFactor="0.75" />
    <fillSound file="$data/maps/sounds/siloFillSound.wav"          pitchOffset="1.0" volume="1.5" indoorVolumeFactor="0.75" />
    <attachSound file="$data/sounds/attach.wav"                    pitchOffset="1.0" volume="1.0" indoorVolumeFactor="0.35" indoorLowpassGain="0.75"/>

    <inputAttacherJoints>
        <inputAttacherJoint index="2>0" jointType="trailer" rootNode="2>" attacherHeight="0.9" />
    </inputAttacherJoints>

    <attacherJoints>
        <attacherJoint index="0>4" jointType="trailer" lowerRotLimit="10 80 80" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" >
            <schema position="0.5 0" rotation="0" invertX="false" />
        </attacherJoint>
    </attacherJoints>

    <fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="14000" />
    </fillUnits>

    <fillVolumes>
        <volumes>
            <volume index="0>3|0|0|4|0" maxDelta="0.23" maxAllowedHeapAngle="18"/>
        </volumes>

        <unloadInfos>
            <unloadInfo> <!-- left -->
                <node index="0>3|0|0|12|0" width="1.5" length="0.4" priority="2" minHeight="0.4" />
                <node index="0>3|0|0|12|1" width="1.5" length="0.4" priority="2" minHeight="0.4" />
                <node index="0>3|0|0|12|2" width="1.5" length="1.0" />
                <node index="0>3|0|0|12|3" width="1.5" length="1.0" />
            </unloadInfo>
            <unloadInfo> <!-- right -->
                <node index="0>3|0|0|12|0" width="1.5" length="0.4" />
                <node index="0>3|0|0|12|1" width="1.5" length="0.4" />
                <node index="0>3|0|0|12|2" width="1.5" length="1.0" priority="2" minHeight="0.4" />
                <node index="0>3|0|0|12|3" width="1.5" length="1.0" priority="2" minHeight="0.4" />
            </unloadInfo>
            <unloadInfo> <!-- back -->
                <node index="0>3|0|0|12|4" width="0.6" length="0.8" priority="2" minHeight="0.4" />
                <node index="0>3|0|0|12|5" width="0.6" length="0.8" priority="2" minHeight="0.4" />
                <node index="0>3|0|0|12|6" width="0.6" length="4.4" />
                <node index="0>3|0|0|12|7" width="0.6" length="4.4" />
            </unloadInfo>
            <unloadInfo> <!-- grain door -->
                <node index="0>3|0|0|12|4" width="0.6" length="0.6" priority="2" minHeight="0.4" />
                <node index="0>3|0|0|12|5" width="0.6" length="0.6" priority="2" minHeight="0.4" />
                <node index="0>3|0|0|12|6" width="0.6" length="4.4" />
                <node index="0>3|0|0|12|7" width="0.6" length="4.4" />
            </unloadInfo>
        </unloadInfos>

        <heights>
            <height fillVolumeIndex="1" > <!-- back -->
                <refNode index="0>3|0|0|12|4" />
                <refNode index="0>3|0|0|12|5" />
                <node index="0>3|0|0|10|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0" />
            </height>
            <height fillVolumeIndex="1" > <!-- right -->
                <refNode index="0>3|0|0|12|2" />
                <refNode index="0>3|0|0|12|3" />
                <node index="0>3|0|0|9|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0" />
            </height>
            <height fillVolumeIndex="1" > <!-- left -->
                <refNode index="0>3|0|0|12|0" />
                <refNode index="0>3|0|0|12|1" />
                <node index="0>3|0|0|8|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0" />
            </height>
            <height fillVolumeIndex="1" > <!-- grainDoor -->
                <refNode index="0>3|0|0|12|4" />
                <refNode index="0>3|0|0|12|5" />
                <node index="0>3|0|0|11|0|2" orientateToWorldY="true" />
            </height>
        </heights>
    </fillVolumes>


    <tipReferencePoints>
        <tipReferencePoint index="0>2|3|2" width="2" />
        <tipReferencePoint index="0>2|3|2" width="0.5" />
        <tipReferencePoint index="0>2|3|0" width="3" />
        <tipReferencePoint index="0>2|3|1" width="3" />
    </tipReferencePoints>

    <tipAnimations>
        <tipAnimation speedScale="1" animationName="tipAnimationBack" dischargeStartTime="1" dischargeEndTime="8" name="info_tipSideBack" >
            <tipEffect>
                <effectNode effectNode="0>3|0|0|10|0|0" materialType="unloading" materialTypeId="3" fadeTime="0.5" />
                <effectNode effectNode="0>3|0|0|10|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
            </tipEffect>
            <emitterShape node="0>3|0|0|10|1|0" />
            <fillVolume>
                <unloadInfo index="3"/>
                <height index="1"/>
            </fillVolume>
        </tipAnimation>
        <tipAnimation speedScale="1" animationName="tipAnimationGrainDoor" doorAnimationName="tipAnimationGrainDoor2" dischargeStartTime="1" dischargeEndTime="18" name="info_tipSideBackGrainDoor" >
            <tipEffect>
                <effectNode effectNode="0>3|0|0|11|0|0" materialType="unloading" materialTypeId="3" fadeTime="0.5" />
                <effectNode effectNode="0>3|0|0|11|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
            </tipEffect>
            <emitterShape node="0>3|0|0|11|1|0" />
            <fillVolume>
                <unloadInfo index="4"/>
                <height index="4"/>
            </fillVolume>
        </tipAnimation>
        <tipAnimation speedScale="1" closeSpeedScale="-2" animationName="tipAnimationLeft" dischargeStartTime="1" dischargeEndTime="8" name="info_tipSideLeft" >
            <tipEffect>
                <effectNode effectNode="0>3|0|0|8|0|0" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
                <effectNode effectNode="0>3|0|0|8|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5"/>
            </tipEffect>
            <emitterShape node="0>3|0|0|8|1|0" />
            <fillVolume>
                <unloadInfo index="1"/>
                <height index="3"/>
            </fillVolume>
        </tipAnimation>
        <tipAnimation speedScale="1" closeSpeedScale="-2" animationName="tipAnimationRight" dischargeStartTime="1" dischargeEndTime="8" name="info_tipSideRight" >
            <tipEffect>
                <effectNode effectNode="0>3|0|0|9|0|0" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
                <effectNode effectNode="0>3|0|0|9|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5"/>
            </tipEffect>
            <emitterShape node="0>3|0|0|9|1|0" />
            <fillVolume>
                <unloadInfo index="2"/>
                <height index="2"/>
            </fillVolume>
        </tipAnimation>
    </tipAnimations>

    <fillRootNode index="0>" />
    <exactFillRootNode index="0>3|0|0|6" />
    <fillAutoAimTargetNode index="0>3|0|0|7" startZ="3.4" endZ="0.3" invert="false" fillUnitIndex="1" startPercentage="25"/>
    <fillMassNode index="0>" />

    <movingTools>
        <movingTool index="0>3" playSound="true" >
            <dependentPart index="0>2|0" />
        </movingTool>
        <movingTool index="0>3|0" playSound="true" >
            <dependentPart index="0>2|0" />
        </movingTool>
        <movingTool index="0>3|0|0" playSound="true" >
            <dependentPart index="0>2|0" />
        </movingTool>

        <!-- door left handle -->
        <movingTool index="0>3|0|0|0|1|0">
            <dependentPart index="0>3|0|0|0|1|1" />
        </movingTool>
        <!-- door right handle -->
        <movingTool index="0>3|0|0|1|1|0">
            <dependentPart index="0>3|0|0|1|1|1" />
        </movingTool>
        <!-- door right handle -->
        <movingTool index="0>3|0|0|2|1|1">
            <dependentPart index="0>3|0|0|2|1|0" />
        </movingTool>
        <!-- door grain handle -->
        <movingTool index="0>3|0|0|2|0|0|0" >
            <dependentPart index="0>3|0|0|2|0|0|1" />
        </movingTool>
    </movingTools>

    <movingParts isActiveDirtyTimeOffset="2" >
        <movingPart index="0>2|0" referencePoint="0>3|0|0|3" referenceFrame="0>2|1" limitedAxis="3" >
            <dependentPart index="0>2|0|0" />
        </movingPart>
        <movingPart index="0>2|0|0" referencePoint="0>3|0|0|3" referenceFrame="0>2|1" limitedAxis="1" >
            <translatingPart index="0>2|0|0|0" />
            <translatingPart index="0>2|0|0|0|0" />
            <translatingPart index="0>2|0|0|0|0|0" />
            <translatingPart index="0>2|0|0|0|0|0|0" />
            <translatingPart index="0>2|0|0|0|0|0|0|0" />
        </movingPart>

        <!-- door left handle -->
        <movingPart index="0>3|0|0|0|1|1" referencePoint="0>3|0|0|0|1|0|0" localReferencePoint="0>3|0|0|0|1|1|0" referenceFrame="0>3|0|0|0|1|0|0" >
            <dependentPart index="0>3|0|0|0|1|1|0" />
        </movingPart>
        <movingPart index="0>3|0|0|0|1|1|0" referencePoint="0>3|0|0|0|1|0|0" referenceFrame="0>" />
        <!-- door right handle -->
        <movingPart index="0>3|0|0|1|1|1" referencePoint="0>3|0|0|1|1|0|0" localReferencePoint="0>3|0|0|1|1|1|0" referenceFrame="0>3|0|0|1|1|0|0" >
            <dependentPart index="0>3|0|0|1|1|1|0" />
        </movingPart>
        <movingPart index="0>3|0|0|1|1|1|0" referencePoint="0>3|0|0|1|1|0|0" referenceFrame="0>" />
        <!-- door back handle -->
        <movingPart index="0>3|0|0|2|1|0" referencePoint="0>3|0|0|2|1|1|0" localReferencePoint="0>3|0|0|2|1|0|0" referenceFrame="0>3|0|0|2|1|2" limitedAxis="1" >
            <dependentPart index="0>3|0|0|2|1|0|0" />
            <!--dependentPart index="0>3|0|0|2|1|0|0|0" /-->
        </movingPart>
        <movingPart index="0>3|0|0|2|1|0|0" referencePoint="0>3|0|0|2|1|1|0" referenceFrame="0>" limitedAxis="1" >
            <dependentPart index="0>3|0|0|2|1|0|0|0" />
        </movingPart>
        <movingPart index="0>3|0|0|2|1|0|0|0" referencePoint="0>3|0|0|2|1|1|0" referenceFrame="0>" limitedAxis="2" />
        <!-- door grain -->
        <movingPart index="0>3|0|0|2|0|0|1" referencePoint="0>3|0|0|2|0|0|0|0" localReferencePoint="0>3|0|0|2|0|0|1|0" referenceFrame="0>" >
            <dependentPart index="0>3|0|0|2|0|0|1|0" />
        </movingPart>
        <movingPart index="0>3|0|0|2|0|0|1|0" referencePoint="0>3|0|0|2|0|0|0|0" referenceFrame="0>3|0|0|2|0|0|0|0" />

        <!-- springs -->
        <movingPart index="1>3|0" referencePoint="2>1" referenceFrame="1>" isActiveDirty="true" >
            <translatingPart index="1>3|0|0" />
            <dependentPart index="1>3|0|1" />
        </movingPart>
        <movingPart index="1>3|0|1" referencePoint="1>3|0|0|0" referenceFrame="1>" scaleZ="true" />
    </movingParts>

    <animations>
        <!-- tipping left -->
        <animation name="tipAnimationLeft">
            <part node="0>3|0|0|0|1|0"  startTime="0.0" endTime="0.8" startRot="0 0 0" endRot="0 0 -90" />
            <part node="0>3"            startTime="0.8" endTime="8"   startRot="0 0 0" endRot="0 0 -40" />
            <part node="0>3|0|0|0|0"    startTime="0.8" endTime="2"   startRot="0 0 0" endRot="0 0 20" />
            <part node="0>3|0|0|0|0"    startTime="2" endTime="8"   startRot="0 0 20" endRot="0 0 40" />
            <part node="0>3|0|0|8|0"    startTime="0.8" endTime="8"   startRot="0 -90 0" endRot="40 -90 0" />
        </animation>
        <!-- tipping right -->
        <animation name="tipAnimationRight">
            <part node="0>3|0|0|1|1|0"  startTime="0.0" endTime="0.8" startRot="0 0 0" endRot="0 0 90" />
            <part node="0>3|0"          startTime="0.8" endTime="8"   startRot="0 0 0" endRot="0 0 40" />
            <part node="0>3|0|0|1|0"    startTime="0.8" endTime="2"   startRot="0 0 0" endRot="0 0 -20" />
            <part node="0>3|0|0|1|0"    startTime="2" endTime="8"   startRot="0 0 -20" endRot="0 0 -40" />
            <part node="0>3|0|0|9|0"    startTime="0.8" endTime="8"   startRot="0 90 0" endRot="40 90 0" />
        </animation>
        <!-- backtipping -->
        <animation name="tipAnimationBack">
            <part node="0>3|0|0|2|1|1"    startTime="0.0" endTime="0.8" startRot="0 0 0" endRot="0 -100 0" />
            <part node="0>3|0|0"          startTime="0.8" endTime="8"   startRot="0 0 0" endRot="-40 0 0" />
            <part node="0>3|0|0|2|0"      startTime="0.8" duration="0.7" startRot="0 0 0" endRot="15 0 0" />
            <part node="0>3|0|0|2|0"      startTime="1.5" duration="6.5" startRot="15 0 0" endRot="40 0 0" />
            <part node="0>3|0|0|10|0"     startTime="0.8" endTime="8"   startRot="0 0 0" endRot="40 0 0" />
        </animation>
        <!-- grain door tipping -->
        <animation name="tipAnimationGrainDoor">
            <part node="0>3|0|0"         startTime="0.8" endTime="16"   startRot="0 0 0" endRot="-40 0 0" />
        </animation>
        <animation name="tipAnimationGrainDoor2">
            <part node="0>3|0|0|2|0|0|0" startTime="0" endTime="1.5"  startTrans="0.004 1.631 -2.412" endTrans="0.004 1.85 -2.412" />
        </animation>
        <!-- cover -->
        <animation name="toggleCover">
            <part node="0>3|0|0|5" startTime="0"    endTime="0.05" visibility="false" />
            <part node="0>3|0|0|5" startTime="0.05" endTime="0.1"  visibility="true" />
        </animation>
        <!-- support -->
        <animation name="moveSupport">
            <part node="0>0|1|0" startTime="0.05" endTime="0.10" visibility="false" />
            <part node="0>0|1|1" startTime="0.05" endTime="0.10" visibility="false" />
            <part node="0>2|4|0" startTime="0.05" endTime="0.10" visibility="true" />
            <part node="0>2|4|1" startTime="0.05" endTime="0.10" visibility="true" />

            <part node="0>0|1|0" startTime="0.10" endTime="0.15" visibility="true" />
            <part node="0>0|1|1" startTime="0.10" endTime="0.15" visibility="true" />
            <part node="0>2|4|0" startTime="0.10" endTime="0.15" visibility="false" />
            <part node="0>2|4|1" startTime="0.10" endTime="0.15" visibility="false" />

            <part componentJointIndex="1" startTime="0.0" endTime="0.15" startRotLimit="20 0 0" endRotLimit="0 0 0" />
        </animation>
    </animations>

    <cover animationName="toggleCover" openOnBuy="false" />
    <support animationName="moveSupport" />

    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />

    <components count="3">
        <component1 centerOfMass="0 0.7 0" solverIterationCount="10" />
        <component2 centerOfMass="0 0 0.4" solverIterationCount="10" />
        <component3 solverIterationCount="10" />
        <joint component1="0" component2="1" index="0>5" rotLimit="0 120 0" transLimit="0 0 0" />
        <joint component1="1" component2="2" index="1>4" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0" />

</vehicle>
