"mutexes" Container

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The "mutexes" Container is a top-level config.txt file entry used by KIND SceneryWithTrack.

A mutex (in this context) is a participant in the Trainz Permit system, which is used to control junctions, A.I. trains, etc. A detailed understanding of this system is necessary before attempting to use the "mutexes" Container.

The "mutexes" Container is a list of mutex subcontainers with no standalone tags. Each mutex subcontainer uses the following format. Each mutex derives its name from the subcontainer's tag name. These names are used to refer to specific mutexes from within the "junction-vertices" Container.


Supported Tags

No tags are supported by the mutex container at the current time. The presence of a named entry in the "mutexes" Container is sufficient to fully specify a mutex.


Mutexes Example

The following is an example of a simple "mutexes" Container which declares two named mutexes.

mutexes
{
  mutex-alpha
  {
  }
  mutex-beta
  {
  }
}


Categories

Personal tools