unreal-gas-editor

GAS Editor 🪂

GAS Editor allows to quicky create attribute set and attributes directly from Unreal Engine editor.

Index

How to use ?

1. Enable Gameplay Ability System Plugin

In the Plugins window, enable the Gameplay Ability System plugin and restart the editor.


2. Enable C++ Support

For the plugin to work, you need to create a base attribute class. This step is necessary to include the required attribute set header files. This is a one-time process.


3. Download the Plugin Code

Download the plugin code that matches your Unreal Engine version.


4. Add the Plugin to Your Project


5. Start the Editor


6. GAS Editor


7. Hot Reload

After saving the attributes, you can use Live Coding to hot reload the project.


8. Testing Attributes

You can create a simple Gameplay Effect to test whether the attributes were created successfully.

Editor Window

  1. Class Name: Specifies the name of the class header file.

  2. Source Folder: The folder path where the class header file is located.

  3. Advanced: This section is collapsed by default and provides additional configuration options.

  4. Template: The template used to generate new attributes. It supports the following placeholders:
    • _CLASS_ - Represents the name of the base class.
    • _NAME_ - Represents the name of the attribute.
  5. Selector: A regex pattern used to match attributes in the code.

  6. Region: Specifies the region in the code where the generated code will be inserted.

  7. Test direct public region: If checked, the class’s public: section and closing }; will be used as the insertion region instead of the default GAS_EDITOR_ markers.

  8. Load: Loads the class header code for editing.

  9. Save: Saves the generated code to the file.

  10. New: Creates a new attribute set using the provided class name and source folder. This will override existing file.

  11. Preview: Toggles between viewing the generated code and the original code.

  12. Create Attribute: Create options to create or remove attributes.

  13. Add: Adds a new attribute.

  14. Auto Add Max: If enabled, automatically creates corresponding Max attributes (e.g., HealthMax for Health).

Preview

Known Issues:


☄️