KIND SceneryWithTrack

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Supported Tags)
 
(Update)
 
(One intermediate revision by one user not shown)
Line 12: Line 12:
 
==Supported Tags==
 
==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.
 
[[KIND SceneryWithTrack]] supports all of the [[KIND Scenery]] tags, and adds the following tags. Each tag is shown here with its default value.
 
+
   
  mutexes
+
{
+
}
+
 
  attached-track
 
  attached-track
 
  {
 
  {
Line 22: Line 19:
 
  {
 
  {
 
  }
 
  }
  junction-vertices
+
  mutexes
 
  {
 
  {
 
  }
 
  }
  use-gradient-track 0
+
  track-attachment-threshold 0.1
 +
 
 +
 
 +
====attached-track====
 +
:Type: [[%22attached-track%22_Container|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: [[%22attached-trigger%22_Container|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.
  
The "attached-track" tag provides details for attached track stretches which are automtically created and positioned by the game. It is specified as an [["attached-track" Container]].
+
====mutexes====
 +
:Type: [[%22mutexes%22_Container|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.
  
The "junction-vertices" tag allows the controlled creation of junctions on the attached track, using a [["junction-vertices" Container]].
+
====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)
  
The "mutexes" tag allows for manual specification of mutex assignment for junctions, using a [["mutexes" Container]]. This is typically used where multiple junction vertices operate together as a single unit, and requires a detailed understanding of the [[Permit]] system.
 
  
 
==Categories==
 
==Categories==
[[Category:Asset KIND]]
+
[[Category:Asset KIND|S]]

Latest revision as of 17:10, 3 February 2014

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

[edit] KIND Hierarchy

[edit] Parent Classes

[edit] Child Classes


[edit] 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


[edit] 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.

[edit] 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.

[edit] 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.

[edit] 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)


[edit] Categories

Personal tools