Scenario Train Series Exclusions: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Trains may be prevented from appearing during a specific time. To do this, use the ***ExcludeSeries*** tag. <pre style="color:blue;font-size:16px"> <Consists loadFromTimetable=…') |
No edit summary |
||
| Line 1: | Line 1: | ||
{{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. | ||
| Line 6: | Line 8: | ||
</Consists> | </Consists> | ||
</pre> | </pre> | ||
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) | |||
{{DeveloperNavBottom}} | |||
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