TrainsCaller

by Hermios
Allows trainstations to call trains when conditions are fulfilled
8 days ago
0.14 - 0.17
1605
Owner: Hermios
Source: Hermios/Factorio
Homepage: https://forums.factorio.com/viewtopic...
License: MIT
Created: 2 years ago
Latest Version: 0.5.1 (8 days ago)
Factorio version: 0.14 - 0.17
Downloaded: 1605 times

This mod allows you to automatically call trains under conditions.
1- research the technology "Train Caller"
2- add the equipment "Train caller equipment" to your train
3- connect your train station to signals :Each train station has an extra selection box, ensure to not connect to main sprites of the trainstation
4- Trains will be called, i.e. the trainstop will be added to their schedule, if
- The train has the expected content
- The train has the expected signal (Requires mod TrainSignalSender)
An option "Allow multiple calls" allows a train to be called several times in a row.
If deactivated, it can still receive stations in a hidden queue (to avoid that a station is never reached), but the selected train will first go to stations defined manually
Choice of train relies on two factors: (in order of priority)
- does it allow multiple calls (Higher priority if yes)
- How many times the train has already been called

TrainCaller can handle trainstops removed, trains removed, change in signals or in train content

Have fun

0.5.1

Add thumbnail

0.5.0

Compatible with 0.17
Migration : Work with 0.16 data
Decrease check to improve UPS latency

0.4.3

Fix issue with german languages (Thanks Tokito99)

0.4.2

Critical fixes (Conflicts with other mods)

0.4.1

The mod has been deeply changed. The gui is limited to one option: "Allow multiple calls".
To call trains, trainstations need first to be connected to signals (Each train station has a special selection box, red,where lines shall be connected). No ghost implementation anymore (This can be solved by combinating this mod and a new one, Roboport Converter)
When a train is called, the train station is added to its list, at the end of the queue and follow the standard way of queue management.
In case of "allow multiple calls", if more than one tran station calls the train, they are added to the list. If not, there is a hidden queue anyway, but the train will come back to its default train stations before going to the new one (Thus, no train station is ever ignored, but their priority is lower).
Choose of train is managed, depending on how many items they already have in queue, and if they allow multiple calls
Possible combinatio with the mod TrainSignalSender (last version!). A train can be called because its contain the require item, fluid, or because its registered with the required signal.

0.3.3

  • Bugs fixed, more stable version

0.3.1

When a path is not found, this is now display as for normal train scheduled.

0.3.0

Big changes here!
1- Compatible with 0.15 (Starting from 0.15.10)
2- Now, the call conditions are made on the train station. You can add as much condition as you want for the circuit
If the required conditions are followed, the train station will required one element. If any train around who has been activated for the train call has the requested element, it will answer the call.
Same concept for network, but only one condition : Ghosts!
3- When the train arrives is at the calling station (and only then), the station doesn't read train content anymore. If you have the TrainSignalSender mod activated (Not mandatory, but highly recommanded), the train will automatically send its signals to the station. Once the train doesn't follow the condition of the station anymore, this one returns to its previous status (Content of train read or not), and the train comes back to its default station (Or stay where he is, if no default station was defined)

version 0.2.1:

The mod is now compatible with bob logistics
IMPORTANT : I retrieved the requirement of vehicle grid, however, a grid is still mandatory (vehicle grid or bob logistics)

version 0.2.0 : The train can be called from network when objects are required (i.e. ghosts items on the floor) near a station.

To make it work:
- Activate the option "Activate call train" on the train station
- Activate the option "Activate call train from network" from the train
- Connect the train station to any item that works with the network
Put at least one construction robot in the roboport of this network.
If a ghost is present on the network area, and the train has the required item, it will move the station, and stay there until no item is required.
Required : Vehicle Equipment