Dialogue patterns-A visual language for dynamic dialogue

  • Authors:
  • J. Siegel;D. Szafron

  • Affiliations:
  • Department of Computing Science, University of Alberta, Edmonton, Alta., Canada T6G 2E8;Department of Computing Science, University of Alberta, Edmonton, Alta., Canada T6G 2E8

  • Venue:
  • Journal of Visual Languages and Computing
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

A dynamic dialogue is a conversation in which each participant alternately selects remarks based on a changing world state and in which each remark can change the world state. Dynamic dialogues happen frequently as conversations between a player character (PC) and a non-player character (NPC) in a computer game. When it is the PC's turn to speak, the current game state is used to filter the static set of remarks available to the PC to a contextually appropriate subset that is made available to the player. Selecting a PC remark then leads to a candidate set of NPC remarks as appropriate responses to the PC. The world state is used to filter this set of remarks to a single remark, which is used by the NPC as the reply. To construct a dynamic dialogue, an author must not only create the remarks, but also write the code that determines which remarks are available to both participants at any point in the dialogue. We present ''generative dialogue patterns'' as a new visual language for designing dynamic dialogues and generating the program code that is necessary to select the appropriate remarks during the dialogue. We use a case study from the computer games domain to evaluate the effectiveness of generative dialogue patterns.