Scenario Train Series Exclusions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
;series | ;series | ||
:the pattern that defines the train or train 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 '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 | ;startTime | ||
Revision as of 05:50, 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.)
- 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