<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<sounds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../bin/shared/xml/schema/vehicle_sounds.xsd">
    <motorized>
        <sounds>
            <motor template="engineMedium" file="sound/actros_L_loop.gls" linkNodeOffset="0.7 1.8 2" pitchScale="1" volumeScale="3.6" >
                <volume outdoor="1.0" indoor="0.65">
                    <modifier type="MOTOR_RPM_REAL" value="850"  modifiedValue="0.7" />
                    <modifier type="MOTOR_RPM_REAL" value="1000" modifiedValue="0.95" />
                    <modifier type="MOTOR_RPM_REAL" value="1500" modifiedValue="1.1" />
                    <modifier type="MOTOR_RPM_REAL" value="2000" modifiedValue="1.2" />
                </volume>
            </motor>

            <gearbox file="sound/transmission.gls" linkNodeOffset="0.8 2 2" pitchScale="0.85" volumeScale="1.2" innerRadius="1" outerRadius="40" fadeIn="0.9" >
                <loopSynthesisRpm>
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="45.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="90.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
                <volume indoor="0.45" outdoor="1.5" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="30.0" modifiedValue="0.35" />
                    <modifier type="DIFFERENTIAL_SPEED" value="70.0" modifiedValue="0.90" />
                    <modifier type="DIFFERENTIAL_SPEED" value="90.0" modifiedValue="1.20" />

                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.00"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.20"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.30"  modifiedValue="1.2" />
                    <modifier type="MOTOR_LOAD" value="0.45"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.80"  modifiedValue="0.75" />
                    <modifier type="MOTOR_LOAD" value="1.00"  modifiedValue="0.65" />
                </volume>
            </gearbox>

            <motor template="fanModern_01" pitchScale="0.75" linkNodeOffset="0 1.5 2">
                <volume indoor="0.8" outdoor="1.5" />
            </motor>
            <motor template="cabinTruck_01" linkNodeOffset="0.8 2 2" volumeScale="3"/>
            <motor template="indoorCabinRumble" volumeScale="8" pitchScale="1.1" linkNodeOffset="0.2 2 2"/>
            <motor template="indoorCabinRumble" volumeScale="6" pitchScale="0.9" linkNodeOffset="1.2 2 2"/>
            <compressedAir template="compressedAir" volumeScale="1.9"/>
            <airCompressorRun template="brakeCompressorMedium"  volumeScale="2" linkNodeOffset="0 1.5 2"/>
            <airCompressorStop template="compressedAir" volumeScale="1.9"/>
            <airRelease template="truckBrakeRegulatorValve" />
            <reverseDrive template="reverseBeep02" volumeScale="1.0"/>
        </sounds>
    </motorized>

    <lights>
        <sounds>
            <toggleLights template="switch01"  />
            <turnLight template="switchTurnlight" volumeScale="2" />
        </sounds>
    </lights>

    <attacherJoints>
        <attacherJointConfigurations>
            <attacherJointConfiguration>
                <attacherJoint>
                    <attachSound template="truckAttach" linkNode="0>" />
                    <detachSound template="truckDetach" linkNode="0>" />
                </attacherJoint>
            </attacherJointConfiguration>
        </attacherJointConfigurations>
        <sounds>
            <attach template="attach01" />
            <hydraulic template="hydraulicClose02" />
        </sounds>
    </attacherJoints>

    <enterable>
        <sounds>
            <rain template="rainInVehicle" linkNodeOffset="0.7 3 3.2">
                <loopSynthesisRpm>
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="42.0" modifiedValue="1" />
                </loopSynthesisRpm>
                <volume>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="42" modifiedValue="1.2" />
                </volume>

                <pitch>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="42" modifiedValue="1.0" />
                </pitch>
            </rain>
            <hail template="hailInVehicle" linkNodeOffset="0.7 3 3.2" volumeScale="1.5">
                <loopSynthesisRpm>
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="60.0" modifiedValue="1" />
                </loopSynthesisRpm>
                <volume>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="60" modifiedValue="1.2" />
                </volume>

                <pitch>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="60" modifiedValue="1.0" />
                </pitch>
            </hail>
        </sounds>
    </enterable>

    <drivable>
        <sounds>
            <waterSplash template="waterSplash01" />
        </sounds>
    </drivable>


    <ai>
        <automaticSteering>
            <sounds>
                <engage template="gpsEngageDefault"/>
                <disengage template="gpsDisengageDefault"/>
                <lineEnd template="gpsLineEndDefault"/>
            </sounds>
        </automaticSteering>
    </ai>

    <honk>
        <sound template="honkTruck" volumeScale="1.4" linkNodeOffset="0.7 1.8 3.5"/>
    </honk>
</sounds>