﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="waterTrailer">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Water trailer</en>
        <de>Mobiler Wassertank</de>
    </name>
	<typeDesc>$l10n_TypeDesc_WaterTrailer</typeDesc>
    <filename>data/vehicles/trailers/waterTrailer/waterTrailer.i3d</filename>

    <size width="3.5" length="8.0" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0" radius="0.465" deltaY="0.2" suspTravel="0.25" spring="8" damper="20" lateralStiffness="2" mass="0.2" />
        <wheel driveMode="0" repr="1" radius="0.465" deltaY="0.2" suspTravel="0.25" spring="8" damper="20" lateralStiffness="2" mass="0.2" />
        <wheel driveMode="0" repr="2" radius="0.465" deltaY="0.2" suspTravel="0.25" spring="8" damper="20" lateralStiffness="1" mass="0.2" />
        <wheel driveMode="0" repr="3" radius="0.465" deltaY="0.2" suspTravel="0.25" spring="8" damper="20" lateralStiffness="1" mass="0.2" />
    </wheels>

    <brakeForce>2</brakeForce>
	<downForce>2</downForce>

    <lights count="1">
        <light1 index="5" />
    </lights>

	<lightCoronas>
		<lightCorona index="6" />
	</lightCoronas>

	<brakeLights>
		<brakeLight index="0>9" />
	</brakeLights>

    <massScale value="1" />

    <capacity>6000</capacity>
	<fillLitersPerSecond>400</fillLitersPerSecond>
    <fillTypes fillTypes="water"/>

    <fillSound file="data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />

    <attacherJoint index="4" jointType="trailerLow"/>

	<movingTools>
        <!-- support -->
        <movingTool index="0>7" componentJointIndex="0" anchorActor="0"/>
    </movingTools>

    <animations>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="7" startTime="0" duration="0.6" startTrans="0.379 0.353 2.118" endTrans="0.379 0 2.118" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <waterTrailerFillTrigger index="0>8" />

    <components count="2">
        <component1 centerOfMass="0 0.1 -1" solverIterationCount="4" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>7|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>
