More / User defined signals

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

mrvn
Smart Inserter
Smart Inserter
Posts: 5797
Joined: Mon Sep 05, 2016 9:10 am
Contact:

More / User defined signals

Post by mrvn »

TL;DR
Currently every item has a signal with some special signals for number, letter and color thrown in to avoid collisions. I want MORE.
What ?
I want a practically unlimited number of signals. For that I suggest that users can define new signals in the way that blueprint are named. A custom signal should have a string (shown as e.g. tooltip when hovering over the symbol) and an icon made up of 2-4 of the currently existing core signals.
With that one could for example create a signal: "Red Science Factory has Copper" <Red Science> <Copper Plate> and output the number of plates remaining in the buffer chest.
Why ?
In my megafactory with trains I want to prioritize and balance production. When the power plant is running low on coal then it needs to get all the coal even if the plastic production needs coal too. When both the steel smelter and green card require iron plates I want to split them 50:50. The brain of the factory has lots of those decisions it could make. But to do that it needs to know how many resources are at each production site.

For the buffered output it is simple. The steel smelter emit a steel signal and all outputs are combined into a big network of green wire. Currently the lack of buffered ingrediences is put onto big network of red wire. That tells me when someone needs iron plates for example. But doesn't tell me who or what for.

I can use the signal "0" for steel smelter needs coal, "1" for steel smelter needs iron plates, "2" for belt assembler needs iron plates, "3" for electronic circuit assembler needs copper plates and so on. But a) who can remember what all those signals mean? and b) there aren't enough signals to keep them collision free on a single wire. So then you have to string up multiple wire networks in parallel across multiple outposts and you just hope you never accidentally connect them by accident. And how do you remember that the first red wire was for steel smelter needs and the second for electronic circuit needs and so on? That gets really confusing and error prone even with just 2 wires.

Some way to give signals descriptive names and to have more signals is wanted here.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: More / User defined signals

Post by ssilk »

What you describe is pure logistics. I recommend for that case the logistic train network mod.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

mrvn
Smart Inserter
Smart Inserter
Posts: 5797
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: More / User defined signals

Post by mrvn »

I want to use it for trains but it can be used for anything. It just extends the signaling capabilities.

cbjamo
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat May 06, 2017 8:22 pm
Contact:

Re: More / User defined signals

Post by cbjamo »

Arbitrary signal names would be extremely useful for computer projects. Being able to carry more signals on a single wire would be helpful. More importantly, being able to give them descriptive names would massively improve debugging and general understandability of circuit networks.

I suspect that this is possible to do in a mod, but when building extremely large combinator systems UPS is already a problem. If Lua needed to be executed during runtime and not just at creation UPS would probably suffer too big of a hit.

mrvn
Smart Inserter
Smart Inserter
Posts: 5797
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: More / User defined signals

Post by mrvn »

The problem basically is that to create or remove a signal you have to restart the game.

So in a mod you would have to pre-create a million virtual signals and then you can probably add some GUI to give them visible names. But those signals would always exist even if not used yet. The list of signals available in e.g. the constant combinator would be huge even if just a fraction of those virtual signals are actually used by the user.

User avatar
Impatient
Filter Inserter
Filter Inserter
Posts: 883
Joined: Sun Mar 20, 2016 2:51 am
Contact:

Re: More / User defined signals

Post by Impatient »

i +10 this.

I would like a circuit network, where I can define named signals and chose from defined signals. That would allow for descriptive names as well. That would be the end to all signal mish mash, which would be nice.

Post Reply

Return to “Ideas and Suggestions”