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

TURRTLE [HELP]

Started by rawrxemoxx, 20 November 2012 - 08:23 AM
rawrxemoxx #1
Posted 20 November 2012 - 09:23 AM
Hello everyone i am new and was wondering how you might make a controllable turrtle
that’s can build arrow dispensers turrets, set fire to houses, place lava, build a preprogramed trench, build walls
with holes in them to allow strategic defense, place tnt,place tnt strategically using Redstone wiring and have
a self-destruct button for a nuke this will have a in screen map that would look like this
——————————————————————
- - BUILD WALL -
- - BUILD TRENCH - THIS IS THE INTERFACE PART OF THE SCREEN
-LLLL - PLACE TNT - YOU CONTROLE EVRYTHING ON HERE
-LLL P - BUILD TURRET - MAP IS SHOWN AT ALL TIMES
-LLLLL - FIRE -
-LLLLL x - PLACE LAVA -
-LLL W x - -
-LL WWW x - -
-L x WWW - -
- T - - Ok so basically
- P - - that’s the in screen mini map
- X - - - - - - - ——– T=TURRTLE
- - - (MAP - L=LAVA
- - - CORDNITS) - P=PLAYER
—————————————————————— X=OBJECT IN THE WAY SUCH AS A TREE
W=WATER
MAYBE SOMEHOW MAKE A BETTER MAP FOR UNDERGROUND DIGGING
BUT AS I AM NEW I DONT KNOW WHAT U CAN AND CANT DO
AND SOMEHOW MAKE A REFRESH MAP BUTTON MABY
SO THE CONTROLES I WISH TO HAVE ARE
REFRESH MAP=R
MOVEING AROUND=WASD
SO IF SOMEONE COULD HELP ME BUILD THIS I WOULD BE GRATEFULL PLEASE GO INTO GREAT DETAIL ON
HOW IT WORKS I AM DOING THIS TO LEARN MORE ABOUT THE LUA SCRIPTING YOU MAY TAKE FULL CREDIT FOR THE IDEA
IF YOU WISH THANKS <3
(PS IM BUILDING A WAR TURRTLE ANY IDEAS AND SUGGESTIONS ARE WELCOME >.> CUZ I REALLY DONT KNOW WHAT IM DOING AT ALL)THANKS GUYS <3
Bubba #2
Posted 20 November 2012 - 09:31 AM
If your question is "Is this possible", then yes it is. If you are asking someone to write this for you, then this is not the right section of the forum for it. If you want help writing this, you need to post some code before anybody will help you. We need to see that you've at least tried to do something. There are so many excellent lua/computercraft tutorials on this forum that im sure within no time at all you would be able to code this completely by yourself.
bjornir90 #3
Posted 20 November 2012 - 09:36 AM
First please stop caps spamming it make reading harder. Second I think you could use a table to store the map data. [Suggestion] I think you can use the mapper peripheral, see the peripheral section, it will allow to make a map easier than with a turtle :(/>/>. Then you can send the map the mapper has made using a remote program, like the one I made, see the programs section :(/>/>.