KIND MOJunction

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(New page: KIND MOJunction is a trackside junction lever, motor or other mechanism. This asset type inherits all KIND Scenery-trackside characteristics. ==KIND Hierarchy== ===Parent Classes...)
 
m
Line 1: Line 1:
[[KIND MOJunction]] is a trackside junction lever, motor or other mechanism.
+
[[KIND MOJunction]] is a trackside junction lever, motor or other point or turnout operating mechanism.
  
 
This asset type inherits all [[KIND Scenery-trackside]] characteristics.
 
This asset type inherits all [[KIND Scenery-trackside]] characteristics.

Revision as of 11:05, 24 August 2010

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