CCG/Example: DriverCharacter

From TrainzOnline
< CCG(Difference between revisions)
Jump to: navigation, search
(New page: ==DriverCharacter== ===Directory Structure=== A typical asset of this kind has the following File\Directory Structure: Image:CCG_driver_character_dir1.jpg ===Required Files=== ''...)
 
Line 48: Line 48:
 
       height            32
 
       height            32
 
     }
 
     }
  {
+
  }
  
  

Revision as of 21:41, 8 June 2011

Contents

DriverCharacter

Directory Structure

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

CCG driver character dir1.jpg


Required Files

config.txt - The config file for the asset.

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

'cafe64.texture.txt - The texture file which references cafe64.tga. See the section on Texture.txt files on Page 96 for more information.

cafe64.tga - 64x64 Targa Image file.

cafe32.bmp - The 32x32 thumbnail image used for the small driver portraits (in the "Driver Settings" menu, or the train properties in driver).


Config.txt File Listing

kuid                    <kuid:56113:1236>
trainz-build            2.5
category-class          "OHD"
category-region         "AU"
category-era            "1930s;1940s;1950s;1960s;1970s;1980s;1990s;2000s;2010s"
username                "testHenk"
kind                    "drivercharacter"
face-texture            "Cafe64.texture"
mesh                    <kuid:-3:10128>
description             "This is Henk."
  
thumbnails
{
  0
    {
      image             "thumb.jpg"
      width             240
      height            180
    }
  1
    {
      image             "cafe32.bmp"
      width             32
      height            32
    }
}


Cafe64.texture.txt File Listing

Primary=Cafe64.tga
Alpha=Cafe64.tga
Tile=none


Download this asset

This asset is available for download from the TRS2006website at:

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


Return to CCG Index

Content Creator's Guide

Kind Examples

Personal tools