- Research Article
- 10.23939/csn2025.02.242
ДОСЛІДЖЕННЯ ТА РОЗРОБКА ПРОГРАМНИХ ПОВЕДІНКОВИХ КОМПОНЕНТ В КОМП’ЮТЕРНИХ ІГРОВИХ СИСТЕМАХ
- Dec 01, 2025
- Computer systems and network
- B.I Shyryi + 1 more +1
The article presents the results of a study on the possibilities of building software behavioral components based on large language models (LLMs) and their use in gaming systems. The subject of the research is the behavioral component of non-player characters (NPCs) in computer games, integrated with an LLM. The aim is to explore and analyze the features of applying LLMs to simplify NPC development. The study examines game AI types – reactive, state-driven, and learning-based. Interaction with NPCs through LLMs for chat communication is considered, and analogues of such characters’ behavior and dialogue are explored. The outcome is a designed and implemented API service for interaction with LLMs and an external gaming system with a corresponding software behavioral component that provides functionality for LLM-based interaction. Testing has shown that this system works with 54 unique contextual properties, achieves a maximum system prompt generation time of up to 60 ms, a maximum LLM response parsing and validation time of up to 30 ms, and supports models with at least 14 billion parameters. Keywords: API, LLM, NPC, XML, contextual action, contextual property, software behavioral component.
Read more