Equipment / Equipment Window

Equipment Window Widget

The equipment window UI_TargetEquipment can be found inside the UIs/Equipment/ folder.

Whenever the player toggles the equipment window it will check the currently possessed pawn for an equipment system. From that reference it will link up the storage component used by that equipment system.

On setup the system creates this window dynamically using this UI_TargetEquipment widget as the window content. This is done using the CreateWindow function on the HUD, and is being called from the setupEquipmentSystemUI function inside our AC_InventorySystem component.

Customizing the Equipment Window

For the player equipment window you can customize the Window Title Text, Icon, Open and Close Sounds using the variables found on the Configure / Equipment / Equipment Window section of the AC_InventorySystem component you added to your player controller.

View the Sounds chapter to learn how to customize the other sounds.

Customizing Equipment Slots in the Window

The equipment slots that are shown in the equipment window are actually specialty slots, and we define what slots are used by the pawn through the equipment system component. We do this by setting the EquipmentSlotsProfile variable, which is a reference to a row name in the DT_SlotsProfile data table. The row contains an array of specialty slots, each a row name of our specialty slots that define what can be added to the slot.

For our player we set this EquipmentSlotsProfile variable in the Configure / Equipment section of the AC_InventorySystem component we added to our Player Controller. For everything else it can be set directly on the AC_Inventory_Equipment component. We go over this in more detail on the equipment slots page.

By default the keybinding used to toggle the equipment window is [ C ]. For gamepad there is an icon that can be clicked at the bottom of the inventory window. The key binding for this input action can be found in the IMC_InventoryV4_KBM_Equipment input mapping context in the Blueprints/Input/KeyboardMouse/ folder.