KIND Drivercharacter

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
m (Added sort criterion)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
==KIND Hierarchy==
 
==KIND Hierarchy==
 
===Parent Classes===
 
===Parent Classes===
* ''none.''
+
* [[KIND TrainzBaseSpec]]
  
 
===Child Classes===
 
===Child Classes===
Line 41: Line 41:
  
 
==Categories==
 
==Categories==
[[Category:Asset KIND]]
+
[[Category:Asset KIND|D]]
 +
[[Category:TBD]]

Latest revision as of 14:57, 14 February 2014

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

[edit] KIND Hierarchy

[edit] Parent Classes

[edit] Child Classes

  • none.


[edit] Supported Tags

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

face-texture 
mesh 

[edit] 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.

[edit] 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.


[edit] 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"


[edit] Downloads

TBD


[edit] Categories

Personal tools