Equipment Widget
Has anyone implemented an Equipment Widget since 1.0? I'm trying to figure it out myself but figured I should ask here as well.
8 Replies
I ran into a couple of issues trying to do some of these so this is me paying attention
I phased out all equipment widgets when Arch said they are going to be depreciated. For QuickCurves/QuickCopy I just add/remove widgets manually now. I don't know if that is the right way to do things, but it does seem to work.


It's not really the right way, you should implement an interface on your equipment to be able to show custom widget content in the existing UI
Assuming you want it in the bottom left corner and with UI parabolic deformation effect applied to it
Otherwise yeah either widget hooking or manually inserting it into BP_GameUI
Direct Add to Viewport should be avoided as such widgets do not have correct layering with the UI and other menus
I also completely hide the player hud and hide many elements of BP_GameUI to avoid layering problems.
But yeah, if you want it to play nice with existing UIs it should be injected into BP_GameUI
Cool, thanks for the input. I'll see what I can figure out
The interface is called BPI HUD Eslot Helpers
Primary function you need to implement is Get HUD Eslot Class, you might also want to implement Get Update On Tick and Get Always Show Content if you want different behavior than defaults. Your widget class must be derived from BPW HUD Eslot Content. You can implement Update Eslot Data function from the parent to update the visual state of the widget from the Equipment Object field on the instance.
Widget will by default only show for 5 seconds after equipping if you return false in Get Always Show Content, and you can make it visible again when the equipment state changes by calling one of the functions on the widget instance.
That's for the small widget status UI that look like squares though. Arms and Back Equipments also support large HUD boxes, content of which you can override by implementing BPI Generic HUD Box interface on your equipment and overriding Get HUD Box Widget
Are you sure there isn't more to the Generic HUDBox interface? I've made a widget with
Widget_HUDBox_Equipment_Parent
as the parent and set my widget as the return value for Get HUDBox Widget
but my widget doesn't show and never seems to get constructed
The HUD Eslot thing worked, but it isn't quite right for the kind of widget I'm trying to usehud box is only implemented for arms and back slots. This said, I just did a quick test and it does not seem to work for vanilla equipments either. So I will take a look tomorrow
OG widget is intentionally removed according to UI