Commit Graph

285 Commits

Author SHA1 Message Date
alex kahn
593a09d09d [Backout] - CL32585960 - CIS Compile Error
#rnx
[FYI] Steve.Robb
Original CL Desc
-----------------------------------------------------------------
Added FUtf8StrProperty and FAnsiStrProperty.

#rb robert.manuszewski
#jira UE-204743

[CL 32590075 by alex kahn in ue5-main branch]
2024-03-28 15:39:39 -04:00
steve robb
33f991cfd9 Added FUtf8StrProperty and FAnsiStrProperty.
#rb robert.manuszewski
#jira UE-204743

[CL 32586529 by steve robb in ue5-main branch]
2024-03-28 14:26:59 -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
mikko mononen
0cdc2e12b9 StateTree: Fix active instance data access when during selection.
#rb Mieszko.Zielinski
#lockdown julien.marchand

[CL 32545460 by mikko mononen in ue5-main branch]
2024-03-27 11:51:13 -04:00
guillaume arruda
16b1c302aa Add meta tag SchemaCanBeOverriden on StateTreeReference to make IStateSchemaProvider an opt in feature
#rb Yoan.StAmant

[CL 32436239 by guillaume arruda in ue5-main branch]
2024-03-22 11:55:18 -04:00
guillaume arruda
7fb2ffb953 Fix LinkedAsset schema check that was inversed leading to subtree with looser requirement being rejected
#rnx
#rb Yoan.StAmant

[CL 32435908 by guillaume arruda in ue5-main branch]
2024-03-22 11:44:33 -04:00
mikko mononen
d92da1ba2f StateTree: Fixed non initialized state params when checking it's enter conditions
[CL 32429459 by mikko mononen in ue5-main branch]
2024-03-22 06:34:36 -04:00
yoan stamant
73e3be5b16 Added unsafe type cast as warnings in AI related plugins/modules: StateTree, Mass, SmartObject. NavigationSystem, and ZoneGraph (partial)
#rb Mieszko.Zielinski, mikko.mononen

[CL 32398227 by yoan stamant in ue5-main branch]
2024-03-21 09:44:11 -04:00
guillaume arruda
5b085806fd Add postload callback to state tree node in editor
Use callback to sync parameters in FStateTreeRunParallelStateTreeTask
#rb mikko.mononen
#rnx

[CL 32396757 by guillaume arruda in ue5-main branch]
2024-03-21 08:38:57 -04:00
mikko mononen
a1a41e832c StateTree: Fixed missing template keyword in dependent template call
[CL 32393780 by mikko mononen in ue5-main branch]
2024-03-21 04:25:59 -04:00
mikko mononen
3c8bc8c94a StateTree: Compilation fix when TStateTreePropertyRefExternalHandle references a single value
[CL 32393675 by mikko mononen in ue5-main branch]
2024-03-21 03:55:29 -04:00
matt breindel
2a0454735e Making the asset gatherer tick run on a background thread. In order to do this, it was also necessary to refactor PostLoadAssetRegistryTags, deprecating the existing function and implementing a new ThreadedPostLoadAssetRegistryTagsOverride. The multithreading functionality is disabled in this checkin. -dpcvars=AssetRegistry.TickGatherOnGTOnly=0 will enable it.
#jira UE-204058
[REVIEW] [at]*matt.peters [at]dan.oconnor [at]ben.zeigler [at]robert.millar
[FYI] [at]francis.hurteau
#rb Matt.Peters

[CL 32388964 by matt breindel in ue5-main branch]
2024-03-20 20:13:47 -04:00
guillaume arruda
c3b7786a73 Create state tree task Run Parallel tree allowing a state to run a subtree while child state can still to be selected and entered.
#rb mikko.mononen, Yoan.StAmant

[CL 32362634 by guillaume arruda in ue5-main branch]
2024-03-20 08:28:58 -04:00
jacob wang
f802fc844b Invalid EGenericAICheck value for State Tree Condition Evaluation.
Hid the value in the editor for unapplicable conditions.

#jira UE-207396

#rb Mieszko.Zielinski, mikko.mononen

[CL 32255473 by jacob wang in ue5-main branch]
2024-03-14 15:33:27 -04:00
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
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