Improved NeoAxis A.I. using WaypointNavigationSystem

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,666
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 30, 2009

Early testing in trying to come up with something abit more advanced than the current line of sight system that comes by default with the engine. It works good in open planes but on multi-floor environments or maps with alot of corners and clutter it's very easy to get lost (for the enemies).

The solution is to keep track of every waypoint near the player based on distance, the closest one is what you see this red arrow pointing at as the player moves around on the map.

Next was make a special enemy type called 'WaypointEnemy' which for now won't attack us for testing purposes. But he will start to follow you if you make him take damage at all. We have it setup to actually attack the player but after having worked on this for 3 days I forgot to turn them back on...

Long story short when I shoot our new friend he chases me to the ends of the earth. He will pursue inside of buildings, outside when trying to hide in a garage. The next step we think will have to be something like adding special waypoints so enemies know where cover is, health, weapons, etc.

Looking past that I would say maybe making other enemies self-aware of other enemies on the same waypoint system so they can work together. This could prove interesting to see zombies trying to flank the player or block his exits, run away and get help, get a biggger gun, etc.

This was a good first step I think in making the enemies in Episode 2 and beyond not as dumb the first time around. :)

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (CrystalStudio)

  • Would set up a navigation mesh instead of using waypoints way more realistic ;) but still you did a very nice job :D

  • @lRever When we built this we did not know about nav mesh and now we do, so talk about re-inventing the wheel we are still in the process of phasing this tech out but it's interesting how we came to some of the same solutions.

  • Now for LOS and Waypoint.

  • @Jimmg3point0 LOS?

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • interesting

  • @CrystalStudio Line of Sight. What I meant was that it would use both.

  • looks allright

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more