KIND SceneryWithTrack

From TrainzOnline
Jump to: navigation, search

KIND SceneryWithTrack extends KIND Scenery with attributes for attaching track and trackside objects. Although not available to the user as a placeable object type, KIND SceneryWithTrack forms an important part of the KIND hierarchy and is thus described here in detail. Users wishing to make use of features described here should investigate the various assets kinds which extend from KIND SceneryWithTrack.


Contents

KIND Hierarchy

Parent Classes

Child Classes


Supported Tags

KIND SceneryWithTrack supports all of the KIND Scenery tags, and adds the following tags. Each tag is shown here with its default value.

attached-track
{
}
attached-trigger
{
}
mutexes
{
}
track-attachment-threshold 0.1


attached-track

Type: attached-track container
Desc: A container that contains a series of attached-track containers. Each attached-track container requires a label such as "track-0", "track-1", etc. Each attached-track container details the track asset to be used and the track attachment points.

attached-trigger

Type: attached-trigger container
Desc: A container that contains a series of attached-trigger containers. Each attached-trigger container requires a label such as "trig-0", "trig-1", etc. Each attached-trigger container details its location (attachment point), detection radius and track name.

mutexes

Type: mutexes container
Desc: A mutexes container allows for manual specification of mutex assignment for junctions. This is typically used where multiple junction vertices operate together as a single unit, and requires a detailed understanding of the Permit system.

track-attachment-threshold

Type: Float
Desc: Determines how closely the asset's attachment points need to match up with a track vertex for them to attach. Too small, and minor discrepancies can cause the MOSWT to detach from its tracks. Too large, and it may attach to the wrong track vertex, or may attach prematurely. Distance is in metres. (MOSWT = Mesh Object Scenery With Track)


Categories

Personal tools