Show Max Underground Distance

by ltab

Shows maximum range indicators to help you place underground belts and pipes.

Utilities
11 months ago
0.18 - 2.0
108K

b Add indication

9 months ago

Hi!
Doesn't show indication if pipes (including underground ones) with two or more directions are used.
Could you please make changes for this?
https://drive.google.com/file/d/10IIOCz-qGOV32A4j2spFNQHGxkt6lsgQ/view?usp=sharing

9 months ago

One more thing - the pipe uses underground connections to the left and right of the entrance, but not in the direction of the pipe itself, and the indication is shown in the direction of the pipe itself.
https://drive.google.com/file/d/1hmlUzytx8XfmsslftVci7FLmX2TtD2HS/view?usp=sharing

9 months ago

It's a known issue, and unfortunately not possible to correct based on how the mod is creating the visualization. I've commented on it here: https://mods.factorio.com/mod/show-max-underground-distance/discussion/5ee31583885dc5000b5e6436. I also play with Advanced Fluid Handling and it is annoying but not much that can be done.

9 months ago

Regarding displaying the indicator when the pipe output does not match the direction of the side:
- Is it possible to read the data of this specific pipe (this is written somewhere in the mod code), and if the output does not match, then hide the indicator?
For example, if the pipe should go from top to bottom (and the indicator is displayed at the bottom, where the output should be), but the actual outputs are directed left and right, then do not display the indicator.
Something like this:
If {item.pipe left-right} then indicator = false

Or are we talking about the same thing? :)

9 months ago

It would be possible to either do that or have the indicator on a single one of the two/three/four sides. It's a fair amount of work though, for something that I consider to be a downgrade in capability (since I still use the measurement indicators on those pipes, I just hit R a few times to set them up right after), so I'm not inclined to do it, sorry.

New response