userMaverickcancel
branchrust_reboot/main/ai_wolf_iterationcancel

463 Commits over 153 Days - 0.13cph!

4 Months Ago
Wolves will not respond to a howl from a wolf that doesn't belong to their pack This will prevent wolf packs from merging too often, reducing cases where players have to face more than 4 wolves
4 Months Ago
When using SetPath, don't update the path if it didn't change
4 Months Ago
Number of wolves per square km decreased from 3 to 2, max pack size increased from 3 to 4
4 Months Ago
Fix client compile issues
4 Months Ago
Remove allocs in async pathfinding Make sure querying allies nearby doesn't return null or dead allies
4 Months Ago
▆▍▇▉█ ▆▊▍▆ ▆█▋▄
4 Months Ago
Fix wolves leaping at players that didn't climb on anything, or dying suddenly for no apparent reason Add better failed path vislogs
5 Months Ago
Have wolves give up stalking after a while if not dealt damage, and give up a lot faster if they see fire
5 Months Ago
Reduce wolf population and pack size to 3, until we find a way to make DensityPopulation spawn packs without having to increase the density
5 Months Ago
Don't return a success status from the position generator as we don't project on nav anymore, so it'll always succeed
5 Months Ago
Fix target check that was inverted after refactoring target getter
5 Months Ago
Remove unused RequireComponent attribute since components are now cached in the base state class
5 Months Ago
Use sense component member functions instead of magic extension functions to get or set the target This makes the API more consistent
5 Months Ago
Remove some state local references to components that are no longer needed since references are now kept in the parent state class
5 Months Ago
▆▇▊▌▄ ▊▆█▉ ▍▌▅█
5 Months Ago
Fix fire not scaring wolves when the player is standing on top of a tall object They will now approach very slowly, flee as soon as the player swings their torch, and flee after jumping if fire is still lit Cancel wolf jump when player goes down the tall object before the wolf arrives
5 Months Ago
Have wolves look at the player head instead of the player's crotch
5 Months Ago
Properly reset all state when client wolf is recycled Initialize previous position properly to avoid large deltas when spawning and pooling
5 Months Ago
Fix wolves looking behind them for too long when fleeing
5 Months Ago
Fix wolves jumping excessively high to reach unreachable players Tweak leap trajectory to be more believeable
5 Months Ago
▉▋▌▄▆ ▅▅▅▊ ▉▄▅▄
5 Months Ago
▊▆▇▋▄ █▌▊▍ ▅▊▄▉
5 Months Ago
Fix wolves dying when stranded in an environment they don't like (eg seaside) Fix wolves roaming too far from their territory, potentially straying from their pack Halve wolf territory size
5 Months Ago
Convert timestamps to double to prevent precision loss if the server runs for a long time
5 Months Ago
Fix wolf being unable to switch target
5 Months Ago
Fix wolves not fleeing when hit from far away with molotov or fire arrows
5 Months Ago
▇▉▉▅▆ █▋▇█ ▅▊▋▍
5 Months Ago
Fix compile error on client
5 Months Ago
Remove debug ddraw text
5 Months Ago
Reduce the distance the wolf will flee each time you try to scare it again with torch swings / lighting the torch suddenly in melee range (only noticeable if you spam and chase the wolf instead of moving away)
5 Months Ago
Re-use results of sense component grid search for allies instead of doing another query (when the range is small enough)
5 Months Ago
Fix debug info showing up even when convar is off
5 Months Ago
Make wolves lie down less often but slightly longer (they need to lie down sometimes for server performance), remove the pause before the idles for a more natural transition
5 Months Ago
Change howl audio sound types from small to medium as it was not audible unless a few meters away (but then the wolf would cancel the howl and charge), fix new growl sound not playing
5 Months Ago
Add debug convar for fire melee, fix some events being dropped
5 Months Ago
Fix error caused by adding already present key to dictionary, fix distance check being inverted
5 Months Ago
Fix NRE caused by dictionary trying to add an already present key
5 Months Ago
Fix wolf circling corpse for a long time sometimes when moving to eat
5 Months Ago
Prevent wolf walking underwater, it'll give up thechase if the player starts swimming
5 Months Ago
Reduce odds of wolf attacking animal when it's likely it'll lose
5 Months Ago
Add top secret hidden feature to wolves
5 Months Ago
Add placeholder wolf eating sounds
5 Months Ago
Fix pragma restore 414 being in the wrong place
5 Months Ago
Remove unused fields, redundant checks, and fix issue where compoosite transitions are not cloned properly
5 Months Ago
▋▄▉▅▆ ▇█▄▍ ▅▌▍▇
5 Months Ago
Prevent fsm from waiting one frame to change state when a state succeeds or fails Fixes wolves sometimes pausing for one frame and losing momentum Added some infinite change protection in the hypothetical case a group of states keep cycling during the same frame After 3 same-tick changes we postpone the next state change for the next tick
5 Months Ago
Have wolf fsm tick slower when no player is nearby, similar to senses
5 Months Ago
Combine wolf senses and fsm into a single budget for simpler tracking, and also because we want senses to drive the fsm tick rate in the future
5 Months Ago
Fix wolves not playing 180 anim anymore when fire is lit right in front of them (regression)
5 Months Ago
Hook remaining wolf idles