CCG/MOCrossing
Contents |
KIND: MOCROSSING
Description
Combined rail and road crossings that react to trains or script control. This allows animation, special lighting effects and attachment points for rail track and roads.
Container Structure
A well formed mocrossing kind has the following container structure:
See Chapter 7 for an example asset of this kind.
A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:
kind "mocrossing" kuid kuid trainz-build data category-class data category-region data category-era data username data soundscript dayloop repeat-delay data distance data sound 0 file mesh-table default mesh file anim file auto-create data attached-track road1 track kuid useadjoiningtracktype data vertices 0 data 1 data track1 track kuid useadjoiningtracktype data vertices 0 data 1 data 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 "WX" - Accessories. See the "Wayside" 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 "mocrossing".
Additional Containers
Soundscript Container
Controls the looping sound made by the object.
Attached Track Container
Auto-generated spline track. Generated through attachment points located within the default mesh. Attached-tracks update automatically to the spline track connected to it. You may over-ride this auto-update feature by adding useadjoiningtracktype 0
Note. Correct track end attachment orientation is essential. The Y axis must point 'out' at the correct angle. The Z axis must point 'up' - Refer FixedTrack
The Attached Track Container has the following tags and containers:
- track
- Kuid of the track to be used.
- useadjoiningtracktype
- Indicates whether the track type should change to match that of the first track joined to the object.
- vertex
- Attachment points at which to place track.
THIS KIND SUPPORTS THE FOLLOWING:
- CONTAINERS
- queues Container, Smoke Container, SoundScript Container, Mesh Table, 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, alias, 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, height-range, icon-texture, icon0, icon1, icon2, icon3, license, light, nightmode, organisation, passenger-height, preview-mesh-kuid, preview-scale, rgb, rollstep, rotate, rotate-yz-range, rotstep, script, snapgrid, snapmode, surveyor-name-label, surveyor-only, username-cn, username-cz, username-de, username-es, username-fr, username-it, username-nl, username-pl, username-ru.