branchrust_reboot/main/ai_wolf_iterationcancel

490 Commits over 153 Days - 0.13cph!

7 Months Ago
Remove unused fields, redundant checks, and fix issue where compoosite transitions are not cloned properly
7 Months Ago
▋▄▉▅▆ ▇█▄▍ ▅▌▍▇
7 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
7 Months Ago
Have wolf fsm tick slower when no player is nearby, similar to senses
7 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
7 Months Ago
Fix wolves not playing 180 anim anymore when fire is lit right in front of them (regression)
7 Months Ago
Hook remaining wolf idles
7 Months Ago
Make sure state and transitions are always deep copying internal lists
7 Months Ago
Fix state cloning making a shallow copy of lists, causing clones to share the original transitions
7 Months Ago
Fix wolves sliding when waking up
7 Months Ago
When wolf braking too abruptly
7 Months Ago
Tick steering manually from serverMgr instead of unity's update
7 Months Ago
Fix typo in time warning comment
7 Months Ago
Remove hardcoded speed values
7 Months Ago
Fix hobo barrel and witch cauldron not scaring wolves when they are lit
7 Months Ago
Undo accidental change to procedural map
7 Months Ago
Make wolves more accurately align with food when eating
7 Months 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
7 Months Ago
▅▉▄▇▍ ▉▄▄█ ▆▆▇▄
7 Months Ago
Store fsm transitions in the state themselves to avoid having to do dictionary lookups, makes wolves twice as performant
7 Months 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
7 Months Ago
Instead of declaring multiple overloads for a method to allow a variable number of parameters, use optional parameters
7 Months Ago
Temporarily prevent wolves from hunting scientists until we update their AI
7 Months Ago
▋▅▉▇▋ ▄▇▇▆ ▍▊▄▍
7 Months Ago
Fix wolf mesh not being culled on client when occluded
7 Months Ago
Fix wolves not stopping when ai.move is set to false while the server is running
7 Months Ago
Make wolves reposition between attacks to vary the angles, instead of spamming frontal attacks
7 Months Ago
Fire fire blocking the wolves unreachable behaviour from triggering
7 Months Ago
Reduces wolf odds of trying to resist fire
7 Months Ago
Fix wolves counting themselves as an ally when deciding if it's worth fleeing to call reinforcements and come back
7 Months Ago
▆▄▅▅█ ▄▉▄▋ ▍▌█▌
7 Months Ago
Cache arrows item definitions so that they can be used for comparisons in code, instead of relying on comparing hardcoded names
7 Months Ago
Fix wolves switching target even though the current is was closer, just because they couldn't see it briefly
7 Months Ago
Fix wolves sometimes getting stuck eating dropped meat when another wolves eats the meat first
7 Months Ago
Fix wolves running in circles sometimes as they overshoot their destination, when the player is unreachable
7 Months Ago
Use a different syntax for HFSM declaration which results in a more compact and readable tree
7 Months Ago
Fix wolf chasing its own tail
7 Months Ago
Fix a lot of the wolves state incorrectly returning base.OnStateEnter() from OnStateUpdate, causing a lot of weird behaviour
7 Months Ago
Fix NRE
7 Months Ago
Fix wolf slowing down before jumping on foundation
7 Months Ago
Have wolf smoothly decelerate instead of stopping dead in its tracks
7 Months Ago
Fix wolf glitching out visually when jumping on foundation when the server frame-rate is low
7 Months Ago
Expose convar for wolf max per frame budget
7 Months Ago
Fux compile errors
7 Months Ago
▇▅▋▅█ ▊▉▊▉ ▌▋▋▍
7 Months Ago
Make wolf foundation jump more consistent
7 Months Ago
Add new anims to wolf
7 Months Ago
The wolf can now lie down or scratch its ears instead of just standing still
7 Months Ago
█▆▄▄▉ ▋▊▄▅ █▇▋▌
7 Months Ago
Refactor wolf fsm to be easier to maintain and extend