
Elden Ring's Minimalist AI: How Simplicity Shaped the Game
LLM, AI Agents & AI Infrastructure Specialist

LLM, AI Agents & AI Infrastructure Specialist
Elden Ring employs a minimalist AI system using Havok Script and pushdown automaton. This lightweight framework enables efficient NPC behavior in real-time, delivering challenging gameplay without high computational costs. FromSoftware’s approach challenges the industry's reliance on complex AI technologies in game design.
Elden Ring’s AI system is built on Havok Script, a derivative of the Lua scripting language, and a pushdown automaton (PDA). The PDA organizes NPC behavior into hierarchical states, referred to as "Goals," which dynamically adjust to player interactions and environmental triggers.
This streamlined design contrasts with the resource-heavy AI systems seen in many modern games.
Elden Ring’s minimalist AI challenges the assumption that cutting-edge technology is always better. Instead, FromSoftware’s approach demonstrates how focused, gameplay-centric AI can outperform more complex systems in certain contexts.
FromSoftware’s AI strategy offers valuable insights for the gaming industry:
Elden Ring’s success could influence both indie and AAA developers to re-evaluate their AI strategies.
Additionally, the proven utility of Havok Script in a blockbuster title may drive its adoption in future projects, particularly those seeking a balance between cost-efficiency and performance.
Elden Ring exemplifies the power of minimalist AI, leveraging Havok Script and pushdown automaton to deliver an engaging, resource-efficient gameplay experience. This approach challenges industry norms, proving that simplicity can often achieve results comparable to—or better than—complex systems. As the gaming industry evolves, the lessons from Elden Ring may shape the future of AI in game design, particularly for resource-intensive projects or developers with limited budgets.
Elden Ring uses Havok Script, a Lua-derived scripting language, along with a pushdown automaton to manage NPC behavior efficiently.
The AI relies on a simple state-based system (pushdown automaton), focusing on gameplay efficiency rather than advanced, resource-intensive AI technologies.
Elden Ring’s AI prioritizes scalability and gameplay responsiveness, while The Last of Us Part II uses more advanced, resource-heavy AI to enhance NPC realism and immersion.
💡 Dica Pro: Pushdown automaton systems are highly scalable for large open-world games, as they allow dynamic state transitions without overloading computational resources. This makes them ideal for handling multiple NPCs simultaneously without compromising performance.