Dialogue tree

Last updated
An example of a simple dialogue tree Dialog tree example.svg
An example of a simple dialogue tree

A dialogue tree, or conversation tree, is a gameplay mechanic that is used throughout many adventure games [1] (including action-adventure games [2] ) and role-playing video games. [3] When interacting with a non-player character, the player is given a choice of what to say and makes subsequent choices until the conversation ends. [3] Certain video game genres, such as visual novels and dating sims, revolve almost entirely around these character interactions and branching dialogues. [4]

Contents

History

The concept of the dialogue tree has existed long before the advent of video games. The earliest known dialogue tree is described in "The Garden of Forking Paths", a 1941 short story by Jorge Luis Borges, in which the combination book of Ts'ui Pên allows all major outcomes from an event branch into their own chapters. Much like the game counterparts this story reconvenes as it progresses (as possible outcomes would approach nm where n is the number of options at each fork and m is the depth of the tree).

The first computer dialogue system was featured in ELIZA, a primitive natural language processing computer program written by Joseph Weizenbaum between 1964 and 1966. The program emulated interaction between the user and an artificial therapist. With the advent of video games, interactive entertainment have attempted to incorporate meaningful interactions with virtual characters. Branching dialogues have since become a common feature in visual novels, dating sims, adventure games, and role-playing video games. [4]

Game mechanics

A dialogue tree as implemented in the game The Banner Saga: the query from the non-player character appears at the bottom, and three possible player responses at the upper left. The Banner Saga conversation screenshot.jpg
A dialogue tree as implemented in the game The Banner Saga : the query from the non-player character appears at the bottom, and three possible player responses at the upper left.

The player typically enters the gameplay mode by choosing to speak with a non-player character (or when a non-player character chooses to speak to them), and then choosing a line of pre-written dialog from a menu. Upon choosing what to say, the non-player character responds to the player, and the player is given another choice of what to say. This cycle continues until the conversation ends. The conversation may end when the player selects a farewell message, the non-player character has nothing more to add and ends the conversation, or when the player makes a bad choice (perhaps angering the non-player to leave the conversation).

Games often offer options to ask non-players to reiterate information about a topic, allowing players to replay parts of the conversation that they did not pay close enough attention to the first time. [3] These conversations are said to be designed as a tree structure, with players deciding between each branch of dialog to pursue. Unlike a branching story, players may return to earlier parts of a conversation tree and repeat them. Each branch point (or node) is essentially a different menu of choices, and each choice that the player makes triggers a response from the non-player character followed by a new menu of choices.

In some genres such as role-playing video games, external factors such as charisma may influence the response of the non-player character or unlock options that would not be available to other characters. [3] These conversations can have far-reaching consequences, such as deciding to disclose a valuable secret that has been entrusted to the player. [3] However, these are usually not real tree data structure in programmers sense, because they contain cycles as can be seen on illustration on this page.

Certain game genres revolve almost entirely around character interactions, including visual novels such as Ace Attorney and dating sims such as Tokimeki Memorial , usually featuring complex branching dialogues and often presenting the player's possible responses word-for-word as the player character would say them. Games revolving around relationship-building, including visual novels, dating sims such as Tokimeki Memorial, and some role-playing games such as Shin Megami Tensei: Persona , often give choices that have a different number of associated "mood points" which influence a player character's relationship and future conversations with a non-player character. These games often feature a day-night cycle with a time scheduling system that provides context and relevance to character interactions, allowing players to choose when and if to interact with certain characters, which in turn influences their responses during later conversations. [4] Some games use a real-time conversation system, giving the player only a few seconds to respond to a non-player character, such as Sega's Sakura Wars and Alpha Protocol . [5]

Another variation of branching dialogues can be seen in the adventure game Culpa Innata , where the player chooses a tactic at the beginning of a conversation, such as using either a formal, casual or accusatory manner, that affects the tone of the conversation and the information gleaned from the interviewee. [4]

Value and impact

This mechanism allows game designers to provide interactive conversations with nonplayer characters without having to tackle the challenges of natural language processing in the field of artificial intelligence. [3] In games such as Monkey Island , these conversations can help demonstrate the personality of certain characters. [3]

See also

Related Research Articles

<span class="mw-page-title-main">Role-playing video game</span> Video game genre

A role-playing video game, commonly referred to as a role-playing game (RPG) or computer role-playing game (CRPG), is a video game genre where the player controls the actions of a character immersed in some well-defined world, usually involving some form of character development by way of recording statistics. Many role-playing video games have origins in tabletop role-playing games and use much of the same terminology, settings, and game mechanics. Other major similarities with pen-and-paper games include developed story-telling and narrative elements, player character development, complexity, as well as replay value and immersion. The electronic medium removes the necessity for a gamemaster and increases combat resolution speed. RPGs have evolved from simple text-based console-window games into visually rich 3D experiences.

Dating sims, or romance simulation games, are a video game subgenre of simulation games with romantic elements. While dating sims share a similar visual presentation as visual novels, they are distinct genres. Dating sims are largely dependent on statistics, while visual novels focus on telling a branching story. Nevertheless, the term "dating sim" has become a generic term for romance-driven games in the West.

Interactive storytelling is a form of digital entertainment in which the storyline is not predetermined. The author creates the setting, characters, and situation which the narrative must address, but the user experiences a unique story based on their interactions with the story world. The architecture of an interactive storytelling program includes a drama manager, user model, and agent model to control, respectively, aspects of narrative production, player uniqueness, and character knowledge and behavior. Together, these systems generate characters that act "human," alter the world in real-time reactions to the player, and ensure that new narrative events unfold comprehensibly.

<i>Galatea</i> (video game) 2000 video game

Galatea is an interactive fiction video game by Emily Short featuring a modern rendition of the Greek myth of Galatea, the sculpture of a woman that gained life. It took "Best of Show" in the 2000 IF Art Show and won a XYZZY Award for Best Non-Player Character. The game displays an unusually rich approach to non-player character dialogue and diverts from the typical puzzle-solving in interactive fiction: gameplay consists entirely of interacting with a single character in a single room.

A visual novel (VN) is a form of digital interactive fiction. Visual novels are often associated with the medium of video games, but are not always labeled as such themselves. They combine a textual narrative with static or animated illustrations and a varying degree of interactivity. The format is more rarely referred to as novel game, a retranscription of the wasei-eigo term noberu gēmu (ノベルゲーム), which is more often used in Japanese.

<i>Tokimeki Memorial</i> Video game series

Tokimeki Memorial is a dating simulation series by Konami. It consists of six main games in addition to many spin-offs. The games are notable in the dating sim genre for being highly nonlinear. Their nickname amongst their fans is the contraction TokiMemo.

A bishōjo game or gal game is "a type of Japanese video game centered on interactions with attractive girls".

The following outline is provided as an overview of and topical guide to video games:

An interactive film is a video game or other interactive media that has characteristics of a cinematic film. In the video game industry, the term refers to a movie game, a video game that presents its gameplay in a cinematic, scripted manner, often through the use of full-motion video of either animated or live-action footage.

A video game with nonlinear gameplay presents players with challenges that can be completed in a number of different sequences. Each player may take on only some of the challenges possible, and the same challenges may be played in a different order. Conversely, a video game with linear gameplay will confront a player with a fixed sequence of challenges: every player faces every challenge and has to overcome them in the same order.

<i>Martian Memorandum</i> 1991 video game

Martian Memorandum is a dystopian cyberpunk/noir graphic adventure game that was originally released in 1991 for MS-DOS. It was developed and published by Access Software. The game is the second in the series of Tex Murphy mysteries; its immediate sequel is Under a Killing Moon. The game is set in 2039, several years after Mean Streets.

An otomegame is a story-based video game that is targeted towards women. Generally one of the goals, besides the main story goal, is to develop a romantic relationship between the female main player character and one of the usually male, secondary lead characters.

<i>The Portopia Serial Murder Case</i> 1983 video game

The Portopia Serial Murder Case is an 1983 adventure game designed by Yuji Horii and published by Enix. It was first released on the NEC PC-6001 and has since been ported to other personal computers, the Family Computer (Famicom), mobile phone services and most recently, Windows as Square Enix showing off their natural language processing technology.

<i>Nakayama Miho no Tokimeki High School</i> 1987 video game

Nakayama Miho no Tokimeki High School is a 1987 dating sim developed by Square and Nintendo R&D1, and published by Nintendo exclusively in Japan for the Famicom Disk System. The game was released on December 1, 1987. It was one of the first dating sim games. It was designed by Hironobu Sakaguchi, who also created the Final Fantasy series, and Yoshio Sakamoto, who co-created Metroid. The music for the game was composed by Nobuo Uematsu and Toshiaki Imai. Pop idol Miho Nakayama contributed her name and likeness and voice-acted tie-in segments that could be accessed by calling toll-free phone numbers revealed during the progress of gameplay.

<i>Tokimeki Memorial</i> (video game) 1994 video game

Tokimeki Memorial is a dating sim video game developed and published by Konami. The first game in the Tokimeki Memorial series, it was first released for the PC Engine's Super CD-ROM² System on May 27, 1994. It was directed by Yoshiaki Nagata, with Koji Igarashi working on scenario writing. It later received ports to the PlayStation in 1995, Sega Saturn and Super Famicom in 1996, Windows in 1997, Game Boy Color in 1999, mobile phones in 2004, and PlayStation Portable in 2006.

An adventure game is a video game genre in which the player assumes the role of a protagonist in an interactive story, driven by exploration and/or puzzle-solving. The genre's focus on story allows it to draw heavily from other narrative-based media, such as literature and film, encompassing a wide variety of genres. Most adventure games are designed for a single player, since the emphasis on story and character makes multiplayer design difficult. Colossal Cave Adventure is identified by Rick Adams as the first such adventure game, first released in 1976, while other notable adventure game series include Zork, King's Quest, Monkey Island, Syberia, and Myst.

<span class="mw-page-title-main">Non-player character</span> Game character not controlled by a player

A non-player character (NPC) is any character in a game that is not controlled by a player. The term originated in traditional tabletop role-playing games where it applies to characters controlled by the gamemaster or referee rather than by another player. In video games, this usually means a character controlled by the computer that has a predetermined set of behaviors that potentially will impact gameplay, but will not necessarily be the product of true artificial intelligence.

<i>Sakura Wars 3</i> 2001 video game

Sakura Wars 3: Is Paris Burning? is a cross-genre video game developed by Red Company and Overworks and published by Sega for the Dreamcast. The third installment in the Sakura Wars series, it was released in March 2001. Defined by its publisher as a "dramatic adventure" game, Is Paris Burning? combines overlapping tactical role-playing, dating sim and visual novel gameplay elements.

<i>Sakura Wars 4: Fall in Love, Maidens</i> 2002 video game

Sakura Taisen 4: Koi Seyo Otome is a cross-genre video game developed by Red Entertainment and Overworks and published by Sega for the Dreamcast. The fourth main installment in the Sakura Wars series and the last for Sega home consoles, it was released in March 2002. Defined by its publisher as a "dramatic adventure" game, Sakura Taisen 4: Koi Seyo Otome combines overlapping tactical role-playing, dating sim and visual novel gameplay elements.

References

  1. The Pages of Now & Forever - All About Star Control
  2. 1 2 3 4 5 6 7 Rollings, Andrew; Ernest Adams (2006). Fundamentals of Game Design. Prentice Hall. Archived from the original on 2017-12-31. Retrieved 2009-02-16.
  3. 1 2 3 4 Brent Ellison (July 8, 2008). "Defining Dialogue Systems". Gamasutra . Retrieved 2011-03-30.
  4. Spencer (17 March 2010). "Alpha Protocol Has A Touch Of Sakura Wars". Siliconera. Retrieved 7 March 2012.