Scenario Train Series Exclusions: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DeveloperNav}}
{{DeveloperNav}}


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


<pre style="color:blue;font-size:16px">
<pre style="color:blue;font-size:16px">

Revision as of 05:43, 23 January 2012

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>

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.)
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