﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="trailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Krampe BBS 900</en>
        <de>Krampe BBS 900</de>
    </name>
    <typeDesc>$l10n_TypeDesc_Tipper</typeDesc>
    <filename>data/vehicles/trailers/krampe/krampeBBS900.i3d</filename>

    <size width="4" length="12"/>

    <wheels autoRotateBackSpeed="2.0">
        <wheel  restLoad="0.6" repr="0>0"                 radius="0.67" initialCompression="50" suspTravel="0.12" spring="50" damper="45" mass="0.2475" steeringAxleScale="0.3" steeringAxleRotMax="10" steeringAxleRotMin="-10" />
        <wheel  restLoad="0.6" repr="0>1" driveNode="1|0" radius="0.67" initialCompression="50" suspTravel="0.12" spring="50" damper="45" mass="0.2475" steeringAxleScale="0.3" steeringAxleRotMax="10" steeringAxleRotMin="-10" />
        <wheel  restLoad="1.3" repr="0>2"                 radius="0.67" initialCompression="50" suspTravel="0.12" spring="50" damper="45" mass="0.2475" hasTyreTracks="true" tyreTrackAtlasIndex="2"/>
        <wheel  restLoad="1.3" repr="0>3"                 radius="0.67" initialCompression="50" suspTravel="0.12" spring="50" damper="45" mass="0.2475" hasTyreTracks="true" tyreTrackAtlasIndex="2"/>
        <wheel  restLoad="2.0" repr="0>4"                 radius="0.67" initialCompression="50" suspTravel="0.12" spring="50" damper="45" mass="0.2475" steeringAxleScale="-0.7" steeringAxleRotMax="25" steeringAxleRotMin="-25" />
        <wheel  restLoad="2.0" repr="0>5"                 radius="0.67" initialCompression="50" suspTravel="0.12" spring="50" damper="45" mass="0.2475" steeringAxleScale="-0.7" steeringAxleRotMax="25" steeringAxleRotMin="-25" />
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="0>0"   filename="$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d" />
        <dynamicallyLoadedPart node="1|1" linkNode="0>1|0" filename="$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="0>2"   filename="$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d" />
        <dynamicallyLoadedPart node="1|1" linkNode="0>3"   filename="$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="0>4"   filename="$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d" />
        <dynamicallyLoadedPart node="1|1" linkNode="0>5"   filename="$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>1|1|0" filename="$data/vehicles/shared/wheelChock01.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>1|1|1" filename="$data/vehicles/shared/wheelChock01.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>11|0" filename="$data/vehicles/shared/wheelChock01.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>11|1" filename="$data/vehicles/shared/wheelChock01.i3d" />
    </dynamicallyLoadedParts>

    <brakeForce>1.3</brakeForce>
    <steeringAxleAngleScale startSpeed="5" endSpeed="70" />

    <capacity>46900</capacity>

    <lightCoronas>
        <lightCorona index="0>10|0" />
    </lightCoronas>

    <brakeLights>
        <brakeLight index="0>10|2" />
    </brakeLights>

    <turnSignals>
        <turnSignalLeft index="0>10|3|0" />
        <turnSignalRight index="0>10|3|1" />
    </turnSignals>

    <reverseLights>
        <reverseLight index="0>10|1" />
    </reverseLights>

    <fillVolumes>
        <fillVolume index="0>9|0|3" />
    </fillVolumes>

    <fillVolumeHeights>
        <fillVolumeHeight fillVolumeId="1">
            <refNode index="0>9|0|10|0" />
            <refNode index="0>9|0|10|1" />
            <node index="0>9|0|4|0" baseScale="1.0 1 1" transAxis="0 1 0" />
            <node index="0>9|0|4|1" baseScale="2.15 0.1 1" scaleAxis="0 0.5 0" transAxis="0 0.5 0" />
        </fillVolumeHeight>
        <fillVolumeHeight fillVolumeId="1">
            <refNode index="0>9|0|1|3|0" />
            <refNode index="0>9|0|1|3|1" />
            <node index="0>9|0|4|0" baseScale="1.0 1 1" transAxis="0 0 0" />
            <node index="0>9|0|4|1" baseScale="0.8 0.8 0.8" scaleAxis="0 0 0" transAxis="0 0 0" />
        </fillVolumeHeight>
    </fillVolumeHeights>

    <cylinderedHydraulicSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="0.8" volume="0.4" />
    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />

    <inputAttacherJoints>
        <inputAttacherJoint index="0>6" jointType="trailerLow"/>
    </inputAttacherJoints>

    <attacherJoints>
        <attacherJoint index="0>7" jointType="trailer" maxRotLimit="10 80 80" minRotRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" />
    </attacherJoints>

    <tipReferencePoints>
        <tipReferencePoint index="0>8|0" width="2.5" />
        <tipReferencePoint index="0>8|0" width="0.5" />
        <tipReferencePoint index="0>8|1" width="5" />
    </tipReferencePoints>

    <tipAnimations>
        <tipAnimation speedScale="1" animationName="tipAnimationBack" dischargeStartTime="1.5" dischargeEndTime="13" >
            <tipEffect fillTypes="wheat barley maize rape">
                <effectNode node="0|0|0" linkNode="0>9|0|4|0" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
                <effectNode node="0|0|1" linkNode="0>9|0|4|0" materialType="smoke"     materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
            </tipEffect>
            <dischargeParticleSystems>
                <dischargeParticleSystem type="chaff"     node="0>9|0|4|1" psRootNode="0|0" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="potato"    node="0>9|0|4|1" psRootNode="0|1" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="sugarBeet" node="0>9|0|4|1" psRootNode="0|2" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="woodChips" node="0>9|0|4|1" psRootNode="0|3" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="silage"    node="0>9|0|4|1" psRootNode="0|4" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
            </dischargeParticleSystems>
            <fillVolumeDischargeInfo index="0>9|0|9|0" width="1.0" length="1.4" />
            <fillVolumeHeight index="1"/>
        </tipAnimation>
        <tipAnimation speedScale="1" closeSpeedScale="-3" animationName="tipAnimationGrainDoor" dischargeStartTime="0.3" dischargeEndTime="45">
            <tipEffect fillTypes="wheat barley maize rape">
                <effectNode node="1|0|0" linkNode="0>9|0|1|3|0" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
                <effectNode node="1|0|1" linkNode="0>9|0|1|3|0" materialType="smoke"     materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
            </tipEffect>
            <dischargeParticleSystems>
                <dischargeParticleSystem type="chaff"     node="0>9|0|1|3|1" psRootNode="1|0" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="potato"    node="0>9|0|1|3|1" psRootNode="1|1" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="sugarBeet" node="0>9|0|1|3|1" psRootNode="1|2" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="woodChips" node="0>9|0|1|3|1" psRootNode="1|3" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
                <dischargeParticleSystem type="silage"    node="0>9|0|1|3|1" psRootNode="1|4" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
            </dischargeParticleSystems>
            <fillVolumeDischargeInfo index="0>9|0|9|2" width="0.2" length="0.2" />
            <fillVolumeHeight index="2"/>
        </tipAnimation>
        <tipAnimation speedScale="1" animationName="tipAnimationSide" dischargeStartTime="0" dischargeEndTime="12" >
            <tipEffect fillTypes="wheat barley maize rape">
                <effectNode node="0|0|0" linkNode="0>9|0|5|0" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/krampe/krampeBBS900.i3d" fadeTime="0.5"/>
                <effectNode node="0|0|1" linkNode="0>9|0|5|0" materialType="smoke"     materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/krampe/krampeBBS900.i3d" fadeTime="0.5"/>
            </tipEffect>
            <dischargeParticleSystems>
                <dischargeParticleSystem type="chaff"     node="0>9|0|5|1" psRootNode="0|0" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/krampe/krampeBBS900Particles.i3d" />
                <dischargeParticleSystem type="potato"    node="0>9|0|5|1" psRootNode="0|1" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/krampe/krampeBBS900Particles.i3d" />
                <dischargeParticleSystem type="sugarBeet" node="0>9|0|5|1" psRootNode="0|2" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/krampe/krampeBBS900Particles.i3d" />
                <dischargeParticleSystem type="woodChips" node="0>9|0|5|1" psRootNode="0|3" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/krampe/krampeBBS900Particles.i3d" />
                <dischargeParticleSystem type="silage"    node="0>9|0|5|1" psRootNode="0|4" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/krampe/krampeBBS900Particles.i3d" />
            </dischargeParticleSystems>
            <fillVolumeDischargeInfo index="0>9|0|9|1" width="1.0" length="4.7" />
            <!--fillVolumeHeight index="1"/-->
        </tipAnimation>
    </tipAnimations>

    <fillRootNode index="0>" />
    <exactFillRootNode index="0>12" />
    <fillAutoAimTargetNode index="0>13" />
    <fillMassNode index="0>" />

    <fillTypes fruitTypes="wheat rape maize barley chaff potato sugarBeet silage woodChips"/>

    <movingTools>
        <!-- sideTipping -->
        <movingTool index="0>9">
            <dependentPart index="0>10|5" />
            <dependentPart index="0>10|5|0" />
        </movingTool>
        <!-- backTipping -->
        <movingTool index="0>9|0">
            <dependentPart index="0>10|5" />
            <dependentPart index="0>10|5|0" />
        </movingTool>
        <!-- hooks -->
        <movingTool index="0>9|0|0">
            <dependentPart index="0>9|0|0|0" />
        </movingTool>
        <!-- opener -->
        <movingTool index="0>9|0|1|0">
            <dependentPart index="0>9|0|1|0|0" />
        </movingTool>
        <!-- backdoor -->
        <movingTool index="0>9|0|1">
            <dependentPart index="0>9|0|0|0" />
        </movingTool>
    </movingTools>

    <movingParts>
        <movingPart index="0>9|0|0|0" referencePoint="0>9|0|1|2" referenceFrame="0>9|0|6">
            <translatingPart index="0>9|0|0|0|0" />
        </movingPart>
        <movingPart index="0>9|0|1|0|0" referencePoint="0>9|0|1|1|0|0" referenceFrame="0>9|0|1|1|0|0"/>
        <movingPart index="0>10|5" referencePoint="0>9|0|6" referenceFrame="0>9|0|6" lockAxis="1"/>
        <movingPart index="0>10|5|0" referencePoint="0>9|0|6" referenceFrame="0>9|0|6" lockAxis="3">
            <translatingPart index="0>10|5|0|0" />
            <translatingPart index="0>10|5|0|0|0" />
            <translatingPart index="0>10|5|0|0|0|0" />
            <translatingPart index="0>10|5|0|0|0|0|0" />
        </movingPart>
    </movingParts>

    <animations>
        <!-- backtipping -->
        <animation name="tipAnimationBack">
            <part node="0>9|0|0" startTime="0" endTime="0.9" startRot="0 0 0" endRot="-15 0 0" />
            <part node="0>9|0|1" startTime="1" endTime="4" startRot="0 0 0" endRot="63 0 0" />
            <part node="0>9|0" startTime="3" endTime="13" startRot="0 0 0" endRot="-47 0 0" />

            <part node="0>9|0|4" startTime="3" endTime="13" startRot="0 0 0" endRot="47 0 0" />
        </animation>
        <!-- backtipping with opened graindoor -->
        <animation name="tipAnimationGrainDoor">
            <part node="0>9|0|1|1|0" startTime="0" endTime="0.6" startTrans="0 -0.136 0" endTrans="0 0.21 0" />
            <part node="0>9|0|1|0" startTime="0" endTime="0.6" startRot="0 0 0" endRot="0 0 60" />
            <part node="0>9|0" startTime="7" endTime="37" startRot="0 0 0" endRot="-47 0 0" />

            <part node="0>9|0|1|3" startTime="7" endTime="37" startRot="0 0 0" endRot="47 0 0" />
        </animation>
        <!-- sidetipping -->
        <animation name="tipAnimationSide">
            <part node="0>9|0|2" startTime="0" endTime="0.4" startRot="0 0 0" endRot="0 0 66" />
            <part node="0>9" startTime="0.4" endTime="7.4" startRot="0 0 0" endRot="0 0 -37" />

            <part node="0>9|0|5|0" startTime="0.4" endTime="7.4" startRot="0 0 0" endRot="0 0 37" startTrans="-0.171 0.0 0" endTrans="-0.171 0.228 0" />
        </animation>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>1|1" startTime="0" endTime="0.05" visibility="false" />
            <part node="0>11" startTime="0" endTime="0.05" visibility="true" />
            <part node="0>1|1" startTime="0.05" endTime="0.1" visibility="true" />
            <part node="0>11" startTime="0.05" endTime="0.1" visibility="false" />
            <part node="0>10|4|0" startTime="0" endTime="0.2" startRot="90 0 0" endRot="0 0 0" />
            <part node="0>10|4|1" startTime="0" endTime="0.2" startTrans="-0.01777 -0.07021 0.00298" endTrans="-0.01777 -0.65601 0.00298" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <driveGroundParticleSystems>
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="3" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="4" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="5" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="6" />
    </driveGroundParticleSystems>

    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />

    <components count="1">
        <component1 centerOfMass="0 0.5 -0.3" solverIterationCount="10" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0">
        <attacherJoint position="0.5 0" rotation="0" invertX="false" />
    </schemaOverlay>

</vehicle>
