KIND MOJunction

From TrainzOnline
Jump to: navigation, search

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

KIND Hierarchy

Parent Classes

Child Classes

  • none.

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


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"
    }
  }
}


Downloads

Attach sample files here?


Categories

Personal tools