Inspired by DocJade's Autorail and mods like LTN, and using its included rail segments.
This BP book allows for automatic dispatching of trains from provider to requester stations, similar to LTN or Project Cybersyn, but in vanilla. The system is very feature-complete, and functions almost at the level of the actual mods, minus just a few features and limitations.
Features
- Completely automatic dispatching
- Items and fluids supported
- Depot bypass
- Dispatching multiple trains at once (with configurable max train limit)
Limitations
- Not flexible with train layouts
* - Can't request partial train loads
- Need a base-wide circuit line for each train type (only 2 train layouts in your base unless you run multiple separate lines)
- 1 Item per station only
*Only some layouts are provided. More can be generated - see the "Train Layouts" section
Usage
- Add the global clock to your network, connecting the red and green wires
- Add at least 1 depot and refueler to your train network
- Add a provider and requester station (keeping in mind to select item or fluid), following the prompts.
- Connect the corresponding wire color (from the book it lies under; adding the opposite color has no effect, so you can connect both if you would like) on the big power pole to the network
- Place a loader/unloader, or attach the correct wire (from the parent book) to all storages for the station. Optionally, the opposite color wire on requester stations carries the item signal for inserter filtering.
- Add at least one DragonTrain of the correct type
Note: In order for station IDs to be assigned properly, connect stations one at a time to the network. For instance, connect station 1 to the network, then station 2, rather than connecting station 1 and 2 together, then both to the network. This prevents a stampeding problem of multiple trains accepting the same request.
Once you have your layouts chosen, I recommend trimming down the BP book to only your 2 variants (with one being red and the other green).
Train Layouts
Several train layouts are provided in this BP. If you want any more, this is where it starts to get a little more complicated (but cool!) Because of the nature of this system, lots of information is in the blueprints that is dependent on the amount of wagons and names of stations that cant be encoded in BP parameterization. In order to get around this, I am programmatically generating train layout BPs with this information. To make your own custom DragonTrain BP with any layouts, take a look at my for the project, where you can set any variants and generate the full BP book.
