@@ -762,10 +762,91 @@ Pickup object. A ``.ref`` file entry sample is as follows::
762
762
)
763
763
764
764
PickupType is set to ``_FUEL_COAL ``, but this will be overwritten by the data inserted in the
765
- extension ``.w `` file (see :ref: `here<features-route-modify-wfiles> ` and later in this chapter).
765
+ extension ``.w `` file (see :ref: `here<features-route-modify-wfiles> `) within the ``Openrails ``
766
+ sufolder of the World folder.
766
767
767
- Container Station shape file developing rules
768
- ''''''''''''''''''''''''''''''''''''''''''''''
768
+ Such extension ``.w `` file is formed by a general part, a container crane related part, and a
769
+ stack locations related part, as per following example (parts separated by blank lines)::
770
+
771
+ SIMISA@@@@@@@@@@JINX0w0t______
772
+
773
+ Tr_Worldfile (
774
+ Pickup (
775
+ UiD ( 21 )
776
+ PickupType ( 15 1 )
777
+
778
+ ORTSPickingSurfaceYOffset ( 2.25 )
779
+ ORTSPickingSurfaceRelativeTopStartPosition ( 0 6.75 0 )
780
+ ORTSGrabberArmsParts ( 2 )
781
+ ORTSCraneSound ( "ContainerCrane.sms" )
782
+
783
+ ORTSMaxStackedContainers ( 2 )
784
+ ORTSStackLocationsLength ( 12.19 )
785
+ ORTSStackLocations ( 12
786
+ StackLocation (
787
+ Position ( -10 0 26 )
788
+ Length ( 16.15 )
789
+ )
790
+ StackLocation (
791
+ Position ( -10 0 26 )
792
+ MaxStackedContainers ( 1 )
793
+ Flipped ( 1 )
794
+ )
795
+ StackLocation (
796
+ Position ( -10 0 0 )
797
+ MaxStackedContainers ( 2 )
798
+ )
799
+ StackLocation (
800
+ Position ( -10 0 0 )
801
+ Flipped ( 1 )
802
+ )
803
+ StackLocation (
804
+ Position ( -10 0 -26 )
805
+ )
806
+ StackLocation (
807
+ Position ( -10 0 -26 )
808
+ Flipped ( 1 )
809
+ Length ( 16.15 )
810
+ )
811
+ StackLocation (
812
+ Position ( -7 0 26 )
813
+ Length ( 16.15 )
814
+ )
815
+ StackLocation (
816
+ Position ( -7 0 26 )
817
+ Flipped ( 1 )
818
+ )
819
+ StackLocation (
820
+ Position ( -7 0 0 )
821
+ )
822
+ StackLocation (
823
+ Position ( -7 0 0 )
824
+ Flipped ( 1 )
825
+ )
826
+ StackLocation (
827
+ Position ( -7 0 -26 )
828
+ )
829
+ StackLocation (
830
+ Position ( -7 0 -26 )
831
+ Flipped ( 1 )
832
+ Length ( 16.15 )
833
+ )
834
+ )
835
+ )
836
+
837
+ )
838
+
839
+ - The UiD number must correspond to the uiD number that the pickup has in the main ``.w `` file.
840
+ - PickupType ( 15 1 ) identifies this pickup as being a container station.
841
+
842
+ More than a Pickup() block can be present in such extension file, one for every container station
843
+ present in the route.
844
+
845
+ The container crane and stack location related data are described at a convenient point below.
846
+
847
+
848
+ Container Station (including container crane) shape file developing rules
849
+ '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
769
850
770
851
- The shape file must have its Z Axis aligned with the track where the wagons to be loaded or
771
852
unloaded stay.
@@ -886,8 +967,35 @@ It can be noted that the frame count is different for different animation nodes,
886
967
the ZAXIS has 0, 12, 24. This permits to scale down the motion speed along that axis to a
887
968
realistic value.
888
969
970
+ Parameters of extension ``.w `` file related to the crane and its animations
971
+ ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
972
+
889
973
Stack Locations
890
974
''''''''''''''''
975
+ Within the area that can be reached by the container crane (rails area apart)
976
+ stack locations where the containers can be laid down can be defined in the extension
977
+ ``.w `` file.
978
+
979
+ The stack locations are defined by following parameters:
980
+
981
+ - ``Position ``: the coordinates of the center point of one of the short sides of the stack
982
+ location; if no ``Flipped ( 1 ) `` line is present, the location area extends towards the
983
+ increasing Z axis; if instead such line is present, the location area extends towards
984
+ the decreasing Z axis. If two stack locations have the same position, and one is flipped and
985
+ the other isn't, the containers will be laid back-to-back, optimizing space used.
986
+ - ``Length ``: the maximum length of the containers that can be laid down on that stack
987
+ location
988
+ - ``MaxStackedContainers ``: The maximum number of containers that can be stacked one above
989
+ the other on that stack location
990
+
991
+ The ``Length `` and ``MaxStackedContainers `` parameters are optional and, when present, override
992
+ the default values present in the ``ORTSStackLocationsLength `` and ``ORTSMaxStackedContainers ``.
993
+
994
+
995
+
996
+
997
+
998
+
891
999
892
1000
893
1001
0 commit comments