Setting up the Character UI
- Go to the Blueprints folder into the folder UI, and in there in the folder called InGame
- Create a blueprint class that is based on BaseCharacterDisplayWidget and call it W_CharacterDisplayWidget.
- Open the widget
- Design the widget however you like
- Add a canvas panel to the widget named CharacterCanvas.
- Add a image block as a child of CharacterCanvas named CharacterImage.
- Open the blueprint BP_InGameHud.
- Add the component Character Controller
- In the settings of the component set the Character Display Widget Class to W_CharacterDisplayWidget
Everytime a new character is spawned, the above created widget will be used to display the character. If you intend to always display something additional with a character, this can be used to set this up as well. An example would be that you display only character portraits in the visual novel. You could then setup the border of the portrait in here as well.
Next up is setting up the CG UI.