KIND Fixedtrack

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
 
m (Added information for use-named-track. This issue probably needs more help - perhaps in a How/To page or Trainzscript Help page)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[KIND Fixedtrack]] provides the basis for "fixed" track pieces (as opposed to the normal "flexi track" or "spline track" laid in surveyor.) Fixed track pieces are placed as a scenery object rather than a spline, and snap to neighboring fixed track pieces or industries at predetermined angles. Unlike [[KIND Industry]], a fixed track does not provide any special meaning or functionality to its attached track - it is used only for positioning purposes.
+
KIND Fixedtrack provides the basis for "fixed" track pieces (as opposed to the normal "flexi track" or "spline track" laid in surveyor.) Fixed track pieces are placed as a scenery object rather than a spline, and snap to neighbouring fixed track pieces or industries at predetermined angles. Unlike [[KIND Industry]], a fixed track does not provide any special meaning or functionality to its attached track - it is used only for positioning purposes.
  
 
==KIND Hierarchy==
 
==KIND Hierarchy==
 
===Parent Classes===
 
===Parent Classes===
 
* [[KIND SceneryWithTrack]]
 
* [[KIND SceneryWithTrack]]
 +
 
===Child Classes===
 
===Child Classes===
 
* ''none.''
 
* ''none.''
Line 9: Line 10:
 
==Supported Tags==
 
==Supported Tags==
 
Each fixed track asset supports the following tags. Each tag is shown here with its default value.
 
Each fixed track asset supports the following tags. Each tag is shown here with its default value.
 +
 +
junction-vertices
 +
{
 +
}
 +
use-gradient-track 1
 +
use-named-track 0
  
''TBD''
+
====junction-vertices====
 +
:Type: [[%22junction-vertices%22_Container|junction-vertices container]]
 +
:Desc: A container that contains a series of junction-vertices containers.  Each junction-vertices container requires a unique label so they can be identified within a script. Each junction-vertices container identifies a junction on the attached track.
 +
 
 +
====use-gradient-track====
 +
:Type: Boolean
 +
:Desc: Use the spline gradient rather than following the ground height.
 +
 
 +
====use-named-track====
 +
:Type: Boolean
 +
:Desc: The use-named-track tag allows a script to refer to the names of the internal tracks (as defined in the attached track table) to start searches.(Temp:  See this forum discussion. http://forums.auran.com/trainz/showthread.php?108960-Looking-for-undocumented-config-txt-tags&p=1254751#post1254751)
  
 
==Example Config.txt==
 
==Example Config.txt==
Line 21: Line 38:
  
 
==Categories==
 
==Categories==
[[Category:Asset KIND]]
+
[[Category:Asset KIND|F]]
 +
[[Category:TBD]]

Latest revision as of 13:22, 5 February 2014

KIND Fixedtrack provides the basis for "fixed" track pieces (as opposed to the normal "flexi track" or "spline track" laid in surveyor.) Fixed track pieces are placed as a scenery object rather than a spline, and snap to neighbouring fixed track pieces or industries at predetermined angles. Unlike KIND Industry, a fixed track does not provide any special meaning or functionality to its attached track - it is used only for positioning purposes.

Contents

[edit] KIND Hierarchy

[edit] Parent Classes

[edit] Child Classes

  • none.

[edit] Supported Tags

Each fixed track asset supports the following tags. Each tag is shown here with its default value.

junction-vertices
{
}
use-gradient-track 1
use-named-track 0

[edit] junction-vertices

Type: junction-vertices container
Desc: A container that contains a series of junction-vertices containers. Each junction-vertices container requires a unique label so they can be identified within a script. Each junction-vertices container identifies a junction on the attached track.

[edit] use-gradient-track

Type: Boolean
Desc: Use the spline gradient rather than following the ground height.

[edit] use-named-track

Type: Boolean
Desc: The use-named-track tag allows a script to refer to the names of the internal tracks (as defined in the attached track table) to start searches.(Temp: See this forum discussion. http://forums.auran.com/trainz/showthread.php?108960-Looking-for-undocumented-config-txt-tags&p=1254751#post1254751)

[edit] Example Config.txt

Sample config.txt file for a fixed track asset, with the Standard Tags excluded for brevity:

TBD

[edit] Downloads

Attach sample files here?

[edit] Categories

Personal tools