139 posts
Posted 21 October 2012 - 08: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!
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!
2005 posts
Posted 21 October 2012 - 09:14 PM
hah, this turtle just runs around randomly griefing! Kinda fun, but definitely not something to release near your base.
139 posts
Posted 21 October 2012 - 10:00 PM
Well it does say dont leave on an important world…
2005 posts
Posted 21 October 2012 - 10: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.
139 posts
Posted 21 October 2012 - 10:24 PM
hmm thats a good idea
what if the turtle eats the gps host?!
2005 posts
Posted 22 October 2012 - 12:01 AM
You can also make it so that the turtles try to stay between levels 1 and 100. Just put the hosts above that.
139 posts
Posted 22 October 2012 - 07: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
136 posts
Posted 22 October 2012 - 08: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.
139 posts
Posted 22 October 2012 - 08: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 on 22 October 2012 - 06:20 PM
139 posts
Posted 22 October 2012 - 08:55 PM
anyone have lua programs that build things that i could put inside of this? I will give anyone who does this credit.
2005 posts
Posted 22 October 2012 - 10:09 PM
You mean like take a blueprint and build it type programs or build a set pattern type programs?
139 posts
Posted 22 October 2012 - 10:38 PM
Build a blueprint programs but I would like an easy way to make blueprints.
2005 posts
Posted 23 October 2012 - 12:18 AM
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.
139 posts
Posted 23 October 2012 - 07: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.
27 posts
Posted 23 October 2012 - 09: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))
2005 posts
Posted 23 October 2012 - 11: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.
139 posts
Posted 17 November 2012 - 10:37 AM
a few got out on my friends server….
1243 posts
Location
Indiana, United States
Posted 17 November 2012 - 10:38 AM
a few got out on my friends server….
And that's the risk you run with turtles. :)/>/>
139 posts
Posted 17 November 2012 - 12:02 PM
a few got out on my friends server….
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
34 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.
34 posts
Posted 18 November 2012 - 10:02 AM
What would be funny is if a turtle randomly spit wooden hoes everywhere lol. Or a function where if the turtle get's angry and starts a hoe factory with trees then fills a hole with hoes until the server starts to lag.
139 posts
Posted 21 November 2012 - 05:16 AM
What would be funny is if a turtle randomly spit wooden hoes everywhere lol. Or a function where if the turtle get's angry and starts a hoe factory with trees then fills a hole with hoes until the server starts to lag.
i am not sure it can carry that many hoes.