Jump to content

Recommended Posts

Posted

Hi, i have an issue with tekkit and I don't know how to solve this problem. I explain with a scheme you cand find here.

Tell me if you don't understand please, my english is not very good!

Thanks :)

Posted

You could use a redpower AND gate. If you leave the lever on, when your temperature monitor sends a signal to the AND gate, it will output redstone. If you turn the lever off, it won't.

You'll need to enable only 2 sides - the lever side, and the monitor side. This should be possible in the menu opened by right-clicking it.

Posted

i recommend using a (link->) computer to do this

computers allow you to code the most complex redstone circuits into the one block, saving space :D

use this code:


print("redstone node activated!")

while true do

local input="front"

local output="back" --change these to whatever sides you need, these redefine the string values for the sides to make it easier to code in

local rsout=rs.setOutput --i have just redefined the name of a function for easier coding

if rs.getInput(input) then --checks to see if there is a redstone signal from input side

rsout(output,false)

sleep(0.1) --small sleeps prevents lag and also prevents too long without yielding error which is caused by infinite loops with no breaks

elseif not rs.getInput(input) then

rsout(output,true)

sleep(0.1)

end

end

code tested, this is just a one way inverter, which from your description fits the bill of requirements

if you need any help with the code, or need it changed let me know :D

you can create the file for the code ingame using "edit <programname>" (no <>)

then press ctrl then press enter on [save] then press ctrl again and use the arrows to change to [exit]

before creating the program you may want to use "label set <comp name>"

why? because when you move and place your computer without a label, it reassignes to a new comp ID, first Comp in the level starts with ID 0

to find the id use "id"

then, in windows 7 go to start, type %appdata%

then navigate to .techniclauncher/tekkit/saves/<worldname>/<compID>

open the program you created in notepad

then copy and paste the code from above into the file and save, then type in the name of the program, i suggest setting the name of the program to startup, anything else and it wont start next time you load your level

we both know just how dangerous a reactor can be unattended ;) we don't want that, so use "edit startup" when you go to create the program

then come back ingame and use either "startup" or "reboot" and the program will start auto

Posted

It's a nice solution, but I can't use computercraft on this map, beacuse the guy who asked me to make it doesn't want (I don't know why, maybe server issues). So i have to do the circuit using only gates and redpower. lol

Thanks anyway :)

EDIT: NOR gate does not works. I need something like this.

TEMP MONITOR ---> CABLE1 --->ALARM ---> CABLE 2---> WIRELESS TRANSMITTER

I just need something (a gate or other stuff) that can "break" the CABLE 2 when i push a lever, so the input from the temp monitor will only activate an alarm, without switching off the reactor.

Posted

I haven't tested the AND gate, I'm too lazy, but if you can't disable one of the inputs, try putting a redstone torch on the side that doesn't have anything going to it.

Posted

ahh NOR gate is inpracticle for what he wants, he only wants to stop a certain part of the circuit, not reverse it..

i think the AND gate may be your solution ;)

EDIT: blah pressed the post button too late, oh well :D lol

Posted

I think NAND is actually more what you are looking for, if I understand correctly you want the thermal monitor to turn on the alarm and then turn on the automatic shutdown via the wireless transmitter, and then you want a lever to be able to turn the automatic shutdown off but leave the alarm intact, if i'm right in that then yeah you need a NAND gate in a configuration like this;

One input is from the thermal monitor, the other is from a lever, and the last one is from a redstone torch to keep that input always on, this screenshot is when the thermal monitor is activated but the lever is not (output remains on)

20130216121315.png

Then this one, you turn the lever on and the output will go off

20130216121329.png

Is that what you are looking for?

Posted

For this, the AND and NAND gate should work almost exactly the same - the only difference being the NAND gate stops the redstone when the lever is on, and the AND gate stops it when the lever is off. Just do whichever one suits you best, because it should make very little difference.

Posted

I tried AND gate and it worked. Thanks a lot guys ;)

I have another question, maybe i will open another theard: can i build an automatic refueling system without using ComputerCraft? Thanks again

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...