19,298 Commits over 1,614 Days - 0.50cph!
Hacky fix for navmesh agents not "attaching" to the navmesh when loading a game (doing a Warp() to their own position and changing the timescale seems to attach them)
WeaponParameters.OnValidate error check for items with combat abilities of type "throw" that do not have the appropriate projectile setting
Fixed a bunch of data types not calling base.OnValidateInternal
Hand axe is no longer throwable
More food/hunting AI work
example of tree with empty assets setup to position FX
examples of possible ways to lod trees, tree_oak_LODTYPE_A and tree_oak_LODTYPE_B
Removed some duplicate desire selectors in hunting goal plans
Can Carry Unit Condition now checks if the target unit is already being carried.
UnlockDatabase static init on load, skip unlock defs that are not flag as game valid
Merge hunting behaviours into Human/Food module
Various food/hunting AI related tweaks
Consideration editor cleanup
Removed "allowed no considerations" flag on some AI data types, as it was redundant
Renamed Hunt/AttackMove Goal to "Hunt" cause wtf
fixed people being stuck holding two branches for the fire
Freeing up hands only happens when near the target
Keep Desire now also checks if an item dispenser dispenses anything required by a MachineProcessActionDesire before fulfilling
(Changes from 13230)
Exposed evaluation target dropdown for condition and consideration wrappers, now possible to choose Self, Target or BlackboardEntity
Removed the EvaluationTargetType field from conditions and considerations
improvements to fire gathering AI
TargetFilterCondition should now properly copy and write back all blackboard data consistently
made campfire gathering filter condition not shit
NRE fix for decisions with no Goal Plan
Target Filter as selector for making fire WIP
Changed TargetFilterCondition to not require target and be of selector type
TargetFilterConditionEditor
Added TargetFilterCondition
Fixed player tribe spawners adding territory at 0,0.
tweaks to corpse picking up and dropping AI.
Unit now stores a UnitDeathReason + UnitKilledBySettings to store how a unit died and what killed it
Those two fields + the death time are now persisted
Unit Detail View tab no longer shows what the unit is feeling if they are dead, instead shows the "Dead for x hours" text we use on the toooltip
Fixed carried units appearing in a units portrait view
Tabbing to an unselectable unit will now skip to the next selectable unit rather than stopping
Fixed some exceptions that could be thrown when an entire tribe of humans was killed
Added a Health Bonus to the Fight (Human) goal to try and stop healthy units fleeing so much
Added a "Hold Ground" goal plan to the Fight (Human) goal that does nothing - this hopefully keeps units from not having any valid offensive goals and falling back into defensive/fleeing (trying to stop the attack once and then run away combat pattern) - there might a better way to handle this, but it seems to be effective
Fixed units repeatedly trying to Return to Territory while they are already in their territory
Cleaned up the setting of combat abilities and weapons in Combat.
We now only consider weapons equipped in the right hand to be useable.
Improvements to autonomous corpse gathering / butchering.
Added categories to most target filters.
Make testbox_hunting great again.
Added testbox game mode to test stuff without losing the game.
People should now actually pick up corpses and drop them by the fire.
Human Defensive module only disabled if unit is selected and has a player target
Removed player commanded hunt desire creation ability because it sucks
Attacking now attacks the current combat target rather than setting it.
Human Defensive module won't run if there is a player commanded target.
Removed some rally related assets
Remove RallyGroup action (pending refactor of how we handle this kind of group based command)
Fixed AI module editor not allowing conditions of certain types to be added to the DSE
Generated names are now owned by EntityManager so that the pool of names is used for all humans, not just the player tribe.