Friday Facts #384 - Combinators 2.0

Regular reports on Factorio development.
User avatar
FactorioBot
Factorio Staff
Factorio Staff
Posts: 422
Joined: Tue May 12, 2015 1:48 pm

Friday Facts #384 - Combinators 2.0

Post by FactorioBot »

SnowZyDe
Inserter
Inserter
Posts: 44
Joined: Fri Sep 01, 2023 12:28 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by SnowZyDe »

Omg
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 329
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Hares »

First: Great changes!
Second: It hurts to see that on the 1st set of gifs, on the right (train station in v2) the frame expands *a bit* after connecting to the network.
FunMaker
Fast Inserter
Fast Inserter
Posts: 107
Joined: Wed Jun 08, 2016 8:43 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by FunMaker »

Nice one! Loving it.
Feather
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Aug 31, 2023 4:24 am
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Feather »

I was wondering actually, since the wire connection logic has been rewritten, do combinators keep their connections when 'cut & pasted'
Tooster
Long Handed Inserter
Long Handed Inserter
Posts: 80
Joined: Wed Mar 24, 2021 6:42 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Tooster »

At least, the combinators of the XXI century :P

Is it possible to send output signal only to specified network color? I see we can compare or send input count value from selected inputs, but there seems to be no selection on which output to put a signal to. I am for example thinking about a case where I compare coal on green input but send output only to the red output. This seems like a missing puzzle when we can choose R or G input but can't change the R or G output. Maybe it would be a bit better to add some kind of 3 state switch like "G", "R", "G+R", because using 2 checkboxes you have one invalid state with both unchecked. Maybe something like a green, red, gree+red colored square.

Also maybe some UI changes could be done to color R and G?
Last edited by Tooster on Fri Nov 10, 2023 12:18 pm, edited 2 times in total.
Look mom, I made a mod ^^ Barrel Stages
IForgotMyName
Inserter
Inserter
Posts: 31
Joined: Sat Aug 26, 2023 3:18 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by IForgotMyName »

Some time ago I was thinking about how to enumerate all non-zero signals in a circuit. I thought that I didn’t have enough knowledge about combinators, but it turned out that this is now almost impossible. But at least it will be like this until version 2.0
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 329
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Hares »

I have a question. Usually (pretty often) you need to *conditionally* output a constant value. I.e., if A<B then C=10. Could you change "1" output option of a decider comb to the "constant"?
Last edited by Hares on Fri Nov 10, 2023 12:16 pm, edited 1 time in total.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by kovarex »

Tooster wrote: Fri Nov 10, 2023 12:13 pm At least, the combinators of the XXI century :P

Is it possible to send output signal only to specified network color? I see we can compare or send signal value from different inputs, but there seems to be no selection on which output to put a signal to. I am for example thinking about a case where I compare coal on green input but send output only to the red output. This seems like a missing puzzle when we can choose R or G input but can't change the R or G output.

Also maybe some UI changes could be done to color R and G?
It is stated that this topic will be covered later as it is not yet implemented and we are deciding how and where do we want to do it.
User avatar
Ghoulish
Filter Inserter
Filter Inserter
Posts: 468
Joined: Fri Oct 16, 2015 8:40 am

Re: Friday Facts #384 - Combinators 2.0

Post by Ghoulish »

I'm too dumb to use combinators, maybe it's time I learned!
See the daily™ struggles with my Factory! :D https://www.twitch.tv/repetitivebeats
IForgotMyName
Inserter
Inserter
Posts: 31
Joined: Sat Aug 26, 2023 3:18 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by IForgotMyName »

Tooster wrote: Fri Nov 10, 2023 12:13 pm At least, the combinators of the XXI century :P

Is it possible to send output signal only to specified network color? I see we can compare or send input count value from selected inputs, but there seems to be no selection on which output to put a signal to. I am for example thinking about a case where I compare coal on green input but send output only to the red output. This seems like a missing puzzle when we can choose R or G input but can't change the R or G output.

Also maybe some UI changes could be done to color R and G?
Image

Take another look at the "Output" section, it looks like you can configure the color of signal output there
User avatar
husnikadam
Fast Inserter
Fast Inserter
Posts: 111
Joined: Mon May 21, 2018 1:56 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by husnikadam »

IForgotMyName wrote: Fri Nov 10, 2023 12:18 pm
Tooster wrote: Fri Nov 10, 2023 12:13 pm At least, the combinators of the XXI century :P

Is it possible to send output signal only to specified network color? I see we can compare or send input count value from selected inputs, but there seems to be no selection on which output to put a signal to. I am for example thinking about a case where I compare coal on green input but send output only to the red output. This seems like a missing puzzle when we can choose R or G input but can't change the R or G output.

Also maybe some UI changes could be done to color R and G?
Take another look at the "Output" section, it looks like you can configure the color of signal output there
The checkboxes take the input count from R, G or R+G inputs. It doesn't set the output wire
Justderpingalong
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Wed Mar 08, 2017 3:34 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Justderpingalong »

This is nice and all... but does this FINALLY give us a way to 'sanitize' our inputs? Specific case: I was working on making a station using LTN that would allow me to load multiple types of cargo. The problem is that LTN's station, alongside expected cargo, also dump out a whole bunch of other data. And as I was using filter inserters with set filter, this could lead to them trying to set their filter to a signal instead of an item. If I were able to 'sanitize' my input, this would be a lot less cumbersome. Because right now the only way I could would be to add an arithmatic combinator which multiplies the values of all the data I didn´t want by -1. I think a nice feature for the 'selector combinator' would be to specifically filter out either groups of signals (so u can filter out any 'non-entity' signals like letters) or specific values, though a group would be most useful in my specific case.
User avatar
Sigma1
Fast Inserter
Fast Inserter
Posts: 233
Joined: Mon Nov 21, 2016 5:25 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Sigma1 »

big fan of the new UI, and especially the AND and OR in the decider, and the selector also seems useful

however since this stuff is being worked on, most of the times i work with complex circuits, the biggest problem tends to be following the wires, so some type of overlay thingy that shows wires as straight lines, kind of like that one belt path visualiser mod, would be a great addition imo
she/they
Tooster
Long Handed Inserter
Long Handed Inserter
Posts: 80
Joined: Wed Mar 24, 2021 6:42 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Tooster »

Also maybe some UI changes could be done to color R and G?
IForgotMyName wrote: Fri Nov 10, 2023 12:18 pm ...
Take another look at the "Output" section, it looks like you can configure the color of signal output there
That was my initial thought until I took another look, then I realized it just lets you choose which input to relay to outputs, not which output to choose. But kovarex said above that "it's not yet implemented and they are thinking where and how to do it", not "if they want to do it", so I guess it's on the table and maybe will be coming one day ^^.
Look mom, I made a mod ^^ Barrel Stages
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 329
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by Hares »

Another question related to the items' descriptions.
Currently, Factorio hardly limits blueprint description length, and it can't include fully detailed description with numbers and formulas (when they are needed). Could you increase the allowed length of the text field? Something about 10x times?
j_matya
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Dec 02, 2022 7:10 am
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by j_matya »

Hi.
First of all, mind blown, I was shedding a tear, so many new possibilities! :D

One thing I would highly recommend / request:

Add the possibility to output any other constant other than "1" and "Input count". How many times I have wanted to output a number other than 1, and had to restort to many signal-transposing shenanigans, and this would still be required with this magic new combinator...

pleeeeeease!

update: similar to this (excude me the rude version, only have gimp at work)
Image

update2: this picker could then also allow to transpose the value of a signal as another output signal (if you think about the value picker, you usually can pick either a virtual signal, or a static numeric value)
Last edited by j_matya on Fri Nov 10, 2023 1:15 pm, edited 2 times in total.
gGeorg
Filter Inserter
Filter Inserter
Posts: 436
Joined: Wed Jun 19, 2019 8:06 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by gGeorg »

Great !

Regarding : "Circuit slots show the values
... super simple when setting up a condition to know what ballpark of value you need to set."


when value in the slot is over 1000 it (I assume ) shows shortened version. Like 14k of Stones.
Can you make an mouse_over_tooltip which shows the exact number like 14 237 ?


Regarding : "Description for all combinators "
Thanks for god, this was long asked feature. By me at least three times. :D

Decider combinator 2.0
also long asked feature to read-write to different wires.
- glad to see you have re-used UI design and logic of user interaction of the train departure condition dialogue. That is great way of software development.
Multiple conditions I/O can brutal simplify circuitry, does it means that SR-latch contraptions are no longer needed because you make it all by just one combinator ?

Selector combinator is just great to be true :D, especially switch "ascending/descending order" is exciting.

Selector should have a feature to modify Logic Groups (TM).
Last edited by gGeorg on Fri Nov 10, 2023 2:27 pm, edited 1 time in total.
thedoh
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Tue May 02, 2017 1:37 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by thedoh »

An alternate point of view to the combinator UI elements appearing "out of nowhere" is that the behaviour of UI elements appearing only when needed keeps the combinator UI from becoming overly cluttered.
thermomug
Inserter
Inserter
Posts: 25
Joined: Fri Sep 08, 2023 1:51 pm
Contact:

Re: Friday Facts #384 - Combinators 2.0

Post by thermomug »

Really amazing,

I cannot wait to finally build myself a turing complete computer, maybe a lisp machine, compilers etc.
Tinkering around with optional stuff and all the options you have to your goal makes factorio the amazing game that it is.

There are few games that tell you so much about the personality of the player by only looking at their savegames.
Building a factory is a way of expressing yourself, like music, dancing, craftsmanship. It is ART

I LOVE THIS GAME !!!
Post Reply

Return to “News”