CCG/TrackSound

From TrainzOnline
< CCG
Revision as of 13:08, 8 June 2011 by Pev (Talk | contribs)

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

Contents

KIND: TRACKSOUND

Description

A sound asset that is referenced by track or bogeys to play a different sound from the default track/train sound (for example when a train travels over a bridge or through a tunnel).


Container Structure

A well formed tracksound kind has the following container structure:

CCG tracksound dir.jpg

See Chapter 7 for an example asset of this kind.


A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:

tracksound
  
kuid                     kuid
trainz-build             data
category-class           data
category-region          data
category-era             data
username                 data
kind                     data
min-distance             data
max-distance             data
levels
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
Value should be "XSE" - Unclassified. See the "Special" 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. Though this asset doesn't appear in the Surveyor menu, the username is used to identify the asset in the "Content Manager" and "Content Creator Plus" programs.
kind
Must be "tracksound".


Additional Containers

As well as containing all of the common tags and containers detailed in Chapter 5 , the tracksound kind also contains additional containers and tags that are specialised to the requirements of the kind.

Levels Container

Relative sound levels. The sound is silent until 0.1 m/s, ramping up in volume until 10.0 m/s, constant maximum after that. Note, a value below 0.1 will not play a sound. An example Levels setting would be:

0 ... 0.1
1 ... 10

Multiple sound files may be used, idle 1.wav, idle 2.wav


THIS KIND SUPPORTS THE FOLLOWING:

CONTAINERS
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, Levels Container.
TAGS
kuid, trainz-build, category-class, category-region, category-era, username, kind, min-distance, max- distance, author, category-keyword, contact-email, contact-website, description, description-cn, description-cz, description-de, description-es, description-fr, description-it, description-pl, description-nl, description-ru, license, organisation, username-cn, username-cz, username-de, username-es, username-fr, username-it, username-nl, username-pl, username-ru.


Return to CCG Index

Content Creator's Guide

All Other Containers and Tags

Personal tools