CCG/DriverCharacter

From TrainzOnline
< CCG
Revision as of 04:06, 7 November 2012 by Pev (Talk | contribs)

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

Contents

KIND: DRIVERCHARACTER

Description

The locomotive driver character. This specifies the picture icon that appears in Driver as the engine driver.

Container Structure

A well formed drivercharacter kind has the following container structure:

CCG drivercharacter dir1.jpg

See Chapter 7 for an example asset of this kind.

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

kind                    "drivercharacter"
face-texture            file
kuid                    kuid
mesh                    kuid
username                data
trainz-build            data
category-class          data
category-region         data
category-era            data
kuid-table
0                       kuid
thumbnails
0
image                   file
width                   data
height                  data
1
image                   file
width                   data
height                  data


TAGS AND CONTAINERS

The following tags are further defined in Chapter 5:

kuid
Generated automatically by CCP.
trainz-build
Automatically set to 2.9 for 2009 assets.
category-class
Should be "OHD" - Locomotive Driver. See the "Organism" section of Category Classfor more information.
category-region
See Category Region for a list of valid category-region values.
category-era
See Category Erafor a list of valid category-era values.
username
Asset username. This will be the text name of the driver.
kind
Must be "drivercharacter".
Thumbnails
As well as the 240x180 image used as the assets preview thumbnail, a 32x32 thumbnail should be included as well. This is a half-size representation of the "face-texture" image, and is used where the small driver image is displayed. Not including this second thumbnail will cause Trainz to use the larger one.
face-texture
This is the driver icon used in TRS. Must be 64x64pixels.
mesh
This refers to the kuid of the mesh asset inserted into the locomotive mesh at a.driver0 (when in the Driver Module).
kuid-table
The kuid of the driver mesh should be present in the kuid table.


THIS KIND SUPPORTS THE FOLLOWING:

CONTAINERS
Mesh Table, 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, face-texture, mesh, alias, author, 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, icon0, icon1, icon2, icon3, license, organisation, preview-mesh-kuid, preview-scale, 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

Personal tools