CCG/Turntable
Contents |
KIND: TURNTABLE
Description
A turntable asset for moving or rotating traincars, specifying the static and moving part of the turntable. Animated rotation (turntable) and lateral translation (transfer table) assets are supported.
Container Structure
A well formed turntable kind has the container structure you can see in the examples.
See Chapter 7 for an example asset of this kind.
A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:
turntable kuid kuid trainz-build data category-class data category-region data category-era data username data kind data snapmode data dighole data light data angle data looping data mesh-table default mesh file auto-create data turntable mesh file auto-create data attached-track track_turntable track kuid useadjoiningtracktype data vertices 0 data 1 data track0_base track kuid useadjoiningtracktype data vertices 0 data 1 data track1_base track kuid useadjoiningtracktype data vertices 0 data 1 data track2_base track kuid useadjoiningtracktype data vertices 0 data 1 data track3_base track kuid useadjoiningtracktype data vertices 0 data 1 data track4_base track kuid useadjoiningtracktype data vertices 0 data 1 data up to track10_base track kuid useadjoiningtracktype data vertices 0 data 1 data kuid-table 0 kuid thumbnails 0 image file width data height data
TAGS AND CONTAINERS
The following tags are further defined in Chapter 5:
- kuid
- Generated automatically by Content Manager.
- trainz-build
- Automatically set to 2.9 for 2009 assets.
- category-class
- Should be "BR” - Railway (scenery non-functional). See the "Building and Structures" section of Category Class.
- category-region
- See Category Region for a list of valid category-region values.
- category-era
- See Category Era for a list of valid category-era values.
- username
- Asset username. This will be the name that appears in the surveyor menu.
- kind
- Must be "turntable".
Additional Tags
- angle
Specifies the angles at which the turntable stops. Not used if the turntable is set up as animation. frame-rate Generally make this 30 (frames per second)
- keyframes
- Specifies where on the animation the turntable is to stop.
- looping
- Specifies that the turntable can go all the way around, rather than stopping at a certain point.
- snapmode
- Specifies the alignment of the turntable to the surveyor grid. 1 = origin snaps to grid intersections (use for removing even dighole values), 2 = origin snaps to the center of a grid square (use for odd dighole values).
- dighole
- Specifies the number of grid segments (length, width) to be removed from the surveyor grid to accommodate the turntable pit.
- light
- Sets lighting to be used for object to be ambient or directional. 0 sets ambient lighting and object is lit by general light value (uniform colouring), 1 sets directional light which is affected by the position of the sun (shows shadows on the object surfaces). Obsolete in TS2009 onwards??
Notes
ANIMATED TURNTABLES
Turntables can be set up with creator defined animation.
Keyframes can be specified as the stopping points much like `angles' above. Use attached-tracks at keyframe points. A TRS2004 test asset is available for download, it does have mesh files but is not complete with all scripts required to fully function - for information only: http://www.auran.com/TRS2004/downloads/contentcreation/TransporterTestAsset.zip
- Also the example in Chapter 7 and the additional notes on modelling on Page 381.
THIS KIND HAS THE FOLLOWING:
- CONTAINERS
- Mesh Table, queues Container, Smoke Container, Soundscript Container, Attached Track Container, Attached Trigger Container, String Table, Chinese String Table, Czech String Table, Dutch String Table, French String Table, German String Table, Italian String Table, Polish String Table, Russian String Table, Spanish String Table, KUID Table, Obsolete Table, Thumbnails, Privileges, Extensions.
- TAGS
- kuid, trainz-build, category-class, category-region, category-era, username, kind, snapmode, alias, angle, author, autoname, category-keyword, class, contact-email, contact-website, description, description-cn, description-cz, description-de, description-es, description-fr, description-it, description-pl, description-nl, description-ru, dighole, floating, frame-rate, height-range, icon-texture, icon0, icon1, icon2, icon3, keyframes, license, light, looping, nightmode, organisation, preview-mesh-kuid, preview-scale, rgb, rollstep, rotate, rotate-yz-range, rotstep, script, snapgrid, surveyor-name-label, surveyor-only, username-cn, username-cz, username-de, username-es, username-fr, username-it, username-nl, username-pl, username-ru.