KIND Fixedtrack

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(WIP - waiting for information)
m (Added information for use-named-track. This issue probably needs more help - perhaps in a How/To page or Trainzscript Help page)
 
Line 27: Line 27:
 
====use-named-track====
 
====use-named-track====
 
:Type: Boolean
 
:Type: Boolean
:Desc: (TBD)  
+
: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==

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