Elvas Tower: TCS scripting - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

TCS scripting DoesBrakeCutPower & BrakeCutsPowerAtBrakeCylinderPressure Rate Topic: -----

#11 User is offline   Serana 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 489
  • Joined: 21-February 13
  • Gender:Male
  • Location:St Cyr l'Ecole (France)
  • Simulator:Open Rails
  • Country:

Posted 07 November 2021 - 05:52 AM

Looking at the code, it seems like this state is not yet usable in the TCS scripts... while the simulator is able to display this state in the track monitor.
This state is supposed to be selected when the aspect of the signal is STOP and the driver presses the TAB key to request permission to the dispatcher to pass the signal at danger.

#12 User is offline   VicenteIR 

  • Fireman
  • Group: Status: Active Member
  • Posts: 149
  • Joined: 24-April 15
  • Gender:Male
  • Location:Dimona, Israel
  • Simulator:Open Rails
  • Country:

Posted 08 November 2021 - 09:44 AM

Thank you very much! Now it's clear.
I've one more issue with Emergency braking. It's an EmergencyBrakes timer in the code. A Penalty must to be activated if a player doesn't pressig the reset button. If so, of course, the timer stops. The problem is that even if the reset button was pressed and Emergency brakes doesn't activated, a massage is still appears on the screen. It means, when the timer is triggered and the reset button was pressed before, a player sees "Emergency brakes applied" without brakes themselves. The same happens when the timer in the code stops. "Emergency brakes released" is on the screen. How can I hide those messages?

Regards
Oleg

  • 2 Pages +
  • 1
  • 2
  • 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