1,405 Commits over 488 Days - 0.12cph!
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
Reduce volume of croc swimming fast
- Tiger will only flee if aimed at precisely, incentivizing trying to spot the tiger after a growl instead of just aiming in general direction then forgetting about it
- Tiger will not flee if aimed at with a melee weapon other than the spear
- Tiger will only flee if aimed at from a long distance, else it'll just commit to a charge, incentivizing walking away first if tiger is too close
Prevent crocs from swimming in too shallow water / alternating too fast between swimming and not swimming
Adjust croc population to account for the fact they can only spawn in select places
Slightly reduce tiger population
Tweak croc belly flop tracking, attack rhythm, turns
Fix croc letting you go in its back too easily
Fix wood barricade double not carving navmesh
Fix croc not interrupting intimidation when player is very close
Add tiger placeholder water footstep to avoid error spam
- Make croc better at pretending to flee to bait player into following it to the water
- Make croc even more sluggish when it didn't take enough damage to be angry
- Give croc same protection value as tiger (effectively buffs melee weapons which would be moskito bites otherwise)
Croc will now start quite slow, and get more and more aggressive the more it's shot at
Add placeholder footstep audio to tiger and panther
Subtract
79093, caused shoreVectors to be generated twice, which slowed down playing in editor