Commit Graph

417 Commits

Author SHA1 Message Date
mikko mononen
a82ca89e98 StateTree: Added support for event payload in transitions and event capture for states. (contributed) [take 2]
- Transitions can now be set up to require a specific payload type and/or a gameplay tag
- Required transition event payload is visible to property bindind for transition conditions
- States can require an event type as enter condition, the event is captured when state is selected
- Required state event payload is visible to binding for state enter conditions, tasks and transistions

[CL 32150454 by mikko mononen in ue5-main branch]
2024-03-11 04:54:44 -04:00
bob tellez
0189872e84 [Backout] - CL32082262
[FYI] mikko.mononen
Original CL Desc
-----------------------------------------------------------------
StateTree: Added support for event payload in transitions and event capture for states. (contributed)
- Transitions can now be set up to require a specific payload type and/or a gameplay tag
- Required transition event payload is visible to property bindind for transition conditions
- States can require an event type as enter condition, the event is captured when state is selected
- Required state event payload is visible to binding for state enter conditions, tasks and transistions

[CL 32113027 by bob tellez in ue5-main branch]
2024-03-07 23:49:50 -05:00
mikko mononen
151da40c35 StateTree: Fix template error
[CL 32082834 by mikko mononen in ue5-main branch]
2024-03-07 07:56:54 -05:00
mikko mononen
cec24c894d StateTree: Added support for event payload in transitions and event capture for states. (contributed)
- Transitions can now be set up to require a specific payload type and/or a gameplay tag
- Required transition event payload is visible to property bindind for transition conditions
- States can require an event type as enter condition, the event is captured when state is selected
- Required state event payload is visible to binding for state enter conditions, tasks and transistions

[CL 32082269 by mikko mononen in ue5-main branch]
2024-03-07 06:53:02 -05:00
guillaume arruda
682760bafd Fux loctext macro warning
#jira UE-209071
#rnx

[CL 32061239 by guillaume arruda in ue5-main branch]
2024-03-06 13:55:56 -05:00
guillaume arruda
b01f59df59 Extend FStateTreePropertyRef to be able to bind to multiple property types
#rb mikko.mononen

[CL 31987032 by guillaume arruda in ue5-main branch]
2024-03-04 09:08:47 -05:00
devin doucette
cc9e787c79 Deprecated fields on FPropertyTag that are now represented by its TypeName
#rb Steve.Robb
#rnx

[CL 31959452 by devin doucette in ue5-main branch]
2024-03-01 17:32:43 -05: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
mikko mononen
b44756326a StateTree: Fixed incorrect InstanceDataNum for CompactStates
[CL 31902391 by mikko mononen in ue5-main branch]
2024-02-29 05:37:32 -05:00
mikko mononen
37043755be StateTree: Consolidated searching for frame and it's parent into a single helper function.
[CL 31900727 by mikko mononen in ue5-main branch]
2024-02-29 03:19:31 -05:00
yoan stamant
266d1dc2b9 [StateTreeDebugger] handle buffered data differently if it can be reused in multiple traces during the same game session or if it need to be reset when stopping the trace
#jira UE-207387
#rb mikko.mononen

[CL 31805935 by yoan stamant in ue5-main branch]
2024-02-26 11:32:07 -05:00
christopher waters
5a0e169c6d Getting more headers compiling solo on Win64.
#rb joe.kirchoff, henrik.karlsson

[CL 31663239 by christopher waters in ue5-main branch]
2024-02-20 18:57:35 -05:00
yoan stamant
b96614bc9a Fixed properties in FStateTreeBlueprintPropertyRef that were not initialized properly
#jira UE-206991
#rb Maxime.Mercier#preflight 65cf95c44f692bc80ed32fb9

[CL 31570010 by yoan stamant in ue5-main branch]
2024-02-16 12:29:22 -05:00
mikko mononen
e329242707 StateTree: Blueprint Property Ref.
- State Tree property ref which can be used in BP tasks

[CL 31470182 by mikko mononen in ue5-main branch]
2024-02-14 09:04:52 -05:00
mikko mononen
f543d8078b PropertyAccessEditor: Added BindingChain to OnCanBindProperty.
[CL 31465565 by mikko mononen in ue5-main branch]
2024-02-14 07:07:33 -05:00
mikko mononen
bcd3274e9c PropertyBinding: Changed the results passed to OnCanAcceptPropertyOrChildrenWithBindingChain to be consistent with the rest of the API.
#rb Mieszko.Zielinski#preflight 65cb57734e11958de197f696

[CL 31421923 by mikko mononen in ue5-main branch]
2024-02-13 08:30:26 -05:00
mikko mononen
06ed216b15 StateTree: Fixed crash when resolving bindings without value into Weak or Soft Objects.
[CL 31041153 by mikko mononen in ue5-main branch]
2024-01-31 05:31:30 -05:00
mikko mononen
4079007ba6 StateTree: Introduced TStateTreePropertyRefExternalHandle.
- also InstanceDataStorage is stored as a sharedptr now

[CL 30996128 by mikko mononen in ue5-main branch]
2024-01-30 03:18:31 -05:00
mikko mononen
261077c16c StateTree: Small UI fixes
- changed the font to default font to support all supported languages (e.g. chinese was displaying wrong)
- removed bad pattern of using new FSlateRoundedBoxBrush() in editor node tails (leaks memory)
- fixed potentially dangerous use of [this] capture in FStateTreeTransitionDetails

#rb Yoan.StAmant

[CL 30966405 by mikko mononen in ue5-main branch]
2024-01-29 07:41:47 -05:00
yoan stamant
a415b9d013 [StateTreeTrace] fixed performance issue when buffering lot of events (> 17K in City Sample) by switching array to map.
#jira UE-204488
#rb mikko.mononen

[CL 30919514 by yoan stamant in ue5-main branch]
2024-01-26 07:23:56 -05:00
aris theophanidis
42af29bff6 Removing coreminimal.h from some of the most included locations
#rb Yoan.StAmant

[CL 30814943 by aris theophanidis in ue5-main branch]
2024-01-23 15:07:05 -05:00
yoan stamant
e7a2d41cb4 [StateTreeTrace] Replaced include by forward declaration now that it is supported for TMap
#rb Maxime.Mercier

[CL 30783098 by yoan stamant in ue5-main branch]
2024-01-22 14:45:12 -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
d6c828e080 StateTree: Introduced TStateTreePropertyRef - type-safe FStateTreePropertyRef wrapper
#rb mikko.mononen tim.smith

[CL 30764929 by mikko mononen in ue5-main branch]
2024-01-22 05:01:31 -05:00