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

Turtle Bombing Run Program

Started by hamish1001, 23 March 2012 - 06:53 PM
hamish1001 #1
Posted 23 March 2012 - 07:53 PM
SpoilerHow can i make to bombing run program i cant work it out lol and how can i controll 6 turtles at once? :(/>/>
PatriotBob #2
Posted 23 March 2012 - 08:10 PM
I'm not sure if a turtle placed tnt block is automatically lit or not, but I imagine not… so that might be a bit of an issue…

As for controlling 6 turtles at once, using wireless turtles and wireless addon to the computer you can send messages via rednet to the turtles by ID.
This gives them a limited range and is fairly rudimentary in scope, but it conveys the idea.
Anything more complex is moving into the realm of setting up wireless repeaters, inter-turtle communication and things better left until you have a firm grasp on turtles and rednet in general.
Dirkus7 #3
Posted 23 March 2012 - 10:48 PM
You can try this for the bombing:

Rs.setOutput("front", true) –activates redstone
While true do – start infinite loop, you can change it to a finite loop
Turtle.place() –places a block, in your case tnt, tnt automaticly activated by redstone :(/>/>
Turtle.forward() – go forward
End – end infinite loop

Hope this helps you :)/>/>
hamish1001 #4
Posted 23 March 2012 - 10:52 PM
You can try this for the bombing:

Rs.setOutput("front", true) –activates redstone
While true do – start infinite loop, you can change it to a finite loop
Turtle.place() –places a block, in your case tnt, tnt automaticly activated by redstone :(/>/>
Turtle.forward() – go forward
End – end infinite loop

Hope this helps you :)/>/>

it works thanks :)/>/>
hamish1001 #5
Posted 23 March 2012 - 10:57 PM
i put it in my programs thread dont worry i said you made it :(/>/>
its called Hamish1001 programs look at it :)/>/>

anyway thanks for helping me
hamish1001 #6
Posted 23 March 2012 - 11:01 PM
one problem it doesnt move :(/>/> :)/>/>
Dirkus7 #7
Posted 24 March 2012 - 10:25 PM
I now see it doesn't move, try this:

rs.setOutput("bottom", true) –activates redstone
while true do – start infinite loop, you can change it to a finite loop
turtle.placeDown() –places a block, in your case tnt, tnt automaticly activated by redstone
turtle.forward() – go forward
end – end infinite loop
Wolvan #8
Posted 24 March 2012 - 10:53 PM
You can use my modified Version of Dirkus7's Remote Turtle and control an infinite amount of turtles with a computer :(/>/>
hamish1001 #9
Posted 24 March 2012 - 11:05 PM
a link would be nice :(/>/>
Dirkus7 #10
Posted 25 March 2012 - 11:16 PM
here you are: http://www.computercraft.info/forums2/index.php?showtopic=194 :o/>/>