Help:VE142

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Created from error message)
 
m (Link)
 
Line 18: Line 18:
 
   running-numbers                      "850-862"
 
   running-numbers                      "850-862"
 
  }
 
  }
 +
 +
For details of the rules relating to the formatting of this tag value, see [[Vehicle-running-numbers_container|vehicle running numbers]].
  
 
[[Category:Validation Errors]]
 
[[Category:Validation Errors]]

Latest revision as of 13:13, 10 September 2016

Invalid character text specified in running number list, only numbers, ',' and '-' are supported.

The 'running-numbers' tag within the 'vehicle-running-numbers' container of config.txt for a traincar asset must follow a specific format. In particular, the only characters that can appear in the tag value are digits 0 to 9, dash, or comma. Any other characters in the tag value will cause this error to be logged. For instance:

vehicle-running-numbers
{
  running-numbers                       "850_862"
}

will generate the error

- VE142: Invalid character '_' specified in running number list, only numbers, ',' and '-' are supported.

The fix is to adjust the tag value to the correct form, in this case

vehicle-running-numbers
{
  running-numbers                       "850-862"
}

For details of the rules relating to the formatting of this tag value, see vehicle running numbers.

Personal tools