Mythruna

General Category => Announcements => Topic started by: pspeed on June 22, 2012, 12:00:32 AM



Title: AI-related video...
Post by: pspeed on June 22, 2012, 12:00:32 AM
Finally some visible progress on the AI.  Not much, but it's something.

http://www.youtube.com/watch?v=zXUR-GG3rrw&feature=plcp

The adaptive pathfinding took me longer to get working than I would have liked.  I've written other systems also, they just don't demo well without some of the other parts tied together.

Hopefully there will be some more videos soon... and at some point, I'll probably let donators play with my little AI prototype app in the video.


Title: Re: AI-related video...
Post by: BenKenobiWan on June 22, 2012, 09:26:48 AM
Awesome. I was a little confused by what you said when they got stuck. The algorithm knows they're stuck, but just doesn't do anything about it yet? Is that what you mean?


Title: Re: AI-related video...
Post by: pspeed on June 22, 2012, 09:40:43 AM
Awesome. I was a little confused by what you said when they got stuck. The algorithm knows they're stuck, but just doesn't do anything about it yet? Is that what you mean?

Yeah.  Part of the way it moves the entity knows exactly how far away "where they are supposed to be" is.  So those little guys that were stuck, every time they tried to move they already knew they were many blocks away from where they should have been if they'd followed the ideal path.

A real AI would use this to decide which actions to plan next.  Simply finding another path may not be the right answer.  For example, if they were trying to catch some target but then got stuck and that other target is now in a place they can't get to easily then they might pick a different strategy.

It would have been pretty simple for me to just "repath" them when they got stuck for the demo but I wanted to emphasize that I hadn't added any intelligence to the adaptive path finding.  It's using a fairly simple and extremely dumb approach that just happens to work pretty well.


Title: Re: AI-related video...
Post by: Moonkey on June 22, 2012, 02:46:43 PM
Awesome. I was a little confused by what you said when they got stuck. The algorithm knows they're stuck, but just doesn't do anything about it yet? Is that what you mean?

Yeah.  Part of the way it moves the entity knows exactly how far away "where they are supposed to be" is.  So those little guys that were stuck, every time they tried to move they already knew they were many blocks away from where they should have been if they'd followed the ideal path.

A real AI would use this to decide which actions to plan next.  Simply finding another path may not be the right answer.  For example, if they were trying to catch some target but then got stuck and that other target is now in a place they can't get to easily then they might pick a different strategy.

It would have been pretty simple for me to just "repath" them when they got stuck for the demo but I wanted to emphasize that I hadn't added any intelligence to the adaptive path finding.  It's using a fairly simple and extremely dumb approach that just happens to work pretty well.

Mind is blown to chunks. Reminds me of Stalker Call of Chernobyl.


Title: Re: AI-related video...
Post by: Teknonick on June 23, 2012, 10:33:49 AM
UUG Paul! You need to release chickens doing the bug dance into Mythruna! I want my house to be invaded by super smart chickens!!!!


Title: Re: AI-related video...
Post by: Thanos on June 23, 2012, 02:25:47 PM
cool stuff smart chickens :P


Title: Re: AI-related video...
Post by: Teknonick on June 24, 2012, 04:00:26 PM
cool stuff smart chickens :P
*A Smart Chicken army arrives at your castle gates*
*A guard opens the gates and runs down there to see whats going on... He is killed and within the hour your whole castle is taken over*
*The Chicken Lord, Paul, decides to burn the Castle, and the chickens DESTROY IT WITH TNT AND NUKES AND LAZORS!!!*
*After you respawn*: Holy *Poo*.... RAGE QUIT!


Title: Re: AI-related video...
Post by: Thanos on June 25, 2012, 06:41:45 AM
hahaa those must be some really evil chickens :P


Title: Re: AI-related video...
Post by: Teknonick on June 25, 2012, 10:50:50 AM
Um, you didn't even try to save your castle?