Designing a Scalable Ability System
In Temtem: Swarm, the ability system started simple but evolved to support over 250 techniques across players and enemies. This framework uses modular stat systems that allow expansion without rewriting core logic. Every technique interacts with the same stat architecture, ensuring predictability and balance.
Layered Perk Architecture
The system is divided into three main layers: Skills, Gears, and Techniques. Skills are obtained from the Skill Tree before matches and define core progression paths. Gears provide passive stat boosts during gameplay, while Techniques are the actual combat abilities. All layers integrate into the same stat system for consistent interactions.
Modular Stat Calculations
Stats are calculated through a modifier layer that applies percentage changes to base values. For example, if Platypet has a base health of 200, a Skill upgrade adds a percentage modifier. These modifiers stack with other perks, allowing flexible adjustments without complexity.
Expanding Through Scripting
To support over 250 techniques, a scripting hierarchy was designed. This system starts with a base Technique class containing shared functionality, then branches into PlayerTechnique and EnemyTechnique. This allows specific adjustments without affecting the core framework.
