777 GS - Mega Stamina / Replicated, C++

:rocket: MegaStamina - Professional RPG & Action Stamina System

MegaStamina is a high-performance, production-ready stamina framework. Designed to be modular, network-safe, and extremely efficient.

Stop wasting time with basic tutorials. MegaStamina gives you a complete, “plug-and-play” solution that works for RPGs, FPS, Survival games, and more.

:gem_stone: Why Choose MegaStamina?

Most stamina systems are just simple counters. MegaStamina is a complete gameplay framework:

  • :high_voltage: Zero-Tick Architecture: The system does NOT use Tick(). It uses efficient timers to save CPU performance—perfect for projects with many actors or mobile devices.

  • :globe_with_meridians: Network-Ready (Predicted): Built for multiplayer from day one. Features Client Prediction so players never feel lag, while the Server keeps total authority.

  • :skull: Stamina Debt System: Let players perform one last “dodge” even with 0 stamina. Stamina goes negative, and the player enters an “Exhausted” state with slower recovery.

  • :shield: Reservation System: “Lock” parts of the stamina bar for heavy armor, active auras, or channeled spells. It dynamically changes the usable maximum stamina.

  • :label: Native Gameplay Tags: Automatic state management using Unreal’s Gameplay Tags (Exhausted, Regenerating, Infinite). Easily trigger UI or VFX based on these states.

  • :balance_scale: Dynamic Cost Multiplier: Instantly adjust costs based on weight (Encumbrance), status effects (Fatigue), or difficulty settings.

:hammer_and_wrench: Technical Features
  • Fully Modular: Add the component to any Actor (Player, AI, or even Vehicles).

  • Hybrid Max Stamina: Use internal values or bind to external RPG attributes (like Strength or Endurance) via delegates.

  • Exhaustion Hysteresis: Prevents “stuttering” movement by requiring a recovery threshold before the player can act again.

  • Save/Load Ready: Built-in system to save stamina state.

  • Multiplayer Replicated: All settings (Regen Rate, Delay, Multiplier) are automatically synced.