Creating new Slot Actors

Currently in 1.51 there is only one Slot Master setup for Static Meshes, in a later version there will likely be a Skeletal Mesh Version. In the Folder /All/Game/DAO/Blueprints/HeldObjects/SlotManagement/Slots you will find the Slot Master.

To begin we will create a Child of this class and name it.

Assign the Static Mesh to the Static Mesh Component if you need one, otherwise you could just have this as a permanent actor that is attached to the character slot with which no mesh has been assigned, but if that's the case it may make more sense to just duplicate this one and remove the static mesh component from the root. (It doesn't require a Static Mesh to be assigned, but if your not using it then it doesn't make sense to have one)

Next we need to setup some tags which include: Accepted Item Tags: This is the tag of the Items we want to allow attachment to this Slot Actor. If the Items Tag Matches one of the tags within this Gameplay Tag Container then it will be attached. This is a Container which allows more then one tag to be assigned. Accepted Slot Tags: This represents the Slot with which this slot actor can be attached. The slot manager component on the Character will determine which slot this Slot Actor is attached. This is a Container which allows more then one tag to be assigned.

It's important that you know that the Accepted Slot Tag must be associated with an Item Slot in order for the Slot Manager to attach it to a Socket. Therefore you must go into your Character (Child or Main BP) and add an Item Slot Entry, give it a Socket Name that exists on your Character, and tell it what hand will be reaching for it.

Remember that if you are using a Live Retargeted Character, that you override the GetCharacterMesh function as this will return the reference to the mesh with which things get attached.

Last updated