![]() For more info on setting up a GPS host, check out this guide on the ComputerCraft forums. On each computer's startup file, you are going to want to put the following code: n("gps","host",x,y,z), where x,y,z are the coordinates of the computer itself (be careful with the y-coordinate if your feet position while standing on the computer is 256, the computer itself is actually at 255). I have found that this configuration works the best for a GPS host cluster. Get yourself to build limit with your Computers, Wireless Modems, and blocks. The GPS host cluster works more effectively the higher up it is, so that is why we put it at the build limit. To do this, you will need a Wireless Turtle, 4 Computers, 4 Wireless Modems, and some blocks to get up to build limit. It will allow you to write code to send a turtle to a specific set of coordinates, or to return its current XYZ position in the world. The GPS API built into ComputerCraft can prove to be very useful here. ![]() Let's say you wanted to implement a home position for general use for a turtle (Wireless Turtles only). In order to implement this, you could do as you suggest and simply perform the reverse of the steps it took, however, that is not really restart-robust. Natively, no, a turtle does not remember its "starting" position.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |