1,375 Commits over 396 Days - 0.14cph!
Fix target position guess not working properly
Make visual logger save faster, making it more usable on large numbers of NPCs
Merge from ai_scientist_iteration
When scientists are very far, their calculations to decide which angle to hold are simplified, leaving more resources to closer scientists
When peeking, scientists that didn't see the target for a while will get less budget unless they are in the same zone, this avoids scientists on the oilrig top floors wasting the global scientist budget when peeking is obviously impossible
- Make it more likely for a scientist on the same floor to assist or respond to orders, instead of a scientist from another floor
- Fix bug where scientists would ask help for a push, one would agree, but a third one that's not even involved would play the voiceline "copy"
Rerun s2p on oilrig scenes, as after merge they were spawning old scientists
Decrease old AIs frame budget, increase new AIs frame budget by same amount
Potential fix for scientists sometimes not reacting to being shot when hunkered down in cover
Fix conversation order being sometimes inverted (scientist switching lines, not making sense)
- Add death bark (disabled for now)
- Add fallback for index out of range issue when path succeeds but there is only one point
- Make scientists have conversations instead of speaking to themselves
- Fix scientists orchestrating a push even though their grenade throw failed (then saying too much "come with me")
Fix scientists abandonning their zone if they hear the player while searching, instead keep holding the zone and only chase if the sound is in their zone
- Fix scientist staring at walls as if they were taking a leak when patrolling
- Make sure scientists are always limited by a turning speed, and can't snap turn
Use old heavies on ch47 until new heavies are more ready
Merge from ai_scientist_iteration, fix more compile errors
Merge from ai_scientist_iteration, fix compile error
Merge from ai_scientist_iteration
- Fix muzzle vfx rotation on heavy scientist minigun
- Halve damage and double accuracy, makes minigun damage more predictable
Fix suppressive fire inadvertently giving all nearby scientists ESP
Improve heavy behaviour when shooting unreachable players, don't just go to the foot of the building
Fix more oilrig unreachable navmesh islands
Make path vislog more intuitive and consistent, fix heavy scientist sometimes struggling to find angle on player standing on top of building
Allow scrolling in vddraw window, filter out more verbose vlogs to prevent spikes when recording lots of scientists
Change proc anim components tick order, should be spine, then tail, then head
Do not tick procedural anim components when entity is culled
Add navmesh obstacle to props used on oilrigs, preventing instances of unreachable navmesh on top or inside structures, which prevents pathfinding early outs
Playtest and iterate on shotgun scientist behaviour, more hit and run, sneaking and setting up ambushes
Fix quaternion error due to using very small vector sometimes when picking a direction to face when entering cover
Fix HasBrokenWeaponMod GC allocs through Linq
Fix profiler leak in foliage grid
Fix collision not working properly on heavy and shotgun scientists
Fix npcs moving twice in the same frame (previous fix was incomplete), add better logging to debug faster
Remove plugin compile defines
- Allow scientists to hear other scientists shots, fix situations where scientists are engaged in a gunfight but their friends don't care if the player doesn't shoot back / has a silent weapon
- Pull reload sounds directly from the weapon instead of copying them in another array
Fix "move called twice in same frame" warning
Fix error when realmed remove tries to remove audio component (do the effects in audiomixer instead of components)
Fix new scientist getting stuck on large oilrig doors
Set new scientist and heavy scientist health to have similar TTK as old scientists despite not having bullet resistance. It makes balancing damage easier, but the formula I should have used is health/(1-resistance) not health*(1+resistance) so my previous change was wrong.
Make silenced weapons harder to hear for scientists
Increase heavy scientist health to match old one
Fix scientist shotgun reload sounds
Fix heavies walking into players