Can I create a combinator with multiple input/output connection points?

Place to get help with not working mods / modding interface.
Post Reply
tomkcook
Burner Inserter
Burner Inserter
Posts: 14
Joined: Mon Feb 19, 2018 1:30 pm
Contact:

Can I create a combinator with multiple input/output connection points?

Post by tomkcook »

Is it possible to create a combinator with more than one input connection point or more than one output connection point? Or is it limited to having different red and green outputs?

I can see that the ArithmeticCombinator prototype has input_connection_points and output_connection_points which are each 4-long arrays of WireConnectionPoint, each with a connection point for copper, red and green wires. Does this mean there is a maximum of 4 connection points? How does this interact with input_bouding_box and output_bounding_box, which only allow you to specify one bounding box for inputs and one for outputs? What is this bounding box used for?

Sorry for all the questions, and thanks for any help.

DarkShadow44
Filter Inserter
Filter Inserter
Posts: 275
Joined: Thu Jun 01, 2017 12:05 pm
Contact:

Re: Can I create a combinator with multiple input/output connection points?

Post by DarkShadow44 »

tomkcook wrote:
Tue Jan 31, 2023 5:30 pm
Is it possible to create a combinator with more than one input connection point or more than one output connection point? Or is it limited to having different red and green outputs?
Compact circuits does it, so it has to be doable one way or another. Maybe you could look there for inspiration.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3699
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Can I create a combinator with multiple input/output connection points?

Post by DaveMcW »

No, the 4 WireConnectionPoint's correspond to 4 directions. You only get 1 red and 1 green input connection, and 1 red and 1 green output connection.

You have to use multiple entities if you want more connections.

tomkcook
Burner Inserter
Burner Inserter
Posts: 14
Joined: Mon Feb 19, 2018 1:30 pm
Contact:

Re: Can I create a combinator with multiple input/output connection points?

Post by tomkcook »

You have to use multiple entities if you want more connections.
This is how LTN does its stations, right? I was looking there to see how they did it.

tomkcook
Burner Inserter
Burner Inserter
Posts: 14
Joined: Mon Feb 19, 2018 1:30 pm
Contact:

Re: Can I create a combinator with multiple input/output connection points?

Post by tomkcook »

Just noticed that Compakt Circuit mod does this somehow, will have to have a look.

Post Reply

Return to “Modding help”