KIND Consist

From TrainzOnline
Revision as of 09:31, 4 November 2018 by Builderbob (Talk | contribs)

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

Contents

KIND Hierarchy

A collection of KIND Traincar assets, representing a train. KIND Consist assets are displayed as a list in the Train mode option of the Trains tab in Surveyor and Driver. Consists can be placed in Surveyor and Driver by selecting from the list.

Parent Classes

Child Classes

None

Supported Tags

consist-list

Type: Car-List Container
Compulsory: Yes
Default: None
Desc: A container for car containers. Each car container describes one car of the consist.

Car-List container

carx

Type: Car Container
Compulsory: Yes
Default: None
Desc: A container for car details. x is a number from 0 to one less than the number of cars.

Car container

car-kuid

Type: KUID
Compulsory: Yes
Default: None
Desc: The KUID of the traincar at this position in the consist.

car-num

Type: Integer
Compulsory: No
Default: None
Desc: ??The ordinal position of this traincar in the consist??

car-dir

Type: Integer
Compulsory: yes
Default: 1
Desc: A number to indicate the direction in which the car should face.

Usage

Consists can be created in-game by placing and coupling individual traincars in Surveyor, and then selecting the Train mode option in the Trains tab and using the Get train function and clicking on any traincar in the consist. The consist can then be named. It will be created as a new asset and added to the list.

Consists can be selected from the list and placed on a track in Survey or in Driver.

Example Config.txt

kuid                                   <kuid:578396:100015>
username                               "Warwick to Wallangarra - QDR C17 Freight"
kind                                   "consist"
trainz-build                           3.1
category-class                         "CN"
consist-list
{
 car0
 {
   car-kuid                            <kuid2:111591:100089:1>
   car-dir                             1
 }
 
 car1
 {
   car-kuid                            <kuid:111591:100090>
   car-dir                             1
 }
 
 car2
 {
   car-kuid                            <kuid2:97008:60028:1>
   car-dir                             1
 }
 
 car3
 {
   car-kuid                            <kuid2:97008:60028:1>
   car-dir                             1
 }
 
 car4
 {
   car-kuid                            <kuid:-25:94>
   car-dir                             1
 }
 
}
thumbnails
{
}
username-de                            "Warwick nach Wallangarra - QDR C17 Güterzug"
username-fr                            "Warwick à Wallangarra - QDR C-17 Fret"
username-pl                            "Warwick–Wallangarra – towarowy QDR C17"
kuid-table
{
 0                                     <kuid2:97008:60028:1>
 1                                     <kuid2:111591:100089:1>
 2                                     <kuid:111591:100090>
 3                                     <kuid:-25:94>
}

Categories

Personal tools