branchrust_reboot/main/jungle_updatecancel
143 Commits over 31 Days - 0.19cph!
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
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
Potential fix for anims not being cancelled properly
Fix croc struggling to ever catch up if a player runs past but never attacks them to piss them off
Add slow acceleration to croc fleeing
Temporarily remove croc swim sprint noise
- Prevent croc from fleeing back to water but charging again right after
- Croc accelerates slowly when charging through water, instead of going at top speed the moment it gets in water
- Have croc start swim attack from further away, looks better on hit and prevent weird misses
Further improve croc water transition
Fix height snap when croc goes in and out of water
Reduce croc health slightly
Fix crocodile missing attacks a lot, but still ensure belly flop attack can be dodged
Have croc always use max speed if it's charging in water, as it doesn't get tired easily like on land