CCG/Paintshed-Skin
From TrainzOnline
< CCG
Contents |
KIND: PAINTSHED-SKIN
Description
A reskin texture for a locomotive or rolling stock asset.
Container Structure
A well formed paintshed-skin kind has the following container structure:
See Chapter 7 for an example asset of this kind.
A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS:
paintshed-reskin origin data category-class data product-id data product-version data product-type data engine data interior kuid fonts data mass data kind data enginespec kuid enginesound kuid hornsound kuid username data description data alias kuid kuid kuid paintshed-template-used kuid paintshed-skin-used kuid category-region data category-era data trainz-build data mesh-table default mesh file auto-create data shadow mesh file bogeys 0 bogey kuid reversed data thumbnails 0 image file width data height data kuid-table 0 kuid 1 kuid 2 kuid 3 kuid 4 kuid 5 kuid 6 kuid 7 kuid
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 "ZX" – PaintShed-Template. 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. This will be the name that appears in the surveyor menu.
- description
- Description of model which is used for the `Railyard' information.
- kind
- Must be "traincar".
- alias
- The kuid of the paintshed template the paintshed reskin is based on.
- origin
- The Country Abbreviation.
- product-id
- For paintshed support.
- product-type
- For paintshed support.
- product-version
- For paintshed support.
- engine
- Specifies whether the traincar is a locomotive or rollingstock item. A loco or B-unit will have the engine tag set to true.
- mass
- Mass in kilograms, ie "7000".
- interior
- Kuid number of the interior, inserted at a.cabfront. This tag should only be used when required (an interior is needed when the traincar is a locomotive). enginesound References the kuid number for the traincar's sound asset.
- enginespec
- References the engine kuid number. This specifies the driver physics boundaries for the traincar.
- hornsound
- References the kuid number for the traincar horn sound asset.
- paintshed-skin-used
- Kuid of the paintshed skin used. (if applicable) paintshed-template-used
- paintshed-template-used
- Kuid of the paintshed template used. (if applicable)
- fonts
- Indicates how many types of numbering fonts are used, eg.
- 0 = no fonts used
- 1 = one font - Digit textures (digit_1.tga to digit_6.tga) replaced automatically with alphanumber textures (alphanumber_0 to alphanumber_9) as numbers are changed via the Surveyor Trains tab - `Edit Properties' icon (the `?' icon).
- 2 = two fonts - Digit textures (digit_1a.tga to digit_6a.tga and digit_1b.tga to digit_6b.tga) replaced automatically with alphanumber textures (alphanumber_0a to alphanumber_9a and alphanumber_0b to alphanumber_9b) as numbers are changed via the Surveyor Trains tab - `Edit Properties' icon (the `?' icon).
- mesh-table
- default - The main traincar mesh.
- auto-create
- Specifies that this mesh is automatically created (visible without needing to resort to a script).
- shadow
- The mesh model to be used as a shadow.
Bogeys Container
The bogey container lists the bogeys used for the loco\rollingstock item.
The functionality of a bogey can be determined by naming it as follows: Bogey sub-container 0 fits bogey to a.bog0, bogey sub-container 1 fits bogey to a.bog1
A Bogey # sub-container has the following tags:
- bogey
- The bogey kuid number
- reversed
- Ticking this box in CCP will make the bogey have a reversed orientation. Note: This will cause bogey animation to play in reverse, unless attachment points are rotated 180 degrees. Affects the direction of the bogey, relative to the traincar.
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, 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.