As I understand it stackers using signals runs into an issue of all the trains in the stacker never truly idle, but will constantly retry pathing to it's destination, so I changed each tracker to use a train stop all extremely originally named Stacker and using a signal to make the train leave the station.
Each destination station has a decider combinator that checks if the rail signal for the station is green, if it is it generate a signal, so the type of train that would use that station is released from the tracker.
The first issue is that if I have two train's waiting in the stacker that want to go to the same station, they both get released, so I created a counter, and a decider combinator at each train stop, that forwards the signal if counter = value, so two stations won't release at the same time.
Second issue is with having multiple types of destination stations, so while the counter prevents all the iron trains from being released at the same time, it can release one iron train and while it's working on getting to it's destination it can release other types of trains. Writing this post, finally made me think of a solution, I check all stations signals and if any is yellow, I block all release signals, that way only when a train can reserve it's destination, will it be released.
I accidently created a prioritizer, I convert the four possible stations type to binary, 1 = iron, 2 = copper, 4 = coal, 8 = stone. I have eight decider combinators check for 15, 13, 11, 9, 7, 5, 3 and 1 and output iron, then four combinator to check for copper, two for coal and one for stone, so it will prioritize releasing trains in that order, potentially creating a situation where the least prioritized trains never get released (doh). Now to make it prioritize based on what the base needs instead.
1 combinator for each stacker lane, 1 combinator for each unloading station. a counter and 1 combinator to block signals if any lane is yellow and the stacker doesn't have to be the only route to the unloading stations. I have my oil, Supply/Trash and work trains going directly and only trains that can block using the stacker.
Trying to create a station based stacker
Post all other topics which do not belong to any other category.
Return to “General discussion”
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Implemented in 2.0
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions