Scenario Train Series Exclusions

From SignalWiki
Jump to navigation Jump to search

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers


Trains may be prevented from appearing during a specific time. To do this, use the ExcludeSeries tag.

 <Consists loadFromTimetable="true">
  <ExcludeSeries startTime="08:00:00" endTime="09:45:00" series="7XXX" />
 </Consists>

Note: this feature is similar to Series Cancellations. Unlike Cancellations, Exclusions will appear in the Train Overview but will not spawn. With Cancellations, trains will not appear in the Train Overview at all. Exclusions do not support matching based on EntryPoint and ExitPoint, so if you wish more fine-grained control over which trains arrive from where (or to where they are headed) consider using cancellations instead.

The attributes for each series exclusion are as follows:

series
the pattern that defines the train or train series.
use 'X's to define train series (example: "7XXX" matches 7123, 7001, 7892, and so on. "8XX" matches 800, 899, and so on.)
use the exact train ID to exclude only that train (example: "7123" matches only train 7123.)
startTime
(optional)
time (HH:mm:ss)
when omitted, there is no lower bound (that is, series exclusions can occur as soon as simulation starts)
endTime
(optional)
time (HH:mm:ss)
when omitted, there is no upper bound (that is, series exclusions can occur right to the end of the simulation, however long that may be)

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers