Work

Generative Behavior of Non-Playable Characters (NPCs) in Video Games: The Universal Cognitive-Consequence Architecture For Roleplay (U-CCAR)

Year: 2026
Type: article
Abstract: Modern game engines render photorealistic environments, Yet Non-Player Characters (NPCs) remain artificial. Traditional NPCs rely on fixed scripts that break when players act unexpectedly [1], [14], while raw Large Language Model (LLM) NPCs improvise dialogue for hours yet chat calmly inside campfires or trigger actions that contradict game states [2], [7]. Talking smart is not acting smart. This paper presents a conceptual thinking blueprint—the Universal Cognitive-Consequence Architecture for Roleplay (U-CCAR)—to close that gap without engine-locked code. U-CCAR maps a five-step loop where an NPC observes its sensory environment and hard inventory state [7], [10], [14], filters observations through OCEAN personality traits [4], [13], simulates physical and social consequences with self-reflection guardrails [6], [8], [9], outputs engine-agnostic Universal Action Labels verified by Behavior Trees [7], [10], and updates dual memory and town rumours [3], [6]. Testing U-CCAR in an armed shop robbery scenario demonstrates how it prevents suicidal and incoherent behavior.
Language: English
Open Access status: green
OpenAlex ID: W7238289365
FWCI:
Cites:
Cited by:
Related to: