Sound stops braking with dynamic brake

Bug #1551581 reported by Max Müller
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

Hello,

I've noticed the following bug:

When I brake with the dynamic brake you can hear the engine sound of the locomotive running backwards which is already right.
But this sound stops between 15-10 km/h then you can hear nothing.
This is not correct. The dynamic brake engages untill 0 km/h so you must hear the engine sound also untill 0 km/h.

Can you correct this?

Thanks a lot

Revision history for this message
disc (disc86543) wrote :

isn't this happens with a Taurus locomotive? If yes, then it's because the SMS settigs are wrong for that loco.

Revision history for this message
Max Müller (minimax223) wrote :

I tried it with Soundmod by Hyglo and the BR 101 for exmaple.
But this happens with a Taurus locomotive too.
What is wrong in the SMS settings? How can we fix that?

Revision history for this message
disc (disc86543) wrote :

This is the dynamic brake sound trigger in the sms:

               Discrete_Trigger ( 45
                  SetStreamVolume ( 1.0 )
               )
               Variable_Trigger (
                  Speed_inc_past 4.0 Startloop ( 1
                     File ( "30-fel2.wav" -1 )
                     SelectionMethod ( SequentialSelection )
                  )
               )
               Variable_Trigger (
                  Speed_dec_past 4.0 ReleaseLoopReleaseWithJump ()
               )
               Discrete_Trigger ( 46
                  SetStreamVolume ( 0.0 )

Which is an over complicated setup, that tell to the game, that the dynamic brake sound should be stopped below 4.0 m/s (14 km/h).

There is a self explanatory easier setup to replace that, that works without problems:

               Variable_Trigger (
                  Variable3_inc_past 0.05 Startloop ( 1
                     File ( "30-fel2.wav" -1 )
                     SelectionMethod ( SequentialSelection )
                  )
               )
               Variable_Trigger (
                  Variable3_dec_past 0.05 ReleaseLoopRelease ()
               )

Revision history for this message
Max Müller (minimax223) wrote :

Okay, but see this in Hyglos Sound for the german BR 101. Here the is the speed 0.05 right

Stream (
    Skip ( *************************************************************** Umrichter2 ************************************************************************** )
    Priority ( 6 )
    Triggers ( 12
    Variable_Trigger ( Variable2_Inc_Past 1.0 SetStreamVolume ( 1.0 ) )
    Variable_Trigger ( Variable2_Dec_Past 1.0 SetStreamVolume ( 0.0 ) )
    Variable_Trigger ( Variable3_Inc_Past 0.05 SetStreamVolume ( 1.0 ) )
    Variable_Trigger ( Variable3_Dec_Past 0.05 SetStreamVolume ( 0.0 ) )
    Variable_Trigger ( Speed_Inc_Past 0.01 StartLoop ( 1 File ( "c_Umrichter_Anfahr.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Speed_Inc_Past 4.99 ReleaseLoopRelease ( ) )
    Variable_Trigger ( Speed_Inc_Past 5.00 StartLoopRelease ( 1 File ( "c_Umrichter_Speed1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Speed_Inc_Past 20.0 ReleaseLoopRelease ( ) )
    Variable_Trigger ( Speed_Dec_Past 20.0 StartLoopRelease ( 1 File ( "c_Umrichter_Speed1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Speed_Dec_Past 5.00 ReleaseLoopRelease ( ) )
    Variable_Trigger ( Speed_Dec_Past 4.99 StartLoop ( 1 File ( "c_Umrichter_Anfahr.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    Variable_Trigger ( Speed_Dec_Past 0.01 ReleaseLoopRelease ( ) )
    )
    FrequencyCurve(
     SpeedControlled
     CurvePoints ( 7
                  -20.0 9380
                  -18.0 9380
                             -6.00 11025
                              0.00 11025
                              6.00 11025
                           18.0 9380
                           20.0 9380
                  )
     Granularity ( 25 )
    )
    VolumeCurve (
     SpeedControlled
     CurvePoints ( 6
                                       0.00 0.00
                                0.10 0.05
                                1.00 0.30
                  15.0 0.30
                18.0 0.15
                 20.0 0.00
                            )
      Granularity ( 0.05 )
    )
   )

But the dynamic brake sound stopps anyway at 11 km/h

Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Variable3 is linked to the dynamic brake force. If within the .eng file it is indicated that at 11 km/h the dynamic brake force is zero, Variable3 will go to zero too and you won't hear any sound.

Revision history for this message
Max Müller (minimax223) wrote :

Okay, I unterstand.
But where can I fix that ?
In the .eng file it looks like that :

 DynamicBrakesMinUsableSpeed( 0 )
    DynamicBrakesMaximumEffectiveSpeed( 0 )
     DynamicBrakesMaximumForce( 150KN )
     DynamicBrakesResistorCurrentLimit ( 5000 )
     DynamicBrakesCutInSpeed( -143 )
     DynamicBrakesMaxAirBrakePressure ( 70 )
     DynamicBrakesFadingSpeed( 143 )
     DynamicBrakesDelayTimeBeforeEngaging ( 0 )
     DynamicBrakesMaximumSpeedForFadeOut ( 143 )
     DynamicBrakesEffectAtMaximumFadeOut( 0 )
     DynamicBrakesHigherSpeedCurveExponent( 1 )
     DynamicBrakesLowerSpeedCurveExponent( 1 )
     DynamicBrakesNumberOfControllerNotches( 0 )

I cannot imagine here why this sound stopps at 11 km/h

In MSTS the sound works correctly

Revision history for this message
disc (disc86543) wrote :

Those trigger lines are very messy, barely transparent, need to be refactored. BTW you can use multiple volume curves for one stream.

Also you should try, to add dynamic brake force curves, as those MSTS style hacking of those "god knows what it measn" parameters, probably don't work exactly the same way in OR, as noone knows how should it work.

Revision history for this message
Max Müller (minimax223) wrote :

In which file and how can I add dynamic brake force curves ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.