arithmetic combinator - constant number ... dinamically?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Harb42
Inserter
Inserter
Posts: 23
Joined: Thu Oct 31, 2024 11:38 pm
Contact:

arithmetic combinator - constant number ... dinamically?

Post by Harb42 »

Hi everyone!

Is there any way to set the constant value on the right side dynamically? I would like to set the multiplier based on conditions, but can't. Having a signal with a given value does not help this situation.
10-08-2025, 22-54-20.png
10-08-2025, 22-54-20.png (602.76 KiB) Viewed 255 times
eugenekay
Filter Inserter
Filter Inserter
Posts: 777
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: arithmetic combinator - constant number ... dinamically?

Post by eugenekay »

Harb42 wrote: Wed Oct 08, 2025 8:55 pmHaving a signal with a given value does not help this situation.
So do you want it to be Dynamic… or not? :lol:

Use a Green wire to provide the Left-side values; and a Red wire to provide the Right-side signal.

Good Luck!
Hurkyl
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Mon Dec 02, 2024 10:54 am
Contact:

Re: arithmetic combinator - constant number ... dinamically?

Post by Hurkyl »

Arithmetic combinator just does arithmetic.

Decider combinator does decisions.

Use decider combinators to put the multiplier you want on a signal (e.g. maybe the signal "M") based on your conditions, and have the arithmetic combinator use that signal as the multiplier.
Harb42
Inserter
Inserter
Posts: 23
Joined: Thu Oct 31, 2024 11:38 pm
Contact:

Re: arithmetic combinator - constant number ... dinamically?

Post by Harb42 »

Have you tried your approach in practice? This approach seems to not work. That's my problem. Using a signal with value on the right side does not do the multiplication with that value.
Tertius
Smart Inserter
Smart Inserter
Posts: 1443
Joined: Fri Mar 19, 2021 5:58 pm
Contact:

Re: arithmetic combinator - constant number ... dinamically?

Post by Tertius »

Harb42 wrote: Thu Oct 09, 2025 9:31 am Have you tried your approach in practice? This approach seems to not work. That's my problem. Using a signal with value on the right side does not do the multiplication with that value.
It's not clear what you mean. We mean this:
10-09-2025, 12-29-37.png
10-09-2025, 12-29-37.png (60.83 KiB) Viewed 130 times
Compute your factor as virtual signal (here: N) with whatever circuit contraption you come up with, then use that signal in the arithmetic combinator.
robot256
Smart Inserter
Smart Inserter
Posts: 1293
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: arithmetic combinator - constant number ... dinamically?

Post by robot256 »

And uncheck the R on the left if you want to avoid the N=25 output signal.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Harb42
Inserter
Inserter
Posts: 23
Joined: Thu Oct 31, 2024 11:38 pm
Contact:

Re: arithmetic combinator - constant number ... dinamically?

Post by Harb42 »

Thank you!
Thank you for your help and patience. It seems a grain of sand got into the machine. I retested it based on what you shared and it works.
Post Reply

Return to “Gameplay Help”