SpawnInfo: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
;Alternative platform/timetable stops
;Alternative platform/timetable stops
:ALTSTOP:<station0>;<station1> ... <stationN>'''>'''<altstation0>;<arrive0>;<depart0><altstation1>;<arrive1>;<depart1> ... <altstationN>;<arriveN>;<departN>;
:ALTSTOP:<station0>;<station1> ... <stationN>'''>'''<altstation0>;<arrive0>;<depart0><altstation1>;<arrive1>;<depart1> ... <altstationN>;<arriveN>;<departN>;
:Used only when ALTSPAWN is defined '''and''' used. If ALTSPAWN is defined, but train spawns to to the default track, these values are ignored!
The ALTSTOP variable is actually 2 lists, with a '''>''' in the middle. The first semi-colon list is stations to ''discard'' from the normal list of stations at which to stop. The second list is stops to ''add'' and their arrival/departure times. Times are defined using the HH:mm format. If the time is undefined, use --:-- .





Revision as of 21:27, 7 March 2012

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


The SpawnInfo timetable variable defines additional properties that alters spawning behaviour. The items are comma-delimited.

Spawning Speed
SPAWNKMH:<value>
Defines the speed of the spawning train.
<value> must be a positive integer, in km/h.
Spawn Timeout
SPAWNTIMEOUT:<value>
Defines the time after spawning, when the train will start.
<value> must be a positive integer, in seconds.
Alternative spawn track
ALTSPAWN:<value
When the normal spawn track is unavailable, spawn to this alternative track
<value> is the full name of the alternative spawn track.
Alternative platform/timetable stops
ALTSTOP:<station0>;<station1> ... <stationN>><altstation0>;<arrive0>;<depart0><altstation1>;<arrive1>;<depart1> ... <altstationN>;<arriveN>;<departN>;
Used only when ALTSPAWN is defined and used. If ALTSPAWN is defined, but train spawns to to the default track, these values are ignored!

The ALTSTOP variable is actually 2 lists, with a > in the middle. The first semi-colon list is stations to discard from the normal list of stations at which to stop. The second list is stops to add and their arrival/departure times. Times are defined using the HH:mm format. If the time is undefined, use --:-- .




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