CCG/Example: Library
From TrainzOnline
Contents |
Library
Directory Structure
A typical asset of this kind has the following File\Directory Structure:
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