branchrust_reboot/main/Crocodilecancel
104 Commits over 59 Days - 0.07cph!
Tweak anim transitions to make sure they at least work when speed = 0, making it easier to track down the issue
Fix croc using 2 consecutive 90 turns instead of a single 180
- Hook placeholder zigzag bite attack
- Workaround for animation pop after turn 90, need proper fix (maybe it's briefly going to walk locomotion)
- Update croc fsm declaration syntax
Cherry pick
110444 from scientists branch (loadout categories for rust editor)
Reduce twitches in croc anim transitions
Hook croc belly flop and more aggressive turning and snapping
Match croc speeds to anim
Make crocodile waddle back to water if they strayed too far from it during a chase
Make GetCoarseVectorToShore more explicit and intuitive (no need to remap Y to Z and to extract distance from Z anymore)
Rework crocodile intimidate to be like an alternate combat idle instead of a custom animation state, more consistent with the tiger and easy to reset on pooling + no RPC required
Add option to disable/enable look at and spine deform on a per anim basis, use it to make croc intimidation look better
- Remove anim speed scaling on croc
- Increase melee range, interrupt intimidation if prey moves too far away
Regenerate root motion data
Revert root motion extractor workaround as we found a proper fix
Add missing state to croc
- Add special case to root motion extractor to handle the crocodile annoying root bone parent
- Regenerate root motion for all anims
Wip croc intimidate turns
Use bool instead of trigger for croc intimidation
Remove temp edits that were added to root motion extractor
- Temp workaround to be able to test new crocodile attacks
- Hook croc intimidation
Hook part of the new croc anims
- idle
- run, sprint
- sprinting land and swim attacks
- hit
Some issues with extracting root motion from croc as it has a weird rig
Remove need for an intermediate data type when declaring fsms (previous commit didn't go through)
Remove need for an intermediate data type when declaring fsms
Reimport croc intimidate and turn
Tweak croc biome preference
Re-add missing part of plugin lost with merge
Fix compile errors and warnings
Setup crocodile pop to spawn only in swamp, riverside or lakeside
Make crocodile prefer being in water when roaming or fleeing unlike other animals who try to avoid it
Fix croc sometimes snapping between water surface and water floor
Fix head pop, but had to disable the head look, need to find a way to order proc anim on spine and neck properly
Add proc anim to croc tail
Conform crocodile x-axis (roll) rotation to slopes, as even though it looks odd with tall animals it looks natural for them
- decrease acceleration when swimming
- increase land sprint speed
- charge when injured
- fix swim sprint anim playing briefly sometimes when not sprinting
- submerge more when swimming
Switch land or swim attack depending on context
Prototype swimming, reduce head turn range
Reduce foot sliding, rebuild manifest, fix charge
Setup crocodile fsm and animator
Merge from tiger as there are a lof of shared improvements that need to be ported