CCG/Texture-Group

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
(New page: ==KIND: TEXTURE-GROUP== ===Description=== Defines a group of textures as an asset that can be referenced from another asset or via scripting. ===Container Structure=== A well formed tex...)
 
m (kind texture-group fixed in sample)
 
Line 15: Line 15:
 
A TYPICAL ASSET OF THIS KIND MAY HAVE THE
 
A TYPICAL ASSET OF THIS KIND MAY HAVE THE
 
FOLLOWING TAGS:
 
FOLLOWING TAGS:
  <font color="red">texture-group</font>
+
  <font color="red">kind                  ''"texture-group"''</font>
 
+
 
  kuid                  ''kuid''
 
  kuid                  ''kuid''
 
  trainz-build          ''data''
 
  trainz-build          ''data''
Line 23: Line 22:
 
  category-era          ''data''
 
  category-era          ''data''
 
  username              ''data''
 
  username              ''data''
kind                  ''data''
 
 
  <font color="red">textures</font>
 
  <font color="red">textures</font>
 
  <font color="green">0</font>                      ''file''
 
  <font color="green">0</font>                      ''file''

Latest revision as of 17:54, 10 November 2012

Contents

[edit] KIND: TEXTURE-GROUP

[edit] Description

Defines a group of textures as an asset that can be referenced from another asset or via scripting.


[edit] Container Structure

A well formed texture-group kind has the following container structure:

CCG texture group dir.jpg

See Chapter 7 for an example asset of this kind.


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

kind                   "texture-group"
kuid                   kuid
trainz-build           data
category-class         data
category-region        data
category-era           data
username               data
textures
0                      file
1                      file
2                      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.
catgeory-class
Should be one of the following values:
"J" - Texture, "JC" - Corona, "JI" - Icon, "JP" - Particle Effect Texture", "JO" - Other Texture.
See the "Texture" section 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 "texture-group".


[edit] Additional Containers

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


[edit] Textures Container

The textures container stores a list of additional textures to be used in the texture group.

texture
Texture path.


[edit] Notes:

The ONLY use for this asset is for reference by the script function “SetFXTextureReplacement”.


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


[edit] Return to CCG Index

Content Creator's Guide

All Other Containers and Tags

Personal tools