Vehicle Contents (Movement Order)

From SignalWiki
Revision as of 04:51, 16 June 2011 by Charlie (talk | contribs) (Created page with 'A Vehicle Contents movement order is defined by a set of delimited values that determines changes to be made to a set of vehicles. Changes include loading/unloading passengers, l…')

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

A Vehicle Contents movement order is defined by a set of delimited values that determines changes to be made to a set of vehicles. Changes include loading/unloading passengers, loading/unloading freight, changing vehicle destinations, and changing freight contents.

The type number for this order is 18.

For each vehicle that is to be changed, 5 values need to be defined. For 2 vehicles, 10 values are required, etc. The format for each vehicle is as follows:

index;loaded;loadtype;mass;destination

index

The vehicle index, where the first vehicle is index 0, the second is index 1, etc.

Example:

      loco, car1, car2, car3, .... car9

index: 0 1 2 3 9

      loco1, loco2, loco3, car1, car2, car3 

index: 0 1 2 3 4 5

During simulation, if there is any mismatch in indices (example 10 values, only 9 cars) sim will not execute the order. In Developer mode, warning message is generated.