How to add a new movement "mode" to Lyra?

For anyone looking to do this, I think I made some headway yesterday.
The parent class of all Lyra ABPs is ABP_Mannequin_Base which has a C++ parent class of LyraAnimInstance
You then have a child of that called ABP_ItemAnimLayersBase
Any ABP that needs to deal with items like weapons is then a child of that and only has access to swapping out animations and a couple aim offsets.
I thought to make a new movement mode I would duplicate one of those item BPs and adjust it, however you cant change and AnimState logic in those BPs.
So to change the AnimState logic you need to duplicate ABP_ItemAnimLayersBase and change its name, I did ABP_MoveMode_LayersBase. In that ABP you can change state machines to include the necessary BlendSpaces.
I am still working on this and testing, but so far this seems to be the correct route.

1 Like