Help:VE146

From TrainzOnline
Revision as of 10:44, 23 August 2016 by Builderbob (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An asset must be specified for tag tagname.

There are a number of tags that require an asset to be included as the tag value. This includes some tags that are user-supplied names or labels, such as an entry in a 'kuid-table' container, or an entry in the 'allowed-categories' container. As these tags are optional, the error is a warning and the entry is ignored.

For example, the config.txt file for a traincar asset included a queue container:

 load0
 {
   size                                30
   initial-count                       0
   
   allowed-products
   {
     1                                 
   }
 }

The error message was

! VE146: An asset must be specified for tag '1'.

If an allowed products subcontainer is included, then an asset kuid for that product must be provided.

The fix is:

  • Remove the tag (or the container) if it is not required.
  • Add or fix the asset reference in the tag.
Personal tools