ï»¿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="manureSpreader">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Bergmann M 1080</en>
        <de>Bergmann M 1080</de>
    </name>
    <typeDesc>$l10n_TypeDesc_ManureSpreader</typeDesc>
    <filename>data/vehicles/trailers/bergmann/bergmannM1080.i3d</filename>

    <size width="3.5" length="8"/>

    <powerConsumer ptoRpm="450" neededPtoPower="30"/>
    <speedLimit value="20" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel  restLoad="1.0" repr="0>0"                   radius="0.49" initialCompression="50" suspTravel="0.2" spring="20" damper="20" mass="0.11" hasTyreTracks="true" tyreTrackAtlasIndex="3"/>
        <wheel  restLoad="1.0" repr="0>1" driveNode="0>1|0" radius="0.49" initialCompression="50" suspTravel="0.2" spring="20" damper="20" mass="0.11" hasTyreTracks="true" tyreTrackAtlasIndex="3"/>
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="2|1" linkNode="0>0"   filename="$data/vehicles/wheels/trelleborg/trelleborgT404_500_45_22_5.i3d" />
        <dynamicallyLoadedPart node="2|0" linkNode="0>1|0" filename="$data/vehicles/wheels/trelleborg/trelleborgT404_500_45_22_5.i3d" />
    </dynamicallyLoadedParts>

    <brakeForce>1</brakeForce>

    <lightCoronas>
        <lightCorona index="0>4|1|1" />
    </lightCoronas>

    <brakeLights>
        <brakeLight index="0>4|1|2" />
    </brakeLights>

    <turnSignals>
        <turnSignalLeft index="0>4|1|4|0" />
        <turnSignalRight index="0>4|1|4|1" />
    </turnSignals>

    <workAreas>
        <workArea startIndex="0>5" widthIndex="0>6" heightIndex="0>7" type="sprayer" disableBackwards="false" />
    </workAreas>

    <aiLeftMarker index="0>13" />
    <aiRightMarker index="0>14" />
    <aiBackMarker index="0>15" />
    <aiForceTurnNoBackward value="true" />

    <capacity>6800</capacity>

    <shovelFillTrigger index="0>9"/>

    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>4|3|0" type="manureSpreader" rotSpeed="-1000" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>4|3|1" type="manureSpreader" rotSpeed="1000" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>4|3|2" type="manureSpreader" rotSpeed="-1000" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>4|3|3" type="manureSpreader" rotSpeed="1000" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </turnedOnRotationNodes>

    <fillSound file="$data/vehicles/shared/manureFillSound.wav" pitchOffset="1.0" volume="1.5" />

    <inputAttacherJoints>
        <inputAttacherJoint index="0>2" jointType="trailer" attacherHeight="1.05" indexPTO="0>3" />
    </inputAttacherJoints>

    <fillVolumes>
        <fillVolume index="0>4|0" scrollSpeedDischarge="0 0 0.4" />
    </fillVolumes>

    <fillVolumeHeights>
        <fillVolumeHeight fillVolumeId="1">
            <refNode index="0>12|0" />
            <refNode index="0>12|1" />
            <node index="0>8" baseScale="0.85 0.1 1" transAxis="0 0 0" scaleAxis="0 1 0" />
        </fillVolumeHeight>
    </fillVolumeHeights>

    <fillVolumeLoadInfo index="0>11" width="1.0" length="1.4" />

    <fillVolumeDischargeInfo index="0>10" width="1.4" length="1.0" alsoUseLoadInfoForDischarge="true" loadInfoFillFactor="0.98" loadInfoSizeScale="3 2" />

    <fillVolumeHeightRefNode index="0>12|0" />

    <sprayUsages>
        <sprayUsage fillType="manure" litersPerSecond="75" />
    </sprayUsages>

    <fillTypes fillTypes="manure" />

    <sprayParticleSystems>
        <sprayParticleSystem type="manure" node="0>8|0" psRootNode="0" foldMinLimit="0.6" foldMaxLimit="1.0" file="$data/vehicles/particleAnimations/shared/unloadingBackManureParticles.i3d" />
    </sprayParticleSystems>

    <spraySound file="$data/vehicles/trailers/manureSpreader.wav" pitchOffset="1" volume="0.5"/>

    <doorAnimation name="openDoor" openSpeedScale="2" closeSpeedScale="-1" />

    <support animationName="moveSupport" />

    <animations>
        <animation name="openDoor">
            <part node="0>4|1" startTime="0" endTime="2" startRot="0 0 0" endRot="80 0 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>4|4" startTime="0" endTime="0.05" visibility="true" />
            <part node="0>1|1" startTime="0.05" endTime="0.1" visibility="true" />
            <part node="0>4|4" startTime="0.05" endTime="0.1" visibility="false" />
            <part node="0>4|5" startTime="0" duration="0.5" startTrans="0.197 0.805 2.684" endTrans="0.197 0.564 2.684" />
        </animation>
    </animations>

    <movingTools>
        <!-- door -->
        <movingTool index="0>4|1">
            <!-- door cylinder -->
            <dependentPart index="0>4|2" />
        </movingTool>
    </movingTools>

    <movingParts>
        <!-- door cylinder -->
        <movingPart index="0>4|2" referencePoint="0>4|1|3" referenceFrame="0>4|1|3">
            <translatingPart index="0>4|2|0" />
        </movingPart>
    </movingParts>

    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />

    <driveGroundParticleSystems>
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
    </driveGroundParticleSystems>

    <components count="1">
        <component1 centerOfMass="0 0.55 0" solverIterationCount="10" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>š