KIND Procedural track
(Added tag specification specific for KIND Procedural Track) |
|||
Line 1: | Line 1: | ||
− | + | {{ORP-top}} | |
+ | =KIND Procedural Track= | ||
+ | At this stage, information regarding how procedural tracks are built can be found at: [[How_To/Build_Procedural_Track_for_T:ANE]] | ||
This page will be updated asap. | This page will be updated asap. | ||
+ | This page describes [[trainz-build]] 4.2. | ||
+ | =KIND Hierarchy= | ||
+ | ==Parent Classes== | ||
+ | * [[KIND TrainzBaseSpec]] | ||
+ | * [[KIND Track]] | ||
+ | |||
+ | =Supported Tags (Top Level Spline)= | ||
+ | The [[KIND Procedural track]] in a [[config.txt file]] supports the following tags additional to the ones specified by [[KIND Track]]. Each tag is shown here with its default value. | ||
+ | |||
+ | track-condition 0.5 | ||
+ | track-gauge 0 | ||
+ | check-gauge: 0 | ||
+ | sleepers-orientation "" | ||
+ | |||
+ | ==track-condition== | ||
+ | Number, smoothness of the track, 0% (0) being terrible, 100% (1.0) being perfect. Without this tag, the track defaults to 50% (0.5). | ||
+ | |||
+ | ==track-gauge== | ||
+ | Number, distance between the inner faces of the running rails in meters. | ||
+ | |||
+ | ==check-gauge== | ||
+ | Number, distance between the inside face of one running rail, and the outside face of the check rail positioned next to the other running rail in meters. | ||
+ | |||
+ | ==sleepers-orientation== | ||
+ | The way the unified sleepers at the junction are oriented by default (later, it will be possible to override this setting per junction in the interface). Possible values for this tag are “average” (average direction of the two tracks) or “straightest” (follow the direction of the straightest track). | ||
+ | |||
+ | =Supported Tags (Rail Spline)= | ||
+ | Specific tags for spline with "track-type" set to "rail-left" or "rail-right". | ||
+ | |||
+ | rail-width 0 | ||
+ | checkrail-body-length 0 | ||
+ | wingrail-body-length 0 | ||
+ | blade-smallest-width 0 | ||
+ | blade-taper-length 0 | ||
+ | |||
+ | ==rail-width== | ||
+ | Number, width over the head of the rail in meters. | ||
+ | ==checkrail-body-length== | ||
+ | Number, length of the ‘body’ section of the check rail in meters. This is the straight part, not including the flared ends. | ||
+ | ==wingrail-body-length== | ||
+ | Number, length of the ‘body’ section of the wing rail in meters. This is the straight part, not including the flared end. | ||
+ | ==blade-smallest-width== | ||
+ | Number, minimum width of the head of the blade rail in meters. | ||
+ | ==blade-taper-length== | ||
+ | Number, length of the taper of the blade in meters. | ||
+ | |||
+ | =Supported Tags (Sleepers Spline)= | ||
+ | Specific tags for spline with "track-type" set to "sleepers". | ||
+ | |||
+ | sleeper-pitch 0 | ||
+ | |||
+ | ==sleeper-pitch== | ||
+ | Number, distance from the center of a sleeper to the next sleeper in meters. Note: this value is just used for the custom sleepers positioning as an indication, it may be scaled according to the tracks configuration. | ||
+ | |||
+ | =Example Source Files= | ||
+ | Download the source files for the new T:ANE procedural track here. | ||
+ | [[File:Trk_Oak.zip]] | ||
+ | |||
+ | =Related Links= | ||
+ | * [[How_To/Build_Procedural_Track_for_T:ANE]] | ||
+ | * [["track-lod-tree" container]] | ||
+ | * [[Modeling Splines]] | ||
+ | * [[Track Part Container]] | ||
==Categories== | ==Categories== | ||
[[Category:Asset KIND|Procedural-Track]] | [[Category:Asset KIND|Procedural-Track]] |
Latest revision as of 01:23, 4 April 2018
Contents |
[edit] KIND Procedural Track
At this stage, information regarding how procedural tracks are built can be found at: How_To/Build_Procedural_Track_for_T:ANE This page will be updated asap.
This page describes trainz-build 4.2.
[edit] KIND Hierarchy
[edit] Parent Classes
[edit] Supported Tags (Top Level Spline)
The KIND Procedural track in a config.txt file supports the following tags additional to the ones specified by KIND Track. Each tag is shown here with its default value.
track-condition 0.5 track-gauge 0 check-gauge: 0 sleepers-orientation ""
[edit] track-condition
Number, smoothness of the track, 0% (0) being terrible, 100% (1.0) being perfect. Without this tag, the track defaults to 50% (0.5).
[edit] track-gauge
Number, distance between the inner faces of the running rails in meters.
[edit] check-gauge
Number, distance between the inside face of one running rail, and the outside face of the check rail positioned next to the other running rail in meters.
[edit] sleepers-orientation
The way the unified sleepers at the junction are oriented by default (later, it will be possible to override this setting per junction in the interface). Possible values for this tag are “average” (average direction of the two tracks) or “straightest” (follow the direction of the straightest track).
[edit] Supported Tags (Rail Spline)
Specific tags for spline with "track-type" set to "rail-left" or "rail-right".
rail-width 0 checkrail-body-length 0 wingrail-body-length 0 blade-smallest-width 0 blade-taper-length 0
[edit] rail-width
Number, width over the head of the rail in meters.
[edit] checkrail-body-length
Number, length of the ‘body’ section of the check rail in meters. This is the straight part, not including the flared ends.
[edit] wingrail-body-length
Number, length of the ‘body’ section of the wing rail in meters. This is the straight part, not including the flared end.
[edit] blade-smallest-width
Number, minimum width of the head of the blade rail in meters.
[edit] blade-taper-length
Number, length of the taper of the blade in meters.
[edit] Supported Tags (Sleepers Spline)
Specific tags for spline with "track-type" set to "sleepers".
sleeper-pitch 0
[edit] sleeper-pitch
Number, distance from the center of a sleeper to the next sleeper in meters. Note: this value is just used for the custom sleepers positioning as an indication, it may be scaled according to the tracks configuration.
[edit] Example Source Files
Download the source files for the new T:ANE procedural track here. File:Trk Oak.zip
[edit] Related Links
- How_To/Build_Procedural_Track_for_T:ANE
- "track-lod-tree" container
- Modeling Splines
- Track Part Container