Game of Thrones for All: Model-based Generation of Universe-appropriate Fictional Characters

paper, specified "short paper"
Authorship
  1. 1. Matthew Parker

    California Polytechnic State University

  2. 2. Foaad Khosmood

    California Polytechnic State University

  3. 3. Grant Pickett

    California Polytechnic State University

Work text
This plain text was ingested for the purpose of full-text search, not to preserve original formatting or readability. For the most complete copy, refer to the original conference program.


Game of Thrones for All: Model-based Generation of Universe-appropriate Fictional Characters

Parker
Matthew

California Polytechnic State University, United States of America
themparker@gmail.com

Khosmood
Foaad

California Polytechnic State University, United States of America
foaad@calpoly.edu

Pickett
Grant

California Polytechnic State University, United States of America
gpickett@calpoly.edu

2014-12-19T13:50:00Z

Paul Arthur, University of Western Sidney

Locked Bag 1797
Penrith NSW 2751
Australia
Paul Arthur

Converted from a Word document

DHConvalidator

Paper

Long Paper

games
interactive fiction
non-player characters
immersion

natural language processing
games and meaningful play
agent modeling and simulation
English

Providing rich narrative assets for games featuring interactive storytelling is both difficult and expensive. Of particular concern to us is the problem of believability for non-player-characters (NPC) in video games and interactive worlds. In addition to art and voice assets, which can be substantial, a good NPC requires narrative assets such as universe-appropriate character background, life history, personality, speech mannerisms, and behavioral peculiarities.
In this paper, we discuss our tool for generating NPCs for use in Interactive Fiction (IF) projects. The tool is intended to assist IF authors with NPC creation. Discussed are the two parts of our character creation process: the statistical model-based generator and the translator for interfacing with a game engine. A user study of 40 subjects is conducted to assess utility of this tool for IF authors, based on the system generating characters from the
Game of Thrones universe. Most subjects indicate that the system would be useful for IF authors. The results are positive and demonstrate that such a technique could work for creating believable characters in an interactive fiction context.

Creating Narrative Assets

Traditionally, interactive entertainment character narratives, including all possible dialogue, is developed by the project writing staff. There are no quality tools for automated mass character creation and realistic procedural vocalization. Therefore, the process yields limited content and often limited ranges of expression. This limitation in character expression is a limitation on the potential of video games as a storytelling medium. The most popular solution in games where characters are critical is to only flesh out certain key characters with whom the player is supposed to interact. Generally these NPCs have names and can be engaged in conversation. Most traditional role-playing games take this route. They tend to create a small, set number of ‘named’ characters that have responses to player action and a large number of generic characters (e.g., ‘commoners’) who all have identical or formulaic responses to the situation. These other characters in the world are left as nearly blank husks, having at most a few lines of general response and not interacting with the player in any meaningful way.
To make NPCs interesting requires a large budget and is out of reach of all but the most well-funded studios. The most basic character for an independent low-budget 2D fighting game can cost upwards of $150,000 USD (Plunkett, 2012). The salaries of relevant staff are constantly growing: $102,000 USD average for a video game writer, with voiceover artists averaging $128,000 USD in the United States.
1 Another solution is to limit the amount of exposure that a player has to other characters. This can be done at the expense of player experience. Large crowds (such as busy city scenes or other large gatherings) become off limits or are moved into the scenery. As a result the game world can come to feel very empty and small, even if the scenery is incredibly expansive. Lankoski and Bjork (2007) address this problem in their examination of character believability in the context of a character from
The Elder Scrolls IV: Oblivion.

Presented here is a procedural method to create unique characters with diverse personalities that can then be imported into a game and interact with the player—in this case, an Inform 7 work of interactive fiction. Inform 7 is an English-like declarative programming language and development environment for interactive fiction.
2 It was chosen because it could provide a proof of concept with many characters without requiring visual representations of characters. What results is a pool of characters with diverse personalities and detailed experiences that should be depended upon to act as more realistic extras, complete with personal histories, ambitions, and relationships.

Related Work

While there are a wide variety of rudimentary character generators for pen-and-paper-type games available online, these focus on specific rule sets,
3 with application to role-playing games. Bayesian networks have been explored in natural language generation research, but almost none specifically for large-scale personality or character generation. Corradini’s group sets out to focus on creating a single realistic depiction of a very specific character, in this case, Hans Christian Anderson (Corradini et al., 2005). Lebowitz goes a long way toward establishing a story generation system for creating believable worlds and descriptions by emphasizing the need for consistency and coherency (Lebowitz, 1984). Kienzle et al. (2007) demonstrate the use of a generational model to create variety in NPC character action, with the emphasis on in-game abilities rather than personality or social interaction. Merrick also focuses on behavior, discussing a technique for making persistent non-player characters (such as those in massively multiplayer games) more realistic by having them change and react to changes in the environment over time (Merrick and Maher, 2006). Lankoski and Bjork (2007) examine what makes a character believable in the context of
The Elder Scrolls video game series and role-playing games in particular.

System Overview

Our system is broken into two largely independent portions. The first part generates the features of the characters. In order to establish realistic characters, it was necessary to implement a Bayesian Belief Network of different character features and events and use these to build a person structure from which language describing the character could be generated. The second step in the character representation process is to translate the features and stories that the character has experienced into a format that a player can interact with.
Character Model and Generator
The first nondeterministic trait to be generated per character is the location where the character is from. In the universe of
A Song of Ice and Fire this is very important to cultural and political identity. The location distribution is limited to broader geographical regions. This is primarily because, being a fictional universe, there is no reliable way to estimate the populations of smaller regions without more evidence (Various, 2012). The names generated come from a list of the characters (in this case, male) in the novels. The list itself includes about 1,400 individual characters.
4 These names are then chosen at random (some combination of the first and the second) and assigned to the character.

Figure 1. How the ‘profession’ event interacts with the rest of the model.
The next set of traits to be created for a character are those that are present from birth. These are physical traits (blue-eyed, tall, strong, short, etc.) and a limited number of psychological traits (such as level of intelligence and initial temperament) as well as social class.
Stochastic Life Events
The next step in creating a realistic character is to give it a series of life events to build a story arc for the individual. For the purpose of this generator, the character’s life has been broken into nine different life event categories ranging from early childhood trauma to marriage to late life-changing events. Not all of these event categories will happen to everyone (some have less than a 50% of occurring) while others (like profession) are guaranteed for everyone. Each event category has a range of possible outcomes. Initially, the probability of each of the events in the category is the same, but each event has a number of potential influencing traits and a corresponding multiplier that changes the distribution (after normalizing) of the event list. The influences can cascade across multiple events.
Translator and Game Interface
The translator takes the Bayesian model for the character and transforms it into usable Inform 7 code. The conversations that the users have with the characters generated through the generator and translator are facilitated by one of the many extensions available to the Inform 7 IDE, Conversation Framework
5 by Eric Eve. This framework allows the user to ask the character about specific topics from within the interactive experience.

Figure 2. User distribution of familiarity with the Game of Thrones universe (5= ‘most familiar’).
User Study
All 40 participants in the study are computer science undergraduate students at California Polytechnic State University (Cal Tech). About two-thirds of the participants are from the Interactive Entertainment Engineering class, and have experience with Inform 7 and interactive fiction authoring due to having completed class projects. The overall familiarity with Inform 7 is around
80 to 85%. Tutoring and supervision are offered for all participants.

Figure 3. Believable background and conversation scores (5=most believable). X axis represents portion of users. 40 subjects were surveyed.
The participants are then asked a series of questions about their familiarity with the
Game of Thrones (or
Song of Ice and Fire) universe, the believability of their character in the context of the universe, whether they would use this character in one of their own works, and how helpful they thought this generation method could be making realistic secondary characters for interactive fiction.

People find the generated characters to have a believable backstory. The average score was a 3.7 out of 5 in that area. The best result from the generator was that 54% of the people polled would be willing to use the character unedited in a work of interactive fiction. The rest stated that they would use the character with some editing. None of the people polled responded that they would not use the generated character in any form.
When asked about their willingness to use the unaltered generated character as a non-major character, the generator received an average score of 4.1 out of 5. The average score for using an unedited version of the generated character as a major player in a work of interactive fiction was a 2.3. This was foreseen as the generator was never meant to supplant major characters driving a main plotline but as more complex NPCs meant to provide context and exposure. When looking at individuals who had a higher than average (4 or 5) familiarity with the
Game of Thrones universe, the number of people willing to use the character unedited went down a small amount to 50%, but those who did say they would use the character gave the primary character the same average score (2.3) while giving the non-major character a significantly higher score at an average of around 4.5. Finally, when asked the question ‘Do you think this kind of character generation can be helpful to interactive fiction authors?’ the average score was a 4.23.

Figure 4. Subject responses to ‘Are you willing to use this character in your own story?’ (5= ‘most willing’). 40 subjects surveyed.

Notes

1. http://www.indeed.com/salary/q-Video-Game-Writer-l-United-States.html.
2. http://en.wikipedia.org/wiki/Inform.
3. See, for example, http://www.pathguy.com/cg35.htm.
4. http://www.namenerds.com/uucn/listofweek/icefire.html.
5. Ibid.
Sample Output

Sample translated code to create character ‘Josmyn’ in Inform 7
Sample game playthrough with same character

The quizzing table is the Table of ComplexNPC0 Answers.
Table of ComplexNPC0 Answers
subject response rule response table suggest
...
adolescence -- Table of ComplexNPC0 adolescence 3
Table of ComplexNPC0 adolescence
response
‘A couple of friends and I went on a fun adventure’.
‘I became more diligent in my adolescent years’.
‘I traveled between Oldtown and Volantis as a cabin boy’.

>greet Josmyn
Greetings
(You could ask him about himself, home, life, class, childhood or adolescence.)
>ask about adolescence
A couple of friends and I went on a fun adventure.
>ask about adolescence
I became more diligent in my adolescent years.
>ask about adolescence
I traveled between Oldtown and Volantis as a cabin boy.

Bibliography

Corradini, A., Mehta, M., Bernsen, N.-O., and Charfuelan, M. (2005). Animating an Interactive Conversational Character for an Educational Game System. In
Proceedings of the 10th International Conference on Intelligent User Interfaces, IUI ’05, New York, pp. 183–90.

Kienzle, J., Denault, A., and Vangheluwe, H. (2007). Model-Based Design of Computer-Controlled Game Character Behavior.
ACM/IEEE 10th International Conference on Model Driven Engineering Languages and Systems, October 2007.

Lankoski, P. and Bjork, S. (2007). Gameplay Design Patterns for Believable Non-Player Characters. In
Situated Play, University of Tokyo, September 2007.

Lebowitz, M. (1984). Creating Characters in a Storytelling Universe.
Poetics,
13(3): 171–94.

Merrick, K. and Maher, M. L. (2006). Motivated Reinforcement Learning for Non-Player Characters in Persistent Computer Game Worlds. In
Proceedings of the 2006 ACM SIGCHI International Conference on Advances in Computer Entertainment Technology, ACE ’06, New York: ACM.

Plunkett, L. (n.d.). It Will Blow Your Mind to See How Much It Costs to Add One New Character to a Fighting Game. Kotaku.com (accessed February 2012).
Various (2012). A Forum of Ice and Fire: How Many People Live in Westeros? In Each Kingdom? westeros.org (accessed January 2012).

If this content appears in violation of your intellectual property rights, or you see errors or omissions, please reach out to Scott B. Weingart to discuss removing or amending the materials.

Conference Info

Complete

ADHO - 2015
"Global Digital Humanities"

Hosted at Western Sydney University

Sydney, Australia

June 29, 2015 - July 3, 2015

280 works by 609 authors indexed

Series: ADHO (10)

Organizers: ADHO