Jump to content




Remote Controlled Turtles (RCT) by 44shades44 [v1.0b]

turtle wireless utility

9 replies to this topic

#1 44shades44

  • Members
  • 17 posts

Posted 28 March 2014 - 12:00 PM

Hey guys! This is just something I've been working on recently.

Current Features:
  • Just move, Move and dig, or just dig up, down and forward!
  • Move backwards! :o
  • Turn! Woah!
  • Refuel (from slot 16)
  • Place blocks up, down and forward!
  • Attack up down and forward!
  • Slick UI
  • Slicker PDA UI (Thanks Aus4000)
  • Bugs
v1.0b(current):
Spoiler

Planned features:
Spoiler

Previous versions:
Spoiler

Edited by 44shades44, 04 July 2014 - 09:52 AM.


#2 44shades44

  • Members
  • 17 posts

Posted 31 March 2014 - 07:28 AM

I should fix refuelling...

#3 aus4000

  • New Members
  • 2 posts

Posted 04 April 2014 - 08:35 AM

OK, I changed some things to be a tad bit more compatible with the new PDA's introduced in 1.6 :)

This starts from line 31 to the end:
function controls()
  sleep(1)
  term.clear()
  term.setCursorPos(1, 1)
  if pocket then --This part revamped for PDA's by Aus4000
    print[[
		   RCT
	    Controls:
   +------------------+
   |Action|F|B|L|R|U|D|
   +------+-+-+-+-+-+-|
   |Go/Trn|W|S|A|D|R|F|
   |Mine  |M|#|#|#|T|G|
   |GoMine|^|#|#|#|Y|H|
   |Place |<|#|#|#|U|J|
   |Attack| |#|#|#|X|C|
   +------------------+
   |Refuel:Z (Slot 16)|
   |Select-a-slot:1-8 |
   +------------------+
	  By 44shades44]]
  else
   print[[
		   Remote Controlled Turtles (RCT)
					  Controls:
	    +-------------------------------------+
	    |Direction  |  F  | B | L | R | U | D |
	    +-----------+-----+---+---+---+---+---+
	    |Go/Turn    |  W  | S | A | D | R | F |
	    |Mine	   |  M  | # | # | # | T | G |
	    |Mine & Go  | Up  | # | # | # | Y | H |
	    |Place Block|Enter| # | # | # | U | J |
	    |Attack	 |Space| # | # | # | X | C |
	    +-------------------------------------+
	    |Refuel: Z  | Select slot 1-8: 1-8    |
	    |Turtle refuels from slot 16 (last 1) |
	    |Turtle selects slot 1 after refuel   |
	    +-------------------------------------+
				    By 44shades44]]
  end
end
term.setCursorPos(1, 1)
if pocket then --also added by Aus4000 for PDA's
rednet.open("back")
RCTC()
else
print("What side is your modem on?")
rednet.open(read())
RCTC()
end


#4 McDonald072

  • Members
  • 8 posts

Posted 04 April 2014 - 06:27 PM

Sorry if that's an obvious question, but what's the use of RC turtles?

#5 aus4000

  • New Members
  • 2 posts

Posted 05 April 2014 - 06:26 AM

It's a fun way to get used to the turtle API. Also, me and my friends have been known to turn them into battlebots.

#6 TheDoctor

  • New Members
  • 2 posts

Posted 08 April 2014 - 04:23 AM

I was wondering, (quite new so if this is an obvious or stupid question please forgive me :D), is there some way to look through a "Turtle's Eye View"?

#7 McDonald072

  • Members
  • 8 posts

Posted 08 April 2014 - 07:18 PM

Nah, it would be very cool if it was possible :/

#8 TheDoctor

  • New Members
  • 2 posts

Posted 09 April 2014 - 11:02 PM

Ok thanks.

#9 44shades44

  • Members
  • 17 posts

Posted 04 July 2014 - 06:58 AM

Wooooo!
Say hello to 1.0b
It's been a while but I finally got around to updating this project!
Enjoy finally being able to refuel.
Also added ability for turtle to talk back to the computer.
Thanks a bunch Aus4000 for your smaller PDA UI layout. (Please use the code tag next time though :P)
Might actually put some more time into this now. :P

#10 44shades44

  • Members
  • 17 posts

Posted 04 July 2014 - 07:06 AM

Okay so after a bit of messing around with 1.0b, and some minor code changes, there is a small problem.
During the first 10 seconds or so, the turtle is quite slow to respond (almost a second delay), however after the 10 seconds it seems to be almost-instant. Don't know if this is just my computer or an actual bug. :S

EDIT: Seems to have something to do with the new refuel function :(. Whenever I leave and re-enter a computer, it goes slow until I refuel, then it runs fast again. Will release a "c" version when I figure out how to fix it :/

Edited by 44shades44, 04 July 2014 - 07:15 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users