Tutorial/Turtle Bomber: Difference between revisions
Mastergalen (talk | contribs) m (1 revision) |
(No difference)
|
Latest revision as of 01:13, 25 December 2012
This is a tutorial on how to make a bomber plane that can drop detonated explosives on your industrial rivals/enemies/people you don't like with a ComputerCraft Turtle.
Raw Materials
You will need:
- 21 Smooth Stone
- 6 Glass
- 5 Redstone
- 8 Wooden Planks
- 7 Iron
- 3 Sugar Cane
Preparations
- Make some glass panes from the 6 glass, a chest from the 8 planks, and paper from the 3 sugar cane.
- Craft two Consoles using 7 stone, 1 glass pane, and 1 redstone, and place one down.
- Craft a Disk Drive using 7 stone and 2 redstone, and place next to the console.
- Make a Floppy Disk by putting 1 redstone dust over 1 paper in the crafting grid, then insert it into the Disk Drive.
- Assemble a Turtle using 7 iron, 1 Console, and 1 chest, and keep it in your inventory for now.
- Make at least 3 TNT/Nukes/Nova Catalysts or whatever explosive blocks you want to bomb with, and keep it for later
Instructions
Now to the meat of the tutorial.
1. In the console, go to the disk using "cd disk"
2. Type in "edit Bomber"
3. Now it gets tricky. If you don't feel like writing the code yourself, just copy it:
v = 1 repeat turtle.forward() v = v + 1 until v > (frog) turtle.placeDown() redstone.setOutput("bottom", true ) sleep(0.1) redstone.setOutput("bottom", false ) repeat turtle.forward() v = v + 1 until v > (toad) turtle.placeDown() redstone.setOutput("bottom", true ) sleep(0.1) redstone.setOutput("bottom", false ) repeat turtle.forward() v = v + 1 until v > (rana) turtle.placeDown() redstone.setOutput("bottom", true ) sleep(0.1) redstone.setOutput("bottom", false ) repeat turtle.back() v = v - 1 until v < 2
4. Press Ctrl to go to the menu and save it.
- Frog = The amount of space between bomb drops.
- Toad = Frog x 2 - 1
- Rana = Frog x 3 - 1
- What this code will do is that it will drop TNT 3 times, then return to home base.
5. Take the Floppy Disk out and pick up the Disk Drive with a pickaxe (stone or better)
6. Make a platform high up, and place your Disk Drive down on it, along with the Turtle next to it.
7. Insert the Floppy Disk back into the Disk Drive. Now open the Turtle.
8. From here, it's just like the Console, albeit with some differences. Place the explosives you made earlier in the top left corner of the Turtle's storage. Then, in the prompt, type in "disk/bomber"
9. If you did everything right, the Turtle should fly away in the direction you placed it (albeit a bit slowly) and start dropping explosives at regular intervals. Congrats! You've made a Turtle Bomber!