Mikelis' Blog

Player Expectations in AAA Character AI

hustling-ng

Player expectations is a big topic in games. Should your game features meet them, exceed them, or be strategically downscoped to make way for something else? Game designers consider these questions all the time.

But how do you meet player expectations for AAA character AI systems and behaviors? Here are are the lessons I learned in my 5 years of developing these characters.

Expectations

"Good" game AI design is elusive, but there are common traits players consistently appreciate.

Humanity

Anthropomorphization is the idea and process of making AI characters feel human-like in their fidelity and theatrics. Just as environment artists add realism through imperfection, AI characters can be given flaws to create authenticity and rapport with the player.

Common tricks of the trade include:

Even a few of these traits per character can make them engaging and memorable. Moreover, exaggerating them often adds drama and comedy.

Responses & Barks

Games like Tom Clancy's The Division feature tens to hundreds of AI character responses to the world and ongoing events. Most are just a bark and an animation, but each adds fidelity:

Games like Half-Life 2 and Counter-Strike: Source use radio chatter to make barks more effective. Many games ensure barks remain audible even when blocked by geometry or distance, because barks carry much of the illusion of intelligence and theatrics.

Persistence

Persistence is the tendency of AI characters to continue their current action, even when a new one might make more sense. Good AI commits to behaviors like idling, patrolling, investigating noises, holding cover, or moving to a location a few seconds longer than necessary, sometimes taking a second or two to react.

People don’t react instantly to weak stimuli; it takes time for awareness to build into action. Giving AI characters similar delays adds realism. Randomized delays also prevent them from looking synchronized and robotic.

Predictability

Predictability of allies, enemies, or sandbox characters helps players feel in control. Dishonored and Dishonored 2 show patrol paths or vision cones. Naughty Dog developers noted that building AI for Uncharted 4 required ensuring characters were predictable enough during searches. Many more games have given players "meta" powers to see AI states and awareness with UI icons on screen to allow a development of intuition for what the agents sense. All of it facilitates play and is generally quite enjoyable.

Players dislike AI that turns around and instantly spots them in stealth, but they enjoy setting traps opponents will reliably walk into. And of course, AAA grunts often hang out near big red explosive barrels.

barrel-ng

The displayed strategy doesn’t need to be good. It only needs to be clear and exploitable, so that the player is in control and emergent play is allowed.

Contrasts

Memorable AI characters often stand out through contrasts:

Adding a few strong contrasts between archetypes makes them easier to remember.

Hustling

Hustling is when AI characters subtly cheat in the player’s favor, often through distraction. Here are some ideas for making sure the player will win impressive fights:

Another trick is to arrange opponents in waves, with plenty of supplies and a relaxed pace overall, where the player doesn't have to focus on more than a few enemies at a time.

Buddy characters can hustle too. They may weaken enemies but leave the final blow to the player.

Fall-Backs

The worst AI behavior is "broken". Always give characters a fall-back so they never truly stop or T-pose. Use state validation through timeouts, thorough testing, and catch-all fall-backs where characters stand still but bark and fight based on game state.

Common edge cases developers overlook:

Depending on the characters, many more edge cases exist. In complex systems, graceful fall-backs are better than crashes. Unsafe states can still be flagged by assertions.

Conclusion

While building "good" game character AI involves much more than simply meeting player expectations, it is a good starting point. Commonly, players like to see humanity, responses, barks, persistence, predictability, contrasts, hustling, and fall-backs in game AI. With just these aspects considered and implemented, you are well on your way to building AAA-style character AI.

Want to learn more? Check out my other game AI development articles on this blog, where I talk about AAA-style game AI production and design. Or see these excellent community resources:


Special thanks to the following community contributors:

Giacomo Salvadori Co-editor

#Game AI #Game Design #Game Development