"Lights" container: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
m 1 revision
Pcas1986 (talk | contribs)
m Added sort criterion
Line 15: Line 15:
In this case, light '0' will be shown with file 'corona_green.tga' (found in the asset directory) attached to attachment point 'a.light0' in the signal mesh. The [[Signals_container|signals container]] will refer to it as '0'.
In this case, light '0' will be shown with file 'corona_green.tga' (found in the asset directory) attached to attachment point 'a.light0' in the signal mesh. The [[Signals_container|signals container]] will refer to it as '0'.


[[Category:Config Container]]
[[Category:Config Container|L]]

Revision as of 02:58, 12 February 2014

lights {
  0 {
    corona "corona_green.tga"
  }
  1 {
    corona "corona_yellow.tga"
  }
  2 {
    corona "corona_red.tga"
  }
}

Defines what coronas are attached to what light attachment points.

In this case, light '0' will be shown with file 'corona_green.tga' (found in the asset directory) attached to attachment point 'a.light0' in the signal mesh. The signals container will refer to it as '0'.