CCG/Pantograph

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
m (kind pantograph fixed in sample)
 
(2 intermediate revisions by 2 users not shown)
Line 58: Line 58:
  
 
;mesh-table
 
;mesh-table
:Default - Contains the default mesh. Auto-create should be set to true in order to make the mesh visible.  
+
:Default - Contains the default mesh. Auto-create should be set to true in order to make the mesh visible. Be sure to reference anim.kin using the anim tag in here also for the animation to work.
  
 
;anim
 
;anim
:The "anim.kin" animation file for the pantograph animation. <font color="red">Refer to Page 380 for more details of pantographs.
+
:The "anim.kin" animation file for the pantograph animation.
</font>
+
  
 
===THIS KIND SUPPORTS THE FOLLOWING:===
 
===THIS KIND SUPPORTS THE FOLLOWING:===

Latest revision as of 09:47, 6 April 2018

Contents

[edit] KIND: PANTOGRAPH

[edit] Description

The animated mechanisms on the roof of electric locomotives that conduct electricity from the catenary's (wires) above. It is referenced by the pantograph tag in a traincar config file.


[edit] Container Structure

A well formed pantograph kind has the following container structure:

CCG pantograph dir.jpg

See Chapter 7 for an example asset of this kind.


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

kind                    "pantograph"
kuid                    kuid
trainz-build            data
category-class          data
category-region         data
category-era            data
username                data
mesh-table
default
mesh                    file
auto-create             data
anim                    file
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 Content Manager.
trainz-build
Automatically set to 2.9 for 2009 assets.
category-class
Should be "ZP" - Pantographs. See the "Train Parts" 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 "pantograph".
mesh-table
Default - Contains the default mesh. Auto-create should be set to true in order to make the mesh visible. Be sure to reference anim.kin using the anim tag in here also for the animation to work.
anim
The "anim.kin" animation file for the pantograph animation.

[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, Mesh Table.
TAGS
kuid, trainz-build, category-class, category-region, category-era, username, kind, alias, 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, 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.


[edit] Return to CCG Index

Content Creator's Guide

Personal tools