[0.17.43] Weird corner pipe hitboxes
[0.17.43] Weird corner pipe hitboxes
Although I didn't include examples in this save, this also happens when the straight pipes are replaced with underground pipes or vice versa---in particular, you cannot navigate around nested corners of pipes.
No mods are necessary to see this behaviour. Attached save and log.
- Attachments
-
- pipes.zip
- (2.07 MiB) Downloaded 97 times
-
- factorio-current.log
- (6.57 KiB) Downloaded 100 times
Re: [0.17.43] Weird corner pipe hitboxes
Thanks for the report.
You could argue that not being able to walk between pipes in some scenarios is a bug but I can also argue that at no point have we ever said being able to walk between pipes was meant to even be a thing.
More so, it's one of those "it works this way, lets just keep it working that way".
I don't consider this worth the incredibly large risk of breaking everything else involved with pipes by changing pipe collision boxes.
You could argue that not being able to walk between pipes in some scenarios is a bug but I can also argue that at no point have we ever said being able to walk between pipes was meant to even be a thing.
More so, it's one of those "it works this way, lets just keep it working that way".
I don't consider this worth the incredibly large risk of breaking everything else involved with pipes by changing pipe collision boxes.
If you want to get ahold of me I'm almost always on Discord.
-
- Smart Inserter
- Posts: 2622
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: [0.17.43] Weird corner pipe hitboxes
You could also say that the corner piece’s outer edge doesn’t make an exact, sharp 90 degree corner and instead curves/rounds into it, thus cutting into the available walking space. Makes sense from that pov.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: [0.17.43] Weird corner pipe hitboxes
I think that moving between two parallel pipes is quite reasonable personally (in actuality, large pipelines are often above ground level so you can sometimes even go underneath!). I wanted to look into doing this with a mod, but is the enlarged hitbox for a corner pipe hardcoded? I can't find anything that looks like it might code for it in the game files.
-
- Smart Inserter
- Posts: 2622
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: [0.17.43] Weird corner pipe hitboxes
Yes, though if you think about it, you could potentially put them too close together IRL, too, which is exactly what what you’re doing here. These pipes are almost a meter across. There’s maybe 20-40 cm max between the pipes at the widest points. You can just simply build the pipes with a meter/tile space between them and this would solve that.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [0.17.43] Weird corner pipe hitboxes
Eh. That's been reported ages ago (can't find any of the though). Happens in all sorts of weird configurations, for example when you build pipes on a shoreline, or around steam engines. I personally "fixed" it by decreasing the size of the players collision box by 25% to a diameter of 0.3.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [0.17.43] Weird corner pipe hitboxes
> I personally "fixed" it by decreasing the size of the players collision box by 25% to a diameter of 0.3.
Would you mind sharing how to do it?
Thanks!
Would you mind sharing how to do it?
Thanks!
Re: [0.17.43] Weird corner pipe hitboxes
It's only one string in the data.lua:
Code: Select all
data.raw.character.character.collision_box = {{-0.15, -0.15}, {0.15, 0.15}}
-
- Fast Inserter
- Posts: 196
- Joined: Sat Jul 09, 2016 11:43 am
- Contact:
Re: [0.17.43] Weird corner pipe hitboxes
I just ran into the same problem, I don't remember having this problem in 1.16...
I would suggest a simple fix that shouldn't break anything: Instead of reducing pipes hitbox, why not reduce only underground pipes hitbox?
I would suggest a simple fix that shouldn't break anything: Instead of reducing pipes hitbox, why not reduce only underground pipes hitbox?
- Attachments
-
- SneakThrough.png (1.4 MiB) Viewed 2537 times
Re: [0.17.43] Weird corner pipe hitboxes
That *is* the risky change: reducing pipe hitboxes. Pipes are pipes and underground pipesFasterJump wrote: ↑Fri Jul 31, 2020 9:46 amI just ran into the same problem, I don't remember having this problem in 1.16...
I would suggest a simple fix that shouldn't break anything: Instead of reducing pipes hitbox, why not reduce only underground pipes hitbox?
If you want to get ahold of me I'm almost always on Discord.
Re: [0.17.43] Weird corner pipe hitboxes
What's risky about it? Squeak Through does it as a matter-of-course.Rseding91 wrote: ↑Fri Jul 31, 2020 3:36 pmThat *is* the risky change: reducing pipe hitboxes. Pipes are pipes and underground pipesFasterJump wrote: ↑Fri Jul 31, 2020 9:46 amI just ran into the same problem, I don't remember having this problem in 1.16...
I would suggest a simple fix that shouldn't break anything: Instead of reducing pipes hitbox, why not reduce only underground pipes hitbox?
Edit: Though I guess there's only really one lever for collision box with pipes and like 20+ configurations, so you can't change only one and not the others.