﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="fuelTrailer">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Fuel trailer</en>
        <de>Mobiler Treibstofftank</de>
    </name>
	<typeDesc>$l10n_TypeDesc_Trailer</typeDesc>
    <filename>data/vehicles/trailers/fuelTrailer/fuelTrailer.i3d</filename>

    <size width="3" length="6" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0" radius="0.457" deltaY="0.1" suspTravel="0.15" spring="40" damper="20" mass="0.2" lateralStiffness="2" />
        <wheel driveMode="0" repr="1" radius="0.457" deltaY="0.1" suspTravel="0.15" spring="40" damper="20" mass="0.2" lateralStiffness="2" />
        <wheel driveMode="0" repr="2" radius="0.457" deltaY="0.1" suspTravel="0.15" spring="40" damper="20" mass="0.2" lateralStiffness="2" />
        <wheel driveMode="0" repr="3" radius="0.457" deltaY="0.1" suspTravel="0.15" spring="40" damper="20" mass="0.2" lateralStiffness="2" />
    </wheels>

    <brakeForce>1</brakeForce>

    <lights count="1">
        <light1 index="5" />
    </lights>

	<lightCoronas>
		<lightCorona index="6" />
	</lightCoronas>

	<brakeLights>
		<brakeLight index="0>9" />
	</brakeLights>

    <massScale value="1.0" />

    <capacity>4500</capacity>
    <fillTypes fillTypes="fuel"/>
	<fuelFillLitersPerSecond>100</fuelFillLitersPerSecond>

    <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.099 0.385 1.387" endTrans="0.099 0 1.387" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <gasStationTrigger index="0>8" />

    <components count="2">
        <component1 centerOfMass="0 0.1 0" 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>
