The Walking Dead Universe (TWDU) feature set introduces user interface (UI) assets that you can add to your islands for a unique heads up display (HUD). The custom UI includes a player's vitals and their selected item. The Walker NPC template uses this design element to let players know that Walkers mean serious business!
Access UI Assets
The UI assets are available in UEFN from the Content Drawer > The Walking Dead Universe Content > UI folder.
The UI folder contains material instances, textures, and general materials that form to create elements in the Unreal Motion Graphics (UMG) user widgets.
You can not copy the files in the UI folder to your project folder. You must reference the files for use. The table below describes the available UMG widgets in the Widgets folder.
Widget | Description |
UW HUD EquippedInfo Block | Element for your selected item. Includes ammo when applicable. |
UW HUD PlayerInfoBlock | Element design that shows the player's health and shield. This file is connected to the UW HUD TeammateInfo widget. |
UW HUD TeammateInfo | Element design that shows the health and shield for the player's teammates. |
UW HUD PlayersInfoStack | Combines the player and their teammates information. |
Set Up Vitals and Selected Item UI
To add the UI to your island, follow these steps:
In the Content Drawer, search for the HUD Controller, and drag the device into your island.
Navigate to Content Drawer > The Walking Dead Universe Content > UI > Widgets.
With the device still highlighted, select UW HUD PlayersInfoStack.
In the Details panel, under User Options, click Advanced, and scroll down to Player Info Widget Override.
Click the arrow icon to add the selected widget.
In the Widgets folder, select UW HUD EquippedInfo Block.
From the Details panel, scroll to Equipped Item Info Widget Override, and click the arrow icon to add the selected widget.
Click save.
The widgets should now appear in the bottom right corner of your screen in play mode. The location causes an overlap with the text chat feature, making it not visible.
To adjust the location of the text chat, follow these steps:
Click the HUD Controller device, and navigate to the Details panel.
Scroll to Modify Text Chat Layout, and click the check box.
In the Alignment dropdown, click Middle Right.
In the Anchor dropdown, click Center Right.
Click save.
The text chat should now appear to the center right, clearing up your custom UI.
The shield bar appears empty by default. You can place shields in the game to see how the UI will look. The custom UI does not support stamina.
To learn more about the device options, see HUD Controller Devices. For your own custom UI, you must create widgets and connect them to the device similar to the steps above. To learn more see, In-Game User Interfaces.
For additional in-editor practice with various UI feature examples, check out the User Interface Feature Template. To access the template while already in the editor, follow these steps:
Click File > New/Open Project. The Project Browser opens.
Click Feature Example > User Interfaces.
Create a new project.
Up Next
Continue to learn about design elements to enhance your TWDU islands.