11,455 Commits over 3,561 Days - 0.13cph!
State history rendering and convars
Added setdestination_navmesh_failsafe convar, npcs will attempt to place themselves on a navmesh when setdestination is called and they're not currently bound to navmesh.
Added a warning when warping to a valid navmesh location but still not binding to it (mismatching agent type) to make it more obvious what's going wrong.
Moved GetBestRoamPosition from HumanNPC to AIInformationZone, optimised the loop checks.
Added "Tools/Scene/Focus Local Player" to select the LocalPlayer object and focus the scene view on it, useful for when testing in large/slow scenes.
StateDebugInfo now tracks state change type (enter/exit) and the world position at which the AI state changed.
Added StateDebugInfo, keep a history of the last 20 states and durations for a brain. (editor only)
Pulled HumanBrain / CH47Brain states out into partials instead of the main brain files, to make it clearer what's common and not.
Removed some calculations on variables that never get used, distance checks, inverseloops etc.
Some basic state cleanup.
Added AIThinkMode to base brain, all brains can set their think mode: interval or fixed update, as well as individual tick rates.
Moved a bunch of ShouldThink/DoThink logic to base brain so it can be used by all brains instead of each having its own delta implementation, age tracking etc.
Added "time in current state" to debug display.
Moved brain states to a new shared enum, AIState. State constructors set type.
AddState no longer requires a type parameter.
States are now automatically maintained, in a dictionary.
Reworked current state handling to be a state ref, not using array indexes.
Hooked up gizmo drawing to brain, calls it on any active state for debugging.
Added basic debug rendering info to base brain (current state name for now).
Updated scrap tea item descriptions, changed bonus scrap spawn pos.
Disable ingredient tooltip when there's no ingredient in a slot, to prevent blank tooltips
merge new mixing table UI to main
Increase item name width, disable auto width size
Disable auto size height on recipe item name.
Apply Alistair's text height fix for name translations.
Hovering produced item icon shows the item description as a tooltip
ingredient name and quantity tooltips
increase recipe list mouseweheel scroll speed
Mixing table particle functionality
Respect max stack size when creating items.
Recipes can include liquid as an ingredient and will forward the liquid container's contents item.
Double berry spawn densities, added grass splat type.
Remove black berry from spawn population
Don't display a blank tooltip
changes to scrap calculation
allow mixing to start with any amount of items in matching recipes, return any excess ingredients to the player
Faster mixing table tick rate
merge new tea icons to main
Show active boost count in "Boosts Active" notification.
Show remaining boost durations when hovering the boost icon on the character screen.
Removed greater and superior tea tiers.
fix berry plant mesh mismatch during crossbreed
Fixed produced item being thrown to the ground when it wasn't part of another valid recipe (top tier items)
Add blueprint known check to mixing table UI mix button