branchrust_reboot/main/jungle_updatecancel
119 Commits over 31 Days - 0.16cph!
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
Enable croc eyes shining in the dark
Fix tiger and panther eyes not shining at night (eyes parented to wrong bone), previous commit didn't go through
Fix tiger and panther eyes not shining at night (eyes parented to wrong bone)
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
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