"Signals" container

From TrainzOnline
Revision as of 13:03, 12 February 2014 by Pcas1986 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
signals {
  0 {
    light 2
  }
  1 {
    light 2
    flash 1
    speed 6.71
  }
  4 {
    light 1
  }
  7 {
    light 1,3
    flash 1,1
    flash-offset 0.0,0.5
  }
  8 {
    light 0
  }
}

Each signal state will have it's own entry in the signals container. The example above supports states 0, 1, 4, 7, and 8.

'light' is the light entry in the lights container.

'flash' tells the signal to flash these lights when this state is being displayed. The number is the frequency (in Hz). Entries are in sequence, and correspond to the sequence used in the 'lights' list. If you need some lights flashing and others not, you can use '0' for 'don't flash'.

'flash-offset' tells the signal to offset the flashing by this amount. To get two lights to flash alternately (i.e. when one is 'on' the other is 'off', and vice versa), use '0.0,0.5'. Entries are in sequence, and correspond to the sequence used in the 'flash' list. Has no effect if the light is not configured to flash.

'speed' applies the specified speed limit (in metres per second) when the signal is in this specific state. This is an absolute limit, and is intended for the situation where a signal has an 'across interlocking' limit associated with that specific aspect, as is common in 'speed signalling' systems. Define the end of an interlocking by placing a normal trackside speedboard. (If you don't want a visible one, as the prototype railway you are portraying doesn't use them, then use a surveyor-only one).

Personal tools