Docs
Introduction

Introduction

Blueprint Attributes is a plugin extension for GAS, fully exposing Attribute Sets and Gameplay Attributes to Blueprint. Enabling a workflow 100% within the Editor.

No more native code requirement for Attributes in C++!

It addresses a fundamental limitation of the Gameplay Ability System, making UAttributeSet fully blueprintable. This enhancement allows for a seamless workflow entirely within the Unreal Engine Editor and Blueprints, simplifying the process of working with Attribute Sets and Gameplay Attributes.

Main Features

In the realm of GAS development, the struggle has always been real for Blueprint-centric teams. Until now, the Gameplay Ability System's reliance on native code for Attributes has posed significant hurdles, hindering rapid iteration. This plugin was developed to alleviate this issue!

It's important to note that it doesn't change the way GAS works and integrates with existing GAS workflows (eg. We're still dealing with UAttributeSet!)

Links

Videos

  1. Intro and Overview (opens in a new tab)
  2. Gameplay Effect Execution Calculation class in Blueprint (opens in a new tab)
  3. Save and Load Attributes (opens in a new tab)

Plugin Features

Blueprint Attributes comes equipped with an extensive set of features to enrich the developer experience and maintain compatibility with the existing Gameplay Abilities ecosystem and workflow. These features include:

  1. Runtime Module: A runtime module provides a base UAttributeSet class for inheritance.

  2. Custom UBlueprint and FBlueprintEditor: Custom classes that facilitate Blueprint-based Attribute management.

  3. Editor Modules: Additional modules for streamlined editor integration.

  4. Details Customizations: A wide array of classes and Slate widgets to fine-tune attribute details within the Unreal Editor.

  5. Attribute Wizard: (Note: this is totally optional) A powerful tool designed to assist in transitioning from Attributes defined in Blueprints to C++ classes. It generates the appropriate C++ class based on the AttributeSet defined in Blueprints and the Attributes it contains. This allows developers to either inherit from the generated class or migrate entirely to native implementations.

It aims to simplify the workflow and maximize flexibility when working with Attributes in Unreal Engine.

Key Features of Blueprint Attributes Plugin

  1. Quicker Iterations

    • Empower Game Designers and Blueprint Developers to rapidly iterate on Attribute design.
  2. Define Attributes in Blueprint

    • Create Attribute property variables in the Blueprint Editor for immediate use in Gameplay Effects, K2 Nodes (e.g., GetFloatAttribute()), and other locations where a Gameplay Attribute picker is applicable.
  3. Built-in Clamping

    • Support for clamping via Data Table initialization, with handling of "Min Value" and "Max Value" columns.
    • Customizable clamping using a special Gameplay Clamped Attribute Data property (a child of FGameplayAttributeData) with float or Attribute-based clamping.
  4. Customized Blueprint Editor

    • Blueprint Editor with Data Validation.
    • Toolbar with quick-access buttons for:
      • Adding Gameplay Attribute properties.
      • Creation of Data Tables.
      • Porting BP Attribute Sets to standard C++ Attribute Sets.
    • Details Customizations to expose Attribute BaseValue to Blueprint and set it directly from the Details panel.
  5. Interactions with Gameplay Effects

    • Attribute Sets can override several functions to control how an Attribute responds when a Gameplay Effect attempts to modify it.
    • Most of this API is exposed to Blueprints (e.g., PostGameplayEffectExecute, Pre/PostAttributeChange).
  6. Replication

    • Replication support for Gameplay Attributes defined in Blueprints, suitable for multiplayer projects.
    • Handling of LifetimeReplicatedProps.
    • Integration of rep notifies to manage predictively modified attributes by clients (equivalent to the C++ GAMEPLAYATTRIBUTE_REPNOTIFY macro).
  7. Integration with K2 Nodes

    • K2 Nodes (Blueprint nodes) that use FGameplayAttribute parameters now display a list of Attributes defined in Blueprints in the combo box, similar to Gameplay Attribute properties in Gameplay Effects.
  8. Attribute Wizard for Blueprint to C++ Transition (Optional)

    • A wizard and Scaffold module facilitate the transition from Blueprint-defined Attributes to C++.
    • Generates proper C++ header and source files (with preview!) based on defined Gameplay Attributes in the BP Attribute Set.
  9. Referencer Handlers

    • Detects Attribute renaming in the Blueprint Editor.
    • Replace previous references to the renamed Attribute in Gameplay Effects.
    • Displays a list of modified properties and Blueprint nodes (K2Nodes) in the message log with clickable links for easy navigation to the referencers.