KIND Drivercharacter

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(New page: KIND Drivercharacter is the icon representation of a drivercharacter. It provides the face texture used in the UI. It references a separate mesh asset to provide the visual representat...)
 
m
Line 27: Line 27:
 
Sample [[config.txt file]] for a drivercharacter, with the Standard Tags excluded for brevity:
 
Sample [[config.txt file]] for a drivercharacter, with the Standard Tags excluded for brevity:
  
  [[TagName_Kind|kind]]                                   "drivercharacter"
+
  kind                                    "drivercharacter"
 
  face-texture                            "driver.texture"
 
  face-texture                            "driver.texture"
 
  mesh                                    <kuid:-3:10128>
 
  mesh                                    <kuid:-3:10128>
 
   
 
   
  [[TagName_Username|username]]                               "My Driver Character"
+
  username                                "My Driver Character"
 
  kuid                                    <KUID2:####:#####:0>
 
  kuid                                    <KUID2:####:#####:0>
  [[TagName_Category-class|category-class]]                         "OHD"
+
  category-class                          "OHD"
  
  

Revision as of 18:55, 18 October 2010

KIND Drivercharacter is the icon representation of a drivercharacter. It provides the face texture used in the UI. It references a separate mesh asset to provide the visual representation of the driver in the cab.

Contents

KIND Hierarchy

Parent Classes

  • none.

Child Classes

  • none.


Supported Tags

Each HTML asset supports the following tags. Each tag is shown here with its default value.

face-texture 
mesh 

face-texture

Type: Image filename
Desc: The image filename for the 64x64 face texture of the driver character. Used in various places the UI. Should refer to the '.texture' form of a texture provided in .texture.txt and .tga format.

mesh

Type: KUID
Desc: The asset which will provide the visible representation of the driver in the cab of a loco. This should be a 'kind mesh' asset, with two meshes in it's meshtable - one called "standing" and one called "sitting", for use when standing at the controls and sitting at the controls respectively.


Example Config.txt

Sample config.txt file for a drivercharacter, with the Standard Tags excluded for brevity:

kind                                    "drivercharacter"
face-texture                            "driver.texture"
mesh                                    <kuid:-3:10128>

username                                "My Driver Character"
kuid                                    <KUID2:####:#####:0>
category-class                          "OHD"


Downloads

TBD


Categories

Personal tools