How Utility AI Helps NPCs Decide What To Do Next | AI 101 @AIandGames
How Utility AI Helps NPCs Decide What To Do Next | AI 101  @AIandGames
Uploaded September 2021 | Updated November 2026, 2 days ago
Support AI and Games on Patreon to get your name in the credits, early-access and more:
patreon.com/ai_and_games
--

Sometimes the AI in a videogame has lots of perfectly valid actions it can take, but deciding which one can be quite difficult. Utility AI is one approach to help solve it, by calculating how useful that action is based on the current context. We look at how it works, some simple calculations and how games ranging from @electronicarts's 'The Sims', all the way to @CreativeAssembly's 'Total War' series, adopt Utility AI in their games.

[00:00] Intro
[01:02] Why do we need Utility AI?
[04:21] Calculating Utility
[06:39] Utility AI in AAA Games
[14:46] Closing

If you're interested in learning more about Utility AI, check out these reading materials and related links:

"An Introduction to Utility AI Theory" - Game AI Pro v2
gameaipro.com/GameAIPro/GameAIPro_Chapter09_An_Introduction_to_Utility_Theory.pdf

"Behavior Decision System: Dragon Age Inquisition’s Utility Scoring Architecture" - Game AI Pro v3
gameaipro.com/GameAIPro3/GameAIPro3_Chapter31_Behavior_Decision_System_Dragon_Age_Inquisition%E2%80%99s_Utility_Scoring_Architecture.pdf

"Intrigue & Betrayal: Diplomacy AI in Total War Three Kingdoms", Csaba Toth and Duygu Cakmak, GDC 2021

"Analysing AI Behaviour in Total War | Creative Assembly and BAFTA Games", Csaba Toth and Duygu Cakmak
youtube.com/watch?v=2NM78eM_yME&ab_channel=CreativeAssembly

All music in this video is from TeknoAxe
teknoaxe.com

--
AI and Games is a YouTube series on research and applications of Artificial Intelligence in video games. It's supported through and wouldn't be possible without the wonderful people who support it via Patreon and YouTube memberships.

patreon.com/ai_and_games
youtube.com/channel/UCov_51F0betb6hJ6Gumxg3Q/join

--
You can follow AI and Games on Twitter:
twitter.com/AIandGames

Join me for live streams over on Twitch:
twitch.tv/aiandgames

Join our Discord Community:
bit.ly/AIandGamesDiscord

Get yourself an AI and Games t-shirt over on Teespring!
teespring.com/stores/aiandgames
How Utility AI Helps NPCs Decide What To Do Next | AI 101Why is It Difficult to Make Good AI for Games? | AI 101Why Adding Bots to Fortnite Was a Great Idea | Design DiveA Lazy Afternoon Playing Resident Evil: Requiem | LivestreamML Move: Leaning on the Bad Parts of Generative AIWhy Earth Defense Force is the Perfect Videogame - with guest Rami Ismail | Design DiveMLMove: The LLM Trained to Play Counter-Strike | AI and Games #81Is Generative AI the Future of Game Development? | Artifacts #02That time Alien: Isolation was leaked by a politician!Our Favourite Games from AI and Games Jam 2021The Thrill of Monster Hunter | Design DiveHow Barks Make Videogame NPCs Look Smarter | AI 101
AI and Games |

How Utility AI Helps NPCs Decide What To Do Next | AI 101

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER