Dynamic Expansion of Behaviour Trees

Authors

  • Gonzalo Florez-Puga Universidad Complutense Madrid
  • Marco Gómez-Martín Universidad Complutense Madrid
  • Belén Díaz-Agudo Universidad Complutense Madrid
  • Pedro A. González-Calero pedro@sip.ucm.es

DOI:

https://doi.org/10.1609/aiide.v4i1.18669

Abstract

Artificial intelligence in games is typically used for creating player's opponents. Manual edition of intelligent behaviors for Non-Player Characters (NPCs) of games is a cumbersome task that needs experienced designers. Our research aims to assist designers in this task. Behaviours typically use recurring patterns, so that experience and reuse are crucial aspects for behavior design. The use of hierarchical state machines allows working on different abstraction levels, sharing transitions and reusing pieces from the more detailed levels. However, the static nature of the design process does not release the designer from the burden to completely specify each behaviour. Our approach applies Case-Based Reasoning (CBR) techniques to retrieve and reuse stored behaviors represented as hierarchical state machines (actually, behaviour trees). In this paper we focus on dynamic retrieval of behaviours taking into account the world state and the underlying goals to select the most appropriate state machine to guide the NPC behaviour. The global behaviour of the NPC is dynamically built in run time querying the CBR system. We exemplify our approach through a serious game, developed by our research group, with gameplay elements from First-Person Shooter (FPS) games.

Downloads

Published

2021-09-27

How to Cite

Florez-Puga, G., Gómez-Martín, M., Díaz-Agudo, B., & González-Calero, P. (2021). Dynamic Expansion of Behaviour Trees. Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 4(1), 36-41. https://doi.org/10.1609/aiide.v4i1.18669