44 Commits

Author SHA1 Message Date
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
patrick boutot
b29fa29a65 StateTree: Add accessor to get the list of active states.
#jira UE-166098
#rb Mieszko.Zielinski, Yoan.StAmant

[CL 35742179 by patrick boutot in ue5-main branch]
2024-08-22 11:29:18 -04:00
foobit
3fb9d52894 PR #11971: Fixed issue in StateTreeAIComponent not starting automatically when attached to an AIController
Introduced with CL 21673181. It looks like the logic was inverted. The context requirement functionality got refactored after the original modification and it will not put the component in a wrong situation if it gets attached later to a valid owner.
#jira UE-216567
#rb Yoan.StAmant

[CL 35560020 by foobit in ue5-main branch]
2024-08-15 07:56:28 -04:00
guillaume arruda
30d8d033c8 Create basic state tree property function for int, bool, float, vector, actors
Create helper function to help create state tree property function
#rnx
#rb mikko.mononen

[CL 35337440 by guillaume arruda in ue5-main branch]
2024-08-06 07:42:19 -04:00
mikko mononen
54eb8e271f StateTree: Introduced PropertyFunctions (contributed) (take2)
- Added property functions which can be executed and chained during property binding to set values of properties

[CL 34087989 by mikko mononen in ue5-main branch]
2024-06-04 03:56:38 -04:00
justin peterson
4b5e90f42a [Backout] - CL33856504 - CIS Cook Warning
[FYI] mikko.mononen
Original CL Desc
-----------------------------------------------------------------
StateTree: Introduced PropertyFunctions (contributed)
- Added property functions which can be executed and chained during property binding to set values of properties

[CL 33868630 by justin peterson in ue5-main branch]
2024-05-23 14:06:53 -04:00
mikko mononen
8fb0559486 StateTree: Introduced PropertyFunctions (contributed)
- Added property functions which can be executed and chained during property binding to set values of properties

[CL 33856515 by mikko mononen in ue5-main branch]
2024-05-23 04:48:59 -04:00
jacob wang
d0a9f7e6de [State Tree] Utility Selector Editor Representation First Pass
- Editor View and Operations(debugger support not yet)
- Basic Utility Consideration Base
- Built-in Float Parameter Consideration
- Basic Blueprint Support
#rb mikko.mononen

[CL 33665793 by jacob wang in ue5-main branch]
2024-05-15 14:50:35 -04:00
mikko mononen
ef148ecd80 StateTree: StateTree UI spring clean.
- Added icons and icon colors for ST nodes
- Implemented icons for some common ST nodes
- Small update to ST logic icons
- Added icons to the task list in State treeview row, adjusted task list BG color to make icons visible
- Fixed ST editor tabs icons and names (e.g. there were two tabs that had the same label)
- Moved ST node picker to separate class
- Moved category array customization to common helper function
- Added node icons to the ST node picker
- Add node button is not node selector too (simila to Niagara)
- Consolidated the add button style across all lists
- Cleaned up the node customization
  - Moved type selector, debug, and property controls into one menu at right
  - The combined menu can be also summoned using right click
  - Renaming now has to be triggered via the menu
  - Replacing node happens via menu
  - Most of the row was left "clickable" to later use it for selection
  - Improved the visualization and controls for the expression indentation
- Cleaned up state customization
  - Moved parameters to own category (similar to the tree params)
  - Moved event to the enter conditions category
- Cleaned up transition customization
  - Improved the transition display
  - Consolidated add button styles

#jira UE-180608
#rb Juan.Portillo, Mieszko.Zielinski

[CL 33030431 by mikko mononen in ue5-main branch]
2024-04-17 03:01:36 -04:00
mikko mononen
2cd00ea993 StateTree: Added description to tasks and conditions.
#rb guillaume.arruda, Mieszko.Zielinski

[CL 32754702 by mikko mononen in ue5-main branch]
2024-04-05 04:18:10 -04:00
guillaume arruda
29921c367f Change how owner of query in StateTreeRunEnvQuery is feed to the task
#rnx
#rb mikko.mononen

[CL 32693451 by guillaume arruda in ue5-main branch]
2024-04-03 06:59:33 -04:00
mikko mononen
91012bfa0b StateTree: Added linked state overrides.
- Added ability to describe override table for linked state tree references
- This allows to override parts of the tree e.g. based on character type
- Fixed visibility of the State parameter button when in fixed mode

#rb guillaume.arruda

[CL 32572125 by mikko mononen in ue5-main branch]
2024-03-28 05:18:19 -04:00
guillaume arruda
b6b54e807c Fix include case
#rnx

[CL 32397057 by guillaume arruda in ue5-main branch]
2024-03-21 08:51:28 -04:00
guillaume arruda
98ecd15dd0 Make ContextActorClass of UStateTreeAIComponentSchema default to APawn so that it binds to the pawn instead of the controller by default
Export UStateTreeAIComponentSchema for dll linking
#rnx
#rb mikko.mononen, Yoan.StAmant

[CL 32396844 by guillaume arruda in ue5-main branch]
2024-03-21 08:44:01 -04:00
guillaume arruda
0fc2421c6d Create State Tree AI Condition base namespace
#rb mikko.mononen
#rnx

[CL 32298290 by guillaume arruda in ue5-main branch]
2024-03-18 08:59:01 -04:00
guillaume arruda
e413c52467 Create StateTreeRunEnvQueyTask for running env query in a state tree
#rnx
#rb mikko.mononen

[CL 32245288 by guillaume arruda in ue5-main branch]
2024-03-14 10:53:09 -04:00
guillaume arruda
86d3d44a83 FIx CIS errors
#rnx

[CL 31940855 by guillaume arruda in ue5-main branch]
2024-03-01 07:53:06 -05:00
guillaume arruda
a3f5944e10 Create IStateTreeSchemaProvider that allows a derived class to override the schema used by a parent property.
Create StateTreeAIComponent & StateTreeAIComponentSchema derived from StateTreeComponent but guaranteed to have a AIController
#rb mikko.mononen

[CL 31940750 by guillaume arruda in ue5-main branch]
2024-03-01 07:42:54 -05:00
guillaume arruda
3c4a0c901e Create StateTreeMoveToTask wrapping a UAITask_MoveTo allowing state tree to move AI using the same framework as BehaviorTree
Create the FStateTreeAITaskBase & FStateTreeAIActionTaskBase state tree task namespace for AI focused ST task
#rb mikko.mononen

[CL 31940700 by guillaume arruda in ue5-main branch]
2024-03-01 07:39:59 -05:00
guillaume arruda
614bacdf88 Create BTTask_RunStateTree and BTTask_RunDynamicStateTree that allows the execution of state tree in a behavior tree
#rb mikko.mononen

[CL 31870609 by guillaume arruda in ue5-main branch]
2024-02-28 09:45:27 -05:00
BinaerBoy
a95cc37d3c [StateTree]
PR #11008: Fix nullptr error for invalid StateTreeRef
#jira UE-198647
#rb Mieszko.Zielinski

[CL 31613815 by BinaerBoy in ue5-main branch]
2024-02-19 11:51:26 -05:00
mikko mononen
dd16540a54 StateTree: Storing global parameters data in instance storage.
- Implies that parameters are only set once at start
- Allows parameters to be safely mutated if needed, e.g. via property references

[CL 30765232 by mikko mononen in ue5-main branch]
2024-01-22 05:38:03 -05:00
mikko mononen
6f402b9027 StateTree: Added support for external data for nested tree.
#rb Mieszko.Zielinski

[CL 30289195 by mikko mononen in ue5-main branch]
2023-12-13 06:34:27 -05:00
yoan stamant
506e82ba24 [StateTree] stop logic on EndPlay for auto-activated components (start logic) that are not associated to an AI owner.
#rnx
#rb mikko.mononen, mieszko.zielinksi
#preflight 641454f05d3e25354f15d9ae

[CL 24687982 by yoan stamant in ue5-main branch]
2023-03-17 09:41:07 -04:00
mikko mononen
4e9c130c92 StateTree: Set parameters when calling Tick() and Stop()
- Fixed bug where parameter data was not set on tick or stop

#preflight 63dcf7e11466610c6422f6b1

[CL 23989377 by mikko mononen in ue5-main branch]
2023-02-03 08:41:48 -05:00