Selector Combinator: Mode of Operation = Select Channel

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Christof Zedlacher
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Apr 02, 2025 11:51 am
Contact:

Selector Combinator: Mode of Operation = Select Channel

Post by Christof Zedlacher »

I'm making running texts in Factorio V2 (see image) and for that purpose I could use the Selector Combinator to have an additional mode to select sorted Channels instead of sorted values:
Image
in that mode, if I define Channels 1 .. 4 in a Constant Combinator (see image) and select Channel 2 by Selector Combinator, the Selector would output the value of the 2nd Channel (sorted by Channel name), so the output would be the value of Channel 2 = 3.
My work-around for the missing mode needs n Decider Combinators, where n is the number of Channels defined, in my case 30.
Image
Attachments
Selector Combinator3.png
Selector Combinator3.png (356.21 KiB) Viewed 123 times
Selector Combinator2.png
Selector Combinator2.png (467.4 KiB) Viewed 123 times
Tertius
Smart Inserter
Smart Inserter
Posts: 1331
Joined: Fri Mar 19, 2021 5:58 pm
Contact:

Re: Selector Combinator: Mode of Operation = Select Channel

Post by Tertius »

To perform the action, you need 1 selector combinator, 1 decider combinator and 1 additional constant combinator:
07-10-2025, 14-21-57.png
07-10-2025, 14-21-57.png (63.23 KiB) Viewed 110 times
In the 1st constant combinator, you globally define all the signals you intend to handle. All with value 1, so a selector combinator will select by internal default order, which is well defined and stable.
07-10-2025, 14-22-56.png
07-10-2025, 14-22-56.png (67.33 KiB) Viewed 110 times
This will create a unique index for every signal, if you feed this to a selector combinator.

To pick the 3rd item (that's the signal 3):
07-10-2025, 14-24-09.png
07-10-2025, 14-24-09.png (63.76 KiB) Viewed 110 times
This maps index 3 to signal 3.

This ist the constant combinator with the values from where you want to pick:
07-10-2025, 14-25-00.png
07-10-2025, 14-25-00.png (49.5 KiB) Viewed 110 times
Notice the signal 3 has value 4. This is what we want to pick with the given value 3 in the selector combinator.

Finally, the decider combinator that performs the miracle:
07-10-2025, 14-26-25.png
07-10-2025, 14-26-25.png (93.17 KiB) Viewed 110 times
Christof Zedlacher
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Apr 02, 2025 11:51 am
Contact:

Re: Selector Combinator: Mode of Operation = Select Channel

Post by Christof Zedlacher »

YESS - thank you!! 8-)
That's it!

Works fine with my running text :D
Image
Attachments
Selector Combinator5.png
Selector Combinator5.png (204.73 KiB) Viewed 71 times
Post Reply

Return to “Ideas and Suggestions”