CCG/Example: Mesh

From TrainzOnline
< CCG
Revision as of 00:45, 10 June 2011 by Pev (Talk | contribs)

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

Contents

Mesh

Directory Structure

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

CCG mesh dir1a.jpg


Required Files

config.txt - The config file for the asset.

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

alastair.im - The default mesh.

alastair.texture.txt, alastair.tga - The default mesh texture files. See the section on Texture.txt files on Page 96 for more information.

alastair_lowres.im - A second mesh.

alastair_lores.texture.txt, alastair_lores.tga - The texture files for the second mesh.


Config.txt File Listing

kuid                  <kuid:56113:1003>
trainz-build          2.9
category-class        "HM"
category-region       "00"
category-era          "1980s;1990s;2000s"
username              "testMesh"
kind                  "mesh"
description           "Sample Mesh Asset. This is a driver mesh."
mesh-table
{
  standing
    {
      mesh            "alastair/Alastair.im"
      auto-create     1
    }
  sitting
    {
      mesh            "alastair_lowres/Alastair_lowres.im"
    }
          
thumbnails
{
  0
    {
       image          "thumb.jpg"
       width          240
       height         180
    }
}


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