branchrust_reboot/main/viewmodel_early_disable_fixcancel
14 Commits over 59 Days - 0.01cph!
New solution for persisting held entity animations on the playermodel
Seems to fix previous issues where those animations would not always clear correctly
Revert change to PlayerAnimation.controller and remove the new StateMachineBehaviours for it, they were fucked
Fix issues with viewmodel and playermodel hold type override lingering around when holstering grenades normally
New issue where setting the playermodel hold type override to persist no longer works correctly with 'client.prediction' off or when seen on other players, will look at next
Updated PlayerAnimation.controller:
- Added PersistHeldEntityHoldAnimationOverride state machine behaviours to 'attack' and 'throw' states
Fix issues with viewmodels disappearing
Fix viewmodels disappearing when held with a shield
Fix warning about viewmodels receiving the clear event when they are not setup to clear
Adjust viewmodel camera lerp time on beancan grenade
Fix issue where viewmodel camera lerp would start when there is still items in the held item stack
Shelve tool for adding viewmodel camera lerp animation events automatically
Fix issue with viewmodel camera lerp duration not taking into account the current animator state speed
Add functionality for triggering a viewmodel camera animation to start a lerp back to default values, to smooth out the otherwise abrupt exit when a viewmodel gets cleared
Mostly functional tool to make enabling this viewmodel camera behaviour a bit easier
Add some extra easing helper functions to LeanTweenHelpers
Add ability to keep entity hold type override on 3rd person playermodel active after the entity has been destroyed, until an animation event has been received (same setup as for viewmodels)
Fix an issue where overrides of DoPrepare were not being called when invoked from the context menu button
Add support for having held entity viewmodels stay active after the entity has been destroyed due to using the last item in a stack, fixes viewmodel animations stopping early
Setup for beancan grenade as a demo