In other languages: Deutsch Español Français 日本語 Polski Русский Українська Tiếng Việt Nam 简体中文

Railway

From Official Factorio Wiki
Revision as of 17:19, 14 March 2016 by Joefesok (talk | contribs) (Grammatical overhaul. Very incomplete.)
Jump to navigation Jump to search

For the research see Railway (research)

The Railway is one of the main transport methods in Factorio. Although the installation of such an network is sometimes complicated and takes a large amount of resources and space, it is especially over large distances more efficient and faster than belts and robot logistics.

Besides the use as transportation medium it must be said here, trains can be quite enjoyable to drive!

Railway construction, however, is not learned in an instant. It takes some time to learn the basics, such as automating transportation. Learning how to manage and upkeep a larger train network can take quite some time and a large amount of experience..

Beginner

This section covers how to build tracks. assemble trains, and get moving. This enables manual transportation over large distances using trains and covers the earliest iteration of railway tech.

Railway/Tutorials
Sometimes a picture/video says more than a thousand words.
Railway/Do not cross the tracks
A train is very fast, take care! Entering/exiting a moving train is possible, but dangerous.
Vehicle/Train/Defence
Defend yourself as trains are a priority target of Enemies.

Tracks

Composition of rails to form a 90 degree turn.
Straight rail Curved rail |-

The backbone of the player's rail system has to be built out of the two basic elements (straight/curve) manually. According to FFF #113/#114 update thirteen will include a build-by-drag feature to make building tracks easier and faster.

Rails can be placed in a two-Tile area only. For the future (for example if the player makes plans for a train station, before they research trains,) it is generally a good idea to only place tracks on even tile-coordinates. The player can see the coordinates of the tile they are moving with the cursor by turning on the Debug mode, selecting "show-tiles".

Curves

To do a 90 degree turn two Curved rails and one Straight rail is needed. The Straight rail has to be placed along the end of a curved rail to fit the gap between the two Curved rails.

Switches

File:Rail-switch-example-1.png
Composition of rails to form switches, straight and diagonal.
  • There is no optical sign for a working switch. You simply have to place a Curved rail overlapping on a Straight rail (or vice versa) to form a switch. In other words: You can create 3-way-switches at nearly every point of your track by mixing curves with straight rails.
  • The crossing of two straight tracks is not usable as switch, but they are connecting the blocks. See Railway network/Block and Signals.
  • It is no problem to create parallel tracks, but it's currently a big problem to switch from one track to the other parallel track, if there is no space between them: The curves doesn't enable it. So it is eventually a good idea to create parallel tracks, by leaving two tiles space (size of one track-width) between them. This enables also to create left-hand sided traffic, because you can place the signals and train stops between the tracks.

Other


Trains

Diesel locomotive Cargo wagon |-
  • A train is a consist of at least one locomotive, but you can add multiple locomotives to increase acceleration and Cargo wagons to enable the train to transport items.
  • Manual driving is possible in both directions with one locomotive, although driving backwards is way slower
  • Automatic driving is only possible in direction of facing of locomotives, with one loco the train can only move forward. To make the train drive in both directions add locos facing both directions
  • A train needs fuel to drive, fuel can be added by inserters or manually using the GUI

TODO: Add images of both GUI screens of trains

Trains inventory is only used for Fuel. To transport items Cargo wagons have to be attached to the train. Simply place them close to the existing train, a graphic will show you that they will be attached. The cargo wagons can be filled manually or by adjacent inserters.

Advanced

This section covers items used to make trains automatically transport items between stations. To fully understand you should be familiar with the Beginner Section.

Automated rail transportation

A very minimal station.
Train Station with multiple Train stops and Rail signals to allow operation of multiple trains on single track.
Train stop |-
Train stop
The item that marks the position for the locomotive to stop.
Train Station
The complete facility around one or more Train stops including un/loading machinery, defense structures, refueling/repair installations.

Track Layout

For track layout there are 2 common options on how to operate:

Circular - higher efficiency in large networks
Trains move only in one direction driving a circle
requires turning loops
extremely powerful when using a "two-track" layout, one track for each direction
high chance of gridlocks when not signaled properly
Linear - easier to setup, cheaper at beginning
Trains drive in two directions on the same track
lower cost for tracks, but minimum of 2 engines per train
high waiting times when operating multiple trains

Train stop

  • the train will search for a path to stop with the Train stop on its right hand side in driving direction
  • You need at least two Train stops to make your train drive between them
  • depending on your layout you will need turning loops or not
  • Check your tracks by driving the full route once manually
  • keep in mind to add refueling to your train stations, otherwise trains can run dry in dangerous area

Schedule

  • When right-clicking on the locomotive you can set up a schedule:
    • The lower window are the list of all existing train stops,
    • the upper window is the route, the train should do.
    • You can open the map (M) to see all stop-names.
    • The highlighted entry is the current target.
    • Hit the +-button to add a train stop below the above selected train stop.
    • Railway network/Train schedule: Time which the train will wait at the selected train stop.

For the other functions see the mouse hover info.

Troubleshooting

Train doesn't move

  • Is the train fueled?
  • Is the train facing the right direction?
  • Is another train in the same block?

No path

  • Is the track working properly?
  • Is the next Train stop placed on right-hand side?
  • Are signals set correctly, if any?

Rail signals

Rail signal Rail chain signal |-

To make the understanding of Railsignal and their behavior and effects easier we start with some definitions:

Rail segment
A piece of track. There are just Straight rail and Curved rail.
Segment
A single path of continuous rails, a track without intersections or switches. This becomes important when you want to use Signals. You can see the number of the current segment when hovering over the track.
Block
A set of segments. Every connected segment belongs to one block, no matter whether a train can drive on it or not, and even if it can be driven only in one direction (for example a joining switch: the other segment of the switch belongs to the same block!). You can see the current block numbers of a rail piece in the info section. See also this forum post for a good explanation about blocks.

Researching Rail signals enables to drive more trains.

Expert

This section contains further links to in-depth knowledge. Warning: Articles in this section reveal internal game mechanics and statistics, if you like optimizing and tweaking yourself you should stop reading now.

About Trains

About train stations and stops

Tipps & Tricks

Relationship to OpenTTD

Factorio's railway system works basically exactly the block signals in Open Traffic Tycoon Deluxe. If you ever played that game you will find some elements also in Factorio. If not, you can learn from their documentation.