2,088 Commits over 792 Days - 0.11cph!
- Fix livestock and old animals going underwater
- Fix bull stuck forever in charge mode when you move to its side
- Fix bull trying to headbutt even if target is unreachable
- Fix curious cow being so curious it lets itself starve
- Reduce bull damage
- Livestock leads now behave more like horse leads, slows down the player and break around 7m
- Fix cow sometimes snapping back to idle after a graze instead of playing the exit anim
Fix TestSheepShearing.BlowBesideWool_ShearsRatherThanCuts being broken after shearing changes
Update rust native libs for all platforms
- Move navmesh save to background thread (260ms -> 0.8ms for large map)
- Instead of re-saving all tiles, append only dirty tiles at end of save, and only do a full resave when the size cap is blown
Fix inbred cows looking wrong
Only change livestock hp in 5% increment when mood increases / drops, to avoid networking full entity snapshots everytime health changes because of mood
Remove adminUI from livestock convar, it's not necessary and massively grows the string sent to admin, one of the 3 parts that caused the staging OOM (shared stringBuffer in netWrite.string becomes massive)
Re-export tests after merge from main
Merrge from main (need to regen test list, not done yet)
Commit the sheep blendshapes instead of everyone having to regenerate and cache them on asset import
- Fix each new litter having a baby named after the parent (only firstborn carries name + suffix)
- Fix failing livestock tests
Fix animals pathing through doors at monuments / being able to steer through any door by accident
Mask sheep face when shaving (only disappear when fully shaved), have shaved areas more organic looking and wavy
Reverts my changes to odds for good and bad genes, instead make white sheep the good one
Fix non-inbred cows being more solid on the whole body instead of just masking/tinting specific parts
Make bad genes more common, most sheep / cows then look generic, and good genes ones eg black sheep become rarer to find (else because of dominant good genes we get a massive majority of black sheep)
Fix sheep material looking wrong when dung gene is maxed out
Experimental livestock name localizations
Make livestock more deterministic at high timescales, to be able to run long running tests faster
Add visual rope when leading livestock, same as horses, and fix leading interaction failing intermittently
Fix sheep using old material system mixed with procedural material, fix some ragdolls don't having same material as live animal
Livestock small fixes:
- increase livestock headbutt damage, you better dodge this sideways like croc or 2 shot naked
- fix "stop leading" prompt appearing when someone else is leading the cow
- fix grazing through walls
- fix bulls attacking in safezones
- make leading bull strop fighting others
- fix calves not having father genes if father dies between conception and birth
Make autotest_run refuse when another process already holds the game server port
Make navigation tests able to catch spinning agents
Make avoidance twice as fast, still too slow
Fix bull trying to headbutt unreachable players
Fix animals circling around an obstacle forever when fleeing, or around the player when charging
Add another state ping pong test
Fix pregnant cow ping ponging between curious follow and play random anim
More durable fix for skateboard cow
Fix inbred and non-inbred cow appearances being swapped (for real this time), non-inbread seems much darker on whole body though
Another iteration on avoidance, bad perf but looks good so we'll optimize from there
Fix some non-deterministic tests sometimes failing, remove super long tests from CI
Merge from livestock_sheep_shearing
Various sheep shearing fixes:
- Fleece no longer disappears after a server restart
- Shearing no longer counts as a shot hit or goes through the combat path
- Thrown knives wound instead of shearing
- Four quarters pay exactly the authored wool amount
- Timers that ran out during a save now fire on load, so sheep and cows cannot get stuck
- Wool counts as a harvest and overflows into the backpack
- Fur bake only runs on models labelled Fleece and re-runs when its version changes
- Debug shave scan compiles out of fur materials that do not use it
- Regenerated the manifest, livestock prefabs are back
- Tests updated for wild sheep rule, plus new tests for all of the above
Redesign livestock popup UI so that it's more consistent with plant popup UI
Connect sheep coat material parameters and genes
Can still try to shave wild sheep, they just run away
Merge from livestock_animals
Instead of arbitrary IsShearTool flag, just make items that are good at harvesting corpses usable for shearing, less state to keep track of and more intuitive
Show livestock popup to the right same as plant popup, better as it doesn't hide the livestock
Fix sheep corse not carrying over the shaved state, also fix the corpse not copying the pose and flopping in the air
Hide horns on female sheep
Prevent wild cows from breeding / aging / producing resources + prevent pregnancy below 60% condition
Sheep shearing material and gameplay proof of concept
Update rustnative libs for all platforms
Update rust native windows dll
Fix navmesh sometimes building on top of fences, fix rustNavmeshVolumes not working on new navmesh
Better avoidance stop behaviour, don't congo line to the trough, instead fan out