Page 1 of 1

Invalid pipe connections specification for offset?

Posted: Wed Apr 20, 2016 8:24 pm
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!

Re: Invalid pipe connections specification for offset?

Posted: Wed Apr 20, 2016 8:38 pm
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

Re: Invalid pipe connections specification for offset?

Posted: Wed Apr 20, 2016 8:46 pm
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 :(