Help:VE13
From TrainzOnline
(Difference between revisions)
Builderbob (Talk | contribs) (Created from error message) |
Builderbob (Talk | contribs) (Additional example.) |
||
Line 1: | Line 1: | ||
Missing or invalid selection for tag ''tagname'' in ''containername''. | Missing or invalid selection for tag ''tagname'' in ''containername''. | ||
− | The tag value is missing or is not valid for this particular tag. | + | The tag value is missing or is not valid for this particular tag. |
+ | |||
+ | For example, the config.txt lines of: | ||
category-class "XBR" | category-class "XBR" | ||
Line 12: | Line 14: | ||
- VE13: Missing or invalid selection for tag 'category-class' in 'traincar'. | - VE13: Missing or invalid selection for tag 'category-class' in 'traincar'. | ||
− | 'XBR' is not a valid category class code. The correct value for this asset is probably 'XBI' The tag value for 'category-class' should be changed to a valid category code. | + | 'XBR' is not a valid category class code. The correct value for this asset is probably 'XBI' The tag value for 'category-class' should be changed to a valid category code. (See: [[Category-class]].) |
+ | |||
+ | For example, the config.txt lines of: | ||
+ | |||
+ | smoke0 | ||
+ | { | ||
+ | attachment "a.smoke0" | ||
+ | mode "1" | ||
+ | color 25,25,25,225 | ||
+ | accel 0 | ||
+ | start 0 | ||
+ | period -1 | ||
+ | rate 5 | ||
+ | velocity 1 | ||
+ | lifetime 5 | ||
+ | minsize 0.25 | ||
+ | maxsize 5 | ||
+ | } | ||
+ | |||
+ | resulted in the following error being logged: | ||
+ | |||
+ | - VE13: Missing or invalid selection for tag 'mode' in 'smoke0' | ||
− | + | "1" is not a valid value for the mode tag in a smoke container. For a list of valid values see [["Smoke" container#mode|mode]] | |
[[Category:Validation Errors]] | [[Category:Validation Errors]] |
Latest revision as of 14:20, 4 March 2017
Missing or invalid selection for tag tagname in containername.
The tag value is missing or is not valid for this particular tag.
For example, the config.txt lines of:
category-class "XBR" category-era "1930s;1940s;1950s" category-region "CA;US" description "40ft wood meat reefer."
resulted in the following error being logged:
- VE13: Missing or invalid selection for tag 'category-class' in 'traincar'.
'XBR' is not a valid category class code. The correct value for this asset is probably 'XBI' The tag value for 'category-class' should be changed to a valid category code. (See: Category-class.)
For example, the config.txt lines of:
smoke0 { attachment "a.smoke0" mode "1" color 25,25,25,225 accel 0 start 0 period -1 rate 5 velocity 1 lifetime 5 minsize 0.25 maxsize 5 }
resulted in the following error being logged:
- VE13: Missing or invalid selection for tag 'mode' in 'smoke0'
"1" is not a valid value for the mode tag in a smoke container. For a list of valid values see mode