| Train Director 3 - Scripts |
English -
Italiano
|
In this page we present the various scripts associated with the most common signals used by RFI (the Italian state-wide maintainer of railroad infrastucture), with the hope that they will serve as an example in the description of other, more complex combinations. The various scripts refer to icons that represent the various aspects of the signals. Before using the .tds file it is therefore necessary to download the following file:
A sample layout, created by Paolo Scarazzato, uses all the .tds files described in these pages, and all the icons used to show the various aspects. The layout is available at this link. Single Light SignalFile: rfi_prot1.tds As described in the previous page, the single light signal has the following characteristics:
Two Lights Signal with Associated Approach SignalFile: rfi_prot2.tds
One Light Approach SignalFile: rfi_avv1.tds Approach signals are identified by the presence of the "none" action. That is:
Aspect: green The presence of this action makes the signal "passive" That is, even if the player clicks on the signal, its aspect will not change, since the aspect completely depends on the aspect of the next signal.
Two Lights Approach SignalFile: rfi_avv2.tds
Automatic Block SignalsFile: rfi_autom1.tds It is also possible to specify that a signal is an automatic block signal. In this case, use the following syntax in the "OnInit:" of the corresponding file:
OnInit: Assigning the value "1" to the ".fleeted" option we make the signal an automatic block signal. The other actions associated with the signal must be the following:
OnCleared:
A sample layout created by Paolo Scarazzato is available. This layout contains all the .tds files described in these pages and all the icons used to display the various aspects. The layout can be downloaded here.
|
|