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

programming other computer/turtle from a turtle.

Started by metalim, 12 May 2013 - 02:31 PM
metalim #1
Posted 12 May 2013 - 04:31 PM
Is there any way to automate programming of other computer or turtle, if it's just placed and has no programs?
Basically, crafting turtle can:
1. craft another turtle.
2. place it into the world.
3. Now, how can it program it?
Lyqyd #2
Posted 12 May 2013 - 05:03 PM
Split into new topic.
KaoS #3
Posted 12 May 2013 - 06:15 PM
you have to place the turtle in the world, place a disk drive next to it (it can't be on the left side of the turtle if the turtle has a modem there), place a disk in the disk drive and create a startup file on the disk, then use the peripheral API to start the placed turtle up, it will then execute the startup file.

PLEASE NOTE you have to copy the disk/startup file to ./startup for the code to execute every time the turtle starts up
metalim #4
Posted 14 May 2013 - 02:51 PM
Excellent! It works. Thank you!