branchrust_reboot/main/ai_wolf_iterationcancel

419 Commits over 123 Days - 0.14cph!

Today
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
Yesterday
Have wolves look at the player head instead of the player's crotch
Yesterday
Properly reset all state when client wolf is recycled Initialize previous position properly to avoid large deltas when spawning and pooling
Yesterday
Fix wolves looking behind them for too long when fleeing
Yesterday
Fix wolves jumping excessively high to reach unreachable players Tweak leap trajectory to be more believeable
Yesterday
▉▋▌▄▆ ▅▅▅▊ ▉▄▅▄
4 Days Ago
▊▆▇▋▄ █▌▊▍ ▅▊▄▉
4 Days 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
4 Days Ago
Convert timestamps to double to prevent precision loss if the server runs for a long time
4 Days Ago
Fix wolf being unable to switch target
4 Days Ago
Fix wolves not fleeing when hit from far away with molotov or fire arrows
5 Days Ago
▇▉▉▅▆ █▋▇█ ▅▊▋▍
5 Days Ago
Fix compile error on client
5 Days Ago
Remove debug ddraw text
5 Days 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)
6 Days Ago
Re-use results of sense component grid search for allies instead of doing another query (when the range is small enough)
7 Days Ago
Fix debug info showing up even when convar is off
7 Days 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
7 Days 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
7 Days Ago
Add debug convar for fire melee, fix some events being dropped
7 Days Ago
wolf sound updates
7 Days Ago
Fix error caused by adding already present key to dictionary, fix distance check being inverted
7 Days Ago
Fix NRE caused by dictionary trying to add an already present key
7 Days Ago
Fix wolf circling corpse for a long time sometimes when moving to eat
7 Days Ago
Prevent wolf walking underwater, it'll give up thechase if the player starts swimming
7 Days Ago
Reduce odds of wolf attacking animal when it's likely it'll lose
8 Days Ago
Add top secret hidden feature to wolves
8 Days Ago
Add placeholder wolf eating sounds
8 Days Ago
Fix pragma restore 414 being in the wrong place
8 Days Ago
Remove unused fields, redundant checks, and fix issue where compoosite transitions are not cloned properly
8 Days Ago
▋▄▉▅▆ ▇█▄▍ ▅▌▍▇
8 Days 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
8 Days Ago
Have wolf fsm tick slower when no player is nearby, similar to senses
9 Days 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
9 Days Ago
Fix wolves not playing 180 anim anymore when fire is lit right in front of them (regression)
9 Days Ago
Hook remaining wolf idles
9 Days Ago
Make sure state and transitions are always deep copying internal lists
9 Days Ago
Fix state cloning making a shallow copy of lists, causing clones to share the original transitions
9 Days Ago
Fix wolves sliding when waking up
9 Days Ago
When wolf braking too abruptly
9 Days Ago
Tick steering manually from serverMgr instead of unity's update
9 Days Ago
Fix typo in time warning comment
9 Days Ago
Remove hardcoded speed values
9 Days Ago
Fix hobo barrel and witch cauldron not scaring wolves when they are lit
9 Days Ago
Undo accidental change to procedural map
9 Days Ago
Make wolves more accurately align with food when eating
9 Days Ago
Make wolf decelerate faster when approaching a player holding fire, as to not end up charging them by accident, which would make them think the fire is not working
10 Days Ago
▅▉▄▇▍ ▉▄▄█ ▆▆▇▄
10 Days Ago
Store fsm transitions in the state themselves to avoid having to do dictionary lookups, makes wolves twice as performant
10 Days Ago
- Optimize the fsm transitions that are called often: cache distance to target (per frame) and components - Optimize roaming and flee: don't project all points in a circle around the wolf, once points are scored, early out after both nav projection and path succeed - Remove allocation caused by List.GetRange in GetFirstReachablePointInTopPct - Remove transitions updates (time elapsed now uses a timestamp) - Add more TimeWarning coverage