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

Auto wall builder

Started by Zs0lt, 27 June 2015 - 04:30 AM
Zs0lt #1
Posted 27 June 2015 - 06:30 AM
Hi All,

I've created a program which can automatically build walls of a building no matter how complicated it is.

You can get it from here:

pastebin get rcmQYjk8  WallBuilder 


Preparation:
Build the foundation, a continuous (no diagonal joints), closed curve, one block high mini wall.
Put a turtle on the foundation. Give fuel, put any building block to the lower right corner of the turtle's inventory. Put as many of the same building blocks into the inventory.

Run WallBuilder with the height of the wall parameter.
Guuguy #2
Posted 14 July 2015 - 11:36 PM
Really good program, easy to use and works rather well!

Edit: Found two problems which I believe to have fixed. 1. Line 224 you said how twice. 2. There is a error after you build more than one layer the turtle won't check if its on the wall anymore and will build off into the distance to fix this I changed Line 242 from playOneLevel() to recordOneLevel() and it seems to work!
Edited on 16 July 2015 - 05:48 AM
Yarillo #3
Posted 15 July 2015 - 08:03 AM
That's actually a very good idea and quite simple with that !
Edited on 15 July 2015 - 06:03 AM