﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="manureSpreader">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Gilibert Helios 15</en>
        <de>Gilibert Helios 15</de>
    </name>
    <typeDesc>$l10n_TypeDesc_ManureSpreader</typeDesc>
    <filename>data/vehicles/trailers/gilibert/gilibertHelios15.i3d</filename>

    <size width="4" length="10" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0" radius="0.87" deltaY="0.2" suspTravel="0.2" spring="50" damper="20" mass="0.4" lateralStiffness="1" />
        <wheel driveMode="0" repr="1" radius="0.87" deltaY="0.2" suspTravel="0.2" spring="50" damper="20" mass="0.4" lateralStiffness="1" />
	</wheels>
    <brakeForce>2</brakeForce>

    <lights count="1">
        <light1 index="2|5" />
    </lights>

	<lightCoronas>
		<lightCorona index="2|6" />
	</lightCoronas>

	<brakeLights>
		<brakeLight index="0>2|13" />
	</brakeLights>

    <attacherJoint index="2|4" jointType="trailerLow"/>
	<powerTakeoffInput index="0>2|12" rotSpeed="0" />

    <cuttingAreas count="1">
        <cuttingArea1 startIndex="2|8" widthIndex="2|9" heightIndex="2|10"/>
    </cuttingAreas>

	<massPerFillLevel value="0.0003" />
    <capacity>14900</capacity>

    <shovelFillTrigger index="0>3"/>


    <sprayParticleSystem file="data/vehicles/particleSystems/manureSprayParticleSystem.i3d" />
    <spraySound file="data/vehicles/trailers/manureSpreader.wav" pitchOffset="1" volume="1"/>

    <sprayValves>
        <sprayValve index="2|7" />
		<sprayValve index="2|7|0" />
    </sprayValves>

    <rotatingParts>
        <rotatingPart node="2|0|0" speed="0.05" />
        <rotatingPart node="2|0|1" speed="-0.05" />
    </rotatingParts>

    <fillSound file="data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />

    <fillPlanes>
        <fillPlane type="manure">
            <node index="2|11">
                <key time="0"     translation="0 -0.359 2.106"   scale="0.74  0.1 0.941"/>
                <key time="0.665" translation="0  0.395 2.325"   scale="0.88 0.665 0.985"/>
                <key time="1"     translation="0  0.74213 2.429" scale="1     1   1"/>
            </node>
        </fillPlane>
    </fillPlanes>

    <sprayUsages>
        <sprayUsage fillType="manure" litersPerSecond="100" />
    </sprayUsages>

    <fillTypes fillTypes="manure" />

    <doorAnimation name="openDoor" openSpeedScale="2" closeSpeedScale="-1" />

    <support animationName="moveSupport" />

    <animations>
        <animation name="openDoor">
            <part node="2|1|0" startTime="0" endTime="2" startTrans="0 0 0" endTrans="0 1.581 0"/>
        </animation>

        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="2|3" startTime="0" duration="1.2" startTrans="0.23633 -1.46439 2.59734" endTrans="0.23633 -1.70202 2.59734" />
        </animation>
    </animations>

    <movingTools>
        <!-- support -->
        <movingTool index="0>2|3" componentJointIndex="0" anchorActor="0"/>
    </movingTools>

    <components count="2">
        <component1 centerOfMass="0 0.1 -0.5" solverIterationCount="4" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="2|3|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

    <schemaOverlay file="data/vehicles/schemas/implementSchema.png" fileSelected="data/vehicles/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
