ZionTPS Stats Module

Modular Health, Stamina, Mana & XP for ZionTPS in Unity 6.

v1.1.1 Available
  • Engine
    Unity 6+
  • Requires
    ZionTPS + Input System
  • Stats
    Health · Stamina · Mana · XP
  • Setup
    4-step wizard
  • HUD
    UI Toolkit (uGUI fallback)

Overview

ZionTPS Stats Module is an optional gameplay extension for the ZionTPS Third Person Controller. It gives your player a clean, modular stat foundation — without forcing a full RPG framework into your project.

Run the included Setup Wizard to select a ZionTPS player, choose a stat preset, create or reuse a StatsConfig ScriptableObject, and optionally generate a UI Toolkit HUD. It is built for third-person action games, RPGs, survival games and prototypes that need configurable player stats with direct ZionTPS movement integration.

What's New in v1.1.1

Preset-based setup

Start from a practical stat set instead of configuring every option by hand:

  • Health + Stamina — lean action setup
  • Health + Stamina + Mana — adds an ability resource
  • Health + Stamina + XP — adds progression
  • RPG Starter — Health, Stamina, Mana and XP together

The wizard shows exactly which stats a preset includes and applies it to a new or existing StatsConfig asset.

Improved setup wizard

A four-step flow keeps installation clear and repeatable:

  1. Select a ZionTPS player or child object.
  2. Choose a preset and StatsConfig asset.
  3. Configure the optional HUD.
  4. Review the configuration and install.

The wizard detects the required ZionTPS components, supports existing Stats installations, and creates a new StatsConfig asset automatically when needed.

UI Toolkit HUD

Generate an optional HUD that reflects the active preset automatically:

  • Health and Stamina bars
  • Optional Mana and XP groups that hide when unused
  • Replacement of an existing ZionTPS Stats HUD to avoid duplicates
  • uGUI fallback when the UI Toolkit UXML asset is unavailable
  • Optional test-controls helper for quick runtime checks

Core Features

Health system

A configurable runtime health system for your ZionTPS player: configurable maximum health, damage and healing support, runtime value updates, change events, and hooks for enemy attacks, hazards, pickups and custom gameplay logic.

Stamina system

Drive ZionTPS actions from a configurable stamina resource — sprint drain, jump cost and roll cost, with automatic regeneration, a configurable regen delay and exhaustion detection. When stamina is depleted, sprinting is disabled until enough has regenerated.

Mana & XP support

Enable optional Mana and XP through supported presets when your project needs a broader RPG-style layer: a Mana resource, an XP progression value, matching HUD groups, and a simple foundation for abilities, spells, rewards, quests and custom progression. Because both are modular, you can keep a lightweight Health and Stamina setup whenever those systems aren't needed.

Event-driven & extendable

An event-driven design lets other systems react to stat changes without tight coupling — update UI on change, trigger low-health or low-stamina effects, connect damage zones, pickups, enemies and abilities, and drive custom audio, VFX, quests and reward systems while leaving the core stat setup intact.

Built for ZionTPS

Stats integrate with ZionTPS locomotion (sprinting, jumping, rolling and movement states) and are configured through ScriptableObject-based settings with configurable action costs and regeneration values.

Setup Tutorial

Watch the full Unity 6 walkthrough covering player selection, stat presets, StatsConfig handling, UI Toolkit HUD setup and installation.

Ideal For

  • Third-person action games
  • RPG prototypes and lightweight progression systems
  • Survival and adventure projects
  • Games needing Health, Stamina, Mana or XP foundations
  • ZionTPS projects that need a clear, modular stat layer

Requirements

  • Unity 6 or later
  • ZionTPS Third Person Controller
  • Unity Input System
  • UI Toolkit recommended for the generated HUD

Frequently Asked Questions

Which Unity version does it support?

Unity 6 or later, using the Unity Input System. UI Toolkit is recommended for the generated HUD, with a uGUI fallback available.

Can I add stats to an existing ZionTPS project?

Yes. The wizard detects existing ZionTPS components and Stats installations, reuses an existing StatsConfig asset or creates a new one, and replaces an existing Stats HUD to avoid duplicates.

How do other systems react to stat changes?

The module is event-driven. Stat changes raise events you can subscribe to for UI updates, low-health effects, audio, VFX, quests, pickups and abilities — without tightly coupling your gameplay code.

Summary

ZionTPS Stats Module gives ZionTPS projects a configurable Health, Stamina, Mana and XP foundation with presets, a guided installer, StatsConfig ScriptableObjects, event-driven hooks and an optional generated HUD — focused, modular, and built to add player stat systems quickly while leaving room for your own gameplay logic.