KIND Texture

From TrainzOnline
Revision as of 00:08, 29 June 2013 by Fabartus (Talk | contribs)

Jump to: navigation, search

KIND Texture exposes a simple texture as an asset. These can be referenced by KUID for use as a custom corona, for example.

Contents

KIND Hierarchy

Parent Classes

Child Classes

  • none.

Supported Tags

TBD.

Example Config.txt

  • Texture files are ASCII specification files (text format) instructing ContentManager (CM) how to render each single texture.
  • Texture files have a ".texture.txt" name extension within the assets' folder
  • Texture files within a config.txt file such as the below MUST NOT have the '.txt' extension, or CM will generate an error.

Tag or structure braces Data fields
kuid <kuid:56113:1267>
trainz-build 2.5
category-class "JO"
category-region "AU"
category-era "2000s;2010s"
username "testTexture"
kind "texture"
texture "eg.texture"
thumbnails
{
0
      {
      image "thumb.jpg"
      width 240
      height 180
      }
}

The above "texture" tag specifies a Texture file located within the asset folder.

Categories

Personal tools