branchrust_reboot/main/ai_wolf_iterationcancel
490 Commits over 153 Days - 0.13cph!
Fix fireball emission potentially not only being enabled when fireballs are stationary
If fire is ignited while wolves are very close, they will retreat instead of just slowing down to give better feedback that fire worked
Fix fireball isStationary compile error when compiling in None mode
Change wolf behaviour so that it doesn't get used to fire and start ignoring it once the player gets too close
Now it'll attack despite the fire if the player is too close, but stay defensive and use hit and run tactics instead of hyper-aggression through fire
▌▆▋▍▊▋█ ▇▉▅▄▍▉▌ ▌▇▇ ▇▌ ▆▉▍▅▅▇▌▌ ▌▊▋▍▆▌▇▆▆▌▉▉, ▆▋ ▉▉ ▌▅▌ ▍▉▅▄█▇▉▇▅▌ ▅▊▊ ▋▌▊▊ ▌▆ ▌▅▅▉ ▉▉▌▌▉▉ ▍▇▇ ▍▉▍▆▊▉, ▆▉▊ █▆█ ▅▆▍▌▇▄▌▋ ▊▇▊▌▄▊▉▊ █▍ ▌▅█ ▌▊'▄ ▋▉▄ ▄▉▊▅ ▋▍ ▅█▆▌▄▆
▆█▊▇ ▆▅▅▌▆▄▌▊ █▇ ▋█▄▉ ▋▅▅▆▊▄ ▅▍▇▍, ▌▇▌█▉ ▇▆▅▇█▄▉█
Fix fireball not be set to rest when it should have been
exported wolf run attack shorter anim and edited wolf prowl anim
Make wolves run away if they are hit by fire, improve blackboard vislog
Make flame thrower and fire arrow more reliably scare wolves
▋▋▄ ▍▅▊▇▅▍█▋▉▍ ▍▄ ▊▌▅▆▌▄, ▌▆▆▅ █▄▉▋ ▄▆█▄▄█ ▅▍██ ▌▉█▋▆▊▄▍
If a wolf is stuck while roaming, kill it to save perf
▅▆▉▌ ▍▆▅▊ ▇▊ ▅▊█▇▉▉ ▋▄▅▍▇ ▊█▉▊▆▋ █▇▍▇, ▅▍▍▋▍▌ ▄▉▄▋▄▍ ▊▍▊▆▄▉▄▍▋▊▅ ▇█▌▄ ▅▋█ ▊▇▇▆▍▋
Compute anim hashes to not reimport them when they didn't change
▆▊▇▅▊▋▄ ▊▌▇▉ ▉▋▊▇▄▊▊ ▅▄▉▌▇▍▅▄▌ ▅▇▄▄▊▉▄▅ █▄▉ █▉▅▄▇▉, ▍▍▄ █▍▆▋ ██▌▅█▇ █▄▊▍ ▌▆▌ ▆▍▄ ▋█▍▄▄▆▉▍,
▄▋▇▄▅▄ ▉▉▊▊▆ ▋▌ █▇▌██▌ ▅▆▇▊█▅▊ ▆▍▊▍▇▄█▋▊ ▍▋ ▋▋ ▍█▆▉ █▋▅ ▊▇▄▍▉▍▅ ▌▅ ▊▄▍
▉▌▆█ ▌█▅▄▆▉ ▄█▋▌▆▍▅▊ ▌▍ ▌▊▅█▌▋ ▊▅▋▉▆
▍▉▉▅▇▉ ▋▉▅▆▆▊ ▄▇▉▇▋▄▋ ▉▋▇▍▄▋▄
Fix wolves that are stuck spamming pathfinding and traces
Fix wolves not properly following players carrying fire
Allow removing keys from bb component
Fix wolves stopping right in front of players without attacking sometimes
When getting too close from fire, have wolves perform a feint and attack anyway (it was weird standing super close to them without them attacking or fleeing)
You can still swing the torch to drive them away, but they'll get progressively closer if you're not swinging
Fix wolves charging despite fire in some circumstances
Fix wolves not playing growl anim anymore when startled by fire (regression)
Have wolves veeeery slowly approach when fire is present, to make it clearer that just standing still for a long time is not a good idea
Fix wolves making crazy leaps onto player rooves or at players on top of ladders
Fix wolves not stopping eating when friend nearby gets hit (bros before steaks)
Fix wolves often charging instead of circling
Fix wolves barking mid fight when very close
Give wolves some mix-ups between charge and circle to be slightly less predictable when reacting to hits
Fix fireball NRE when show fire convar is true, instead of only being considered on fire when stationary, fireballs are always considered on fire
Update the fire flag on the bow when using fire arrows and aiming, so they can work to scare wolves away
█▉▊ ▌▇▇▅▌ ▊▅▆▌ ▊▅█▆▌▉▅▄▄ ▋█ ▊▋▉█▄▋ ▊▌▍█ ▇▌ ▄▆▇▆▅▆
▇▍▊ ▅▇▋▋▉▊▉▆▊▌▇▆▄ ▊▆▅▄▇ ▅▄ ▊▉▌▉▌█
▆▋▌ ▆▉▆▄▉▅▅ ▇█▄▇█ ▉▍ ▋▄▉▌▅▇
Properly replicate meat stack size shrinking as wolf is eating
Drop BaseEntity AddComponent extension method and just declare straight up `AddComponent`
▌▄▊ ▌▇▇▌▉▆▆ ▉▍▄▍▆ ▊▆ ▌▊▇▊▆▊
Fix containers not opening
Caused by cache and order of operations changing with BaseEntity Components
Have wolves spend a longer time eating larger meat stacks
Fix hitinfo being recycled while the wolf was holding a reference to it
When some food is unreachable, remove it from the grid and put the state on cooldown for performance
Don't try to eat food that's moving (eg still falling to the ground)
▋▉▄ ▇▋▄▇▉▅▍▍▆▌█ █▊ ▍▅▅▊▄▊▍▄█
Add more perf markers to nav agent
Allow wolves to perceive other NPCs through occluders, but not players
Have wolves prioritize players that attack them over animals they are hunting
Fix bug where wolves were faster than light