Custom constant value output for combinators

Post your ideas and suggestions how to improve the game.
Post Reply
cyfrov
Inserter
Inserter
Posts: 21
Joined: Thu May 03, 2018 7:09 pm
Contact:

Custom constant value output for combinators

Post by cyfrov » Fri Jul 06, 2018 9:37 pm

TL;DR
Slight tweak to combinators to allow for much more compact and concise circuit represenetation and improve game performance.

What ?
The arithmetic combinator should be able to take the "EACH" input as either operand to the function, i.e. (A) - (Each)

The decider combinator should have the binary output be editable. Currently, it gives the option to output 1, when the condition is met, user should be able to set the constant value output.
i.e. When (A > 0) return (-1).

The decider combinator should have an extra option where instead of passing the input count, it passes the value of another signal.
i.e. When (each > 0) return (A as each)
Why ?
The main reason for this suggestion is to make expression of logic much more compact and accessible, by reducing the need for all those signal value inverters (Arithmetic times negative constant) .
In terms of game performance, it should be rather free and simple to implement, as well as improve game performance by reducing the number of combinators needed in a circuit network.

thedarkbunny
Inserter
Inserter
Posts: 46
Joined: Mon Oct 23, 2017 10:46 pm
Contact:

Re: Custom constant value output for combinators

Post by thedarkbunny » Fri Jul 06, 2018 10:06 pm

Agreed on all of the above, plus another thing that belongs in this category:

For decider combinators, comparisons should be possible between "each" and "everything", or between "each" and "anything". As it stands, getting the maximum value (or the values tied for maximum) of a group of signals requires a complicated error-prone beast of a circuit when it would ideally be a single "each >= everything, output each" decider combinator.
Last edited by thedarkbunny on Mon Jul 09, 2018 3:01 pm, edited 1 time in total.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2017
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Custom constant value output for combinators

Post by Optera » Sat Jul 07, 2018 7:12 am

I often wanted to set decider outputs to a specific value on a trigger.

BloodyRain2k
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 01, 2018 5:55 pm
Contact:

Re: Custom constant value output for combinators

Post by BloodyRain2k » Tue Jul 10, 2018 2:25 pm

I'd love the suggested improvements for the deciders, I actually came here to suggest that too.

In addition to the suggested improvement for the arithmetic I'd also like to add the options to negate the inputs and output.

As in an arithmetic set to A + B = C should let me toggle a negate for A, B or C (or all of them).

The obvious WHY? would be: why just not use more arithmetics with "* -1"?
And that's also the answer, so we don't need to spam them just for negating a value.

I really love Factorio's logic system, even if basic logic gates are a little difficult to understand at first, but the one thing I really dislike about it is the negate spam of arithmetics : (

Being able to individually negate the inputs and output would really make that easier.

cyfrov
Inserter
Inserter
Posts: 21
Joined: Thu May 03, 2018 7:09 pm
Contact:

Re: Custom constant value output for combinators

Post by cyfrov » Mon Jan 14, 2019 6:53 am

Yeah, plus, with fewer delays, the z^-1 analysis becomes slightly more bearable to achieve a stable feedback control system


Last bumped by cyfrov on Mon Jan 14, 2019 6:53 am.

Post Reply

Return to “Ideas and Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests