KIND Texture-group: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
m 1 revision
mNo edit summary
Line 1: Line 1:
Defines a group of textures as an asset that can be referenced from another asset or via scripting.
[[Image:Example.jpg]]Defines a group of textures as an asset that can be referenced from another asset or via scripting.


Sample config.txt:
Sample config.txt:


  [[TagName_Kuid|kuid]] <kuid:171456:100034>
  kuid <kuid:171456:100034>
  [[TagName_Trainz-build|trainz-build]] 2.5
  trainz-build 2.5
  [[TagName_Category-class|category-class]] "JO"
  category-class "JO"
  [[TagName_Category-region|category-region]] "AU"
  category-region "AU"
  [[TagName_Category-era|category-era]] "1810s"
  category-era "1810s"
  [[TagName_Username|username]] "testTextureGroup"
  username "testTextureGroup"
  [[TagName_Kind|kind]] "texture-group"
  kind "texture-group"
  [[TagName_Description|description]] "Test texture group."
  description "Test texture group."
  [[%22Textures%22_container|textures]]
  textures
  {
  {
   0 "1.bmp"
   0 "1.bmp"
Line 17: Line 17:
   2 "3.bmp"
   2 "3.bmp"
  }
  }
  [[%22Thumbnails%22_container|thumbnails]]
  thumbnails
  {
  {
   0
   0

Revision as of 08:54, 18 October 2010

Defines a group of textures as an asset that can be referenced from another asset or via scripting.

Sample config.txt:

kuid <kuid:171456:100034>
trainz-build 2.5
category-class "JO"
category-region "AU"
category-era "1810s"
username "testTextureGroup"
kind "texture-group"
description "Test texture group."
textures
{
  0 "1.bmp"
  1 "2.bmp"
  2 "3.bmp"
}
thumbnails
{
  0
  {
    image "thumb.jpg"
    width 240
    height 180
  }
}

Categories