CCG/DriverCommand

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
(New page: ==KIND: DRIVERCOMMAND== ===Description=== A command for the train driver to accomplish a specific task. ===Container Structure=== A well formed drivercommand kind has the following co...)
 
m (kind drivercommand fixed in sample)
 
Line 15: Line 15:
  
 
A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:
 
A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:
  <font color="red">drivercommand</font>
+
  <font color="red">
 +
kind                            ''"drivercommand"''</font>
 
  kuid                            ''kuid''
 
  kuid                            ''kuid''
 
  trainz-build                    ''data''
 
  trainz-build                    ''data''
Line 22: Line 23:
 
  category-era                    ''data''
 
  category-era                    ''data''
 
  username                        ''data''
 
  username                        ''data''
kind                            ''data''
 
 
  supports-null-driver-character  ''data''
 
  supports-null-driver-character  ''data''
 
  class                          ''data''
 
  class                          ''data''

Latest revision as of 04:07, 7 November 2012

Contents

[edit] KIND: DRIVERCOMMAND

[edit] Description

A command for the train driver to accomplish a specific task.


[edit] Container Structure

A well formed drivercommand kind has the following container structure:

CCG drivercommand dir.jpg

See Chapter 7 for an example asset of this kind.

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


kind                            "drivercommand"
kuid                            kuid
trainz-build                    data
category-class                  data
category-region                 data
category-era                    data
username                        data
supports-null-driver-character  data
class                           data
script                          data
thumbnails
0
image                           file
width                           data
height                          data


[edit] 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 "YD" - Driver Command. See the "Maps & Scenarios" 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 driver menu.
kind
Must be "drivercommand".
class
The name of the scenario class within the script file.
script
The script file (gs or gse file).


[edit] Additional Tags

supports-null-driver-character
Command can be executed without a driver present in the selected loco.


[edit] 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.


TAGS
kuid, trainz-build, category-class, category-region, category-era, username, kind, supports-null-driver-character, 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, license, organisation, script, username-cn, username-cz, username-de, username-es, username-fr, username-it, username-nl, username-pl, username-ru.


[edit] Return to CCG Index

Content Creator's Guide

Personal tools