Train Dispatcher by Alex


Loading, unloading and depot train stops with a shared pool of trains. One resource per trip, exact amounts, no leftovers mixing. Powered by Core by Alex.

Content
an hour ago
2.1
0
Logistics Trains Circuit network
Owner:
Lomognom
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
an hour ago
Latest Version:
0.0.1 (an hour ago)
Factorio version:
2.1
Downloaded by:
0 users

Train Dispatcher by Alex

Trains that work like a taxi service: no schedules to write, no mixed cargo, no leftovers.

Build three kinds of stops, wire them to your chests or tanks, and send each train to a depot once. From then on the dispatcher does the rest: it sees who needs what, picks a free train, and sends it for exactly the ordered amount.


The three stops

Stop Colour What it does
Loading stop Orange Gives a resource. Calls a train when it has enough in stock and someone asks for it.
Unloading stop Blue Asks for a resource. You set how much to keep in stock.
Depot Yellow Free trains wait and refuel here.

Each stop costs one normal train stop and 5 electronic circuits, and unlocks with Automated rail transportation.


How to set it up

  1. Place a stop and pick its resource in the panel next to the train stop window.
  2. Run a wire from the chests or tanks straight to the stop — that is how it knows its stock.
  3. Build a train and give it a schedule with a single stop: a depot. That is the only schedule you ever write.

Every stop has a ? Help button with the full instructions in the game.


What makes it different

  • One resource per trip. A train never carries a mix.
  • Exact amounts. The wagons are filtered to the ordered number of whole stacks — extra or foreign items physically do not fit.
  • Shared pool of trains. Any free train can take any job. No train is tied to one route.
  • Items and fluids.
  • Stops with the same name work. The train is sent to the exact stop that made the request.
  • Status displays beside every stop show what it is doing and how much is in stock or on the way.

It looks after itself

  • A train that could not unload everything goes to a depot and gets no new jobs until it is emptied — you get an alert.
  • If nothing happens at a stop for 30 seconds (configurable), the train leaves instead of waiting forever.
  • Trains low on fuel go back to the depot to refuel.
  • Rename, move or remove a stop — trains already on their way are handled.

Blueprints

  • The numbers of every stop are saved in blueprints automatically.
  • Use Parameter 0 as the resource and the game asks you which resource to use when you place the blueprint.

Good to know

  • Requires: Factorio 2.1 and Core by Alex 0.0.2 or newer. Space Age is not required.
  • You need at least as many depot stops as trains.
  • Light on UPS: stops are checked a few at a time, trains react to events — nothing scans the whole map every tick.
  • Mixed qualities: the stop reads the normal-quality signal. Count other qualities with your own combinators.
  • A train managed by the dispatcher is removed from its train group — each one keeps its own schedule.
  • Languages: English, Russian.

Loading, unloading and depot train stops with a shared pool of trains. One resource per trip, exact amounts, no mixed leftovers. No schedules to write. Requires Core by Alex.
MIT license. This is version 0.0.1 — bug reports and suggestions are very welcome in the Discussion tab.