branchrust_reboot/main/jungle_updatecancel
143 Commits over 31 Days - 0.19cph!
Replace all usages of "is {}" pattern matching to properly account for unity null override (previous commit didn't go through)
Replace all usages of "is {}" pattern matching to properly account for unity null override
Add command to toggle tigers leaving clawmarks, defaults to false
Fix croc failing to destroy twig foundation if player is not standing on it, but standing closely next to it within the navmesh carving volume
Fix tigers getting stuck in flee state
Improve ai speed logs
Fix NRE when tiger jumps to unreachable target
Fix tiger floating after leap
Better fsm logging on recursion and state enter/exit
Have tiger flee permanently if the player dodges the leap
Fix typo in croc death anim footstep sound notify
Fix tiger sliding while sleeping
Fix wolf freezing completely when detecting food (regression)
Refactor server anim player to not rely on callbacks as they proved fragile and hard to debug
Tentative fix for "dict key already exist error" when tiger dragging stops in some cases
Fix NRE when vddraw is enabled and an AI wants to forget a sighting (entity is unity null but we are still holding onto the reference)
Fix tiger looping between states over and over when the player builds some configurations of platforms
Fix tigers looking like it's floating when jumping on players climbing ladders
Fix tiger and wolf leap attacks ignoring shields
When staggering tiger with big damage, remove small chance of it still attacking after getting up, instead always flee
Fix shields not working on croc and tiger
Allow croc nav raycasts to work on swimming players
Fix croc stopping its movement to to attack players on/under road river bridge even though it can't
Don't rely on entity bounds for water checks for AI, as bounds are sometimes way bigger than the entity
Make AIs cache whether their targets are in water at the sense level instead of at the fsm level, to prepare for correct nav raycast under water
Simplify AI visibility status, improve logging,
Nerf animal hearing in general, and croc hearing even more
Fix corpse fixed update NRE
Fix croc thinking it's diving even though it's on land, big rewrite of all animal roam and flee eqs
Make SamplePositionsInDonutShape static as it doesn't use any instance state
Limit croc stamina, croc now become slow again after sprinting too long
Make crocs give up chase on land faster when players run away alongside the river instead of away from it
Fix new animals sinking below tunnel entrance grate visually
Fix typo in RPC name that prevented it from working, causing animations to never be cancelled
Fix being able to kite croc around foundation
Fix NRE in tiger and croc corpse dragging
Experiment with simpler covers, fix compile error
Improve flanking algorithm
Experiment with path post process for overwatch and flank
Have tiger finish off downed players instead of leaving them to die slowly
More compile fixes (improper codegen)
Fix editor ifdef compile errors
- Potential fix for tigers sliding while sleeping (potentially introduced when we added playback delay to cover client pos interpolation)
- Simplify roles between root motion component and anim component
- All anim requests now go through anim component, which makes debugging easier
- Root motion component is now again server only, which makes it easier to reason about
Prevent animals from eating their corpses from members of their species
It happens in nature in a lot of cases, but it looks weird in the context of the game
Buff loot of tiger and panther to bear quantities, as they are harder to kill than a bear so it'd be underwhelming if they drop the same as wolves
Make croc drop croc meat instead of placeholder bear meat
Fix croc ping-ponging between dive and flee if player is near but unreachable (eg on boat, on solid foundation, noclipping...)
The cause was that is was sampling depth from the surface to the waterbed, instead of depth from the surface to the target
Fix croc ragdoll jaw clipping with its skull
Adjust croc swim depth for new anims
Fix croc sometimes hovering above water
Better fix for croc emerging from water (didn't go through)
Better fix for croc emerging from water
Fix crocodile briefly sinking to waterbed just before exiting water, instead of smoothly transitioning from surface to land
Update wolf night eyes effect