0.2.0
Unreal Versions
- 5.4
note
Going forward, the example map will only be updated for the most recent version of Unreal.
Changes
- Added a level for third person games (
LV_BoltExample_ThirdPerson).- The example uses a simple focus/interaction system for picking up items and opening chests.
- Added functions
OnFocusedandOnUnfocusedto theBPI_Interactableinterface. These are called locally when the actor gets focused/unfocused by a player.
- Added new widgets for an item hotbar.
- Note that this hotbar only works for using items; we will not be implementing a hotbar for the items' abilities. See the UI Guide for more info.
- Removed most dependencies on the example map's C++ classes from widgets.
- Some dependencies can't be avoided due to the way GAS is set up.
- Renamed
ItemOperationHandlertoInventoryComparisonViewModel - Removed
BPI_ItemOpHandlerWidgetinterface- Replaced with individual
Initializefunctions for inventory widgets and slot widgets
- Replaced with individual
InventoryComparisonViewModelis only used for inventory comparison windowsW_WorldItemPickupButtonrequests directly from the inventory controller- Drop button requests directly from the inventory controller
- Added a function
Play Feedback For ResulttoBPFL_WidgetUtilsfor playing feedback from any class
- The Player Controller contains the
FeedbackCataloginstead of theItemOperationHandler; pickup and drop buttons tell the player to send feedback using the catalog - Renamed
PickupItemStacktoHeldItemStack - Renamed
W_GenericInventoryWindowtoW_InventoryComparisonWindow_Generic W_InventoryComparisonWindow_Genericis now responsible for mapping inventory classes to the inventory widgets it spawns.- Added the
W_InventoryComparisonWindowBaseclass for inventory windows.W_PlayerInventoryandW_InventoryComparisonWindow_Genericboth derive from this class- The
ViewInventoryfunction (fromBPI_PlayerWithInventory) now takes theW_InventoryComparisonWindowBaseclass.- Notably, this is the "Window" class, not the "Inventory" class.
- This puts it more in line with the
PushContentToLayerForPlayerfunction from the Lyra Example.
W_WidgetStackon the HUD now usesCommonActivatableWidgetStack.- Windows pushed to the stack must derive from
CommonActivatableWidget. - Windows receive the
OnActivated/OnDeactivatedevents when reaching/leaving the top of the stack, respectively.
- Windows pushed to the stack must derive from
- Inventory windows and the HUD now derive from
CommonActivatableWidget.- These classes use common UI's
GetDesiredInputConfigto handle input config changes.- For example, the mouse cursor should become visible when opening your inventory in third person.
- These classes use common UI's
- Inventory widgets now unbind from delegates when destructed.
Bug Fixes
- Fixed a bug in the non-stoch example map that caused equipment to spawn additional item sockets when loaded.
- Fixed a bug where inventory delegates would get called during engine teardown.