<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Kuehltrailer">
	<annotation>Copyright (C) TSL</annotation>
    <name>
        <en>TSL_Kuehltrailer</en>
        <de>TSL_Kuehltrailer</de>
    </name>
    <description>TSL_Kuehltrailer</description>
	<typeDesc>TSL_Kuehltrailer</typeDesc>
    <filename>Kuehltrailer.i3d</filename>
    <size width="3.5" length="11.5" lengthOffset="-1.8" />
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0" radius="0.6" deltaY="0.3" suspTravel="0.3" spring="70" damper="20" mass="0.4" />
        <wheel driveMode="0" repr="1" radius="0.6" deltaY="0.3" suspTravel="0.3" spring="70" damper="20" mass="0.4" />
        <wheel driveMode="0" repr="2" radius="0.6" deltaY="0.3" suspTravel="0.3" spring="70" damper="20" mass="0.4" />
        <wheel driveMode="0" repr="3" radius="0.6" deltaY="0.3" suspTravel="0.3" spring="70" damper="20" mass="0.4" />
     </wheels>   
    <brakeForce>1</brakeForce>
    <steeringAxleAngleScale startSpeed="5" endSpeed="50" />

    <lightCoronas>
	<lightCorona index="4|7|0" />
    </lightCoronas>
    
    <lightsaddon lightsStayOn="false">
	<light type="brake" index="4|7|1" />
	<light type="reverse" index="4|7|2" />
	<light type="dirLeft" index="0>4|7|3" />
	<light type="dirRight" index="0>4|7|4" />
    </lightsaddon>
    
	<fillPlanes>
        <fillPlane type="milk">
            <node index="0>5|15|0">
                <key time="0" y="0.87088" scale="1 1 1"/>
                <key time="1" y="-5.12698" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="bier">
            <node index="0>5|15|1">
                <key time="0" y="0.87088" scale="1 1 1"/>
                <key time="1" y="-5.12698" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="brot">
            <node index="0>5|15|2">
                <key time="0" y="0.87088" scale="1 1 1"/>
                <key time="1" y="-5.12698" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="wurst">
            <node index="0>5|15|2">
                <key time="0" y="0.87088" scale="1 1 1"/>
                <key time="1" y="-5.12698" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="kaese">
            <node index="0>5|15|2">
                <key time="0" y="0.87088" scale="1 1 1"/>
                <key time="1" y="-5.12698" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="dairyProducts">
            <node index="0>5|15|0">
                <key time="0" y="0.87088" scale="1 1 1"/>
                <key time="1" y="-5.12698" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="fisch">
            <node index="0>5|15|3">
                <key time="0" y="0.87088" scale="1 1 1"/>
                <key time="1" y="-5.12698" scale="1 1 1"/>
            </node>
        </fillPlane>
	</fillPlanes>
	
    <massScale value="1" />
    <capacity>25500</capacity>

    <hydraulicSound file="Sounds/refuel.wav" pitchOffset="0.9" volume="1.0" />
    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />

    <attacherJoint index="4|1" jointType="trailer"/>
    <tipReferencePoint index="4|0" />
    <tipAnimation rootNode="7" speedScale="1" clip="tipper_unload" />
    <tipDischargeEndTime value="10000" />  
   


    <fillRootNode index="0>" />
    <!--exactFillRootNode index="5|0|6" />
    <fillAutoAimTargetNode index="5|0|5" /-->
    <fillMassNode index="0>" />

    <trailerAttacherJoints>
        <trailerAttacherJoint index="4|8" />
		<trailerAttacherJoint index="4|10"  low="true"/>
     </trailerAttacherJoints>

    <fillTypes fruitTypes="milk fisch dairyProducts bier brot kaese wurst"/>
	
	<movingTools>
        <!-- support -->
        <movingTool index="0>4|6" componentJointIndex="0" anchorActor="0"></movingTool>
    </movingTools>

    <animParts>
	  <animPart index="0>5|5"   			id="TuerL" showHelp="true" rotMin="0 0 0" rotMax="0 -270 0" moveTime="5" />
	  <animPart index="0>5|6"   			id="TuerR" showHelp="true" rotMin="-180 0 -180" rotMax="-180 -270 -180" moveTime="5" />
	</animParts>
	
	<animations>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="4|6" startTime="0" duration="1" startTrans="0.00015 0.95 2.63821" endTrans="0.00015 0.37953 2.63821" />
            <part node="4|5" startTime="0" duration="1" startRot="500 0 0" endRot="0 0 0" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

	<mooringblocks>
		<enabled>		
			<mooringblock node="0>4|4"/>
		</enabled>		
		<disabled>		
			<mooringblock node="0>4|3"/>
		</disabled>	
	</mooringblocks>


    <components count="2">
        <component1 centerOfMass="0 0.4 0" solverIterationCount="40" />
		<component2 solverIterationCount="40" />
        <joint component1="0" component2="1" index="4|6|0" rotLimit="0 0 0" transLimit="0 0 0" />
	</components>
</vehicle>