How to create a new combinator?

Place to get help with not working mods / modding interface.
Xeon257
Inserter
Inserter
Posts: 40
Joined: Wed Sep 24, 2025 6:25 pm
Contact:

How to create a new combinator?

Post by Xeon257 »

I want to create a combinator that represents sine and cosine functions.

Is there a better way to build a machine that performs this kind of circuit processing, other than using the tick event?

And to implement this, do I have to keep track of every combinator entity and run a loop on each tick?
I am not able to write in English myself, so I am using ChatGPT for help. Please excuse any awkward phrasing.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3750
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: How to create a new combinator?

Post by DaveMcW »

Yes, you must use the on_tick event to get input from a circuit network.

Output must be a constant-combinator where you set your processed signals.
Post Reply

Return to “Modding help”