1,331 Commits over 427 Days - 0.13cph!
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
Enable croc eyes shining in the dark
Fix tiger and panther eyes not shining at night (eyes parented to wrong bone)
Fix tiger and panther eyes not shining at night (eyes parented to wrong bone), previous commit didn't go through
Move the npc radius check after the filter radius check in the spawning flow, as it's cheaper if we early out at the filter stage
Fix too few crocs and tigers, new spawning filter
Prevent tigers from fighting panthers all the time
Experiment with different spawning rules for tiger and panther, trying to avoid them spawning too close to each other
Update tiger speed values for new anims to prevent sliding
Instead of relying on path failed event, rely on states failing
Fix tiger not moving when spawning in water bodies (even though they shouldn't naturally)
▍▄▊▇██▆ ▅▋▅▍▋▇ ▆▅█▆ ▇▅▍-▋▇█▍▍▌▄▅ ▋▊▉▋█ ▅▍▄▍▋▉ ▋▉ ▉▋▇▊▋█▅▍ ▌▊ ▋▅▋▌▊ ▉▋█▊ ▇▅▇▅ ▊▆▆ ▅▆ ▄▉▉▋█ ▇▅▉▅▆▆▇▍
Speed croc a bit when it's on its way to destroy a twig foundation or attack a player that's barely out of navmesh
Fix croc attack damaging even when not connecting when player is unreachable
Cherry pick 118253: Fix npc movement potentially continuing to tick past their death if the invoke handler cleanup is delayed
Fix npc movement potentially continuing to tick past their death if the invoke handler cleanup is delayed
Improve croc foundation attack
Fix croc being unresponsive to player provocation when diving
Make it easier to tweak npc prevent building volume across multiple NPCs, bump from 4 to 6m radius
Prevent building on top of croc, tiger and wolf
Display translated error message about which NPC is preventing building
Fix errors appearing sometimes in editor listen server when croc tries to destroy a building block (server trace hitting client entity instead of server)
Fix memory leak in RaycastEntity, rename it and change signature to be consistent with other GamePhysics Traces
Create new TraceRealm method that doesn't only work on entities
- Fix asserts firing in listen server mode
- Increase croc range when attacking players standing on rocks etc
Fix rust editor not updating the loadout when switching to another loadout category tab
Update rust editor loadout to be more representative
Fix log spam when croc charge fails
Fix BaseAnimalNPC.TryThink and BaseAIBrain.Think NRE spam
Improve crocodile twig destruction edge cases when multiple buildings blocks are connected
First pass on crocodile breaking twig foundations
- Have crocs properly dive to reach underwater players
- Increase croc acceleration when in water
- Increase tracking of underwater attack to avoid disconnected hits that feel unfair
Have swimming agents like the croc, project target locations to the sea floor before pathfinding
When sampling around AI, use agent position instead of transform, as for croc agent can be on the sea floor while entity is on the surface, causing samples to fail
Update all new animals to use OnAttacked instead of Hurt to properly apply bleeding
Reduce tiger damage, but have it inflict bleed (previous commit didn't go through)
Reduce tiger damage, but have it inflict bleed
Add wake disturbance to croc
Fix croc spamming turn anim
Add some more placeholder audio to croc
- Fix croc attacks reaching too far
- Update AI distance checks to take into account the target player speed + our root motion to predict the position at impact
- Remove distance cache, adds complexity and bug potential for too minor of a perf gain
- Add inferedSpeed and inferedVelocity fields to basePlayer, less accurate than estimatedSpeed but more stable