Help:VE218

From TrainzOnline
Revision as of 17:02, 29 January 2019 by Windwalkr (Talk | contribs)

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

Asset has duplicate attached track at track $(INDEX).

This error results when a KIND SceneryWithTrack-derived asset specifies two or more attached tracks between the same pair of track vertices. This construction is never permitted by Trainz, and so the requested configuration cannot be fulfilled.

Note that in cases where the track vertices move (such as a turntable or transfer table) it may be possible for this scenario to exist only at specific instants within the animation. Current asset validation will only detect this problem if it occurs in the default state of the asset, meaning that it is possible for such an asset to pass validation but still encounter problems at runtime. This should still be considered a fault in the asset construction, as Trainz will not correctly honor such a configuration.

When repairing legacy assets which exhibit this error, the simplistic fix is to remove the duplicate entry. Such a change will, however, result in a different number of attached-track entries which means that existing instances of the asset saved into routes may encounter loader conflicts with the updated asset. If this is found to cause problems in practice, a more robust fix might be to move the duplicate entry to a "harmless" location which resolves the problem without introducing other concerns.

Personal tools