CCG/Example: Paintshed-Skin

From TrainzOnline
< CCG
Revision as of 20:05, 11 June 2011 by Pev (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Paintshed-Skin

Directory Structure

A typical asset of this kind has the following File\Directory Structure:

CCG paintshed skin dir1.jpg


Required Files

config.txt - The config file for the asset.

thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.

colormap.dat, skin.dat - Files containing extra color and skin information (generated by the paintshed program).

main.bmp, main.texture.txt - The texture files used for the actual train model in game. See the section on Texture.txt files on Page 96 for more information.

alphanumber_0a.tga, alphanumber_0b.tga, alphanumber_1a.tga, alphanumber_1b.tga, alphanumber_2a.tga, alphanumber_2b.tga, alphanumber_3a.tga, alphanumber_3b.tga, alphanumber_4a.tga, alphanumber_4b.tga, alphanumber_5a.tga, alphanumber_5b.tga, alphanumber_6a.tga, alphanumber_6b.tga, alphanumber_7a.tga, alphanumber_7b.tga, alphanumber_8a.tga, alphanumber_8b.tga, alphanumber_9a.tga, alphanumber_9b.tga - The running number images and opacity masks.

consist.bmp, consist_a.bmp, bb15000_art_icon.texture.txt - The image used as the train icon in the train menu. 128x64 bmp and accompanying alpha map.

preview.bmp, preview_a.bmp, bb15000_art_512.texture.txt - These image files are used to show a 512x512 preview texture when the image is available on the download station. This is valid for 2004 assets, but in TRS2006 this functionality has been replaced with the 240x180 thumbnail image referenced in the thumbnails container.

If your asset has a trainz-version of 2.5+, you should use an image from a thumbnail container instead, at which time these files may be deleted if you wish to decrease the filesize of your asset.


Config.txt File Listings

origin                     "AU - AUSTRALIA"
category-class             "AA"
product-id                 "paintshed"
product-version            1.4
product-type               "reskin"
pantograph                 <kuid:-1:100860>
engine                     1
interior                   <kuid:-1:100554>
fonts                      2
mass                       90000
kind                       "traincar"
enginespec                 <kuid:-1:42004205>
enginesound                <kuid:-1:42003002>
hornsound                  <kuid:-1:42003101>
username                   "testPaintshed-Skin"
description                "paintshed skin. Generated in Paintshed and edited in CCP."
alias                      <kuid:-10:182>
kuid                       <kuid:56113:1005>
paintshed-template-used    <kuid:-13:157001>
paintshed-skin-used        <kuid:-13:157000>
category-region            "AU"
category-era               "2000s"
trainz-build               2.5
mesh-table
{
  default
    {
      mesh                 "bb15000_body/bb15000_body.pm"
      auto-create          1
    }
  shadow
    {
      mesh                 "bb15000_shadow/bb15000_shadow.pm"
      auto-create          0
    }
}
bogeys
{
  0
    {
      bogey                <kuid:-1:100005>
      reversed             0
    }
}
thumbnails
{
  0
    {
      image               "thumb.jpg"
      width               240
      height              180
    }
}


bb15000_art_icon.texture.txt File Listing

Primary=consist.bmp
Alpha=consist_a.bmp
Tile=st
Hint=dynamic

bb15000_art_512.texture.txt File Listing

Primary=preview.bmp
Alpha=preview_a.bmp
Tile=st
Hint=Dynamic


Download this asset

This asset is available for download from the TRS2006 website at:

http://files.auran.com/TRS2006/Downloads/Example_Download.zip


Return to CCG Index

Content Creator's Guide

Kind Examples

Personal tools