CCG/Activity

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
m (quotes added)
 
(3 intermediate revisions by one user not shown)
Line 11: Line 11:
 
A well formed activity kind has the following container structure:
 
A well formed activity kind has the following container structure:
  
 +
[[Image:CCG_activity_dir.jpg]]
  
 
See Chapter 7 for an example asset of this kind.
 
See Chapter 7 for an example asset of this kind.
  
 
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">activity</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''
+
  <font color="red">kind              ''"activity"''</font>
 
  class              ''data''
 
  class              ''data''
 
  script            ''file''
 
  script            ''file''
Line 106: Line 107:
  
  
===THIS KIND SUPPORTS THE FOLLOWING:
+
===THIS KIND SUPPORTS THE FOLLOWING:===
  
 
;CONTAINERS
 
;CONTAINERS

Latest revision as of 03:47, 7 November 2012

Contents

[edit] KIND: ACTIVITY

[edit] Description

An activity is a scripted scenario that details the locomotives and rolling-stock used in a map, the driver settings, commands and scripts.

A train driver can undertake a sequence of planned moves ­ a scenario.

[edit] Container Structure

A well formed activity kind has the following container structure:

CCG activity dir.jpg

See Chapter 7 for an example asset of this kind.

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

kuid               kuid
trainz-build       data
category-class     data
category-region    data
category-era       data
username           data
kind               "activity"
class              data
script             file
driver-settings
autopilotmode      data
startingtime       data
timerate           data
deraillevel        data
showhelp           data
controlmethod      data
weather            data
changeability      data
thumbnails
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 "YS - Scenario". See the "Maps & Scenarios" section of the Category Class.
category-region
See the Category_Region for a list of valid category-region values.
category-era
See the 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 Plus" and "Content Creator Plus" programs.
kind
Must be "activity".
script
The script file (gs or gse file).
class
The name of the scenario class within the script file.


[edit] Additional Containers

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


driver-settings
Specify the settings of this scenario, similar to Driver's settings' screen.

The driver settings container contains the following child tags:

autopilotmode
AI driver setting. (off, on)
startingtime
Time of day. Range is from 0 to 1 (0.5 - midday).
timerate
Time progression. (1 - real-time, 2 - double speed etc.)
deraillevel
Derail setting. (none, arcade, realistic)
showhelp
Show Driver Help. (off, on)
controlmethod
Driver control setting. (dcc, cabin)
weather
Weather setting. (clear, cloudy, drizzle, rain, stormy, light snow, medium snow, heavy snow)
changeability
Propensity for weather to change. (none, periodic, extreme)


[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, Driver Settings Container.
TAGS
kuid, trainz-build, category-class, category-region, category-era, username, kind, 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