Necesse

Necesse

View Stats:
µ May 11, 2022 @ 1:34pm
How to Use Logic Gates
Are there any instructions for using logic gates? Specifically the AND gate and Buffer gate. They don't seem to be working right when doing in game testing.
< >
Showing 1-9 of 9 comments
Rambojazdude May 21, 2022 @ 12:09pm 
Hey did you find an answer to this. I can't seem to get the delay/count/timer to do anything different
Ancey May 22, 2022 @ 12:42am 
Do you know what you can do with the wire system at all? Aside turning on and off lights.
Rambojazdude May 22, 2022 @ 11:27am 
You need to use wires to set off the crafted dynamite. Also you can use wiring with pressure plates to set off traps.
µ May 22, 2022 @ 10:25pm 
Yea when using the wrench a dialog box will pop up in the left hand corner of the screen to select what color wiring to use. The same will happen with the clippers but to remove the color of wire. Then you can select different color outputs and inputs for the logic gates. You cant use the same color wire for both the input and output because this will result in a feedback loop apprently. You can use the wire for leds, doors, traps, dynamite, fireworks, and torches, Thats all i know for now
Last edited by µ; May 22, 2022 @ 10:25pm
CattMeister May 23, 2022 @ 3:52pm 
The only real use thus far I've had for wires are for closing gates and triggering traps.

For the AND gate you specify 2 inputs for 1 output. When both inputs light up the AND gate sends a signal through the designated output.

The Buffer gate works similar to the Delay gate but the difference is that to trigger a delay the input MUST be on for the specified delay timer.
For the Buffer gate the input will be delayed by the specified delay time regardless of the length of the input.
MAKAIROSI Aug 28, 2022 @ 1:20pm 
You can also make auto-traps. I just made one using a sensor gate, a delay gate and an SR latch gate. You will also need 3 colored wires.

A trap basically requires a signal pulse to fire. Then it stops until the signal is turned off and on again.

A sensor sends a continuous signal. Therefore we can't do it with that alone. We need a way to cut the signal off.

SIMPLE WAY:

Connect your sensor / pressure plate with a TIMER gate via RED wire. Then connect the TIMER gate to the trap via GREEN wire. Then edit the TIMER gate to input RED, output GREEN. You're done. The timer gate sends a single pulse every X ticks that you can modify, as long as it keeps on receiving the continuous signal from the sensor/pressure plate.

SLIGHTLY MORE COMPLICATED WAY:

The SR latch gate receives a signal and stores it. Then it outputs its stored signal continuously. However, the SR latch can also be reset via another signal. So this can be our switch.

The delay gate receives a signal and then sends another signal after X ticks. Therefore we can use this to reset the SR latch.

So, sensor sends a RED signal to the SR latch (connect via red wire).
SR latch receives RED signal, outputs GREEN signal, and resets by YELLOW signal. Connect to a delay gate and then to the trap (green wire)
Delay gate receives GREEN signal and outputs YELLOW signal. Connect back to the SR latch (yellow wire).

Now the trap will fire every X ticks, provided there's an enemy close to the sensor (its range can be editted). Also the sensor can be editted to only sense hostile entities so that it doesn't send a signal because of players, friends or animals.

Now make sure your DEFEND zone is inside the walls of your encampment, and place the traps outside it. You can also pretty much have a single timer for all gates, so that they all fire in unison, even if only one of them senses something.

Unfortunately, there's no way to have this automatically activate only at nights. I tried connecting the wires to the clock, but it does nothing AFAIK. Still, you could connect the timer to a lever and both of them to an AND gate, therefore for the whole thing to work it would require you to have the lever on.

I've no idea if there's an even simpler way to make automated "turrets" but this, so far, is pretty much working. I'll try to come up with a way to make it work at nights automatically.
MAKAIROSI Aug 28, 2022 @ 1:23pm 
You can certainly use this to have boxed gates with flame traps and a sensor, connected to a single lever, so when raided, turn the lever on until they're all dead.

EDIT: The whole idea with the pressure plates and increasing/decreasing the number of villagers that are out/in to automate the defenses is really complicated, and I'm not gonna continue trying to make it work due to the way the game was designed.

Since it's impossible (right now) to get a signal from the clock, and the max timer u can put is 200 ticks (10 secs) it's also impossible to auto-activate defenses at night.

So there's only really one viable option, to flip the lever yourself. Or to leave it on and pray your villagers aren't outside when the traps get activated. But yeah, I ain't working on this any more, I'll just do the lever thing myself.
Last edited by MAKAIROSI; Aug 28, 2022 @ 4:11pm
Marinxar May 14, 2023 @ 8:26am 
This should be pinned I think. Was struggling getting my traps to work, as it's not obvious that you should use different colour wiring from your sensors, to the timer, and from timer to traps.
Lashawna Dec 20, 2023 @ 11:27am 
Originally posted by Marinxar:
This should be pinned I think. Was struggling getting my traps to work, as it's not obvious that you should use different colour wiring from your sensors, to the timer, and from timer to traps.
I agree, although, I'm sure, like myself, as you read your words, you too probably appreciated how simple it is now. It's not like the wire powering your computer and the wire to your keyboard are the same thing, and I have to laugh at myself for not seeing that, in the game.

Thank you for the help!
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: May 11, 2022 @ 1:34pm
Posts: 9