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
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
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
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
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
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
evgenii babinets
690bc2cbc4
Fixed unreachable code warnings/errors.
...
#rb simon.orr
[CL 30620936 by evgenii babinets in ue5-main branch]
2024-01-15 12:29:05 -05:00
mikko mononen
b80c371c77
StateTree: Added parameter overrides for StateTree states
...
#rb Yoan.StAmant
[CL 30589270 by mikko mononen in ue5-main branch]
2024-01-12 05:08:35 -05:00
steve robb
6f623bfddb
Fixed pass-by-value archive in SerializeDataViewToArchive.
...
#rb yoan.stamant
[CL 30568948 by steve robb in ue5-main branch]
2024-01-11 10:41:12 -05:00
mikko mononen
e669bb6cd9
StateTree: Added property references (get pointer to a property based on binding)
...
- Added FStateTreePropertyRef which allows to get pointer to bindable output properties in the StateTree
- This will eventually supercede FStateTreeStructRef
[CL 30563615 by mikko mononen in ue5-main branch]
2024-01-11 04:24:45 -05:00
mikko mononen
e174346757
StateTree: Fixed crash in FStateTreeReference when no parameters are present
...
[CL 30526901 by mikko mononen in ue5-main branch]
2024-01-10 04:37:25 -05:00
mikko mononen
a0742e30e1
StateTree: Added option for State Tree parameters to be overridden.
...
- Added property override logic into FPropertyBagInstanceDataDetails
- Added hooks to allow to customize the peoperty override logic by deriving from FPropertyBagInstanceDataDetails
- Added array of overridden property IDs in FStateTreeReference
#rb Mieszko.Zielinski
[CL 30502099 by mikko mononen in ue5-main branch]
2024-01-09 07:30:16 -05:00
yoan stamant
8033d0dd79
[StateTreeDebugger] added trace event for conditions forced to a given result, either from an internal failure to access source data or from the evaluation mode set.
...
#jira UE-200473
#rb mikko.mononen
[CL 30480397 by yoan stamant in ue5-main branch]
2024-01-08 09:52:36 -05:00