Before the 0.17.55 update, it was possible to change the width of rail bounding boxes, and thereby allow pumps to connect to fluid wagons from a larger distance. Since this mechanic has been removed, it´d be nice to have the ability to set the connection distance of pumps via its prototype definition.
Usecase: Allow pumps to conect to tank ships from the cargo ships mod from a distance that doesnt cause them to graphically overlap with the ship.
Allow changing the pump<->train connection distance
-
- Inserter
- Posts: 20
- Joined: Tue May 01, 2018 3:29 pm
- Contact:
Re: Allow changing the pump<->train connection distance
Just make the pump bigger?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
-
- Inserter
- Posts: 20
- Joined: Tue May 01, 2018 3:29 pm
- Contact:
Re: Allow changing the pump<->train connection distance
I was thinking about that, but the thing is, that i only want one side (the one pointing towards the train) to be larger, but depending on the pumps orientation this can be either the input or the output.
Re: Allow changing the pump<->train connection distance
How do you imagine this would be defined on the pump?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
-
- Inserter
- Posts: 20
- Joined: Tue May 01, 2018 3:29 pm
- Contact:
Re: Allow changing the pump<->train connection distance
Well i have no idea how the pump-train connections work internally, so i dont know if that feasible, but having an attribute like "train_connection_offset" in the ptotoype definiton, which is "0" for vanilla pumps and "1" or "2" for my modded pumps, and results in the decribed bahaviour would be what i am thinking of.
Re: Allow changing the pump<->train connection distance
Shift the side of the connection hose only (same way as it's done by the offshore pump)
Code: Select all
collision_box = {{-0.29, -1.79}, {0.29, 0.79}}
It can be the entity that is just twice bigger, I saw 2x2 pipes, why not pumps?