KIND MOJunction

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
(Added sort criterion)
 
Line 54: Line 54:
  
 
==Categories==
 
==Categories==
[[Category:Asset KIND]]
+
[[Category:Asset KIND|M]]

Latest revision as of 15:02, 14 February 2014

KIND MOJunction is a trackside junction lever, motor or other point or turnout operating mechanism.

This asset type inherits all KIND Scenery-trackside characteristics.

Contents

[edit] KIND Hierarchy

[edit] Parent Classes

[edit] Child Classes

  • none.

[edit] Supported Tags

MOJunctions do not introduce new tags, but conditions on mesh table and soundscript usage are implied. To enable the visible toggling action, there should be a default visible mesh, and a second mesh not visible by default. To play a sound when the junction is changed, a soundscript event triggered on the 'toggle' action should be present.

kind mojunction


[edit] Example Config.txt

kind                                    "mojunction"
trackside                               2

mesh-table
{
  mode0
  {
    mesh                                "lever1.im"
    auto-create                         1
  }
  mode1
  {
    mesh                                "lever2.im"
  }
}

soundscript
{
  toggle
  {
    trigger                             "toggle"
    distance                            5,100
    nostartdelay                        1
    repeat-delay                        1,1
    sound
    {
      0                                 "points.wav"
    }
  }
}


[edit] Downloads

Attach sample files here?


[edit] Categories

Personal tools