12,019 Commits over 2,527 Days - 0.20cph!
Hooked up telephone animation on deployable telephone
Removed OnPhone state and parameter from player animator
Better visualise handles of sub systems in the list view
Added ability to mark a subsystem as affecting the upper body layer only
Renamed TelephoneAnimationSubSystem -> OverrideAnimationSubSystem
Profiling
Reapplied changes to PlayerModelAnimationInspector
Don't allow non matching types in the sub system dropdown
Merge from parent (use PlayerModelAnimationInspector from main, will reapply changes on this branch)
Fixed missing throw animation on bee grenade hold type
Added toggle visible events for bee grenade and beancan
Don't allow the spraycan to open the reskin menu if the only available skin is the current redirect and the base item is hidden
Reapply AnimatorOverrideUpdater
Create a new 3p_idle_unarmed_pose - a single frame version of 3p_idle_unarmed
Use that on the upper body idle, update all of the overrides accordingly
Subtract
150051 (introduced stepping issues)
Added a new Animator Override Updater tool to batch update overrides when replacing an animation on the base player animator
Since overrides work by overriding clips (not states) replacing the clip breaks every override that was referencing that clip
This automates the process of hooking them all up
Replaced the stance-idle clips in the Idle/Aiming blend tree with 3p_idle_unarmed and then ran the updater, updated 141 override controllers
Fixed some spraycan regressions when reskinning redirect items
Merge from main (solved StorageAdaptorAllowCollisionGroup conflict)
Added all of the barrel skins to StorageAdaptorAllowCollisionGroup
Merge from main
Cannon.cs and PlayerModel.cs conflicted, auto merged
Hacked in a simple way for one shot animations to notify a looping animation to rest, so we don't transition back to a loop half way through (mid yawn)
Added property drawer support for referencing animation sub systems, renders them as a dropdown using a new subsystem name field
Refactor RandomLoopAnimSubSystem to just use two handles, release and create them on the fly as needed
Much simpler state handling
"Strip LODS of selected' will no longer delete ObjectMotionVectorFix components
Colour code handles based on their sub system ownership
Track active handles at the subsystem level (not the actual component), automates all releases and should make editor tooling easier
Add support for showing sub systems
Merge from player_model_anim_inspector
Merge from main
Lots of code conflicts, all resolved except for one in PlayerModel.cs, looked fine
Conflicts on binocular.entity, used changes from source (presumably related to refresh?)
OneShotAnimationSubSystem can now pick from a selection of random animations
Hooked up SaleSuccess, EndConvoBoughtNothing, Talk and EndConvoBoughtSomething events
Plays from a selection of animations for each state
Added a priority system, allows us to specify a sub system to use Low, Medium or High priority to take ownership of the player model
Hooked up an additional OneShot system to the test chair, so we're running the random idle as a base and then a one shot to react to events
Added RandomLoopAnimSubSystem, can cycle through an arbitrary amount of looping animations, randomly picking the next one to play
Fixed some pooling issues when going in and out of range of animators running sub systems
Added a new ClientOnPlayerMountedWithPlayerModel callback for mountables, is called the first frame the player has a valid player model
Using this bypasses the recurring issue that ClientOnPlayerMounted is called before a player model exists when coming into network range of a player
Didn't make a matching dismount version as we don't have the same problem when leaving network range
Piped the in-game debugging readouts into the unity inspector for more visibility while in editor
Added an example OneShotAnimationSubSystem for handling event driven animations
Added debug.animatorsubsystemdebug convar that prints out the currently active sub systems
Each system can add to the debug readout with component specific info (eg. per clip blends)
Added a TwoAnimBlend example
Add general fade in/out support
Exploring a new AnimationSubSystem class to standardise the new player model handle techniques we've been using for various one shots and other features
Replaced the dedicated OnPhone state in the PlayerAnimator with a new TelephoneAnimationSubSystem
Merge from elevator_fixes_apr_26
Allow elevator cables to update while offscreen
Some new Light LOD system tests
Merge from elevator_fixes_apr_26
Fix player elevator cables sometimes appearing in the wrong place if the player was too far away from the elevator
Disable the hurt trigger on the launch site lifts when the lift is idle, will no longer kill players if they jump while underneath it
Require LOS for hurt trigger on player placed lifts, prevents killing players if there's a floor between the player and the elevator
Fixed industrial furnace not retaining it's children (storage adaptors) when reskinning with spray can
Added a new ToggleThrownWeapon animation event, allows us to switch on/off the grenade visuals so they don't stay in the players hands all the time throughout a throw animation
Implemented on supply signal, smoke grenades, molotovs, beancans, flashbangs, bee grenades, f1 grenades and firecrackers
Fixed incorrect animations on the smoke grenade and firecracker animation overrides
New StateSync component for weapon animators
Looks for a matching state on the main player model and matches the normalized time on the weapon animator to ensure the animation stays in sync
Will need to be applied to each weapon individually, applied on HMLMG reload animation for now
Enable single frame parenting for AK mag drop effects