Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AI Walking Video
#1
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.
Reply
#2
Still looks completely random and stupid.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#3
Sad

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
Reply
#4
Cooler, but its still kinda slow
Reply
#5
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)