Elvas Tower: Wheelslip sound & erormessage - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Wheelslip sound & erormessage Can be better like ts2019 Rate Topic: -----

#1 User is offline   Stijn D.C. 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 516
  • Joined: 20-August 16
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 04 August 2019 - 09:49 AM

Hello,

For moment in Openrails if there is wheelslip you get message's, erorsound of "ingame"...

In ts2019 of there is wheelslip you can hear sound of wheelspin when there is wheelslip...

On cabview you can have indication of wheelslip and in HUD F5 window.

So that irritating ingame sound with on screen message is not happy.

Better can change this like in ts2019 and real.


In case wheelslip a automatic sander and antislip option => .ENG file wil be handy too for most new locomotives and trains.


It will be nice most a expert programmer can solve & add this please.


In advance thanks,

Stijn

#2 User is offline   Stijn D.C. 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 516
  • Joined: 20-August 16
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 06 August 2019 - 06:58 AM

Hello,

Good news:

I have look @ code because it dont let me alone for make a try :-)

So:

If in MSTSLocomotive.cs red textline is removed:


if (this.IsLeadLocomotive() || (!AcceptMUSignals))
{
var throttleCurrentNotch = ThrottleController.CurrentNotch;
ThrottleController.Update(elapsedClockSeconds);
if (ThrottleController.CurrentNotch < throttleCurrentNotch && ThrottleController.ToZero)
SignalEvent(Event.ThrottleChange);
ThrottlePercent = (ThrottleIntervention < 0 ? ThrottleController.CurrentValue : ThrottleIntervention) * 100.0f;
ConfirmWheelslip(elapsedClockSeconds);
LocalThrottlePercent = (ThrottleIntervention < 0 ? ThrottleController.CurrentValue : ThrottleIntervention) * 100.0f;
}
...


Than the confirm message with ingame.sms erorsound of route you play is gone


For have sound of wheelslip i have for moment try with this:

This is on MSTSLocomotive.cs too:

protected virtual void UpdateWheelSlipSound(float elapsedClockSeconds)
{
if (WheelSlip)
SignalEvent(Event.WheelSlipSoundOn);

else if (!WheelSlip)
SignalEvent(Event.WheelSlipSoundOff);
}


I hope in few days do test with locomotives back on train (push mode) for see if locomotive make the wheelslip sounds too, if driving happent in other locomotive or steeringcar.

If this is ok, than i need to test with normal wagons too, after add code in right .cs file


Greetz,

Stijn

#3 User is offline   Stijn D.C. 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 516
  • Joined: 20-August 16
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 07 August 2019 - 03:19 AM

After test with steeringcar and locomotive on back of train en let wheelslip: there is sound of wheelslip too. That is good.


Testing wheelslip are brakeskid with normal wagons is other story

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users