KIND Map

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(New page: KIND Map is the trainz kind used for a Map / Route / Layout. Maps are created in surveyor, so for the most part, hand-editing of a map config file should not be req...)
 
m
Line 3: Line 3:
 
=KIND Hierarchy=
 
=KIND Hierarchy=
 
==Parent Classes==
 
==Parent Classes==
* ''none.''
+
* [[KIND TrainzBaseSpec]]
 
==Child Classes==
 
==Child Classes==
 
* ''none.''
 
* ''none.''

Revision as of 22:23, 8 March 2010

KIND Map is the trainz kind used for a Map / Route / Layout. Maps are created in surveyor, so for the most part, hand-editing of a map config file should not be required.

Contents

KIND Hierarchy

Parent Classes

Child Classes

  • none.

Supported Tags

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

carrate 55
holdcarz 1
info-page ""
region <NULLKUID>
workingscale 0
workingunits 0
water <KUID:-1:8009>
soundscript
{
}
world-origin
{
}
car0 <NULLKUID>
autosave 0


carrate

Type: Number
Desc: Controls the frequency road traffic appears at on the roads.


holdcarz

Type: Boolean
Desc: True if road traffic should be disabled.


info-page

Type: Filename
Desc: No longer used.


region

Type: KUID
Desc: KUID of Region asset that this map is set in.


workingscale

Type: Number
Desc: Index of the option picked for the world 'scale' in surveyor.
0  - 1:1    (Real Scale)
1  - 1:22.5 (G Scale)
2  - 1:24   (Half Inch scale)
3  - 1:32   (1 scale)
4  - 1:48   (0 scale)
5  - 1:64.5 (S scale)
6  - 1:76.2 (00 scale)
7  - 1:87.1 (HO scale)
8  - 1:120  (TT scale)
9  - 1:160  (N scale)
10 - 1:220  (Z scale)


workingunits

Type: Number
Desc: 0 for metric (speed in km/h, distances in metres), 1 for imperial (speed in mph, distances in feet).


water

Type: KUID
Desc: KUID of water asset that this map uses.


soundscript

Type: Container
Desc: SoundScript Container to specify ambient sound in this map.


world-origin

Type: Container
Desc: World origin container


car0

Type: KUID
Desc: KUID of car to add to the pool of available road traffic provided by the region.

This is a sequence - increment the number to add more cars.


autosave

Type: boolean
Desc: True if this map was generated by the surveyor auto-save process.


Categories

Personal tools