Automation of train loading

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Strannik324
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Dec 06, 2024 11:04 pm
Contact:

Automation of train loading

Post by Strannik324 »

Hi all. I'm interested in this moment. How to make a logistics system so that a certain number of items are loaded into a carriage? That is, it is conditional that two types of resources be loaded into the same car, but in different quantities. For example: I need a wagon to be loaded with iron plates, but at the same time, 500 copper plates should be loaded into the same wagon. No more, no less. How to implement this?
HadesSupreme
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Fri Nov 03, 2017 3:53 pm
Contact:

Re: Automation of train loading

Post by HadesSupreme »

You can set a filter on individual cargo wagon inventory slots. So make 50% iron and 50% copper, or 30%/70%, whatever you like. Do it by middle clicking the slot.
Premu
Fast Inserter
Fast Inserter
Posts: 121
Joined: Wed Nov 13, 2019 4:40 pm
Contact:

Re: Automation of train loading

Post by Premu »

Another alternative: you could do it with some circuitry as long as you don't load one item into several carriages.

Read out the content of the train and substract that from a constant value you defined as a target value. Use the result as both the stack size and the activation condition of the inserter putting the specific item in the carriage.

Note that in case you have several inserters loading the same item, you might get a little bit more as inserters which have already picked something up will finish their swing.

The advantage of that method is that you don't need a specificly prepared train for that like HadesSupreme suggested. It is trickier to implement though with some more possible limitations and potential problems.
Post Reply

Return to “Gameplay Help”