Separate signals to/from red and green wires
Moderator: ickputzdirwech
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Highlight Color of Circuit Signal based on wire type in Combinator HUD
Afaik (which isn't much with circuits), signals coming into combinators are combined regardless of wire color and will transmit the same signal out on any connected wire, regardless if the input was originally red and the output is green or vice versa. So, if I'm understanding this request correctly, it would have no use?
If I'm not understanding correctly, I need more details. Maybe pic mockups.
If I'm not understanding correctly, I need more details. Maybe pic mockups.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Separate signals to/from red and green wires
merged with existing topic
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Burner Inserter
- Posts: 8
- Joined: Fri Nov 12, 2021 4:09 pm
- Contact:
Re: Highlight Color of Circuit Signal based on wire type in Combinator HUD
From the pure technical side it has no use that is correct, but if you have many signals from both wires connected to a combinator its hard to separate which signals comes from which wire. It would just be easier to look at them and not have to connect a powerpole to know which signal comes from which wire.FuryoftheStars wrote: ↑Mon Jan 03, 2022 8:58 pm Afaik (which isn't much with circuits), signals coming into combinators are combined regardless of wire color and will transmit the same signal out on any connected wire, regardless if the input was originally red and the output is green or vice versa. So, if I'm understanding this request correctly, it would have no use?
If I'm not understanding correctly, I need more details. Maybe pic mockups.
Those are the signals connected to a combinator,
This is how it looks right now,
This is my suggestion. Not very good editing but you get the point.
EDIT:
Of course i should work exactly the same as before just highlight the wire color in the UI
Re: Highlight Color of Circuit Signal based on wire type in Combinator HUD
Could be useful, but also makes things more complicated. In all the images you've shown, red and green wires carry different signals. Your idea works well in this case. But imagine there were signals of the same kind on both wires (e.g. "iron-ore" = 1 on red and "iron-ore" = 2 on green). On entering the combinator, this would currently be combined to "iron-ore" = 3. That's easy to read, and only one icon needs to be displayed -- while you would not show the total amount, and must display two icons for the same signal.SakretonTheSecond wrote: ↑Tue Jan 04, 2022 3:01 pm From the pure technical side it has no use that is correct, but if you have many signals from both wires connected to a combinator its hard to separate which signals comes from which wire. It would just be easier to look at them and not have to connect a powerpole to know which signal comes from which wire.
Adding the amounts of signals from red and green may be quite a chore if you have, say, 10 or 20 signals on each wire. I'd prefer to get the summed values in most cases. However, seeing what exactly is on each wire can be extremely helpful for debugging circuits. I think it would be better to add an optional debugging mode (perhaps it could even be toggled per combinator?) where the incoming signals are shown as you've suggested, but leave the default display as it is.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
-
- Burner Inserter
- Posts: 8
- Joined: Fri Nov 12, 2021 4:09 pm
- Contact:
Re: Highlight Color of Circuit Signal based on wire type in Combinator HUD
If that is possible that would be nice, toggled off by default to avoid conflicts. If signals "overlap" remove its background colour, or add another one.Pi-C wrote: ↑Tue Jan 04, 2022 4:17 pmCould be useful, but also makes things more complicated. In all the images you've shown, red and green wires carry different signals. Your idea works well in this case. But imagine there were signals of the same kind on both wires (e.g. "iron-ore" = 1 on red and "iron-ore" = 2 on green). On entering the combinator, this would currently be combined to "iron-ore" = 3. That's easy to read, and only one icon needs to be displayed -- while you would not show the total amount, and must display two icons for the same signal.SakretonTheSecond wrote: ↑Tue Jan 04, 2022 3:01 pm From the pure technical side it has no use that is correct, but if you have many signals from both wires connected to a combinator its hard to separate which signals comes from which wire. It would just be easier to look at them and not have to connect a powerpole to know which signal comes from which wire.
Adding the amounts of signals from red and green may be quite a chore if you have, say, 10 or 20 signals on each wire. I'd prefer to get the summed values in most cases. However, seeing what exactly is on each wire can be extremely helpful for debugging circuits. I think it would be better to add an optional debugging mode (perhaps it could even be toggled per combinator?) where the incoming signals are shown as you've suggested, but leave the default display as it is.
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Highlight Color of Circuit Signal based on wire type in Combinator HUD
Yeah, ok, so I did understand you correctly. Pi-C summed up my thoughts on this exactly and proposed a nice solution.SakretonTheSecond wrote: ↑Tue Jan 04, 2022 3:01 pmFrom the pure technical side it has no use that is correct, but if you have many signals from both wires connected to a combinator its hard to separate which signals comes from which wire. It would just be easier to look at them and not have to connect a powerpole to know which signal comes from which wire.FuryoftheStars wrote: ↑Mon Jan 03, 2022 8:58 pm Afaik (which isn't much with circuits), signals coming into combinators are combined regardless of wire color and will transmit the same signal out on any connected wire, regardless if the input was originally red and the output is green or vice versa. So, if I'm understanding this request correctly, it would have no use?
If I'm not understanding correctly, I need more details. Maybe pic mockups.
powerpole.png
Those are the signals connected to a combinator,
combold.png
This is how it looks right now,
combnew.png
This is my suggestion. Not very good editing but you get the point.
EDIT:
Of course i should work exactly the same as before just highlight the wire color in the UI
Pi-C wrote: ↑Tue Jan 04, 2022 4:17 pmCould be useful, but also makes things more complicated. In all the images you've shown, red and green wires carry different signals. Your idea works well in this case. But imagine there were signals of the same kind on both wires (e.g. "iron-ore" = 1 on red and "iron-ore" = 2 on green). On entering the combinator, this would currently be combined to "iron-ore" = 3. That's easy to read, and only one icon needs to be displayed -- while you would not show the total amount, and must display two icons for the same signal.SakretonTheSecond wrote: ↑Tue Jan 04, 2022 3:01 pm From the pure technical side it has no use that is correct, but if you have many signals from both wires connected to a combinator its hard to separate which signals comes from which wire. It would just be easier to look at them and not have to connect a powerpole to know which signal comes from which wire.
Adding the amounts of signals from red and green may be quite a chore if you have, say, 10 or 20 signals on each wire. I'd prefer to get the summed values in most cases. However, seeing what exactly is on each wire can be extremely helpful for debugging circuits. I think it would be better to add an optional debugging mode (perhaps it could even be toggled per combinator?) where the incoming signals are shown as you've suggested, but leave the default display as it is.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Separate signals to/from red and green wires
I would appreciate seeing the signals separately. And at the same time I think this isn’t the right method to see that.
The problem is on a more global level, you want to see, what’s going on. That’s not only inside of the combinators, but also in the inserters, lamps etc.
It wouldn’t make much sense to change this only for combinators, but I have also no clever idea how to make this suggestion better.
The problem is on a more global level, you want to see, what’s going on. That’s not only inside of the combinators, but also in the inserters, lamps etc.
It wouldn’t make much sense to change this only for combinators, but I have also no clever idea how to make this suggestion better.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Highlight Color of Circuit Signal based on wire type in Combinator HUD
Each tile could be back filled red/green in amounts proportional to the signal. Although that poses a problem if they have different signs. So maybe proportional to their absolute values. And you would have to show "0" signals, like -5 coal green + 5 coal red = 0 coal (half green / half red).Pi-C wrote: ↑Tue Jan 04, 2022 4:17 pmCould be useful, but also makes things more complicated. In all the images you've shown, red and green wires carry different signals. Your idea works well in this case. But imagine there were signals of the same kind on both wires (e.g. "iron-ore" = 1 on red and "iron-ore" = 2 on green). On entering the combinator, this would currently be combined to "iron-ore" = 3. That's easy to read, and only one icon needs to be displayed -- while you would not show the total amount, and must display two icons for the same signal.SakretonTheSecond wrote: ↑Tue Jan 04, 2022 3:01 pm From the pure technical side it has no use that is correct, but if you have many signals from both wires connected to a combinator its hard to separate which signals comes from which wire. It would just be easier to look at them and not have to connect a powerpole to know which signal comes from which wire.
Adding the amounts of signals from red and green may be quite a chore if you have, say, 10 or 20 signals on each wire. I'd prefer to get the summed values in most cases. However, seeing what exactly is on each wire can be extremely helpful for debugging circuits. I think it would be better to add an optional debugging mode (perhaps it could even be toggled per combinator?) where the incoming signals are shown as you've suggested, but leave the default display as it is.
Re: Separate signals to/from red and green wires
WTF.
-10 green coal + 5 red coal is then -5 coal (75% green, 25% red). Mathematicaly interesting to calculate with this.
-10 green coal + 5 red coal is then -5 coal (75% green, 25% red). Mathematicaly interesting to calculate with this.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Separate signals to/from red and green wires
I would have calculated that as 66% / 33% because it's a 10:5 ratio.
Re: Separate signals to/from red and green wires
Still interesting… it could be seen as 3-dimensional vector (value, red part, green part). But I have no idea what to do with this…
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Manual Inserter
- Posts: 4
- Joined: Mon Dec 04, 2023 8:27 pm
- Contact:
Selectable wire colors fir inserter input/output
TL;DR
Similarly to to the "decider combinator 2.0" from FF#384, make red and green selectable as inputs or outputs for insertersWhat ?
Basic QOL improvement to allow users to select which color of wire the inserter reads its filters from, or outputs its contents to.Why ?
This will allow circuit designs to separate command signals (set-filters) from feedback signals (read-contents). This will prevent a read-contents signal from inadvertently causing other inserters to insert unwanted items.In this example, each inserter is separately controlled by the red lines, but the green line is used as a common feedback. Without this enhancement, feedback from one inserter is interpreted as a filter command on another. With very fast modded inserters, an inserter can interpret its own feedback signal as a command and become stuck inserting.
-
- Filter Inserter
- Posts: 521
- Joined: Mon Feb 05, 2018 10:01 am
- Contact:
Re: Selectable wire colors fir inserter input/output
Honestly, can we just make this fully general?
ALL circuit connection options can be selected to either red, green or both.
ALL circuit connection options can be selected to either red, green or both.
Re: Selectable wire colors fir inserter input/output
but then someone will want to connect a red wire for ouput and a red wire for input, but another one not the same... no ?
and this would be problematic for entity that are only 1 tile of surface or make it difficult to plug properly the wire on the half tile or something.
I'm not against the suggestion per say but i think the expansion will show quite the rework of circuits and may alter how to consider some propositions like this one.
and this would be problematic for entity that are only 1 tile of surface or make it difficult to plug properly the wire on the half tile or something.
I'm not against the suggestion per say but i think the expansion will show quite the rework of circuits and may alter how to consider some propositions like this one.
-
- Manual Inserter
- Posts: 4
- Joined: Mon Dec 04, 2023 8:27 pm
- Contact:
Re: Selectable wire colors fir inserter input/output
I agree.Illiander42 wrote: ↑Thu Jun 06, 2024 10:54 pm Honestly, can we just make this fully general?
ALL circuit connection options can be selected to either red, green or both.
I don't really think you'd need to make separate input and outpoints like the new combinators are going to have. Being able to use a red wire for output and a red wire for input would be nice, but just being able to select red as input and green as output (or vice versa) wouldn't really be too constraining. If you needed an output on the same color as your input, you could use a combinator as a diode to switch the colors. You'd only need one diode for a bank of combinators, as opposed to a diode for input and one for output for each pair.mmmPI wrote: ↑Fri Jun 07, 2024 1:11 am but then someone will want to connect a red wire for ouput and a red wire for input, but another one not the same... no ?
and this would be problematic for entity that are only 1 tile of surface or make it difficult to plug properly the wire on the half tile or something.
-
- Burner Inserter
- Posts: 6
- Joined: Wed Apr 05, 2017 12:50 am
- Contact:
Re: Selectable wire colors fir inserter input/output
you can actually already do this, in a hacky kinda way. I use it for my Science River blueprint -
Take a look at the huge bank of stack filter inserters on the left side, the green wire sets the filter and the red wire reads hand contents. In order to prevent the red wire from interfering with the green wire settings, the green wire also has a constant combinator of the signals that red wire *might* see set to -1,000. Negative signal values do not set filters, and this is more than the red wire signal quantity will ever exceed. Then the combinator that rotates the filter-setting signal is multiplied by 10,000 on the green wire. So the sum total of red and green wires on any given inserter is 6 science packs that are negative, and one very high signal that sets the filter.
(paste it in a creative map and set all trains to auto to get it started)Take a look at the huge bank of stack filter inserters on the left side, the green wire sets the filter and the red wire reads hand contents. In order to prevent the red wire from interfering with the green wire settings, the green wire also has a constant combinator of the signals that red wire *might* see set to -1,000. Negative signal values do not set filters, and this is more than the red wire signal quantity will ever exceed. Then the combinator that rotates the filter-setting signal is multiplied by 10,000 on the green wire. So the sum total of red and green wires on any given inserter is 6 science packs that are negative, and one very high signal that sets the filter.
Last edited by regular_human on Sat Jun 08, 2024 1:11 am, edited 1 time in total.
Re: Selectable wire colors fir inserter input/output
Cool blueprint x). You may need to explain how the requester chest get their request too, just to make sure, because it seem a bit like magic It look like it's kept in 2 constant combinator that are allowed to send signal only when a train is there ?
I can hear that, i was asking the question, now i have an answer i'm not sure i can properly assess it though, i understand better the proposition, but it still has to be weighted against "what will be possible with the expansion" for me to give opinion rather than just ask question.spacehitchhiker42 wrote: ↑Sat Jun 08, 2024 12:09 am I don't really think you'd need to make separate input and outpoints like the new combinators are going to have. Being able to use a red wire for output and a red wire for input would be nice, but just being able to select red as input and green as output (or vice versa) wouldn't really be too constraining. If you needed an output on the same color as your input, you could use a combinator as a diode to switch the colors. You'd only need one diode for a bank of combinators, as opposed to a diode for input and one for output for each pair.
-
- Burner Inserter
- Posts: 6
- Joined: Wed Apr 05, 2017 12:50 am
- Contact:
Re: Selectable wire colors fir inserter input/output
My super secret tech. It's a circuit that balances contents of requester chests based on total contents of the logistic network. When the inserters offload the science packs from the train into providers, they are counted and put into a memory cell. The contents of the memory cell are divided by the total number of requester chests (kinda, chests that have 2 inserters pulling from them are counted twice), and those are the signals that set the requests. The red wire on the white inserters subtract from the memory cell, so the memory cell is keeping track of the total contents of the requesters without being able to read their contents. It causes all chests to be delivered to equally when the train arrives instead of the bots prioritizing nearby chests.
Re: Separate signals to/from red and green wires
[Koub] Merged into an older thread with the same suggestion.
There are also several other suggestions that don't focus specifically on the ability to distinguish signals based on what wire color they're on, but kind of builds upon that feature :
viewtopic.php?f=6&t=31438
viewtopic.php?f=6&t=94715
There are also several other suggestions that don't focus specifically on the ability to distinguish signals based on what wire color they're on, but kind of builds upon that feature :
viewtopic.php?f=6&t=31438
viewtopic.php?f=6&t=94715
Koub - Please consider English is not my native language.
Re: Selectable wire colors fir inserter input/output
Thanks for the explanation, i'm afraid it's not longer secret, it's now your public super tech imo, it's remains "super"regular_human wrote: ↑Sat Jun 08, 2024 1:04 am My super secret tech. It's a circuit that balances contents of requester chests based on total contents of the logistic network. When the inserters offload the science packs from the train into providers, they are counted and put into a memory cell. The contents of the memory cell are divided by the total number of requester chests (kinda, chests that have 2 inserters pulling from them are counted twice), and those are the signals that set the requests. The red wire on the white inserters subtract from the memory cell, so the memory cell is keeping track of the total contents of the requesters without being able to read their contents. It causes all chests to be delivered to equally when the train arrives instead of the bots prioritizing nearby chests.