Hyper
  • Home
  • About Us
    • Embrace your creativity
    • The Founder
    • Modular Approach
    • Quality First
    • Connect
  • News & Updates
  • Store
    • Checkout
    • Cart
    • Try before you Buy
    • Epic Games Vault Access
    • Request Tier Upgrade
  • Courses
    • Learning Account
  • My Account
  • Docs
Select Page
Popular Search landscapecharacterdata

Getting Started with the Attribute Manager

  • Migration of the Attribute Manager
  • Integration of the Attribute Manager

Fundamentals of the Attribute Manager

  • Architecture of the Attribute Manager
  • Core principles of the Attribute Manager

Common Use Cases for the Attribute Manager

  • Creating a new state effect
  • Creating a new attribute

Misc docs for the Attribute Manager

  • Videos of the Attribute Manager
View Categories
  • Home
  • Docs
  • Attribute Manager
  • Creating a new attribute

Creating a new attribute

< 1 min read

To add a new attribute, you must add an entry to the non-persistent and persistent character enums, such as “Current Charm” and “Maximum Charm”. If you want it to automatically consume or regenerate, you would also need to add enum entries for these values in the persistent character enum (“Charm Regeneration Rate”/”Charm Consumption Rate”).

You would then need to add these variables to AC_Attribute_Manager_Abstract. If you look at the Primary States > Change Non-Persistent Attribute subgraph in AC_Attribute_Manager_Advanced, you can follow the flow of other attributes like health to see how it gets updated. You would also need to add an entry for each to the correct array, so an entry of “Current Charm” in the non-persistent attributes array, “Maximum Charm” in the persistent character attributes array, etc. This will add it to the attributes list in the UI tab.

In UI_PlayerStats, you can duplicate one of the rows and change it to be your attribute to add it to the in-game UI.

What are your Feelings
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

  • RSS
Copyright © 2023 - GamesbyHyper.com | All Rights Reserved