userMaverickcancel
branchrust_reboot/main/Livestock_animalscancel

9 Commits over 0 Days - Infinitycph!

Today
Hook up livestock coats, not yet gene driven, tested networking, saving, corpses, babies
Today
Cherry pick 163070: Fix gen2 AI never updating its position in the brain grid, causing some brain based spatial query to be stale
Today
- Old cows will go to sleep and die peacefully, instead of player the combat death anim when dying of old age - Cows get slower as they age, they also stay closer to home - Cows can lie down just to chill, old cows chill more than normal - When night falls, cows regroup and sleep together, some cows are early risers and some like to wake up late - Hook sheep and lamb corpses - Hook the death anims with forward momentum that are played when animals are killed while they are running - Fix ai.fillHungerlivestock doing the opposite of what it says - Fix cows never getting hungry or thirsty after feeding or drinking once, or getting full from one single grazing - Fix cows being unable to find food after grazing once, because they search radius was smaller than the "overgrazed" marking - Make cows roam less they seemed more like a pack of wolf than chilling cows
Yesterday
- Add a cooldown to the livestock flee trigger so one hit cannot re-fire it through randomIdle or chargeRun - Back off strayed-from-mother and strayed-from-herd for 15 s after a failed walk back - Require a reachable trough or barrel before it wins over grass or shore - Add RegroupSearchRadius so cows can find a herd further than the stray distance - Only send a staggered bull into flee when the hold-ground rule says he would run - Sample two rings and take the nearest spot in the grass and water searches - Record herd distress only when there is an attacker, and spend it on the first charge - Back off the mate search when nobody is found or the female is unreachable - Throttle the shore search after a miss, mirroring the grass search - Collapse graze and drink into shared consume transition and state classes - Share one speed ramp helper across follow, consume, mating and return walks - Add IsHerdMate, IsDependent and a centred FindNearestDependent, and use them everywhere - Wrap the remaining client-compiled FSM members in #if SERVER
Yesterday
Fix cows not fleeing sometimes, add tests for bull and cows behaviour
Yesterday
Fix super fast acceleration on cows and sheep
Yesterday
Bull can kick and charge, protects the herd and moves between you and them. Can play toreador with the bull like with the croc. Herd sticks together when in danger instead of scattering. Fix cows decelerating instantly.
Yesterday
Generate and connect animation montages, add hurt and death behaviours + anims
Yesterday
Merge from main