|
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
|
07-15-2008 08:04
Any suggestions on AI movement scripts?
|
|
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
|
07-15-2008 09:31
It depends on what you call "AI movements"...
LSL is rather limited in memory and fancy features but you can script some autonomous robots that perform some tasks and react to their environment. At least, that could be called "programmed behavior".
Open my profile in-world and go to my land (in the Picks). I have 3 little harvesters that work on a parcel (surrounded by red beams). IMHO, they show some interesting programmed behavior. I wouldn't call that "AI" but that's a good imitation.
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
Search for "Artificial Life"
07-15-2008 14:07
There are/were some long detailed scripts about animating little critters ala Boids and Flock. Lot of snippets of good scripts.
_____________________
So many monkeys, so little Shakespeare.
|
|
Ollj Fukai
Registered User
Join date: 4 Aug 2006
Posts: 5
|
07-15-2008 14:30
16k script limit doesnt allow much intelligence, also once it stack-heap-collides NOTHING can reset it via script. SLS script performance does not allow much intelligence, too. Gotta wait for mono.
Simplest thing is something that floats to a scanned target, usually the owner or toucher. Most "intelligence" can come from external sources, used for chat-bots, but there are low limits in communicating longer sentences. Maze generation and maze solving has been done alot, theres freebies for it. its relatively simple once you get the basic concepts. it IS possible to have some VERY BASIC and stupid pathfinding (beyond sinple mazes), but except memory limits only to allow a path of roughly 12 nodes length or risk script crashes by stack heap colisions. And even mono wont be able to compute, store or transmit an n^3 node-distance matrix for fast pathfinding (for knowing all shortest possible node distances) efficiently.
Whats left is the trickier task of object orientated multiprocessing, crerating an insect hive with a communication protocol, each individual simple and very limited but their interactions being very complex. As sayd, there are a few "swarm scripts", basic social interaction. This kind of intelligence seems feasible within sl.
|