@@ -621,6 +621,65 @@ Here below a sample of a ``.loa`` file::
621
621
offset is not [0,0,0], which would be advisable for newly produced containers. A simple way to
622
622
state such offset is to use the ``Show Bounding Info `` of ``Shape Viewer ``.
623
623
624
+ Pre-setting a .wag file to accommodate containers
625
+ -------------------------------------------------
626
+
627
+ As a minimum following block must be present in the .wag file for a double stacker::
628
+
629
+ ORTSFreightAnims (
630
+ LoadingAreaLength ( 12.20 )
631
+ AboveLoadingAreaLength ( 12.20 )
632
+ DoubleStacker ()
633
+ Offset( 0 0.34 0 )
634
+ IntakePoint ( 0 6.0 Container)
635
+ )
636
+
637
+ - LoadingAreaLength is the length in meters of the loading area available for containers
638
+ - AboveLoadingAreaLength is the length in meters of the above loading area available
639
+ for containers (parameter not needed if not double stacker)
640
+ - DoubleStacker must be present if the wagon allows double stacking
641
+ - Offset is the offset of the center of the rectangle of the loading area with respect to
642
+ the shape file of the wagon.
643
+ - The first and the third IntakePoint parameters have the same meanings than the ones used
644
+ for generic pickups. The first parameter must be equal to the Z value of the offset.
645
+ ``Container `` is mandatory.
646
+
647
+ This ``ORTSFreightAnims `` block can include also static freight animations as described in
648
+ the related paragraph.
649
+
650
+ Allocation of the containers on the wagons
651
+ ------------------------------------------
652
+
653
+ A container may have following positions within the loading area of the wagon: Rear, CenterRear,
654
+ Center, CenterFront, Front and Above. Following picture shows where the first five positions are located
655
+ on the wagon, while Above is the above position in dual-stack configurations. The Above position is
656
+ always centered.
657
+
658
+ .. image :: images/features-loading-area.png
659
+
660
+ Some loading configurations are shown in following picture:
661
+
662
+ .. image :: images/features-loading-configurations.png
663
+
664
+ From left to right the loading configurations are present (locomotive on the left):
665
+
666
+ - CenterFront, CenterRear, Above
667
+ - Center
668
+ - Front, Rear
669
+ - Front, Center, Rear
670
+ - Front, Rear
671
+ - Front, CenterFront, CenterRear, Rear.
672
+
673
+ The real rules to allocate double-stacked containers must be respected:
674
+
675
+ - no 20ft stacked above
676
+ - only one container above
677
+ - at least 40ft of containers below.
678
+
679
+
680
+
681
+
682
+
624
683
625
684
626
685
0 commit comments