Electric Locomotive

The Electric Locomotive is a vehicle used to transport cargo and engineers along the Railway. Connected Freight Cars can be loaded/unloaded via Freight Platforms. The Electric Locomotive can be automated, by setting a list of Train Stations for it to stop at.

Multiple cargo freight cars and locomotives can be chained together to form a single train. The train is currently the fastest vehicle in-game, capable of reaching over 365km/h downhill, allowing for efficient long-range resource transportation.

Power

 * A locomotive requires at least 25MW of power to operate, and up to 110MW if it is going uphill or gaining speed.
 * A locomotive consumes 25 MW even when it is not moving or when docking at Train Station.
 * If the railway is not powered, you cannot accelerate the train. You can still brake a moving train on a powerless railway.
 * In a multiplayer game, locomotive always appears powerless to the client. This also disables the ability to control the train by the client.

Construction

 * The face with the windshields is the front side, at the opposite side with 6 motors is the rear side of a locomotive.
 * Do not build the locomotive on a slope, as it will start moving downhill by itself, making it difficult to take over control again.
 * To add more locomotives or freight cars to the train, select the blueprint and look at the railway behind or in front the current locomotive/freight car until you see the 'snap', then click to confirm. You can connect even if the train is moving. This feature is disabled for a client.
 * There is no option to detach or attach the individual vehicles. The only way to re-arrange the train is by dismantling it, then construct the new train layout.
 * In manual control mode, placement of the locomotive at the front, end, or middle are valid. In automated control mode, at least one locomotive must be placed at the desired front-leading section of the train.

Dismantle

 * You cannot dismantle the locomotive when it is moving, wait until it completely stops. You could dismantle the railway beneath it to stop the moving train.
 * A train on an automatic schedule cannot be dismantled. You have to disable the auto pilot first.

Collision

 * Trains and railways currently do not have any collision box along the travel direction, with the exception of wheeled Vehicles. This means trains can only collide with a wheeled vehicle such as a Truck but nothing else. This holds true even if a player is in the train, which means riding a train can clip through player built structures and natural terrain if the railway is built through. Engineers will not die if hit by a moving train.
 * The side of the train has collisions. However, it only prevents the engineer from clipping through the side and will not cause train collisions.
 * If a player is standing on a moving train, and if it collided with another train, the player will then be carried away by the second train.

Train length

 * On horizontal railways, a locomotive can pull more freight cars easily (up to 100 per locomotive has been measured).
 * On uneven railways, it is advised to keep the ratio of locomotives and freight cars at 1:2.
 * If only Ramp 8m x 1m or Double Ramp 8m x 2m is used, the locomotive to freight car ratio can be reduced to 1:4. Generally, the flatter the railway, the lesser the locomotives required.
 * A single locomotive can pull a maximum of 2 freight cars when moving steep uphill with a steady speed of 54km/h. More than that and the train will stop moving in the middle of the slope.

Speed
Trains have a horizontal maximum speed of 120 km/h, or 121 km/h without any freight car attached. When going down a long steep slope, trains can reach over 365km/h. Trains suffer speed loss when moving uphill or in curves. A locomotive alone moves at 91km/h when climbing up the steepest buildable slope of 1:2.322 (19.38°). Trains with higher freight cars to locomotive ratio take more time to accelerate and brake. Manually driven trains can go backwards without receiving speed penalty.

Braking

 * While in manual driving, pressing the opposite direction key brakes the train. When additionally pressing the hand brake key (default spacebar) once can brake the train more effectively.
 * A train in auto mode has the ability to brake instantly if entering a train station with high speed. This can be observed when a train station is placed downhill and the train does not have enough time to brake before entering the station.

Tips for item transportation
The speed at which a train can transport items is dependent on a few factors:


 * Total round-trip time of the train
 * Number of freight cars
 * Inventory of each freight car (currently 32 Stacks)
 * Stack size of the transported items
 * (Input to the train station / should be handled by conveyors)

Most likely a certain transport speed is needed by the Engineer, similar to the speed of the conveyor belt in the unit items/minute. Therefore the following formula can be applied to calculate the needed amount of freight cars for the desired item speed (DS):

Number of freight cars = (DS [items/min] * RoundTripTime [min]) / (StackSize * 32)

For each item with different stack sizes, this calculation needs to be done. The round trip time depends on the speed of the train (number of locomotives), the length of the train (number of cars), the length and incline of the track as well as loading/unloading time (both combined are 50 seconds). One full cycle should be measured with a stopwatch to determine the RoundTripTime.


 * For higher throughput, it is advantageous to extend the current train length instead of adding more trains. This also saves power.
 * The train average speed reduces as the distance reduces. Thus it could be disadvantageous to use trains for short-distance transportation.

Round trip time
Two end-to-end stations with a fixed length of railway in between are built, and the time taken for a round trip is measured: The train is configured as a 1-n-1 double-headed train, where n is the number of freight cars attached in-between.

First test: Distance = 8km (approx. diagonal length of the map)

Second test: Distance = 800m (approx. the distance from grass field to coal)


 * (More precise measurements needed, please help.)

A double-headed train with no freight car and manual drive is measured as a reference. Where a freight car is present, the loading and unloading time of 25 seconds at each station is included.

Horn

 * Press left mouse button to horn.
 * On some occasions a the steam version of the horn sound is played.

Automation

 * Pressing the vehicle menu while in the train, or interacting with any connected train station will bring up the train schedule. Set the name of the train and station name before doing so. Select your train in the train list. Set at least two different stations, you can pick the station and edit their order in a route.
 * The train station will only accept the incoming train from one direction. The train can depart from the station in either direction.
 * Use the train UI to toggle the train between auto mode and manual driving mode.
 * If the train does not move even if its train route is set, check if the railway is connected properly. Check if all train stations are built in the correct direction. Check if power is connected to at least one of the stations.
 * Automated trains accelerate slower, brake slower and brake more often at turns and near stations.
 * In a multi-locomotive train, all connected locomotives are treated as a single train and thus share the same train schedule. All connected locomotives provide pulling force regardless of which direction they face. Thus it is advantageous to build at least one forward-facing and one backward-facing locomotive in a train.
 * Modifying a train's length will reset its name and schedule. Re-schedule after that.

Leaning
Train visually leans while driving curves.

Damage

 * The train lacks a health bar, so it will never receive damage.
 * Engineers inside a train are immune to Poison Gas and Radiation damage.

Current issues

 * At the current version, a client cannot interact with the locomotives. This also means the train schedule may only be set up by the host.
 * Trains appear laggy to a client.
 * Attempt to 'ride' a train by standing on top of it will crash the game, this particularly happens to client-side only. It may kill the client-controlled engineer during the re-join process.
 * There is no train collision detection (resulting in the ability for two trains on the same track to phase through each other). Likewise, the player can phase through a moving train when standing in its path instead of being killed.
 * Sometime after exiting a train, the build menu is locked. Save-load the game will resolve the issue.

Trivia

 * When using the horn, there is a very slight chance that a steam locomotive horn will be heard instead of the normal one
 * The windshield has a unique reflection of the Engineer
 * Unlike Wheeled Vehicles, trains even work under water.

History

 * Patch 0.2.1.14: Second (inversed) locomotive at the other end of a train now allows it to run without turning around
 * Patch 0.2.1: Made available
 * Several patches prior: model changed twice, pathfinding logic changes, power consumption increase