﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Aperion">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Aperion 2401</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>store_StrautmannAperion2401.png</image>
        <price>48500</price>
        <dailyUpkeep>25</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>STRAUTMANN</brand>
        <category>tippers</category>
    </storeData>

    <typeDesc>$l10n_typeDesc_tipper</typeDesc>
    <filename>Aperion 2401.i3d</filename>

    <size width="3" length="9.75"/>

    <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
            <wheels>
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.9" repr="0>0|0" driveNode="0>0|0|0" forcePointRatio="0.2" radius="0.6" width="0.56" mass="0.205" initialCompression="22" suspTravel="0.19" spring="100" damper="70" />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.9" repr="0>0|1" driveNode="0>0|1|0" forcePointRatio="0.2" radius="0.6" width="0.56" mass="0.205" initialCompression="22" suspTravel="0.19" spring="100" damper="70" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="2.2" repr="0>0|2" driveNode="0>0|2|0|0" forcePointRatio="0.2" radius="0.6" width="0.56" mass="0.205" initialCompression="20" suspTravel="0.19" spring="170" damper="70" hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="20" steeringAxleRotMin="-20"/>
                <wheel tipOcclusionAreaGroupId="2" restLoad="2.2" repr="0>0|3" driveNode="0>0|3|0|0" forcePointRatio="0.2" radius="0.6" width="0.56" mass="0.205" initialCompression="20" suspTravel="0.19" spring="170" damper="70" hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="20" steeringAxleRotMin="-20"/>
            </wheels>
        </wheelConfiguration>
    </wheelConfigurations>

    <steeringAxleAngleScale startSpeed="0" endSpeed="90" />
    <brakeForce>1.2</brakeForce>
    <maximalAirConsumptionPerFullStop value="0.3" />

    <lights>
        <low>
            <light                     decoration="0>3|0|3|0|0" lightTypes="0 3" />
            <light                     decoration="0>3|11|0|0" lightTypes="1" />
        </low>
        <high>
            <light realLight="0>3|0|3|0|1" decoration="0>3|0|3|0|0" lightTypes="0 3" />
            <light realLight="0>3|11|0|1" decoration="0>3|11|0|0" lightTypes="1" />
        </high>
    </lights>

    <brakeLights>
        <brakeLight realLight="0>3|0|3|2|1" decoration="0>3|0|3|2|0" />
    </brakeLights>

    <turnLights>
        <turnLightLeft realLight="0>3|0|3|1|0|1" decoration="0>3|0|3|1|0|0" />
        <turnLightRight realLight="0>3|0|3|1|1|1" decoration="0>3|0|3|1|1|0" />
    </turnLights>

    <reverseLights>
        <reverseLight realLight="0>3|0|3|3|1" decoration="0>3|0|3|3|0" />
    </reverseLights>

    <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav"  pitchOffset="0.8" volume="1.0" indoorVolumeFactor="0.45" />
    <fillSound file="$data/maps/sounds/siloFillSound.wav"          pitchOffset="1.0" volume="1.5" indoorVolumeFactor="0.75" />

    <inputAttacherJoints>
        <inputAttacherJoint index="0>1" jointType="trailerLow" attacherHeight="0.725" />
    </inputAttacherJoints>

    <fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="28000" />
    </fillUnits>
	
	<extraCapacities>
		<extraCapacity>
			<fillUnit volumeNodeIndex="0>3|4|0|0" capacity="28000" animationName="defaultBody" />
		</extraCapacity>
		<extraCapacity>
			<fillUnit volumeNodeIndex="0>3|4|0|1" capacity="42000" animationName="extraBody"/>
		</extraCapacity>
	</extraCapacities>

    <fillVolumes>
        <volumes>
            <volume index="0>3|4|0|0" />
        </volumes>

        <unloadInfos>
            <unloadInfo>
                <node index="0>3|4|1" width="1.4" length="1.0" />
            </unloadInfo>
        </unloadInfos>

        <heights>
            <height fillVolumeIndex="1" >
                <refNode index="0>3|4|2|0" />
                <refNode index="0>3|4|2|1" />
            </height>
        </heights>
    </fillVolumes>

    <tipReferencePoints>
        <tipReferencePoint index="0>4" width="2.5" />
    </tipReferencePoints>

    <tipAnimations>
        <tipAnimation speedScale="1" openSpeedScale="0.9" animationName="tipAnimationBack" dischargeStartTime="1" dischargeEndTime="13" >
            <tipEffect>
                <effectNode effectNode="0>3|6|0|0" materialType="unloading" materialTypeId="3" delay="0.3" fadeTime="0.5" />
                <effectNode effectNode="0>3|6|0|1" materialType="smoke"     materialTypeId="1" delay="0.3" fadeTime="0.5" />
            </tipEffect>
            <emitterShape node="0>3|6|1|0" />
            <fillVolume>
                <unloadInfo index="1"/>
                <height index="1"/>
            </fillVolume>
        </tipAnimation>
    </tipAnimations>

    <fillRootNode index="0>" />
    <exactFillRootNode index="0>3|5|0" />
    <fillAutoAimTargetNode index="0>3|5|1" startZ="1.9" endZ="-4.5" invert="false" fillUnitIndex="1" startPercentage="25"/>
    <fillMassNode index="0>" />
    <supportsFillTriggers value="true" />

    <movingTools>
        <movingTool index="0>3|2" playSound="true">
            <controls axis="AXIS_DOOR" invertAxis="true" mouseSpeedFactor="0.6" iconFilename="$dataS2/menu/moveControls/topDoor.png" />
            <rotation rotSpeed="50" rotAcceleration="160" rotMax="75" rotMin="0" rotationAxis="1" />
            <dependentPart index="0>3|3" />
        </movingTool>

        <movingTool index="0>3|0" playSound="true">
            <dependentPart index="0>3|1" />
        </movingTool>
    </movingTools>

    <movingParts>
        <movingPart index="0>3|3" referencePoint="0>3|2|1" referenceFrame="0>3|2|1">
            <translatingPart index="0>3|3|0" />
        </movingPart>
        <movingPart index="0>3|1" referencePoint="0>3|0|2" referenceFrame="0>3|0|2">
            <translatingPart index="0>3|1|0" />
        </movingPart>
    </movingParts>

    <animations>
        <!-- backtipping -->
        <animation name="tipAnimationBack">
            <part node="0>3|0" startTime="1" endTime="4" startRot="0 0 0" endRot="90 0 0" />
            <part node="0>3|7" startTime="1" endTime="12" shaderParameter="offsetUV" shaderStartValues="0 0 0 0" shaderEndValues="0 -1.5 0 0"/>
        </animation>

        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>2" startTime="0" endTime="0.2" startTrans="0.391 0.95 2.771" endTrans="0.391 0.45 2.771" />
            <part node="0>3|9|0" startTime="0" endTime="0.05" visibility="false" />
            <part node="0>3|9|1" startTime="0" endTime="0.05" visibility="true" />
            <part node="0>3|9|0" startTime="0.05" endTime="0.1" visibility="true" />
            <part node="0>3|9|1" startTime="0.05" endTime="0.1" visibility="false" />
        </animation>
		
			<!-- change volume -->
		<animation name="defaultBody">
			<part node="0>3|0|1" startTime="0.01" endTime="0.02" visibility="false" />
			<part node="0>3|2" startTime="0.01" endTime="0.02" visibility="false" />
			<part node="0>3|3" startTime="0.01" endTime="0.02" visibility="false" />
			<part node="0>3|8" startTime="0.01" endTime="0.02" visibility="false" />
			<part node="0>3|6|1|0" startTime="0.01" endTime="0.02" startScale="1 1 1.425" endScale="1 1 1" /> <!-- disable "down-scale" chaff collisions -->
			<part node="0>3|5" startTime="0.01" endTime="0.02" startTrans="0 0 0" endTrans="0 -0.725 0" /> <!-- enable "unscale" chaff collisions -->
        </animation>
		<animation name="extraBody">
			<part node="0>3|0|1" startTime="0.01" endTime="0.02" visibility="true" />
			<part node="0>3|2" startTime="0.01" endTime="0.02" visibility="true" />
			<part node="0>3|3" startTime="0.01" endTime="0.02" visibility="true" />
			<part node="0>3|8" startTime="0.01" endTime="0.02" visibility="true" />
			<part node="0>3|6|1|0" startTime="0.01" endTime="0.02" startScale="1 1 1" endScale="1 1 1.425" /> 
			<part node="0>3|5" startTime="0.01" endTime="0.02" startTrans="0 -0.725 0" endTrans="0 0 0" /> <!-- enable "unscale" chaff collisions -->
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />

    <components count="1">
        <component1 centerOfMass="0 0.75 -1" solverIterationCount="10" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0" />

</vehicle>