2003AIScripting M. McNaughton, J. Redford, J. Schaeffer and D. Szafron, Pattern-based AI Scripting using ScriptEase, The Sixteenth Canadian Conference on Artificial Intelligence (AI 2003), Halifax, Canada, June 2003, pp. 35-49. abstract or pdf.
Abstract:

Creating realistic artificially-intelligent characters is seen as one of the major challenges of the commercial games industry. Historically, character behavior has been specified using simple finite state machines and, more recently, by AI scripting languages. These languages are relatively “simple”, in part because the language has to serve three user communities: game designers, game programmers, and consumers ­ each with different levels of programming experience. The scripting often becomes unwieldy, given that potentially hundreds (thousands) of characters need to be defined, the characters need non-trivial behaviors, and the characters have to interface with the plot constraints. In this paper, the ScriptEase model for AI scripting is presented. The model is patterntemplate based, allowing designers to quickly build complex behaviors without doing explicit programming. This paper describes ScriptEase’s behavior patterns and user interface. This is demonstrated by generating code for BioWare’s Neverwinter Nights game. In addition to behaviors, the model is being extended to include encounter, dialog, and plot patterns.