Updated InteractionInterface to include GetInteractionText method
Fixed deprecated APIs used when searching for subclasses
Fixed spelling Interactible -> Interactable
Updated interaction component to have new API to return closest interactable
Added interaction check within a timer to character class, and show the interaction text using the popup widget
Refactored the interaction interface out of WotGameplayInterface and into specific WotInteractableInterface
Updated UserWidget to support offset from attached actor
Updated character to allow spawning popup widget without animation
Added name to NPC bp class for all NPC
Updated popup widget to set position with offset when spawned
Updated WotGameplayInterface to have highlight and unhighlight methods
Updated interactibles (items, openables, npcs) to implement (un-)highlight methods from WotGameplayInterface
Updated inventory panel and chest to set new flag on wotcharacter: MenuActive, which prevents the interaction check from running (so that the popup doesnt show)
Updated interactive foliage component to support highlighting with the new interface. right now this will highlight all instances of the foliage type that is selected, but thats a fix for later if possible.
Updated the highlight material to have a material function for performing the highlight and to also support the perinstance custom data for the instance static mesh components like foliage
Added infinite bounds post processing volume to diorama scene and set the highlight material instance as its material in its first material slot.
Motivation and Context
Closes #53
This PR allows for the user to see when they can interact with game objects, what objects are currently interactable, and what the interaction action will do (e.g. pick up, follow, talk, open, close).
How has this been tested?
Playing diorama test map in editor and checking:
Chests
Animals
PowerUps (e.g. health potions)
Tam
Foragables
Droppables
Screenshots (if appropriate):
In the video below, the highlight is a light pink outline around the object, that may not be easily visible from the video unless you fullscreen it.
Description
Motivation and Context
Closes #53 This PR allows for the user to see when they can interact with game objects, what objects are currently interactable, and what the interaction action will do (e.g. pick up, follow, talk, open, close).
How has this been tested?
Playing diorama test map in editor and checking:
Screenshots (if appropriate):
In the video below, the highlight is a light pink outline around the object, that may not be easily visible from the video unless you fullscreen it.
https://github.com/Well-known-Game-Studio/wot_a_good_game/assets/213467/ebc7d977-24cb-4699-a9c4-b0c70902475e
Types of changes
Checklist:
Software
.github/workflows/build.yml
file to add my new test to the automated cloud build github action.