ZionTPS Stats Module
AvailableHealth and stamina gameplay systems for ZionTPS.
Overview
ZionTPS Stats Module is an optional gameplay extension for the ZionTPS Third Person Controller, adding a clean, configurable Health and Stamina system for Unity projects.
It is designed to plug directly into ZionTPS locomotion, giving you stamina-based sprinting, jumping and rolling, while also providing a flexible health system for damage, healing and UI updates.
Whether you are building a third-person action game, RPG, survival game or shooter, ZionTPS Stats gives you a simple foundation for player attributes and gameplay mechanics without adding unnecessary complexity.
Key Features
Health System
Add a flexible runtime health system to your player.
- Configurable maximum health
- Damage support
- Healing support
- Health change events
- Easy UI integration
- Simple hooks for enemy attacks, hazards and gameplay logic
Stamina System
Control player actions using a configurable stamina resource.
- Sprint stamina drain
- Jump stamina cost
- Roll stamina cost
- Automatic stamina regeneration
- Configurable regeneration delay
- Exhaustion detection
- Prevent sprinting while exhausted
When stamina runs out, sprinting is automatically disabled until enough stamina has recovered.
HUD Support
ZionTPS Stats includes optional HUD setup for displaying health and stamina in-game.
- Health bar
- Stamina bar
- Runtime value updates
- UI Toolkit HUD support
- uGUI fallback support
- Wizard-assisted HUD creation
The setup wizard can create the HUD for you, making it quick to test and integrate.
Setup Wizard
The included setup wizard helps you install and configure the module without manually wiring everything together.
The wizard can help with:
- Selecting your player
- Creating or assigning a StatsConfig asset
- Setting up the health and stamina system
- Creating the HUD
- Reviewing the setup before applying changes
This makes the module much easier to add to new or existing ZionTPS scenes.
Event-Driven Architecture
The module uses events so other systems can react to stat changes without being tightly coupled.
Example uses:
- Update health and stamina UI
- Trigger low stamina warnings
- Play damage effects
- Disable abilities while exhausted
- Connect enemy attacks or hazards
- Extend into RPG-style systems
This keeps the module lightweight, flexible and easy to expand.
Designed for ZionTPS
ZionTPS Stats integrates with key ZionTPS locomotion actions:
- Sprinting
- Jumping
- Rolling
- Character movement states
Stamina costs, regeneration values and health settings are configurable through ScriptableObject settings.
Modular and Extendable
The Stats Module is designed to stay focused, clean and easy to modify.
You can use it as-is, or extend it with additional gameplay stats such as:
- Mana
- Armour
- Hunger
- Thirst
- Status effects
- Damage types
- RPG attributes
It provides a useful starting point without forcing a full RPG framework into your project.
Developer Friendly
- Clean runtime code
- Lightweight architecture
- ScriptableObject-based configuration
- Event-driven design
- Optional HUD setup
- Editor setup wizard
- Designed for maintainability
- Built for modern Unity projects
Perfect For
- Third-person action games
- RPG systems
- Survival games
- Combat systems
- Ability and skill systems
- Prototypes needing quick health and stamina
- ZionTPS-based projects
Requirements
- Unity 6 or later
- ZionTPS Third Person Controller
Summary
ZionTPS Stats Module adds a focused health and stamina layer to ZionTPS, giving your character configurable damage, healing, sprint stamina, action costs, regeneration and HUD support.
It is lightweight, modular and easy to extend, making it ideal for developers who want to build gameplay systems on top of ZionTPS without starting from scratch.