BeltRouter


This mod allows you to route belts and pipes automatically: 1. Put the starting belt and ending belt on ground first, 2. then select the starting belt with ctrl+right-click and 3. select a ending belt with ctrl+left-click. 4. Boom, belt ghosts are created!

Utilities
3 years ago
1.0 - 1.1
28.3K

i Calculate multiple input/output at once

4 years ago

First of all, thank you for this beatiful mod, it really help me with my spaghetti in base ;)
I was thinking about adding multiple input and multiple output to be calculated like "create bluepring layout when everything will be connected". I was testing mod on belt madness (scenario where you need to use multiple belts, weaving them ect.) and level 2 is impossibe for mod to calculate path because as soon as 4 ways are placed then it's impossible to create way due to ghost. To think of it, belt madness is perfect mode for crashtesting mod.

4 years ago

Thanks for mentioning it! This is indeed the ultimate best solution if it can be made.

However, from implementation point of view, it is extremely hard to "consider multiple belt routes" at the same time. I think this would require very complex algorithm to solve :( So unless I came across a good paper about multiple route finding, or some very smart PHD level guy can give me a pointer, I'm afraid I can't do this by myself.

If anyone is seeing this and have some idea about implementation algorithm, please leave comments below :)

1 year, 10 months ago

no concrete idea on how to implement, but i do think this is an important addition to the mod. i found that a "simple" swapping of two adjacent belts can sometimes be too much for the mod because it always places one belt first with no room left to route the second one.

1 year, 10 months ago

Also i have noticed that the mod removes non-belt ghost entities, kinda counter-intuitive that it leaves ghost belts it constructed in place but not other ghosts the player placed

New response