Story-Line and Drama in Video Games By Greg Brander.

Slides:



Advertisements
Similar presentations
Heuristic Search techniques
Advertisements

Digital Game-Based Learning Why and How it Works.
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
1 Interactive Fiction CIS 487/587 Bruce R. Maxim UM-Dearborn.
Interactive Storytelling for Video Games Chapter 13: The Argument Against the Supremacy of Player-Driven Storytelling Josiah Lebowitz Chris Klug.
Feature requests for Case Manager By Spar Nord Bank A/S IBM Insight 2014 Spar Nord Bank A/S1.
NPC Interaction in Video Games Robert Higginbotham.
Best-First Search: Agendas
Everything you need to know in order to set up your Reader’s Notebook
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Patterns in Game Design Chapter 9: Game Design Patterns for Narrative Structures, Predictability, and Immersion Patterns CT60A7000 Critical Thinking and.
From requirements to design
Personality Assessment. Goals 1.Understand the roles of personality assessment 2.Understand the main ways of assessing personality that have been proposed/developed,
Fundamentals of Game Design, 2 nd Edition by Ernest Adams Chapter 7: Storytelling and Narrative.
1 Soar as a Story Director Brian Magerko University of Michigan.
A Summary of the Article “Intelligence Without Representation” by Rodney A. Brooks (1987) Presented by Dain Finn.
Algorithms and Problem Solving-1 Algorithms and Problem Solving.
Algorithms and Problem Solving. Learn about problem solving skills Explore the algorithmic approach for problem solving Learn about algorithm development.
Director Agent Brian Magerko University of Michigan.
Creating Architectural Descriptions. Outline Standardizing architectural descriptions: The IEEE has published, “Recommended Practice for Architectural.
Universal Plans for Reactive Robots in Unpredictable Environments By M.J. Schoppers Presented by: Javier Martinez.
The Manager as Leader 3.1 The Importance of Leadership
Chapter 1 Program Design
Designing Characters for Computer Games Trends in Character Design June 4, 2002.
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
Video Games and Dialogue By Saim Zahid. Natural Language vs. Scripted Conversations.  Natural language refers to ordinary language as spoken or written.
Interactive Storytelling for Video Games Chapter 10: Open-Ended Stories Josiah Lebowitz Chris Klug.
Artificial Intelligence in Game Design Problems and Goals.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Simple Program Design Third Edition A Step-by-Step Approach
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
Interactive Storytelling for Video Games Chapter 7: Fully Traditional and Interactive Traditional Stories Josiah Lebowitz Chris Klug.
© American Association of Artificial Intelligence 2002 Sex, Lies and Video Games: An Interactive Storytelling Prototype Marc Cavazza, Fred Charles, Steve.
Topics for Today Task planning for non-player characters Coping with player character interactions and their effect on narrative In Hamlet on the Holodeck,
First Steps in Modularization Simple Program Design Third Edition A Step-by-Step Approach 8.
Skills that Build, Enhance or Maintain Self-Respect Part 1 Week Seven.
Illustrations and Answers for TDT4252 exam, June
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
I Robot.
Elements of Fiction. series of related events that make up the action of the story and give the story structure. What happens, to whom, and when. Plot.
Artificial Intelligence in Game Design Complex Steering Behaviors and Combining Behaviors.
Video Game Satisfaction with Adaptive Game AI By Aaron Elkin.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
F.E.A.R. Game AI Evaluation by Robert Rak. What is F.E.A.R. ? FEAR is a First Person Shooter game Player takes on the role of an elite strike force team.
Elements of a Narrative What is a Narrative: A narrative is a story containing specific elements that work together to create interest for not only the.
A Roadmap towards Machine Intelligence
GONE HOME Raisa Chowdhury. THE NARRATIVE STRUCTURE In a traditional narrative, the story goes from beginning to end through a generally linear timeline,
Management & Leadership
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
1 CO Games Development 1 Week 3 Game Agents 2 Gareth Bellaby.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
Elements of a Novel You will be tested on this…. Elements of the Novel:  PLOT  CHARACTER  POINT OF VIEW  CONFLICT  THEME.
AI Overview Logical and Artificial Intelligence in Games Lecture 1.
Investigate Plan Design Create Evaluate (Test it to objective evaluation at each stage of the design cycle) state – describe - explain the problem some.
Story composition Pt. 2 Game Design.
Personality.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Algorithms and Problem Solving
Elements of Narrative 7ELAB
Understanding yourself
Fundaments of Game Design
Artificial Intelligence
CIS 488/588 Bruce R. Maxim UM-Dearborn
Personality Styles The Big 5.
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
Algorithms and Problem Solving
Chapter 9: Creating the World of the play
Personality and Human Behaviour
Presentation transcript:

Story-Line and Drama in Video Games By Greg Brander

Outline of the Presentation Problems in video game drama Ideal Models Techniques for creating realistic NPC’s HTN Planning for game story lines Several examples of interactive drama in video games

Problems with Plot Development in Games Mostly linear story progressions Non-Reactive, scripted sequences Boundaries on player actions Lack of re-playability Unbelievable NPC interactions

Problems with Scripting and Non-Responsive NPCs If a game fails to pre-empt a players actions the player may be able to “break” the game  Ex: Dark Messiah Scripted Sequence Glitch Bug At the very least NPC reactions can seem completely unrealistic  Ex: Oblivious AI in Oblivion P0 P0 We will discuss solutions to these problems later in the presentation

Ideal Model D&D  Dungeon Master starts with basic story outline in mind  Players can choose to delve into this story or go in completely different directions  Dungeon Master must be able to dynamically change the story on the fly and push the characters in the right direction

Another Ideal Model The Holodeck in Star Trek Very High level  “Computer, create a 1930’s, film-noir mystery story” Completely immersive  Simulates all five senses  Reacts to user actions within the confines of the described story, settings

Aspects of a Good Video Game Story Realistic NPC interactions  Non-scripted conversations Player actions reverberating in the game world Dynamically changing story line Lack of obvious “boundary conditions”

Conversational Agents Model of personality and emotion that affects conversation Adds to the sense of game world with intelligent characters Helps avoid repetitive or unrealistic dialogue Main functions of an NPC are to relay information and assign tasks to the player  Conversational agents make these exchanges more intriguing by adding an emotional element

Creating a Conversational Agent Personality and emotion  Five Factor Model (FFM) Openness to experience, Conscientiousness, Extraversion, Agreeableness, Neuroticism  Each factor is assigned a weight and is combined to form a personality model  Set emotional thresholds based on personality “traits”

Openness  Appreciation for art, emotion and adventure  Unusual ideas  Imagination  Curiosity

Conscientiousness  Tendency to show self-discipline, act dutifully and aim for achievement  Planned rather than spontaneous behavior

Extraversion  Energy  Positive emotions  Tendency to seek stimulation and the company of others

Neuroticism  A tendency to experience unpleasant emotions easily Anger Anxiety Depression Vulnerability  General emotional instability

Agreeableness  Traits include: Compassionate Cooperative Not Suspicious Not Antagonistic

Representing Emotion Emotion can easily displayed in the conversation choices an NPC chooses to engage in with a character Many emotions can be represented by just a few base ones using fuzzy logic  Low Happiness = Content  Medium Happiness = Happy  High Happiness = Estatic Give predetermined events that could occur in the game world a weighted significance if they occur Reduce the emotional significance of events over time

General Example Of FFM A character has a low score in agreeableness This dictates a low anger threshold value One or two in game events the character finds disagreeable would trigger the emotion of anger Dialogue options and reactions to the player would change to register this emotion

NPC Input Create sensory honesty  NPC are aware of events in their immediate area E.g. Characters should run or be frightened when they witness others getting killed at their table in Oblivion  News of events spreads to NPC’s over a given time period and distance  Computationally expensive to do for NPC in the game Only model NPC’s in players immediate area

NPC Output Conversation choices defined by personality, emotional state, and knowledge base and purpose of the particular NPC Knowledge base  List of everything the character knows about the world  Can be time consuming and difficult to design  Better to use a subset of a main knowledge base for each in game character Model surprises into NPC conversations NPC knowledge is filtered through its personality and emotion to determine its reaction/willingness to help the player

HTN Planning for Interactive Storytelling HTN – each task is decomposed into subtasks until they can be described in terms of primitive actions Top level node – Story Goal First Layer nodes – Scenes Lower Layer nodes – tactics for achieving scene goals

Example HTN

Creating the Story NPC reactions derived by searching through their plan based on game state If an NPC cannot execute an action then it uses a top-down left-to-right search with backtracking on tree Assumes player actions will follow the basic outline Rival characters may follow a plan that tries to disrupt the players plan based on the current game state Drama or humor can be derived when a plan fails  Ex: Friends Ross gets dressed to go on a date with Rachael, but gets in a fight with Joey and must backtrack to perform the task of getting redressed

Problems with HTN Planning Not much variability in actions per scene Actions cannot be undone Long distance dependencies not modeled into design Now a better solution…

Intelligent Story Direction Interactive Drama  Offers player a large amount dramatically relevant choices in the game world  Player directly influences how the story unfolds Story Director  Coordinates the choices the player makes in the game world, the actions and behaviors of the synthetic characters and the story content authored by a game designer

Story Coordination Game designer or author must create a story space which can react to any of the actions a player can take in a game When a player takes an action such as shooting a main character vital to the plot later on this action is outside the story space and creates a boundary problem  Ex: The Elder Scrolls: Morrowind  'With this character's death, the thread of prophecy is severed. Restore a saved game to restore the weave of fate or persist in the doomed world you have created.'

Story Director AI coordinator Input:  Player interaction with game world  Authored story content Output:  Change behavior of synthetic characters  Modify the game world

MOE First major system to implement a story director Story content written as partially ordered set of USER-MOVES, or actions a player can take to move the story along MOE executes actions in the game world that attempt to guide the player towards the next “scene” in the story progression  Heuristically searches through space of possible stories (e.g. the story events in the past plus the combination of possible future events)  Stories are rated based on a author defined heuristic and the next scene is chosen from the highest rated story line

Façade Uses a later version of the MOE technology to create an interactive drama called Façade Makes use drama manager that dynamically sequences units of story (dramatic beats) in response to the history of the player's interaction Also uses several text recognition models to react to player comments and maintain conversation threads

MINMESIS Project Observes player behavior Used to avoid boundary problems Story contained in partially ordered plans  Player actions can: Fulfill a plan’s precondition Have no bearing on the plan Threaten a plan’s precondition Results in boundary problems that are solved with accommodation and intervention in the MINMESIS implementation

Accommodation and Intervention Accommodation  Replanning algorithm attempts to change the story plan to resolve the threat introduced by the player  Player’s action is incorporated into the set of story operators and story goals used to build the plan  Only works if a consistent plan can be built Intervention  Results when a consistent plan cannot be built as a result of the player’s action  Prevents effects of a player’s actions from occurring E.G. A gun jamming, instead of being used to kill a main character

Interactive Drama Architecture (IDA) Five different elements

Author Responsible for synthetic character behaviors, a description of story events, any domain-dependent functions of the director, and the environment and art assets Story Content  Description of the events that occur in the world and the details of those events Story Structure  Chronological order of story content

Plot Points Story is represented by partially ordered plot points, with any linearization of these points possibly making a complete story Each point is considered active if its parents, or the node behind it, has executed

Synthetic Characters Semiautonomous agents  Defined by long-term (a hierarchical set of agent goals) and short-term knowledge  Working Memory Elements Basic knowledge of environment Know how to speak, navigate and use objects

The Director Central AI agent Roles:  Knowledge maintenance  Plot monitoring  Story direction  Reactive direction  Predictive direction

Knowledge Maintenance Omniscient view of the world Observes how player actions affect the story world Domain specific rules such as social conventions or how relationships change

Plot Monitoring Checks available knowledge against plot representation Checks if changes in the story world contribute to or harm the story In IDA threats to plot point preconditions are ignored unless a player is in danger of violating a timing constraint

Story Direction When a plot point is active and all of its precondition have been met the story director may choose to execute it Occurs by giving commands to synthetic character or the environment

Reactive Direction Directors responsibility to guide the player to specific plot points Used to react to the previous mentioned violation of a timing constraint Subtlety valued

Predictive Direction IDA’s response to using reactive direction as the sole means of solving boundary problems Attempts to foresee future boundary problems based on observing past player actions Uses less heavy handed techniques to guide the player

Affecting Story Content Story content is primarily supposed to consist of player chosen plot points, signified by the preconditions of an active plot point being met If a timing condition is in danger of being violated the director picks a plot point based on an author defined heuristic that takes into account the attributes of the current plot point such as tension a brevity

Summary There are many techniques being developed for creating believable interactive story-lines in video games Games have yet to completely capitalize on these innovations