Invalid pipe connections specification for offset?

Place to get help with not working mods / modding interface.
YoloJoe
Inserter
Inserter
Posts: 34
Joined: Wed Apr 13, 2016 2:56 pm
Contact:

Invalid pipe connections specification for offset?

Post by YoloJoe »

Hey again.

I'm trying to make my own chemical plant and I keep getting this error:

Code: Select all

Invalid pipe connections specification for offset {0.00000000000, -2.9960....}
I think this is where the error occurs:

Code: Select all

{
        production_type = "input",
        pipe_covers = pipecoverspictures(),
        base_area = 10,
        base_level = -1,
        pipe_connections = {{ type="input", position = {0, 3} }}
      },
      {
        production_type = "output",
        pipe_covers = pipecoverspictures(),
        base_level = 1,
        pipe_connections = {{ position = {0, -3} }}
      },
Any help would be appreciated!
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5341
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Invalid pipe connections specification for offset?

Post by Klonan »

The offset has to line up with the collision box you set for the entity, such that the pipe-connection is on the edge of the collision box
YoloJoe
Inserter
Inserter
Posts: 34
Joined: Wed Apr 13, 2016 2:56 pm
Contact:

Re: Invalid pipe connections specification for offset?

Post by YoloJoe »

Klonan wrote:The offset has to line up with the collision box you set for the entity, such that the pipe-connection is on the edge of the collision box
What is what in the collision box? :P

Code: Select all

collision_box = {{-0.2, -4.5}, {1.7, 2.35}},
I don't understand how the dimensions work :(
Post Reply

Return to “Modding help”