Wednesday, August 29, 2007

May not look like much, but she's got it where it counts, kid


Norman really shook the socks off of Skeleton. As you read in a previous post, I put in some ragdoll stuff to animate him while he's flying in the air like that, but it's still broken. Still not sure how to fix it.

BUT...

Good things have been happening in the world of AI. I've been working hard on getting guys to take cover, and finally have stuff to show. woohoo!





I know it looks like the Skeleton is just doing a sidestep jig, but what he's actually doing is quite complicated. Besides his normal AI, here's what he's doing:

* Looking around for cover
* When he finds it, he runs to it
* While at cover, he waits a while, and then jumps out to shoot Norman
* Once he's done shooting, he runs back to cover
* If he can't find cover, he charges Norman like a Normal guard.

For some reason, he's having problems shooting once he runs out of cover. I'm still working on how to fix that. But he's up to a great start!

Next!

The AI still has a fairly long way to go. Once he can shoot after he leaves cover I've got to get him to do this stuff:

* Check to see if Norman can see him from the cover he's looking at. If so, he won't run to that cover.
* While he's in cover, check to see if Norman can see him. If so, that means it's time to move.

Once I get all that stuff done, I think the AI Cover will be pretty close to being done.

No comments: