This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
gustavowizard's profile picture

CC + Rednet Programmable Controller

Started by gustavowizard, 17 December 2014 - 04:56 PM
gustavowizard #1
Posted 17 December 2014 - 05:56 PM
hey guys,

im trying to set a simple system with ComputerCraft and MinefactoryReload here,

i got my computer sending a:
rs.setAnalogOutput("back", 1) - to fire cannon laser 1
rs.setAnalogOutput("back", 2) - fire nunmber 2


on the Rednet Controler i have:
1- Passtrough I/O U (coming from Up)
2- Equals Var 0 Const 1 = I/O D White color(out from Down)
3- Equals Var 0 Const 2 = I/O D Orange color

separetaed i can make them fire ok, but i cant make the computer send 2 analog signals at the same time can i? so im trying to set the rednet controller to shot the 2 signals at the same time; if i create a 3rd type of signal (analog 3 for example)
can i make the Controller to fire 1 signal to the both colors ? (white and orange) so both cannons will fire…
if not how could i do this?

thanks guys!
Bomb Bloke #2
Posted 18 December 2014 - 05:23 AM
With a regular redstone dust trail, if you stick a torch next to it (to make it all glow "active"), you'll notice that as the signal leads away from the torch it gets darker and eventually conks out altogether (the first picture here shows a good example of this). The power of the signal is dropping - it's strong near the torch, and weak far away.

rs.setAnalogOutput() enables you to trigger a signal at a certain strength directly from the side of the computer that you specify. It's got nothing to do with triggering certain colours in bundled leads such as MFR's RedNet cables - for that you want rs.setBundledOuput().

Take a read through this script here, it should fill in the gaps for you.