"The Interactive Button" Combinator (or, at least, leaver ;)

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

mp0011
Fast Inserter
Fast Inserter
Posts: 216
Joined: Mon Mar 20, 2017 1:17 am
Contact:

"The Interactive Button" Combinator (or, at least, leaver ;)

Post by mp0011 »

Very simple device - user click on it, it sends defined 0/1 signal. And option to change it's operation mode from monostable (sends 1 only when mouse button is down) to bistable (toggles signal on each click). With optional built-in state indicator (light)., if that's not too much to ask.

I know it's can be achieved by eg. changing constant Combinator variables or similar designs, but... is to many clicks, menus, slider dragging and searching for propper icon...
Caine
Fast Inserter
Fast Inserter
Posts: 213
Joined: Sun Dec 17, 2017 1:46 pm
Contact:

Re: "The Interactive Button" Combinator (or, at least, leaver ;)

Post by Caine »

Perhaps we should just have a modifier to toggle a constant combinator on/off instead. Now we have to open the GUI, toggle and close it again.
mp0011
Fast Inserter
Fast Inserter
Posts: 216
Joined: Mon Mar 20, 2017 1:17 am
Contact:

Re: "The Interactive Button" Combinator (or, at least, leaver ;)

Post by mp0011 »

I generally avoid mods, but will try.
As I see, it has no "monostable" option, but for now it's good enough...

Constant Provider already has option to on/off, but with no "external" control. You can ofc add combinator and filter it's output if other signal is detected, but not on users direct mouse input.

Simple extension to Constant Combinator options (ENABLED: on/off/on mouse down/on mouse(toggle); last two options without need to open the GUI) will do the trick... However, someone may find it to easy (or OP), so it's enough to have just one variable, with 0 (or -1...) or 1 output. If You need switch more variables, just use Constant Combinator filtered by Decider...
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: "The Interactive Button" Combinator (or, at least, leaver ;)

Post by eradicator »

Factorios modding api does not currently support "hold key down" type inputs.
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: "The Interactive Button" Combinator (or, at least, leaver ;)

Post by steinio »

Last edited by steinio on Tue Feb 13, 2018 4:20 pm, edited 1 time in total.
Image

Transport Belt Repair Man

View unread Posts
Caine
Fast Inserter
Fast Inserter
Posts: 213
Joined: Sun Dec 17, 2017 1:46 pm
Contact:

Re: "The Interactive Button" Combinator (or, at least, leaver ;)

Post by Caine »

mp0011 wrote:I know it's can be achieved by eg. changing constant Combinator variables or similar designs, but... is to many clicks, menus, slider dragging and searching for propper icon...
I just realized that you can copy/pasting of constant combinator values for this. So set up a three constant combinators:
  • One connect to the circuit network
  • One configured with the "off" configuration
  • One configured with the "on" configuration
You can now quickly copy/paste the on/off configurations to the connected constant combinator. This scales to multiple configurations as well.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: "The Interactive Button" Combinator (or, at least, leaver ;)

Post by mrvn »

You can blueprint the constant provider settings over an existing constant combinator. So make yourself an ON blueprint and OFF blueprint.

Alternatively use a chest and put a fish in it or not. (stone, coal, whatever. anything works).

I haven't tried the mentioned mods but maybe the chest way could be used by mods too so that dropping an item into the "chest" turns it on and returns the item to your inventory and removing the "chest" contents turns it off without actually giving you the content. That way the inventory transfere hotkeys would work to toggle the switch.
Post Reply

Return to “Ideas and Suggestions”