Overview

WCGASHeritageValidationRules is a Data Asset that defines global rules for race-class interactions in the Wonderscape Creations GAS Ally plugin. It allows designers to configure which races can take which classes, set maximum race limits for hybrid characters, and define how racial rewards combine—all without writing any C++ code. The asset is loaded at game startup and cached by the Heritage Subsystem for fast runtime validation.


Creating a Heritage Validation Rules Asset

Using the Wonderscape GAS Ally Menu

  1. Open the Content Browser
  2. Right-click in any folder where you want to create the asset
  3. Navigate to: Wonderscape GAS Ally > Heritage > Heritage Validation Rules
  4. Give your new asset a descriptive name (e.g., DA_HeritageValidationRules)
  5. Double-click the asset to open it and configure its properties

How Heritage Validation Rules Works

Registration Flow

  1. Project Settings Configuration
  2. Automatic Loading at Game Startup
  3. Runtime Validation

Bidirectional Validation

Heritage Validation Rules enforces restrictions in both directions:

Action Validation Example
Adding a Class Check if character's races are allowed for the class Dwarf trying to become a Mage (forbidden)
Adding a Race Check if character's classes allow the race Mage trying to add Dwarf race (forbidden)