You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/Documentation/Manual/features-rollingstock.rst
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -806,6 +806,9 @@ Use the following .eng paramater to load an electric power supply script::
806
806
The .cs extension is optional. "Default" will load the generic OR power supply
807
807
implementation, so do `not` use this name for your own script.
808
808
809
+
810
+
.. _features-scripting-tcs:
811
+
809
812
Train Control System
810
813
--------------------
811
814
@@ -919,6 +922,17 @@ which returns a handle for the player locomotive instance of the MSTSLocomotive
919
922
class. Through such handle all public classes, methods and variables of
920
923
the OR Simulation environment can be accessed within the script.
921
924
925
+
The Train Control System class provides the ETCSStatus field, which controls the information
926
+
to be displayed in the ETCS DMI. For example, the following block orders the DMI to show the circular speed gauge in yellow colour as the train approaches a speed restriction:
0 commit comments