I have created a blueprint. My intention is to manage following type of block
ORTSFreightAnims(
FreightanimContinuous, -Discrete, -Static (
FreightAnimContinuousType(string = grain, coal, gravel, sand)
Shape(shapefile)
Maxheight(metres)
Minheight(metres)
DoesWorkWithStandardCoalPickups (1 or 0)
WagonCapacity()
InitialState(Full, Empty)
)
)
which can be inserted within a .wag file or within the wagon section of an .eng file.
The syntax allows for multiple freightanims within a single trainset, and for various types of FreightAnim:
- continuous (used for commodities whose level within a wagon can be raised or lowered)
- static (used to add parts to a trainset (numbers etc.)
- discrete (used for discrete objects, like a container). Animation for discrete freightanims (e.g. loading/unloading containers) is not planned at the moment.
Above the parameters for the continuous type of FreightAnim are listed.
The four subtypes for the continuous freight anim type correspond to the four types of commodity that MSTS already defines.
DoesWorkWithStandardCoalPickups allows the freight anim to work also with standard coal pickups; this, to easily enjoy and check the function without needing to edit the route to add specific pickups.
Parsing of this block is done within a specific file within ORTS.Formats.OR.