Overview

WCGASLevelingSubsystem is a Game Instance Subsystem that serves as the central coordinator for the character progression and leveling system in the Wonderscape GAS Ally plugin. It automatically initializes at game start, loads leveling rules from Project Settings, manages XP threshold calculations with performance caching, applies stat gains through Gameplay Effects, and orchestrates three distinct progression modes: Traditional RPG (automatic stat increases), Point Allocation (player-distributed points), and Souls-like (XP-based attribute purchases).


Purpose

The Leveling Subsystem orchestrates all character progression mechanics by providing:


How It Works

Initialization Flow

  1. Subsystem Startup: When the GameInstance initializes, this subsystem automatically loads via UE's subsystem lifecycle
  2. Load Global Rules: Retrieves leveling configuration from Project Settings via UWCGASLevelingSettings::GetLevelingRulesData()