Skip to content

Gameplay Containers Setup Guide ‐ Unify Demo Project

Nazake edited this page Aug 10, 2024 · 22 revisions

Getting the demo project

To get the demo project, you can either clone the repository here or manually download it, currently its for unreal engine version 5.3 or higher

Downloading and Locating the Gameplay Containers Plugin

NOTE: If an image is not clear, right click it and choose Open Image In New Tab

Step 1: Download the Gameplay Containers plugin from the Epic Games Launcher for whatever engine version you wish to use from 5.1 and above.

Step 2: After downloading, you can find the plugin in the following directory:

{EngineDirectory}/Plugins/Marketplace/GameplayContainers

347741896-726acb1a-c65a-438b-9baa-c7ba21a60868

Step 3: Make sure your project is closed (the editor is not running), then copy the GameplayContainers plugin folder to your project and paste it inside the Plugins folder.

  • Note: Create the Plugins folder if it does not exist already, and paste the GameplayContainers folder in there.

See the image below for reference:

356566180-1eddb31b-0a48-4832-bc1f-ec62141cfbf3 Captureewewewe

Step 4: Open your project in Unreal Editor, and go to Edit > Plugins > Gameplay category. Ensure that the plugin "Gameplay Containers" is enabled. If it's not, click on the enable checkbox to the left, and you might be prompted to restart the editor.

See the image below for reference:

wewewe

Step 5: Open the project solution in your favorite IDE, I use JetBrains Rider IDE for UnrealEngine.

  • Go to Unify.Build.cs file and add GameplayContainers to the PublicDependencyModuleNames

qweqwe

Step 6: Right click Unify.uproject file and click on Genereate Visual Studio project files

wewewe

Step 7: Implementation, we will need to change few things to implement the plugin.

  • Navigate to Unify.h header file in your IDE solution files

sdsdsd

  • Now, you will need to enable Compile Gameplay Containenrs plugin code by changing COMPILE_GAMEPLAY_CONTAINERS value from 0 to 1

sdsdsd

  • Next, you will need to navigate to UnifyPlayerController.h and edit the code shown in the image below, by uncommenting the UFUNCTION & UPROPERTY and then commenting the macro. Follow the images below.

qweqwe qweqwessss qweqwssss we000 wqdqwd

  • Next, go the UnifyPlayerController.cpp and make sure there's no errors or missing includes.

wewewe Capturewewe

  • Next, go the character class for Unify demo project, which can be found in Character folder UnifyCharacter.h

wdwdwd dwdwd qweqwe wewewsss

  • Next, go the UnifyCharacter.cpp and make sure there's no errors or missing includes.

fefefe

  • Next, in your IDE navigate to Plugins/GameplayContainers/GameplayContainers.Build.cs and add Unify to the PublicDependencyModuleNames

Capturewewewe

  • Next, navigate to Plugins/GameplayContainers/Core/Abilities and edit GameplayAbility_Base.h header file and change the ability parent class to use UnifyGameplayAbility instead of the default one.

wewewewe ewewew

  • We're pretty much done here, now just compile the project and launch the unreal editor from IDE or manually.

Demo Project

Test the plugins in my demo project.

Documentation

Change Logs

Support

Join us on Discord.

Clone this wiki locally