KIND Procedural track

From TrainzOnline
Revision as of 01:23, 4 April 2018 by Sachsenbahner (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

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.

KIND Hierarchy

Parent Classes

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

Categories

Personal tools