Factorio

Factorio

Zobrazit statistiky:
LTN Question
How do you make a LTN train stay at a stop until the train is completely empty?

Eg, my chests fill up, so they're like "we dont need more" so the train will leave back to the depot with coal still inside it.
But won't that cause a problem if the same train is used for iron later on? - eg, unload coal into my iron chests>?
< >
Zobrazeno 110 z 10 komentářů
When I use LTN I use circuits and filter inserters to ensure that only the amount requested by the target station gets loaded into the train. So if your green circuit factory requests 6234 iron plates I only want to load that many into a train. It has been quite a while since I have done it so I don't remember how to do it offhand. I usually use this tutorial to set up my stations. https://www.youtube.com/watch?v=bpfVzfWeqj8

However, I think you can modify LTN in the mod settings to increase timeout. Because yes, it will be a problem to not unload everything.
I was looking at the LTN mod settings and you can disable it completely. Under the Map settings you will see a delivery timeout. It looks like if you set that to 0 it will disable that timeout meaning it should wait until the train is empty.
Roundhound8083 původně napsal:
I was looking at the LTN mod settings and you can disable it completely. Under the Map settings you will see a delivery timeout. It looks like if you set that to 0 it will disable that timeout meaning it should wait until the train is empty.
oh awesome, cheers. i'll have to have a little look

Roundhound8083 původně napsal:
I was looking at the LTN mod settings and you can disable it completely. Under the Map settings you will see a delivery timeout. It looks like if you set that to 0 it will disable that timeout meaning it should wait until the train is empty.

i found this solution is not as good as the one i came up with, as the train will still have coal in it if the chests/lane gets full.

my solution is to have the coal train hub's on an encoded ID network #1 and the coal requster stations on ID network #1. you don't need to have a network id for the provider stations.

have all the iron hubs/networks on #2, etc.
so the trains/stations are on separate networks.


i think it takes longer to set up than normal with the only advantage being that trains will not go to old train stations that have no more resources; as well as not having to mess around with train stop names and stations and things.
LTN schedules should have "idle 5s" so as long as you don't disable your inserters they should continue to load or unload.
Fel původně napsal:
LTN schedules should have "idle 5s" so as long as you don't disable your inserters they should continue to load or unload.

yeah. the problem is when there's still something left in the train, but the train stop is full. so it will think it's inactive. tho i have solved the problem already, but thanks anyway
I don't understand how you do your train stop then.

I mean, usually you have 6 (sometimes even 12) inserters/chests per wagons to speed the unloading and steel chests have more space than wagons, so in combination to LTN only requesting when there is less than the specified amount in the chests it should be next to impossible to not have space for emptying the wagon.
Fel původně napsal:
I don't understand how you do your train stop then.

I mean, usually you have 6 (sometimes even 12) inserters/chests per wagons to speed the unloading and steel chests have more space than wagons, so in combination to LTN only requesting when there is less than the specified amount in the chests it should be next to impossible to not have space for emptying the wagon.

i'm probably doing something wrong but when the LTN trains go to fill up at the stops, they have the "wait for 2s of inactivity" on them so they really just fill up till they're full lol
It's definitely possible to make the train stop loading when you reached an amount, but it might need a bit of fidling if your provider station is not set to the same amount as your requester stations.

You connect the train stop to all of the inserters, and to a different constant combinator where you have a negative signal of the item and amount you want to load in the train (assuming it's the same each time).
You could replace the constant combinator with an arythmetic combinator that reads the signal from the constant combinator used for setting up the LTN stop assuming you set a quantity there.

If you don't care about it being exact but just to stop after it reached roughly that amount you jus have to enable the inserters only if the signal is inferior to 0.
If you want the exact quantity you will have to work out a more complex circuit network logic like usual.
Fel původně napsal:
It's definitely possible to make the train stop loading when you reached an amount, but it might need a bit of fidling if your provider station is not set to the same amount as your requester stations.

You connect the train stop to all of the inserters, and to a different constant combinator where you have a negative signal of the item and amount you want to load in the train (assuming it's the same each time).
You could replace the constant combinator with an arythmetic combinator that reads the signal from the constant combinator used for setting up the LTN stop assuming you set a quantity there.

If you don't care about it being exact but just to stop after it reached roughly that amount you jus have to enable the inserters only if the signal is inferior to 0.
If you want the exact quantity you will have to work out a more complex circuit network logic like usual.

ah yeah, good tips. i'm too lazy to get into all that complicated stuff tho. but thanks for the reply
< >
Zobrazeno 110 z 10 komentářů
Na stránku: 1530 50

Datum zveřejnění: 21. srp. 2020 v 21.04
Počet příspěvků: 10