259 Commits

Author SHA1 Message Date
patrick boutot
92b3e3e6fa StateTree: Compile the StateTree after each load in the editor. That ensures the data is valid when cooking and that if the cpp code changed, the new properties are properly converted. Do not mark the asset as dirty when it compiles. It should only mark the asset dirty when a user does the manipulation. Any automatic conversion should be transparent for the user.
#jira UE-222447
#rb Yoan.StAmant
#p4v-cherrypick 36157962

[CL 36331606 by patrick boutot in 5.5 branch]
2024-09-17 08:06:50 -04:00
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
jacob wang
784b99f413 [State Tree] Simplified Namings
#rb Patrick.Boutot

[CL 35975294 by jacob wang in ue5-main branch]
2024-09-03 14:56:39 -04:00
patrick boutot
b91643374e StateTree: Add "reset to default" on bindings. Hide parent when a member has a binding. Change the test of the parent and color of the parent binding.
#rb Yoan.StAmant

[CL 35966298 by patrick boutot in ue5-main branch]
2024-09-03 10:04:08 -04:00
patrick boutot
98036c2050 StateTree: Delay Link after the package is loaded or when first used.
#rb Yoan.StAmant

[CL 35965260 by patrick boutot in ue5-main branch]
2024-09-03 09:15:07 -04:00
patrick boutot
bcf921a0c6 StateTree: Add new basic color.
#jira UE-221074
#rnx
#rb patrick.boutot

[CL 35866270 by patrick boutot in ue5-main branch]
2024-08-28 10:21:35 -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
jacob wang
d403fdf2ca [State Tree] Added state weight to scale final utility score
#rb sigurdur.gunnarsson

[CL 35635292 by jacob wang in ue5-main branch]
2024-08-19 15:41:09 -04:00
patrick boutot
b5959b59f4 StateTree: Add option to print the result of a StateTree compilation. Moved FStateTreeExecutionContext::GetDebugPrintString to UStateTree. Added transitions, global tasks and conditions. Update other FStateTreeExecutionContext functions to use StringBuilder.
#rb Yoan.StAmant

[CL 35592149 by patrick boutot in ue5-main branch]
2024-08-16 09:07:06 -04:00
patrick boutot
22175c9fdc StateTree: Update comments for docgen.
#rb Yoan.StAmant
#rnx

[CL 35564665 by patrick boutot in ue5-main branch]
2024-08-15 11:29:44 -04:00
patrick boutot
d3d4bad348 StateTree: Deprecate FStateTreeTaskBase::ExitState and EnterState with the ChangeType arguments. It was already deprecated by comments but didn't had the deprecate attribute.
#rb Yoan.StAmant
#rnx

[CL 35560372 by patrick boutot in ue5-main branch]
2024-08-15 08:19:58 -04:00
patrick boutot
9af223defa StateTree: Use a thread safe delegate for internal bind to delegates that are out of StateTree controls. This is a quick fix to unblock internal projects from building. A better solution is a link/compile manager that knows the current instances or use the TObjectIterator to find the instances.
#jira UE-218319
#rb mikko.mononen

[CL 35366072 by patrick boutot in ue5-main branch]
2024-08-07 08:47:03 -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
d4ea50b0fc StateTree: Fix random determinism on transition random delay.
#rb Mieszko.Zielinski

[CL 35302506 by mikko mononen in ue5-main branch]
2024-08-05 03:21:02 -04:00
mikko mononen
35c86ac7f0 StateTree: Allow conditions to receive state completion callbacks.
#rb Yoan.StAmant

[CL 35267259 by mikko mononen in ue5-main branch]
2024-08-02 06:57:58 -04:00
mikko mononen
441324a228 StateTree: Added State outliner and made the main tree view more detailed
- Simplied the task icon
- Created common treeview for States, used for state selection and outliner view
- Added common functions to describe state links and transitions
- Made custom expander arrow the main tree view
- Move the task lits on separate row on the main tree view
- Added enter condition list for on main tree view
- Clicking on tasks or enter conditions highlight them in the details panel
- Added state outliner which displays the state list compactly
- Added feedback for the drag and drop, and moved the code to separate file

#rb Yoan.StAmant

[CL 35239895 by mikko mononen in ue5-main branch]
2024-08-01 05:38:41 -04:00
mikko mononen
117ec6e978 StateTree: Fixed calculating hash for DataHandle (contributed)
[CL 35208119 by mikko mononen in ue5-main branch]
2024-07-31 04:37:37 -04:00
zousar shaker
0329daaa3e Manual fixes for header issues identified by UHT after fixing issues in the config evaluation that prevented internal strictness rules from being applied.
[CL 34886150 by zousar shaker in ue5-main branch]
2024-07-17 17:36:17 -04:00
mikko mononen
3a0263b991 StateTree: fixed stopping temporary nodes with uninitialized data handles (contributed)
[CL 34635566 by mikko mononen in ue5-main branch]
2024-06-25 04:09:43 -04:00
mikko mononen
d5d9c0bd16 StateTree: fixed not calling OnExitState on nested ST's global tasks and evaluators (contributed)
[CL 34634791 by mikko mononen in ue5-main branch]
2024-06-25 02:37:11 -04:00
yoan stamant
f92989fb33 Fixed include paths following StructUtils being moved to CoreUObject
#jira UE-216472
#rb devin.doucette

[CL 34513428 by yoan stamant in ue5-main branch]
2024-06-19 16:42:16 -04:00
jacob wang
0fa5fd8e36 [State Tree] Utility Selector Runtime First Pass
#rb mikko.mononen

[CL 34362979 by jacob wang in ue5-main branch]
2024-06-13 22:57:49 -04:00
juan portillo
c9897fb3e5 State Tree: Added binding creation support in Binding Extension
- this also considers property refs

#rb mikko.mononen

[CL 34266628 by juan portillo in ue5-main branch]
2024-06-11 03:39:06 -04:00
matthew barry
00324b3fb2 UE State tree
- Added transition recording functionality to enable snapshots for state tree transitional events
- Primary use case is for keeping client-side state trees in sync with their server counterpart


[REVIEW] [at]mikko.mononen

#rnx
#rb mikko.mononen

[CL 34250876 by matthew barry in ue5-main branch]
2024-06-10 15:59:27 -04:00
mikko mononen
ee3a136c23 StateTree: Allow FStateTreeIndex16 to serialize from uint16
[CL 34088159 by mikko mononen in ue5-main branch]
2024-06-04 04:13:38 -04:00