AiGameDev.com

“Join leading experts and industry veterans in Paris on June 23-24 for the largest independent conference about artifical intelligence in video games.” — Alex

This article was published for AiGameDev.com Premium Members, available by subscription. You can join here in a minute or less. If you're already a member, log-in from the top right menu.

Dynamic Decisions: Building an AI that Can Change Its Mind

Alex J. Champandard

Your archers are engaging enemy cavalry from a distance using their ranged attack. The opposing forces harass you, the archers get a bit too complacent and move away from the protection of your infantry. Seeing the opportunity, the enemy cavalry charges suddenly! How do you make sure your archers or crossbowmen switch to their hand weapon to try to limit the damage?

Such problems come up very frequently in game AI. What do you need to do to make sure the AI can deal with changing its mind, for instance to switch between an attack that makes sense in one situation (e.g. ranged attack) vs. another attack mode that needs to be used otherwise (e.g. close combat)? How should you structure your behaviors to support such situations? This masterclass using examples from the indie game Mount & Blade to explain the solutions.



Access the rest of this feature by joining industry experts and other professionals as a Member in the leading Game AI training program.

3 + 1 Great Reasons to Join!

If you're dedicated to artificial intelligence and game development, here are the top three reasons for becoming a member:

  • High-resolution video recordings of masterclasses and interviews.
  • Expert reports distilled from the wisdom of industry veterans.
  • Industrial-strength source code examples, libraries and demos.

Of course, if you're not satisfied there's a 100% money back guarantee. Just email us and let us know what to improve, and we'll refund you.

Subscribe Now...