You've been logged out of GDC Vault since the maximum users allowed for this account has been reached. To access Members Only content on GDC Vault, please log out of GDC Vault from the computer which last accessed this account.

Click here to find out about GDC Vault Membership options for more users.

close
Session Name AI-driven Dynamic Dialog through Fuzzy Pattern Matching. Empower Your Writers!
Speaker(s) Elan Ruskin
Company Name(s) Valve Corporation
Track / Format Programming
Overview

"Pills here!" "There's a zombie behind you, Bill!" Characters that understand and remark on their circumstances add a lot to a game, but as state and dialog possibilities grow numerous, selecting one line out of thousands with an immense if/else script becomes daunting. This talk details Valve's system for using hundreds of facts about the world in a fuzzy pattern match against a database of thousands of possible lines to create responsive, dynamic dialog in Left4Dead and other titles. We'll show a simple, uniform mechanism for tracking thousands of facts and possibilities, allowing intelligent characters to remember history, cascade from special to general cases, and select the optimal dialog, script, behavior, or animation for every situation. Most importantly, a friendly interface provides writers creative freedom to make special cases, running gags, and track additional facts without forcing programmers to change thousands of lines of code.

GDC 2012

Elan Ruskin

Valve Corporation

free content

Programming

Programming



UBM Tech