| Mirage Source http://miragesource.net/forums/ |
|
| AI Walking Video http://miragesource.net/forums/viewtopic.php?f=208&t=3087 |
Page 1 of 1 |
| Author: | Rezeyu [ Wed Nov 28, 2007 10:31 pm ] |
| Post subject: | AI Walking Video |
Flash SWF Version AVI Video Version Both the same clip, so choose your poison. Anyways, ignore any blue coloring, my camtasia is acting up, having compatibility issues with my video card. Anywho, to explain: The NPC on the left, is 'advanced' the one on the right, is the default AI from MSE 1. If you watch, the one on the right bumbles around, randomly walking, in random directions; whereas the one on the left walks in a straight line, like someone with purpose, only changing if an obstacle impedes him. Now it's far from complete.. but I just wanted to get a video out there. |
|
| Author: | Robin [ Wed Nov 28, 2007 10:57 pm ] |
| Post subject: | Re: AI Walking Video |
Still looks completely random and stupid. |
|
| Author: | Rezeyu [ Thu Nov 29, 2007 12:08 am ] |
| Post subject: | Re: AI Walking Video |
It's using a modified variant of the A* Algorithm.. Either way, I changed the distance check integer to 10 instead of 14, so path choices are 'smarter' now: SWF |
|
| Author: | Vans [ Thu Nov 29, 2007 4:01 am ] |
| Post subject: | Re: AI Walking Video |
Cooler, but its still kinda slow |
|
| Author: | Rezeyu [ Thu Nov 29, 2007 4:02 am ] |
| Post subject: | Re: AI Walking Video |
50% walking chance, no self preservation instinct, so it's aimless atm. Threat assessment and Self preservation instincts are active now, but I haven't done the non-combat type behaviors, other than NPCs will group together. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|