# factorio arithmetic combinator

↳   Mechanical Throughput Magic (circuit-free), ↳   Frequently Suggested / Link Collections, Arithmetic Combinators (subtraction and division change), Re: Arithmetic Combinators (subtraction and division change).

by vampiricdust » Thu Aug 06, 2015 7:22 am, Post

How can I get 14 from 12 and 10? One benefit if a Constant Combinator is - as far as I know - that you can link the same Constant Combinator to multiple Arithmetic Combinators. What do you mean, "setting a hard value"? As you can see, I have set arithmetic combinator to A or B output C. I understand the concept of OR, AND and XOR. Post The decider outputs 1 when condition is true, 0 otherwise, and arithmetic outputs signal * output of decider.

My native language is russian. Thanks.

42 ÷ 10 = 4 remainder 2 42 / 10 = 4 42 % 10 = 2. by eradicator » Tue Jul 24, 2018 12:04 pm, Post

Post share. Le combinateur arithmetique permet de faire des opérations arithmétiques (+, -, *, /) sur les valeurs présentes sur les circuits fils vert/fils rouge qui entre dans le combinateur. But what happens when signals are not 0 or 1?

I do not understand how percent works in an arithmetic combinator. Sorry if my messages are difficult to read.

Top. So is there any way to override the built-in UI for a custom arithmetic combinator? That way, if you want tochange the value 2500 to 2000 for all of the Arithmetic ones, you only have to make one change, to the Constant, instead of one separate change to each of the Arithmetic Combinators. by ratchetfreak » Thu Aug 06, 2015 10:20 am, Post Any help is appreciated, Griffork. Considering that the order in which you divide or subtract makes a huge difference in the outcome, than it would great if we could set a hard value for the left hand input. Thanks for the help.

If you convert 10 into binary, you get 1010.

A Question about the arithmetic combinator.

Question. You can get the desired effect of passing a signal through only when condition is true by combining it with an arithmetic combinator. You need to use 2 entities, one for input and one for output. If you do 1100 OR 1010, this will give you 1110 - this is 14!

https://lua-api.factorio.com/latest/eve ... tem_opened, https://mods.factorio.com/mod/CW-power-combinator. I mean inside the Arithmetic Combinator, if you want to do say 2500 for a storage tank capacity - how much water is in the tank, I have to use a combinator just to pass this value. If you convert 12 into binary, you get 1100.

Place to get help with not working mods / modding interface.

And this works as long as A and B equal 0 or 1. Calculateur Arithmetic combinator. by CyberWizard2261 » Tue Jul 24, 2018 12:48 pm, Powered by phpBB® Forum Software © phpBB Limited. by MF- » Fri Aug 07, 2015 6:24 am, Post (see the right side of the screenshot) Wiki does not seem to be updated for 0.15 so I am hoping that someone with more knowlledge can help me figure this out.

What I'd like to do is be able to define my own UI and output based on inputted wires (two input wires are necessary). For this particular one (OR) I expect this happening: If A signal equals 1, B equals 1, or both are 1, then output C signal with value of 1.

Please explain me. New comments cannot be posted and votes cannot be cast. DaveMcW Smart Inserter Posts: 3121 Joined: Tue May 13, 2014 11:06 am. I don't recommend modify data.raw table, it's better to make your entity apart from vanilla ones, you'll have much more freedom with the definitions, ↳   Mechanical Throughput Magic (circuit-free), ↳   Frequently Suggested / Link Collections. by vampiricdust » Thu Aug 06, 2015 12:11 pm, Post It can preform the basic arithmetic operations (+, -, /, *) on the specified signals.

How to make a custom arithmetic/decider combinator? ID : arithmetic-combinator. report. Honestly, I have no idea what you're trying to say. sometimes C signal is the sum of both signals, sometimes I get random number like this.

Can you explain me what the left bit shift, right bitshift, bitwise and, or and xor operations do and in which cases i can use them?

by DaveMcW » Sat Aug 05, 2017 8:12 am, Post 2 comments. As they are now, you cannot set a value the left hand value without assigning a value to a signal.

Post by DaveMcW » Fri Apr 28, 2017 11:08 pm.

Subreddit for the game Factorio made by Wube Software.

Whenever I set the type of the data to "arithmetic-combinator" the built-in arithmetic combinator UI and code takes over the entity. by vampiricdust » Thu Aug 06, 2015 9:28 am, Post If both are 0 output nothing. For this particular one (OR) I expect this happening: If A signal equals 1, B equals 1, or both are 1, then output C signal with value of 1.

by deepdriller » Thu Aug 06, 2015 8:12 am, Post

In the first example, it will sum the number of Copper Ores on the signal with the number of Iron Ores and output this sum as Red Science Packs.

Also I'm pretty sure your "clock" example is off, the condition on the decider has to be "< 60".

Post your ideas and suggestions how to improve the game. The input and output have 2 independent connections(red and green). Listen for the built_entity events and create a second entity when your primary entity is built. It's not really a big thing, but since subtraction & division are dependent on the order of inputs, some leeway with them would be great. When I set the type to "constant-combinator" I can no longer define input and output wire locations. The logic gates work by converting each number into binary, then performing their function on each pair of digits.

by Peter34 » Fri Aug 07, 2015 3:14 pm, Users browsing this forum: No registered users, Powered by phpBB® Forum Software © phpBB Limited. Press J to jump to the feed.

I think that's why the introduced the constant combinators. save.

100% Upvoted. As you can see, I have set arithmetic combinator to A or B output C. I understand the concept of OR, AND and XOR. by deepdriller » Thu Aug 06, 2015 9:39 am, Post

hide. Arithmetic Combinator: It has an input and an output. I try to build more complex stuff with the curcuit network but it seems pretty hard except for people who study informatics.

Re: How to make a custom arithmetic/decider combinator? by Griffork » Sat Aug 05, 2017 2:24 am, Post

Permet de faire des opérations arithmétiques sur les signaux du réseau filaire. Re: How to use % in an arithmetic combinator?

Tech Tree.

Press question mark to learn the rest of the keyboard shortcuts, press alt; screenshot; middle mouse deselects with the toolbar.

by cyfrov » Mon Jul 23, 2018 11:45 pm, Post