Enhancing Drive-Based NPC Behavior with Panksepp-Inspired Affective Systems

  • Luís Fernando Bicalho PUC-Rio
  • Augusto Baffa PUC-Rio

Resumo


Introduction: Non-player characters (NPCs) that rely on fixed scripts often exhibit repetitive and non-adaptive behavior, reducing immersion in interactive environments. Recent approaches incorporate affective and motivational models, but often lack reproducibility and robustness. Objective: This paper investigates whether integrating Panksepp-inspired primary affective systems into a drive-based neurochemical NPC architecture improves behavioral robustness, stability, and diversity. Survival is treated as a measure of homeostatic robustness rather than as direct evidence of player-perceived believability. Method: We reformulate a previous Godot-based model into a deterministic Python simulation and introduce two architectural variants incorporating Panksepp’s affective systems. The models are evaluated using multi-seed experiments (30 seeds) and parameter sensitivity analysis. Results: The deterministic baseline improves survival from 62% to 87.87%. The Panksepp-based models further increase survival to approximately 99%, while also reducing variance across seeds. However, behavioral imbalances such as reduced aggression emerge. The inclusion of an intermediate affective layer improves robustness and interpretability, but requires multi-objective tuning to preserve behavioral diversity.

Palavras-chave: Game AI, NPC Behavior, Affective Computing, Panksepp, Emotion Modeling, Simulation

Referências

Aljammaz, R., Wardrip-Fruin, N., e Mateas, M. (2023). Towards an understanding of character believability. In Foundations of Digital Games 2023 (FDG ’23). ACM.

Armanto, H., Rosyid, H. A., Muladi, e Gunawan (2025). Improved non-player character (npc) behavior using evolutionary algorithm—a systematic review. Entertainment Computing, 52:100875.

Baffa, A., Sampaio, P., Feijó, B., e Lana, M. (2017). Dealing with the emotions of non player characters. In Proceedings of the 16th Brazilian Symposium on Computer Games and Digital Entertainment (SBGames), pages 504–515. SBC.

Bicalho, L. F., Baffa, A., e Feijó, B. (2025). Drive-based behavior modeling for emotionally responsive npcs. In Anais do XXIV Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames), pages 691–702. SBC.

Bicalho, L. F., Feijó, B., e Baffa, A. (2020). A culture model for non-player characters’ behaviors in role-playing games. In 2020 19th Brazilian Symposium on Computer Games and Digital Entertainment (SBGames), pages 9–18. IEEE.

da Silva, G. A. e de Souza Ribeiro, M. W. (2021). Development of non-player character with believable behavior: a systematic literature review. In Proceedings of the 20th Brazilian Symposium on Computer Games and Digital Entertainment (SBGames). SBC.

de Tarso Fernandes, P., Baffa, A., e Feijó, B. (2024). An emotion model for non-player characters inspired by neurotransmitters. In Anais do XXIII Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames), pages 547–562. SBC.

Galvão, V. F., Maciel, C., dos Santos Nunes, E. P., e da Hora Rodrigues, K. R. (2025). A framework to support the development of empathetic games. Journal on Interactive Systems, 16(1):25–53.

Garavaglia, F., Nobre, R. A., Ripamonti, L. A., Maggiorini, D., e Gadia, D. (2022). Moody5: Personality-biased agents to enhance interactive storytelling in video games. In 2022 IEEE Conference on Games (CoG), pages 175–182. IEEE.

Hull, C. L. (1943). Principles of Behavior: An Introduction to Behavior Theory. Appleton-Century-Crofts, New York.

Inyang, S., Hale, J., Coghlan, S., e Wyeth, P. (2024). Mental state modelling: A philosophy of mind approach to npc believability. In Proceedings of the 36th Australian Conference on Human-Computer Interaction (OzCHI ’24). ACM.

Kaneko, K. e Okada, Y. (2024). Emotion-Based 3D CG Character Behaviors, pages 645–653. Springer, Cham.

Lövheim, H. (2012). A new three-dimensional model for emotions and monoamine neurotransmitters. Medical Hypotheses, 78(2):341–348.

Maslow, A. H. (1943). A theory of human motivation. Psychological Review, 50(4):370– 396.

Maslow, A. H. (1954). Motivation and Personality. Harper & Brothers, New York.

Panksepp, J. (1998). Affective Neuroscience: The Foundations of Human and Animal Emotions. Oxford University Press, New York.

Panksepp, J. e Biven, L. (2012). The Archaeology of Mind: Neuroevolutionary Origins of Human Emotions. W. W. Norton, New York.

Pinheiro, J. R., Baffa, A., e Feijó, B. (2025). Exploring extensions of neurotransmitter-based emotion models. Journal on Interactive Systems, 16(1):1–24.

Plutchik, R. (1980). Emotion: A Psychoevolutionary Synthesis. Harper & Row, New York.

Plutchik, R. (2001). The nature of emotions. American Scientist, 89(4):344–350.

Shirvani, A., Ware, S. G., e Baker, L. J. (2023). Personality and emotion in strong-story narrative planning. IEEE Transactions on Games, 15(4):669–682.

Wampfler, R., Yang, C., Elste, D., Kovačević, N., Witzig, P., e Gross, M. (2025). A platform for interactive ai character experiences. In SIGGRAPH Conference Papers ’25. ACM.
Publicado
29/09/2026
BICALHO, Luís Fernando; BAFFA, Augusto. Enhancing Drive-Based NPC Behavior with Panksepp-Inspired Affective Systems. In: SIMPÓSIO BRASILEIRO DE JOGOS E ENTRETENIMENTO DIGITAL (SBGAMES), 25. , 2026, Goiânia/GO. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2026 . p. 715-726. DOI: https://doi.org/10.5753/sbgames.2026.25459.