This is an old revision of the document!
The loading/unloading tracks (herein referred to as freight tracks for simplicity) allow for automated transference of items between a chest below the track and the internal inventory of a wagon. This enables long distance transportation of cargo between destinations, much like the railways do in real life.
Like most other track nodes, freight tracks require a solid surface to be built on. Therefore it is generally easiest to have your chest placed beforehand. You may need to hold the Sneak
key when placing the track to avoid opening the inventory of the chest. Once placed, the freight tracks will act like most other track nodes, with the exception that they can not be formed into curves or turnouts. Freight tracks are always straight-only tracks, irrespective of rotation.
To transfer cargo between the chest and wagon, drive the train over the freight track at a maximum of Speed 2
. Any faster than this and the track will not activate, as real trains rarely, if ever, collect cargo at mainline speeds. Use ATC tracks or Temporary Speed Restriction tracks to slow the train to an appropriate speed if the train is to be run unattended.
Since 2.4.3:
How the train is loaded will mainly depend on whether the freight track is in a loaded area of the map or not.
release 2.4.3
this was how trains were loaded irrespective of whether the map was loaded or not.By default, a newly created freight track will attempt to transfer cargo with any passing wagon that has room for its items. This can be restricted by the use of Freight Codes (FC). Freight tracks will accept a single FC that they match against each wagon as they pass over. Only the current FC in each wagon will be accepted. If the wagon's FC does not match the FC stored in the track then nothing will happen.
To edit the FC that the track matches against, right-click on the track to open its formspec. Type the new code in the field and press Submit. A message will be displayed in chat confirming the new code: Freight code set: newcodehere.