Jump to content




SMART AI movement based AI 5.0


  • You cannot reply to this topic
21 replies to this topic

Poll: Features? (9 member(s) have cast votes)

What Should be added?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Vote Guests cannot vote

#1 tom2018

  • Members
  • 135 posts

Posted 21 October 2012 - 07:17 PM

Hello Today i will be showing you my kindof intelligent AI for turtles.
With This AI turtles will
  • make bridges over ravines if they have enough blocks.
  • Redesign the world....
  • Find paths through ANYTHING
  • create odd structures
  • And Much More
  • YOU CAN NOW ATTACK!
Posted Image
Pastebin ID is zcXPSq71
Please give credit
!WARNING! DO NOT USE ON ANY WORLD OF SOME IMPORTANCE SMART AI HAS NO MERCY!
First Program i am posting please give feedback!

#2 ChunLing

  • Members
  • 2,027 posts

Posted 21 October 2012 - 08:14 PM

hah, this turtle just runs around randomly griefing! Kinda fun, but definitely not something to release near your base.

#3 tom2018

  • Members
  • 135 posts

Posted 21 October 2012 - 09:00 PM

Well it does say dont leave on an important world...

#4 ChunLing

  • Members
  • 2,027 posts

Posted 21 October 2012 - 09:15 PM

You should make it so that they get GPS signals and try to move back towards the GPS hosts if they are getting too far away. Otherwise they'll eventually just run off to unloaded chunks.

#5 tom2018

  • Members
  • 135 posts

Posted 21 October 2012 - 09:24 PM

hmm thats a good idea
what if the turtle eats the gps host?!

#6 ChunLing

  • Members
  • 2,027 posts

Posted 21 October 2012 - 11:01 PM

You can also make it so that the turtles try to stay between levels 1 and 100. Just put the hosts above that.

#7 tom2018

  • Members
  • 135 posts

Posted 22 October 2012 - 06:53 PM

hmmm true it likes to stay at ground level(its coded that way ) and the chances of its random choice maker building stairs up there are 1 in a very large number

#8 Ditto8353

  • New Members
  • 138 posts

Posted 22 October 2012 - 07:15 PM

They should make little houses :3
Code them to like spending time with each other and then it will be like a little ant farm, but with turtles.

Edit: If you can teach them to live in little Turtle colonies I will devote my old computer to running this 24/7
Better than television.

#9 tom2018

  • Members
  • 135 posts

Posted 22 October 2012 - 07:20 PM

umm the houses will be implemented in 6.0 and I can add a special burrowing version for ant farms ext.
I just updated to 5.0 attacking implemented!

Edited by tom2018, 22 October 2012 - 07:20 PM.


#10 tom2018

  • Members
  • 135 posts

Posted 22 October 2012 - 07:55 PM

anyone have lua programs that build things that i could put inside of this? I will give anyone who does this credit.

#11 ChunLing

  • Members
  • 2,027 posts

Posted 22 October 2012 - 09:09 PM

You mean like take a blueprint and build it type programs or build a set pattern type programs?

#12 tom2018

  • Members
  • 135 posts

Posted 22 October 2012 - 09:38 PM

Build a blueprint programs but I would like an easy way to make blueprints.

#13 ChunLing

  • Members
  • 2,027 posts

Posted 22 October 2012 - 11:18 PM

Well, to make a blueprint you just need to implement a table of tables of tables of inventory slot values. Each table represents an axis, and you have your turtle move along and place the block that is contained in the table[x][y][z] of the current placement position. For max fuel efficiency, you have your turtle tunnel (dig, digUp, digDown), about face and place[Up/Down], then about face again. But simply backing through an already cleared area and doing a single place at a time is a bit simpler to code. I'll probably code one like that myself eventually, if I get serious about the automated machine nation. I'm sure I've seen people discussing them on the forum.

To get the very best efficiency for building, you need to use a set pattern of movement and placement, so that you don't waste time moving about to areas where there is nothing to place. But that means coming up with a different movement algorithm for each different design.

#14 tom2018

  • Members
  • 135 posts

Posted 23 October 2012 - 06:59 PM

i am not very advanced at that kind of stuff but when you make yours if you do could i implement it? and could it read from a program file in resourcesdesignname so that people could easily add their own templates and overwrite existing ones without messing with the main code.

#15 ficolas

  • New Members
  • 30 posts

Posted 23 October 2012 - 08:13 PM

I made something like so some time ago, but it only griefed when is ungry (it have been alot of time hungry(fuel))

#16 ChunLing

  • Members
  • 2,027 posts

Posted 23 October 2012 - 10:33 PM

I guess the blueprints could be stored in serialized files, and then you could have a blueprint builder that took the blueprint file name as a parameter. You know, this seems useful enough that if I can't find a program like that (I'm sure I've seen them) then I might go ahead and do one up. I've been putting it off till I got to work on a master controller, since I usually just use gox to give building instructions.

#17 tom2018

  • Members
  • 135 posts

Posted 17 November 2012 - 10:37 AM

a few got out on my friends server....
Posted Image

#18 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 17 November 2012 - 10:38 AM

View Posttom2018, on 17 November 2012 - 10:37 AM, said:

a few got out on my friends server....
Posted Image
And that's the risk you run with turtles. :)/>

#19 tom2018

  • Members
  • 135 posts

Posted 17 November 2012 - 12:02 PM

View Posttiin57, on 17 November 2012 - 10:38 AM, said:

View Posttom2018, on 17 November 2012 - 10:37 AM, said:

a few got out on my friends server....
Posted Image
And that's the risk you run with turtles. :)/>
hehe about that the got out was more like placed a disk drive that auto created them near spawn

#20 meeko011

  • Members
  • 31 posts

Posted 18 November 2012 - 09:55 AM

It would be cool if they collected data automatically so then they could remember the start point and where trees are and stuff then the owner could give it coords.
Also have it so that the first time you run it, it asks for you to enter a password then the only way to shut it down or control it would be to use the password.
It would be fun to walk along then find a turtle house with a little turtle that acts jsut like a player. Getting his own supplies and wood.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users