CCG/Example: Library

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

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

Contents

Library

Directory Structure

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

CCG library dir1.jpg


Required Files

config.txt - The config file for the asset.

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

button-done-on.tga, button-done.tga - Graphic files.

default_msgbox.html - HTML file used for this asset.

displayhtmlpageslib.gs - Script file.


Config.txt File Listing

kind                "library"
username            "test HTML Pages Library"
script              "DisplayHTMLPagesLib.gs"
class               "DisplayHTMLPagesLib"
kuid                <kuid:171456:100073>
trainz-build        2.9
category-class      "YR"
category-region     "00"
category-era        "1990s;2000s"
description         "A test Library asset."
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