Signal Failures: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
All signal failure tags are enclosed within the '''Irregularities''' tags. Each signal failure is defined like the following: | All signal failure tags are enclosed within the '''Irregularities''' tags. Each signal failure is defined like the following: | ||
<pre style="color:blue;font-size:16px"> | |||
<Irregularities> | |||
<SignalFailure signal="12" aspect="STOP" canRepair="false" /> | |||
</Irregularities> | |||
</pre> | |||
The attributes for each signal failure are as follows: | |||
;signal | |||
:name of the signal | |||
;aspect | |||
:either '''STOP''' or '''CLEAR''' | |||
:defines which aspect cannot be properly displayed | |||
{{DeveloperNavBottom}} | {{DeveloperNavBottom}} | ||
Revision as of 01:04, 18 December 2011
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers
Signals that use incandescent light bulbs to display an aspect can suffer failures. The lamps often have two filaments for redundancy. When one of these filaments is broken, the second filament takes over. Scenarios can be written to specify when and how signals can become defective.
All signal failure tags are enclosed within the Irregularities tags. Each signal failure is defined like the following:
<Irregularities>
<SignalFailure signal="12" aspect="STOP" canRepair="false" />
</Irregularities>
The attributes for each signal failure are as follows:
- signal
- name of the signal
- aspect
- either STOP or CLEAR
- defines which aspect cannot be properly displayed
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers