Help:VE203

From TrainzOnline
Revision as of 12:55, 12 April 2018 by Builderbob (Talk | contribs)

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

Bad sequence order in container name/tag name list. Each element must be greater than the last.

The config.txt file tag tagname is a list. Each element in the list must be greater than the previous element in the list.

For example, the smoke container in this config.txt file:

smoke0
{
  attachment                            "a.smoke0"
  mode                                  "speed"
  color                                 10,10,10,80
  accel                                 0,0,-1.05
  start                                 0,0.1,0.1,0.1,0.2,0.3,0.4,0.6,1
  rate                                  0,0,1,1,2,2,3,4,5
  velocity                              4,4,4,3,3,3,3,3,3
  lifetime                              0,0.1,0.1,0.1,0.2,0.2,0.3,1,1
  minsize                               0.0001
  maxsize                               0.0005
}

produces the validation error:

VE203: Bad sequence order in smoke0/start list. Each element must be greater than the last.

In the sequence '0, 0.1, 0.1, 0.1 ...' the third and fourth values are not greater than the second one. In this case these elements are redundant because the corresponding rate, velocity and lifetime list elements are the same for each period, so the fix is to remove the redundant elements from all the tags.

smoke0
{
  attachment                            "a.smoke0"
  mode                                  "speed"
  color                                 10,10,10,80
  accel                                 0,0,-1.05
  start                                 0,0.1,0.2,0.3,0.4,0.6,1
  rate                                  0,0,2,2,3,4,5
  velocity                              4,4,3,3,3,3,3
  lifetime                              0,0.1,0.2,0.2,0.3,1,1
  minsize                               0.0001
  maxsize                               0.0005
}

In other cases the appropriate fix might be to correct the start times.

 start                                 0,0.1,0.13,0.16,0.2,0.3,0.4,0.6,1
Personal tools