/edit just to add something useful: I use logistics to do utility combined with a filtered carriage on the end of all my trains that takes repair kits, walls and lasers. A hint related to this: use separate logistics chests for each type of item or the inserter will end up holding an item it can't insert due to the filters, and not load any other items even if there is room for them. I almost lost a station like that!
freetambo, if you aren't aware, you can middle click on a train cargo slot like your toolbar and lock that space to be reserved for a single item. For example, I use this on my oil train to split half the wagon to be for empty barrels and half to be for full barrels.
Yeah I see a bunch of other people replied first. I didn't see those replies on my phone when I typed my reply. Maybe it was a cached copy or something. No worries! :) I wasn't intentionally piling on.
This is actually really cool and could be helpful in some situations. :) However, I think it is not needed, because you can in fact put more than one type of cargo into a wagon, and designate how many slots can get filled with each item. You do this this by just setting item filters in the car slots by middle mouse clicking them, or whatever key you have assigned it to in key bindings menu. :) You can also do this with your toolbelt slots.
to add to this, you can also use "dummy" filters for items that will never be put inside the cargo wagon, like pistol, to reserver the rest of the wagon if you only need 2 stacks
No problem! :) It seems a lot of people aren't aware of this option. Haha Yeah for sure, this isn't useless by any means, I think it could definitely still be used as you mentioned for balancing scarce resources and perhaps other stuff too. I wish I knew enough about combinators to do this. I am clueless to how they work lol
I'm getting into them as well. I can't seem to figure out how to make flashing lights. Not that those are very useful, but I want to put them next to stuff I don't want to hit with my car.
I'm definitely going to be trying your approach to detecting a train in the station to toggle an r/s latch controlling station behaviors. In particular, I've got 2 oil outposts I want to load from one train, and I want each to unload only half the empty barrels, replacing them in the same car with refilled ones. I could make separate trips, but from past experience I know there'd still be a tendency for the empties to pile up at one site or the other; the other option is having separate carriages, or even trains, but that just feels like a waste somehow.
Yeah, that's the kind of scenario this kind of tinkering is great for. You can (un)load exactly X barrels at each station.
Keep in mind that you'll end up wasting tonnes of time just in getting things just right just to prevent the waste of one train. Then again, if that isn't what this game is about, I don't know what is. ;)
BTW: I think you could set it up to unload a number of empties to match the filled barrels you're taking from each station. That would make more sense than drop off half of some arbitrary number, right? I'm not entirely sure how you'd store the number of filled barrels though. Unless you're okay with unloading empties first, then loading filled ones.
I'm playing with it in my cheaty-sandbox world right now; ideally I want to keep the carriage full, pulling off stacks of empties and replacing them with stacks of full, so the total number of barrels, empty and full, at a given outpost remains constant. The "half" thing was just me thinking about the upper limit; atm in my proper world there are only two outposts, with about the same production, so assuming the car arrives at the first full of empties, it should never take more than half of them, but in practice I think this is a better approach, taking only as many empties as I have full to put on there. If somehow one outpost actually can fill more than half the train, then I shouldn't be limiting that, just adjusting train schedules or adding more trains. Not actually certain yet if I'm even going to require combinators for this or not, it's possible a clever solution with just smart chests+inserters is possible that I've never thought of before, but I think for it to be perfect (namely, take exactly as many empties as it places fulls, and the train never leaving station with less than a full stack in any slot, whether that's full or empty barrels) is gonna require some logic.
9
u/TenNeon Jul 21 '15
Confused at this. What is stopping you from filtering slots?
6
u/Xterminator5 Jul 21 '15 edited Jul 21 '15
This is actually really cool and could be helpful in some situations. :) However, I think it is not needed, because you can in fact put more than one type of cargo into a wagon, and designate how many slots can get filled with each item. You do this this by just setting item filters in the car slots by middle mouse clicking them, or whatever key you have assigned it to in key bindings menu. :) You can also do this with your toolbelt slots.
2
u/GopherAtl Jul 22 '15
I'm definitely going to be trying your approach to detecting a train in the station to toggle an r/s latch controlling station behaviors. In particular, I've got 2 oil outposts I want to load from one train, and I want each to unload only half the empty barrels, replacing them in the same car with refilled ones. I could make separate trips, but from past experience I know there'd still be a tendency for the empties to pile up at one site or the other; the other option is having separate carriages, or even trains, but that just feels like a waste somehow.