KIND Turntable

From TrainzOnline
Revision as of 13:04, 23 July 2017 by Pcas1986 (Talk | contribs)

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

KIND Turntable provides the basis for turntables and transfer tables, where the attached track is moved via an animation or programmatic adjustment. 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

KIND Hierarchy

Parent Classes

Child Classes

  • none.

Supported Tags

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


kind                     "turntable"
angle                    0,10,20,30,40,50,60,180,190,200,210,220,230,240
frame-rate          30
keyframes           0,100,201,300,400,601
looping                0
snapmode           1


angle

Type: Floatlist
Compulsory: No
Desc: A list of angles where the turntable will stop in a 360 degree circle.

frame-rate

Type: Integer
Compulsory: No
Desc: Frames per second (FPS) of the animation.

keyframes

Type: Floatlist
Compulsory: No
Desc: A list of key frames in the animation (kin) file.

looping

Type: Boolean
Compulsory: No
Desc: TBD

snapmode

Type: Integer
Compulsory: From 3.4
Desc: TBD

Example Config.txt

Sample config.txt file for a turntable asset, with the Standard Tags excluded for brevity:

TBD

Downloads

Attach sample files here?

Categories

Personal tools