Explaining Factorio: The Logistic Train Network ( LTN MOD)
HTML-код
- Опубликовано: 10 июл 2024
- Explaining Factorio: The Logistic Train Network (LTN MOD)
IMPORTANT NOTE: Unique station names are no longer needed as of update 1.13.0.
There are a few corrections in the comments by: Anis Optera
The LTN is a system/mod that automates the trains in Factorio. This is an explanation or tutorial of how to setup an LTN system for yourself.
Logistic Train Network: mods.factorio.com/mods/Optera...
Consider supporting me @ / diablogame
Time Coded Index:
00:00 Opening
00:51 The Basics
04:04 The New LTN Train Stop
07:19 The Depot Station
08:55 The Provider Station
09:37 The Requester Station
10:26 Setting up an LTN system
11:21 The Depot Station
12:43 The Provider Station (Solids)
15:31 The Provider Station (Fluids)
16:39 The Requester Station (Solids)
21:06 The Requester Station (Fluids)
22:22 Other Optional Signals
22:37 The Encoded Network ID
24:22 Minimum Train Length
24:38 Maximum Train Length
24:54 Limit Trains
25:17 Provide Stack Threshold
25:56 Provide Priority
26:05 Locked Slots per Wagon
26:24 Request Stack Threshold
26:40 Request Priority
26:50 Disable Warnings
27:10 Encoded Positions of Locomotives, Wagons, Fluid Wagons and Artillery Wagons
28:19 Encoded Positions (Example)
29:35 Other Stuff
29:50 What is set in the train schedules
31:34 Loading the right stuff
35:01 Loading the right amount.
37:46 The Options Menu
38:04 Dispatcher Enabled
38:18 Limit stops checked per tick
38:28 Message Level
39:04 Message filter timeout (ticks)
39:10 Enable debug logs
39:17 Request threshold and provide threshold
39:51 Schedule circuit conditions
40:13 Depot inactivity (ticks)
40:25 Stop timeout (ticks)
40:57 Delivery timeout (ticks)
41:18 Delivery completes at requester
41:35 Finish loading
41:51 Depots reset filters
42:13 Summary
42:46 Credits and Outro
Watch me @:
/ diablo_rdk
Support me @:
Patreon: / diablogame
RUclips Membership: / @diablo_rdk
Discord server @:
/ discord
About the game
Factorio is a game in which you build and maintain factories.
You will be mining resources, researching technologies, building infrastructure, automating production and fighting enemies. Use your imagination to design your factory, combine simple elements into ingenious structures, apply management skills to keep it working and finally protect it from the creatures who don't really like you. Игры
Nice tutorial, added to LTN manual.
Some things I'd like to point out:
The 3rd limitation mentioned at 3:40. When LTN sets a train back to manual it also forgets this train exists and will try and run the delivery this train has again.
Stack thresholds seem a little underappreciated.
These make setting up item handling stops easier, you only have to remember how many slots the train has in total.
More importantly using both normal threshold and stack threshold makes providing fluids and items from one station simpler. Fluids will use normal thresholds while items use stack threshold if available.
27:50 Encoded Positions are read only. Sending it into the Lamp has NO effect on LTN.
There is no way to discern between and outside of a given stop, so this is not an option.
32:10 No idea why you even bothered showing this setup, always use an arithmetic combinator as shown at 36:00. The signals outputted by LTN combinator are static, you need to subtract items inside the train to cycle filters or filter inserters will get stuck just like normal inserters.
39:00 Message filter timeout is not how long a message stays on the screen, that is something mods cant influence, but how long before the same message, including stop name and item count, is allowed to pop up again.
Wow thanks, I really appreciate the mention and the corrections. :)
Hi,
Again thanks for the feedback.
Upon further reading however, I have a few questions about some of your corrections:
_27:50__ Encoded Positions are read only. Sending it into the Lamp has NO effect on LTN._
_There is no way to discern between and outside of a given stop, so this is not an option._
I do not understand this correction. Isn't that exactly what the encoded positions signal is for?
Aren't the numbers showing you exactly what configuration this train is?
So would it not stand to reason that using the same numbers with the "encoded positions" signals and sending those into the input light, would only allow those configurations of trains to be sent to this station? (as I go on to explain right after)
If not, than what are the "encoded positions" signals used for, I could not find this on the tutorial page.
_32:10__ No idea why you even bothered showing this setup, always use an arithmetic combinator as shown at __36:00__. The signals outputted by LTN combinator are static, you need to subtract items inside the train to cycle filters or filter inserters will get stuck just like normal inserters._
This feels not so much a correction but rather an opinion about what is shown. It is not incorrect information but it might be superfluous. And I do, as you mentioned, go on to explain the better way of doing things.
This seemed a bit unnecessarily negative.
Thanks, I look forward to your responds.
@@Diablo_rdk
27:50 Encoded Position is more a legacy thing from back when inserters removing fuel from locomotives was a major problem. With current factorio it's reduced to prevent loading wrong fuel into locomotives or locomotive fuel into wagons.
I went into depth why the signal is ambiguous outside a specific stop in the rejected features section of the manual.
32:10 I was writing as I watched, and just kept my thoughts about showing two bad practice designs before finally getting to a solid one that will work 100% of the time in.
PS: Your requester circuitry of station inventory - request + train inventory is interesting. It never occurred to myself to use current station inventory in the unloading calculation. Your setup might lead to inserters stop working early, leaving some items in the train if it was overloaded by a lot.
My intended design calculates train inventory - expected inventory.
@@0ptera I've been trying to understand the demo map provider station (specifically the one near the center called "Universal Logistic Station". Is there an explanation of that particular setup somewhere? Like how does {EACH} * {TRAIN} determine the requested items? (and everything else, of course)
This is by far, hands down THE BEST LTN tutorial around. I have come back to it several times as im converting my map over to LTN and it has helped me each time.
THANKS!
You are very welcome, always nice to hear I could be of help. :)
This is the best LTN tutorial available on the internet. Well informed and precise.
Thank you very much, glad I could be of help :)
This has to be one of the best mod tutorial videos I've ever seen, for any game.
Wow thank you very much. Spread the word. ;)
@@Diablo_rdk wholeheartedly agree with Jonathan. The separation into different sections, timestamps, editing, clear and concise explanations, annotations. It's perfect. You're too good for RUclips
@@IlnickiStudios :) Thank you very much. That is very nice to hear. Glad I could help.
I never understood LTN until this video explained everything. I read and watched other tutorials on LTN but only this video worked vor me. Very well explained!
Thank you very much. Always nice to know I could be of some assistance.
Excellent tutorial. Clear and concise with useful examples. Well done that man.
Thank you very much, it's always nice to hear. :)
This is the best LTN Tutorial i have seen so far. And I have seen some. Thank you so much. I just saved this video into my personal list, so i can access it ant time from now.
Thank you for your nice words, and of course you are very welcome.
It was a lot of work but I think it was worth it. :)
Such a clear and precise video, thank you so much, the best in its kind so far
Thank you very much. Glad I could help.
Thank you for this video! Clear, thorough, approachable. I went from 'haplessly clicking about' to a functional little LTN system, just alt-tabbing along with your explanation. Excellent work.
Thank you very much, it's always nice to hear I could be of assistance. :)
Excellent video. Very good structure and great explanations.
Thank you very much
You are very welcome, thanks for the kind feedback :)
Such a well put together video, will highly reccomend to anyone looking to understand LTN
Thank you very much.
Best tutorial for this. Really starting basic and working your way up.
Thank you :)
This is by far the best video guide I’ve found on the topic of LTN basics.
Thank you. I'm glad I could be of assistance.
best video tutorial for LTN, good work !!!
TY
Hey I'm new to this mod and have been procrastinating on getting it implemented into my factory.
Thank you so much for this detailed tutorial on how to get something set up. I'll have tp watch it a few more times to get the complicated details but I currently am able to build a basic system on my own
Best tutorial on LTN. Thanks!
Thank you very much :)
I really like your video, it's very friendly and clear, thanks for your video !!!
Thank you, that is very nice to hear, glad I could help.
Very nice work! Helps a lot!
Thank you.
Best explanation I have seen so far...
Thank you very much.
Another great video. I do not "like" a lot of videos. I find many interesting, or helpful, or funny, but I do not "like" but the best of the best. This video I "liked"!
If I may, here are my notes on this:
* Amazing job on the encoded position explanation! Special bonus for skipping any talk of binary! Congrats!
* Depot stations do not have to be in one place. I wonder if this is clear, or if the video enforces the idea that they should all be bunched up when we are discussing the depot station. Later, when all signals are discussed, there is language that shows we can have depot stations in other places. but that is another category some might not go to, as they have the basics from the rest.
LTN knows where all the depot stations are and what trains exist in all depot station, and can find the CLOSEST available suitable train to the provider station it is making a delivery schedule for. Spreading Depot Stations around or not can be a choice.
* LTN doesn't fulfill orders for items less than the default. You show this later in the mod settings as a configurable value, but 1000 is the default, I think (unless newer versions set it to 8000). So if we do not set a request threshold, then having one item missing is not going to produce an order as stated when the request threshold signal was first discussed.
* "encoded network ID" description and use cases go on for a significant amount of time without any video or animations. There is a lot of descriptions and scenarios discussed with nothing happening on screen. Possible overload. In contrast, there was video explaining the "adding the amount the filter stack inserters are to unload" section which made it great to understand and follow.
* Provider priority; what is higher? some systems use 1 as the highest priority for example. If it's not "1 is highest" then what is the maximum number one can use?
Great tutorial!
Thank you.
best tutorial ever, good job
Thank you very much.
Very underrated, you made a great tutorial, mate. Very nicely divided into sections and explained.
Thank you very much. It is always nice to hear. :)
@@Diablo_rdk Well, about 8k people have seen the video, but you only get a pat on the back when someone tells you that ;)
Even likes are just a statistic.
2 k likes feel like 2 million,
But even when Billie Eilish (she popular ;) reads her comments, it still must feel personal
@@diamenciarz1711 :) Indeed that's why I always read and most always reply.
It is nice to know that the thing you spend so much time on has been appreciated by someone. Again thank you.
@@Diablo_rdk Just watched this since I needed a refresher on the mod. I've watched other tutorials in the past but this one is far and away the best out there. Very well organized and clearly explained, and I *super* appreciate the index that let's me quickly find the parts of the vid that I want when I need to come back to reference. Nice work.
@@chris909090 Thank you very much.Glad I could be of help.
Great video! Helpe me alot!
Thanks thats nice to hear. :)
Thank You very much! Very helpful and nicely explained.
For all future watchers: watch it at 1.25x speed :)
Thank you very much. And good advice. :)
Best LTN tutorial I’ve seen.
Thank you very much.
@@Diablo_rdk Aw shucks, no problem. I appreciate that you put so much effort into making this well-organized and taking a slow but steady pace without being lon-winded. It was easy to follow everything as a result. (I'm glad Optera chimed-in too. The fact that they provided corrections just shows you went much deeper than others had.)
That and my first project with LTN is going to be a doozie. I want to figure-out how to supply my defense lines using it, to maximize efficiency of cargo space used (important for moving artillery shells; I know I could use artillery wagons but that looks really weird to me). It's really impractical with vanilla mechanics to deal with dozens of different items that need to be distributed appropriately...actually it's nigh impossible. So I have this video open as a reference.
Great introduction! Will there be a follow up with advanced station setups or quirky designs involving circuit networks more heavily? Perhaps mixed train loads for a fully automated outpost resupply, bringing ammo, walls, repair packs etc all with 1 train?
Thanks, i'm not sure, there are a few topics I still would like to approach. I'll put this on the list though. :)
Magnificent tutorial! Have you heard that you sound just like the Stanley Parable announcer? Keep up the good work!
:) Thank you, I have not heard that one before. :) TY
Great tutorial
Thank you :)
LOL, We Americans love hearing you guys say "Scheduled." Great video. Thanks.
Ou man. I dont speak English, but I learned it to understand this your video. Thank yon very much. I finaly can build my first elementary LTN network. You are amazing teacher. Thank a million.
You are very welcome. Glad I could help.
Great guide! set up my first basic test scenario on a sandbox map. Now, fitting a whole train system into my established 300 spm base that was not designed with that in mind will be a task... Maybe start over with a new world and set up a train system as I go...
Glad to hear I could be of help.
Starting over is always fun. :)
thank you so much for the tutorial
You are very welcome. :)
awesome job
Thank you very much. :)
Wow. I get it. Good job dude.
Thank you, always nice to hear I could be of assistance.
I was hesitant to use LTN so I tried a simpler mod which keeps having issues. After your video I feel more confident at giving LTN a go. Cheers.
I'm glad I could be of service. If you have questions please don't hesitate to ask. :) Good Luck.
fantastic info though i would love to see a deeper explantion of the citrcit network and schedule conditions.
Thanks, I'll think about maybe doing a follow up.
would love to see a reeeal in depths tutorial on this one... the whole shabang :) but anyway great tutorial!
Спасибо за обзор! Очень доходчиво и понятно))
One thing to note when setting up the requestor at 33:05 your request amount can not be the same as the amount on the train, ie if you request 2000 and the train brings all 2000 (say at a brand new station) you 0 out the amounts and nothing will be unloaded.
Great tutorial, still works and allowed my to finally do anything involving those weird green and red wires. I am wondering though if it's possible to interchange the wire color going from the combinator to the provider or requester station while the other wire measuring the contents of the chests going to the station remains the other color? In other words, having two different color wires going into the same LTN station?
Yes you can have different coloured wires going into the same station for different signals/reasons.
But remember:
The same coloured wire transmits the same data.
Different coloured does not transmit / pass through data. (from the other colour)
This is how we are able to separate signals from each other.
In other words if you want to change the colour of the wire but still keep the data, you would have to use a decider combinator and take the input on one side and output that on the other side but then using a different colour wire.
Hope this helps.
Very nicely presented. Thank you.
Thank you. :)
brilliant video, commenting to give your youtube algorithms a nudge
Thank you. Always nice to hear I could be of help. :)
Small error in your index in the description:
16:39 The Requester Station (Solids)
21:06 The Requester Station (Solids) *Fluids
Thanks for the tut!
Thanks, I will correct that directly. and you're very welcome. Happy to help.
This right here... Quality content!
(Only suggestion I have is to change the title to "Factorio LTN Tutorial" for algorithmic reas... to spread the love is what I mean. Yes. To bring everyone into the fold, make them see the light.)
that's that video tags are for. I'm sure Diablo has set LTN and any other itteration he thought of as video tag. Searching for videos includes these as well (think back to search page augmentations and metadata keywords).
@@seePyou I don't know. I just tried looking for it on a non account linked browser and his video came up somewhere down the line (15th?) and I think more or less everyone above had those words on the title. Doesn't yt go for title first and only then for strings/tags?
@@johnnymellon7414 Video is also new, very new. I think this skews the result. Then again, if we ACTUALLY knew how this worked, we would be paid millions by companies to do that optimization for them.
@@seePyou Two really, really good points...
Thank you both for thinking with me and the pointers you have given. Probably not changing the title but gave some great ideas for a few more tags.
Subbed :)
Thanks :)
anyone using Brian's trains blueprints and know how to get the provider stations working? I can't figure out what I'm doing wrong
I have watched other videos about LTN, and this one was by far the most clear and comprehensive. I understood the concept and the logic of LTN, but for some reason it didn`t work for me. I think I got confused about which wire goes where. So maybe I should start all over again.
I wanted to ask if it makes any difference if I first connect the combinator the the station, for example, in comparison to when I connect the station to the combinator.
Thanks for the good content.
Thank you.
No that does not matter, there is no "direction" in which you can connect the two entities.
Information will be shared between two entities in the exact same manner regardless of which entity got clicked first.
@@Diablo_rdk , thanks a lot for your reply!! I was finally able to make all my stations connected to the LTN and my base is working fine! Now I am trying to understand why my request stations are requesting goods even when they are full.
Look at the requested items (the negative number) you have set up in your constant combinator. If this is higher then what you can store at the station then trains will keep coming trying to fulfil an amount that can never be reached.
(this one is most likely, make sure you have calculated the max amount of items you can "store" at the station correctly)
@@Diablo_rdk , thanks a lot! That was exactly that! In addition, I found out that I missed some boxes when I was adding the cables.... so not all the material that was stored was being considered.
Sorry for asking again, but do you know how to prevent the trains from going to the provide stations even when the stations are empty? I have set the positive values indicating the threshold of when the trains can come to pick the goods, but as soon as I set the station, trains come to pick up resources even when there is none...
Don't be sorry, happy to help.
Without looking at your setup, It sounds like you may have set the wrong signal in the constant combinator.
Make sure you setup the "provider threshold" signal and not a signal of the items that are at the station with a positive number. The positive number should come from the boxes at your train station.
The provider threshold signal is an override of the default values at which you want this station to work at.
An item signal in the constant combinator is only needed to indicate an amount of items you would like to receive at the requester station set by a negative (or missing amount) number.
Also have a look at the settings for this mod and how the default provider and default requester numbers are setup.
Hope this helps.
i cannot get the ltn to work at all on my base with loops and what not in the system, any suggestions or any chance i can get a blueprint of the setup you have to try making it work ?
I would suggest you make a simple bit of rail apart from any other rail you have and follow along with this video. Then extrapolate from that to the rest of your setup.
Try that first, if you still cannot get it to work, i'll be happy to sent you some blueprints.
The reason I'm not doing that right away btw is not to be mean or stingy but to hopefully have you learn how LTN works and why it doesn't in your situation. Having a good understanding of the system allows you to troubleshoot any issue in your own setup. (maybe there is a lighting issue, maybe a pathing issue)
The point is, if your rail system is flawed, no blueprint can fix that.
And remember: The LTN system uses positive numbers to indicate what we have (provide) and negative numbers to indicate what we want (request).
Hope this helps for now.
There is also 2 cool mod that can make it easier:
LTN Combinator: mods.factorio.com/mod/LTN_Combinator
LTN Tracker: mods.factorio.com/mod/LTN_Tracker
Cool, thanks i'll check them out.
"Tracker" is very nice to make some sense of the state of the LTN network before you are notified by errors that something's the matter :)
This is the most useful video on the topic! Very easy for my dumbass head to understand. The scariest thing about it is that well scripted video that waste no time on useless gibberish takes 44 minutes. I study factorio more than I study for my college exams.
Altho I'm getting an engineering degree, so I guess it's kinda the same thing.
Thank you. Always nice to hear I've been of assistance.
Ive set up the depot, provider, and requester as you described, but the train isnt moving from the station. its just stuck on a blue light
at what station is it stuck? (is it not being loaded, is it not being unloaded, are you inputting the correct signals in the input light, are there filter set on inserters that prevent the train from being loaded, unloaded?)
One question. Where do you usually fuel your trains? I tried to set up a belt that delivers rocket fuel to the trains at the depot but when the trains are set to automatic they don't load. When I set to manual it begins loading. Is there a setting that I am missing?
Weird, I also load fuel at the depot station and have not yet had them not load.
@@Diablo_rdk Could it be because nothing else os set up? All I currently have is the depot
@@galactus414 No should be fine, as long as it true "parked" at the station. If you give me a link to the map I could check it for you.
@@Diablo_rdk While playing tonight I figured it out. I didn't have the station assigned to the trains. Did that and they started fueling. Thanks for your help on a 2 year old video.
@@galactus414 No problem, I'm glad you were able to get it sorted :)
When I place a station that I intend to be a provider, the light is green. So i connect a wire to the light, from an empty box, and the light is still green! What's the point of the light if its always green?
The light has two functions: 1: It indicates the current status of the station. 2: It acts as an ingress for signals into the LTN logistic network.
The colors mean:
green = 1: normal status
blue = n: LTN Controlled Train parked at stop, n = number of trains
yellow = n: Stop is part of a scheduled delivery, n = number of trains
white = 1: Error - not initialized
red = 1: Error - short circuit
red = 2: Error - deactivated stop
If this was a bit more simplified then this should have been in the game without a mod. Damn that i only find this mod after 500hrs + play time.
I agree.
Hello,
does anyone know if it is possible to only send empty trains to either request or provider stations?
For provider stations I do not believe that it is possible. As soon as a train enters the depot it is ready for the LTN system to send out again regardless of still remaining items in the wagons.
For requester stations it is depended on whether the train was send out to a provider station from the depot with items already in the wagon.
What you can do is force a train to unload at a requester station until it is empty.
This way it will never arrive at the depot with anything still left inside. And therefor always head out empty.
And remember to always use filter stack inserters to keep your train stations from loading or unloading the wrong items.
Hope this helps.
@@Diablo_rdk , yes, it helped a lot! My base is working, and now it is so much easier to expand. I wish I had the LTN since the very start.
Is it possible to have a to have multiple thresh holds for multiple items at one train station?
Yes it is, you can set an amount of items you would like there to be in a certain station, for each type of item, in the constant combinator. (for requester stations)
However the threshold for delivery or pickup is set once for the station, so keep that in mind.
So depending on which item reaches that threshold in the mixed station (or drops below it in the case of a requester station), that is the item that gets picked up or delivered.
Just remember that in a mixed station, one item cannot fill all stack slots so set your item count for each item realistically.
Diablo thanks for the fast comment and the clarity. I’ve gotten it to work now.
@@thejudicator1082 No problem, glad I could help.
Loading the right amount apperently does not work anymore.
When I do it exactly like shown in the video, the arithmetic combinator outputs negative amounts of not only the requested amount but also negative train length and whatever the station output outputs.
Also the amount does not seem to change. The filter inserters need a positiv amount of the item they need to load that needs to hit 0 once the amount has been fullfilled, and that is something I cant get to work. I neither have a way to count items loaded, nor scan the inventory of the train (without additional mods that is)
I would have to take a look at your specific setup to see what is going on. Hit me up on Discord so we can set something up. (If you want)
@@Diablo_rdk See the official discord "Factorio modded" channel. I already asked there.
@@TehF0cus LOL ok top thanks will reply there when I'm off work. :)
I'm trying to Start LTN do to your vid. I'm not sure what I did wrong. I have mixed loads, wrong product going to wrong station. Not your worry. Question is when riding train I noticed LTN put in temp station ahead of Provider station and Requester station with 0s wait.
Ah yes the temp station is a newly added feature. (last few days actually) that eliminates the need for unique station names by adding temp stations.
See the update log of the mod for this info. :)
Hope you can get everything sorted.
There may be error. At ruclips.net/video/ZtcKlNous9o/видео.html Why connect green cable from TrainStop to Input Arifmetic Combinator? Green cable delivery amount of plates in wagon. Example: Station requere 100 iron plates. Wagon has bring 102 iron plates. 100 + (-102) = -2. Combinator invert sign = minus 2 iron plates. This signal will receive inserters. And the inserters will no start work.
Thank you, you are absolutely right, although maybe not so much an error as such but more a way of working I suppose. I always work with full trains and requests so this is never an issue but you are correct.
So for future watchers:
If you request a item with this setup, make sure you never have more of the item in the train then what you are requesting at the station.
Doing so will result in a negative item number going to the arms and a negative number cannot be used to set a filter.
Consider using a permanent filter or adjust the requested number of items to better reflect the number of items you train is going to arrive with.
I cant get the limited loading to work. it Always overloads the cargo wagon. And then since the unloading works, the train is stuck with extra items..
Hi, as I do not know the exact setup that you have I would suggest, could you try to set it up with the provide stack threshold and see if that helps your issue?
@@Diablo_rdk I am trying the same setup as you. a circle of a depot, a provider and a requester. Shutting of the inserters when request of 500 is fulfilled takes so long that depending on speed of inserters or loaders there can be an extra hundred to double the amount. But the offloading works perfect so then the train stands there since the cargo is not empty, but the inserters are disabled (with the set filter)
@@alekmoth I'm having the same issue, some insertors already have stuff in them before the signal disabled them. Did you find a workaround? I'm considering just disable exact unloading, so it just accepts the extra cargo anyway.
This is mostly due to stack inserter stack size , unless you put those to 1 , or 5 for example if you only request itemnumbers that can be divided by 5 ect. this will happen
Tbh you usually don't need specific unloading at requester stations , in most cases if a train station gets ~10 more iron plates then it was supposed to that shouldnt break something
And besides that , just in case something screws up for some unknown rare reason i usually have stack inserters at the train depots to unload anything remaining in the train wagons should there be something left
Hey, just wanna ask how you would solve my problem, i got a station with space for 1 Loc and 2 Wagons. And im trying to find a way that i can unload 2 Different types of cargo in this 1 Station (Edit: 1. Slot Loc, 2. Slot Iron Plates, 3. Slot Copper plates). Encodes Positions dont work. Network ID did not work for me. Im Trying to not use FIlter insertes. Did you solve this problem for yourself already ?
Edit2: But i still want every Train to be the same: 1loc 2 Wagons. and i dont want to set up "special" Provider Station which only loads the second wagon etc
what ever. i now solved it with Filter inserters cuz this seemed to be the only working thing.
Hi,
YT did not show your comment to me earlier.
If there is still I can do something to help, please let me know.
@@Diablo_rdk nah all good ;) i found my solution. Thanks anyways
@@Diablo_rdk I actually do have a question on this topic! This is my situation:
I use trains with 2 locomotives and 6 cargo wagons
I have 1 provider station that can fill all 6 cargo wagons with Iron plates and
I have 1 provider station that can fill all 6 cargo wagons with Copper plates
I have 1 requester station that requests 1k Iron plates and 1k Copper plates, to handle the different plates the inserters on the first 3 cargo wagons only unload iron plates and inserters on the last 3 cargo wagons only unload copper plates.
Everything works except when a fully loaded Iron plates train comes only the first 3 cargo wagons get emptied and the last 3 wagons don't so the train goes to the depot with plates in the last 3 wagons. this is also the case with a fully loaded Copper plates train but then the first 3 cargo wagons don't get emptied.
Is there a way to request a train with 2 locomotives and 6 cargo wagons but only fill the last 3 wagons or the first 3 wagons depending on the request?
Or is there an easier way to do this.
Great tutorial. Btw, I'm having some trouble understanding encoded network ID. I've been trying to experiment and look through the forum and reddit, but I seem to be getting mixed answers. I was wondering if you already know the answer.
From my understanding, the network id seems to be using bit as base. So, I thought it was something like an input of 2 = network 1, input 4 = 2, 8 = 3, etc. However, it appears not to be that straightforward? According to the ltn manual, you can link multiple encoded network id to each other, but no one seems to explain the rules for these links. The example given there is an id of 6 can assign stops to 4 and 2. A redditor explained that an id of 10 links 8 and 2? Then another one claimed that if you put 6 it links 2 and 3.
I plan on doing my own tests further, but I would appreciate it if I simply got a direct answer from someone who might know.
Hi, it is a binary system so in order to set the id for a station you would have to set a binary equivalent of an id.
(or a combination of id's)
Network ID 1 = 000001
Network ID 2 = 000010
Network ID 4 = 000100
Network ID 8 = 001000
Network ID 16 = 010000
Network ID 32 = 100000
Think of the 1's as on switches and the 0's as off switches
So setting a network id of 10 = 0010100, that takes the on switches of 2 = 000010 and 8 = 001000
Setting a network id of 6 = 000110, that takes the on switches of 2 = 000010 and 4 = 000100
So depending on which networks you want your station to be a part of, thats the number you should give it so you "turn on" the right networks.
Optera made a nice forum responds about this same question
forums.factorio.com/viewtopic.php?t=56866
Hope this help.
Let me know.
@@Diablo_rdk Thanks a lot! That really clarifies things. It makes so much sense. I was already prepared to aimlessly begin testing with my own little hypotheses over the weekend, but I was able to quickly test out what you said and it worked! This was a serious head-scratcher for me so really thank you. Now, I don't have to waste time trying to figure this out and get working on my factory again asap.
Again, fantastic tutorial video. There are two others that I watched, but I think yours was better with presentation and comprehensiveness. Although, I do wish you had gone over the encoded network id in more depth >:P
I am very glad to hear it. :)
And thank you.
if i have enough space for a second train in the same depot lane, can they just que one behind the other and ltn will know?
yup you can, the second train will wait and park at the depot as soon as there is room
@@Diablo_rdk i figured u do it with the normal train limit at the station tho not with the combinator thingy, or im i fucking up? =P
@@BandicootLikeMMO I am unsure of what you mean, perhaps contact me on my discord and we can try to figure it out.
@@Diablo_rdk sorry but i cant find the discord , got a link? put it in the about section maybe if it is public or pm me up to you =)
@@Diablo_rdk also what i meant is this, do you have to set the train limit on the station like on the vanilla ones? do you have to do it with the combinator? both? i am afrain there is something going wrong if you do it with the station itself
The filter setup at 33:30 isn't correct. With that setup, if the number of items on the train equals or exceeds the amount requested by the station minus storage, then nothing will be unloaded.
Instead, just leave out the connection to the train station. The inserters will then take as much as they can off the train until demand is satisfied.
To achieve the result you were going for, you could also set up deciders to determine if there is both demand and inventory to draw from the train, but that's unnecessary, as the inserters will ignore signals to draw from the train if there isn't any stored on the train and will automatically set their filters to anything that is both demanded and present on the train.
Long story short, just don't add that green wire from the train station to the arithmetic combinator -- it's unnecessary and can cause problems.
Edit: everything else looks right to me, great video! Super helpful :)
Tutorial so idiot's can understand. Just like me. Best seen LTN guide ever. Great work.
Thank you very much, it is always nice to hear I have been of help.
Love this tutorial, very well done... Just 1 thing, can you say "I am your father", into a steel bucket please.
LOL, I think that's trademarked. :)
@@Diablo_rdk Do you have any blueprints of your setups please.
@@Aceguy2001 Sorry I did not save the BP's for this particular video, but my regular playthroughs have the BP's available.
At 28min, you start to explain the train size.
I have this problem: 1 train + 1 wagon. I try the Maximum size signal iqual 2. (not working)...
YOUR version tell me to use a: train signal = 1 and a wagon signal = 1 on the constant combinator?
Could explain better that?
And, the encoded network ID, i understand it is a binary stuff. Can separate and combine stations.
Here a good one: forums.factorio.com/viewtopic.php?f=214&t=60334
Result:
1 = 00000001 (network 1)
2 = 00000010 (network 2)
3 = 00000011 (network 1 & 2)
4 = 00000100 (network 3)
5 = 00000101 (network 1 & 3)
6 = 00000110 (network 2 & 3)
7 = 00000111 (network 1 & 2 & 3)
8 = 00001000 (network 4)
9 = 00001001 (network 1 & 4)
10= 00001010 (network 2 & 4)
11= 00001011 (network 1 & 2 & 4)
12= 00001100 (network 3 & 4)
13= 00001101 (network 1 & 3 & 4)
14= 00001110 (network 2 & 3 & 4)
15= 00001111 (network 1 & 2 & 3 & 4)
16= 00010000 (network 5)
If you want to use the encoded positions signal for one locomotive and one wagon use should use it as follows:
Encoded Positions of Locomotives = 1
Encoded Positions of Wagons = 2
The loco is the first in line so you start counting there, so it gets 1.
The wagon starts from the second position so you start counting from the second position (1,2,4,8, 16, 32 etc), so it gets 2. ( if you had 2 wagons, you would count both second and third positions, so 2 and 4 = 6)
Hope this helps.
p.s. time coded index in the description.
So...how this should be in the constant combinator? What signal (Encoded netword ID, Locomotive, Wagon...) should I use?
I thought the Encoded Netwod signal wal only for config a separate rail network.
Kindly rewatch this video from 27:10. I explain exactly how you can set the correct signals.
Tenth😪
hehe better luck next time.
well this is what im hate on mod makers they think like programmers not customers.... why dont just make a chest menu like any other robot chest and then automatickly take value from wire?? red for items green for number control..... sinmple and elegant.....
Sounds like a good idea.
I do agree that the interface isn't quite user friendly, but it is rather a question of time and effort rather than anything else, because designing intuitive and clear user interfaces requires a whole other level of skills that maybe the creators don't have because like you said, they probably are programmers. Remember that those people do this with passion only and they have no obligation to us whatsoever :)
Probably because they *are* programmers, and they're doing this because it's fun for them to do, so they do it in a way that's fun for them.