branchrust_reboot/main/Crocodilecancel
135 Commits over 273 Days - 0.02cph!
Fix warning spam on tiger
Remove test script from craggy
edited crocodile swim idle height/pose and made an additive mouth open pose for walk forwards
- Add croc death anims
- Fix croc not caring about threats when eating
- Fix NRE after killing player
- FIx animal death stats and achievement not working for wolf/tiger/croc
Merge from tiger (to fix trophies)
Have croc not bother to approach prey if it's already too far from water, instead of starting to approach it but then give up
Previous changeset didn't go through
Have croc match their prey aggression
Which means they'll be hyperagressive if sprayed non-stop
Pause sometimes when not hit for a while
Take their time if not hit at all
This helps the croc feel more balanced when faced with different player loadouts
Also make croc belly flop side-steppable again as the primary counter play
edited crocodile sprint and swim attack anims
Fix remaining client/server compile errors
- Fix npc head look not working in demos
- Fix npc jumps looking odd in demos
- Modify PrintDefinedFlags editor tools to also show tags defined in entity components
- Delete obsolete RPC_SetRagdollSpringShortened
- Fix client/server compile error
Increase static bite hitbox
Revert previous change and add flag to be consitent with previous code, and potentially easier to debug
Update croc and tiger dragging
Missing part of previous commit
Prevents multiple systems overriding each other changes when modifying the corpse spring joint
Fix NRE when croc dragging serverside ragdoll
Iterate on croc behaviour, remove zigzag attack, re-add static attack
Fix tracking accumulating error
Add failure transitions to croc to fix log spam
Fix croc diving under terrain
Fix croc hitboxes being activated too early (needed to take into account pos interp delay) - previous commit didn't go through
Fix croc hitboxes being activated too early (needed to take into account pos interp delay)
exported crocodile back pedal, edited attack and intimdate animations
Improve belly flop tracking, break up long intimidation with slow walk, disable zigzag attack temporarily
Make croc snap more often at a distance
Reduce croc speed when bringing food back to water
Port croc corpse carry ragdoll stability fixes to tiger
- Improve crocodile behaviour against static prey
- Fix crocodile getting stuck cycling between states when live prey is near food
Fix player corpse bouncing a lot when carried by the crocodile
Fix croc sliding during zigzag bite
exported updated crocodile intimidate attack anim
Fix spine deform not being applied during locomotion
more head rotation during crocodile intimdate attack anim
- Update timing of zigzag attack
- Fix rotation not being handle properly when using root motion tracking
- Reduce senseless croc jaw snap spam
re exported crocodile intimidate attack anim
- Fix crocodile jaw snap not doing damage
- Fix crocodile doing nothing when the prey is very close and it's intimidating
- Fix crocodile not looking at prey while intimidating
exported crocodile static and run death anims and updated intimidate attack anim
updated croc ragdoll prefab to look less goofy.
Decouple look-at and spine-deform when enabling on a per animation basis (fix spine deform being disabled inadvertently)
Fix crocodile sampling water at their visual location instead of at the nav agent location, causing them to go under terrain
- Decouple look-at and spine-deform when enabling on a per animation basis (this gets rid of issues where spine deform was inadvertently disabled)
- Fix crocodile diving instantly, dives at plausible speed
- Fix crocodile spine procedural anim always being disabled
Have croc exit dive if it happens to move out of the water
- Croc dives after fleeing into water instead of staying on the surface, right now the dive snaps the depth we need to look into it
- Make crocs float lower under the water so only snouth and back are visible
- Prevent croc from using land animations in water, and vice-versa
- Fix error from OnValidate
- Run codegen to fix compile error
Fix error because of OnValidate firing during gameplay
Updated layer for crocodile ragdoll