Help:VE176

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Created from the error)
 
m
 
Line 1: Line 1:
The tag ''tagname'' in ''containername'' must have a texture file extension.
+
'''The tag ''tagname'' in ''containername'' must have a texture file extension.'''
  
The tag is a reference to an image file, but the reference must be through the texture.txt file.
+
The tag is a reference to an [[Texture file#Source Image Formats|image file]], but the reference must be to a [[texture file]].
  
 
For example, the config file text
 
For example, the config file text

Latest revision as of 10:10, 11 October 2017

The tag tagname in containername must have a texture file extension.

The tag is a reference to an image file, but the reference must be to a texture file.

For example, the config file text

kind                                    "industry"
trainz-build                            3.5
light                                   1
nightmode                               "lamp"
icon-texture                            "industry_icon.tga" 

would be flagged with the error

! VE176: The tag 'icon-texture' in 'industry' must have a texture file extension.

The fix is to create a file 'industry_icon.texture.txt' with file contents

Primary=industry_icon.tga
Tile=st

and change the line in config.txt to

icon-texture                            "industry_icon.texture"
Personal tools