Introduction
Elden Ring, the spiritual successor to the Soulsborne series, has captivated players with its vast environments and challenging combat. Yet, behind this complexity lies a surprisingly "low-tech" AI. This article explores how FromSoftware used a simplified but effective approach to create an immersive and engaging AI.
FromSoftware's Low-Tech Approach
FromSoftware is renowned for its punishing combat and complex NPC interactions. Contrary to popular belief, Elden Ring's AI relies on relatively simple systems. The main tool of this AI is the "Goal," a structure representing the current state of an NPC. These Goals are organized as a stack, transforming the system into a pushdown automaton.
Understanding How Goals Work
Each game frame, an actor updates the Goal on top of its stack. This Goal can push additional Goals as sub-Goals, which will execute in the next frame. The execution result can be a success, failure, or continuation, impacting the stack's organization.
Concrete Example
Imagine a Goal called CoolBossBattle, where multiple attacks are planned. Each attack is parameterized by various means, primarily by animation ID. If an attack fails, the stack resets to the parent Goal, allowing the AI to recalibrate its actions.
Simplicity Serving Complexity
While this approach may seem rudimentary, it enables the creation of a rich and dynamic gameplay experience. Goals simplify development by allowing behavior reuse while adaptively responding to player actions.
Comparison with Other Games
Unlike AI based on deep learning algorithms, which require significant resources, FromSoftware's approach is lighter, reducing development costs while offering complex interactions. A 2023 report on the video game market highlights that low-tech AI can reduce costs by 30% compared to more sophisticated approaches.
Impact on Gameplay
This low-tech AI directly influences the gaming experience. It allows developers to design unique and varied encounters while maintaining consistency in enemy behavior. The flexibility of the Goal system introduces unpredictable behavior, making each battle unique.
Conclusion
Elden Ring's AI demonstrates that complexity doesn't always lie in high-tech solutions. By simplifying the AI structure, FromSoftware created a system that is both effective and engaging. If you're looking to optimize your project with an innovative and pragmatic approach, let's discuss your project in 15 minutes.