Page 1 of 1

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

Posted: Tue Jan 31, 2023 5:30 pm
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.

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

Posted: Tue Jan 31, 2023 6:59 pm
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.

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

Posted: Wed Feb 01, 2023 12:18 am
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.

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

Posted: Wed Feb 01, 2023 4:34 pm
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.

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

Posted: Mon Mar 06, 2023 2:30 pm
by tomkcook
Just noticed that Compakt Circuit mod does this somehow, will have to have a look.