364 Commits

Author SHA1 Message Date
olivier lamothe
91d5e97ee1 Behavior Tree Editor: Allow search to find decorators and services by the class of the instance
#rb Yoan.StAmant

[CL 30780687 by olivier lamothe in ue5-main branch]
2024-01-22 13:34:29 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
guillaume arruda
fa4c1675d3 Improve behavior tree debugging
- Add a warning to the bottom left of the debug window when the behavior tree being debugged is paused.
- Gather runtime values from instanced nodes when needed so the correct values are displayed when debugging.
- Make double clicking on a dynamic subtree node open the running subtree
#rb Yoan.StAmant

[CL 30265686 by guillaume arruda in ue5-main branch]
2023-12-12 11:46:29 -05:00
guillaume arruda
d3334aac6b Add ability to override default blackboard key value for most type.
Prevent child blackboards from being able to modify the key type of inherited key.
#rb Maxime.Mercier, Mieszko.Zielinski, Yoan.StAmant

[CL 30155186 by guillaume arruda in ue5-main branch]
2023-12-06 10:17:12 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
ben hoffman
4f3280c91f [Behavior Tree] Fix BT Composite Decorator had an erroneous tooltip ("Class not found, make sure it's saved!")
#rb mieszko.zielinski
#rb ben.hoffman
#jira none

#ushell-cherrypick of 29179945 by kristof.morva1

[CL 29638497 by ben hoffman in ue5-main branch]
2023-11-10 09:18:56 -05:00
ben hoffman
ac7cab8606 [Behavior Tree] Fix re-opening BT assets on project start-up opens up the BB instead
#rb mieszko.zielinski, aditya.ravichandran
#jira none

#ushell-cherrypick of 29179949 by kristof.morva1

[CL 29564510 by ben hoffman in ue5-main branch]
2023-11-08 12:20:48 -05:00
ben hoffman
f3b66d6be3 [Behavior Tree] Add support for node-specific error reporting
#rb mieszko.zielinski
#jira none

#ushell-cherrypick of 29519502 by kristof.morva1

[CL 29563418 by ben hoffman in ue5-main branch]
2023-11-08 11:42:58 -05:00
ben hoffman
b36f38d22e Fix BT decorator and service lists (and also some custom licensee graph implementations) put the first and second level category on the same level.
A very long time ago CL 2411381 introduced a change to make the default Base Indent Level of all Graph Action Menus "1", basically meaning that both "0" and "1" indent levels would be placed at the root of the menu. Presumably they've needed it, because in BPs, categories on the left side are custom headers, and they didn't want the children (functions, variables, etc) to have an extra indent.
However, they've made this change globally, basically breaking Graph Action Menus that didn't have category customization and needed the first level to be indented under the root level.
Some systems have overcome this by defining a custom expander with a Base Indent Level of 0 - getting back the original, expected behavior. That was however just hiding the underlying issue.
This change reverts back the Base Indent Level to 0, and sets it to 1 instead only for those menus, which have a customized category header. This should fix all graph menus where the second category level was not indented (i.e. BT Action Menu and Decorator Context Menu).

#rb aditya.ravichandran
#jira none

#ushell-cherrypick of 29515770 by kristof.morva1

[CL 29530311 by ben hoffman in ue5-main branch]
2023-11-07 15:20:10 -05:00
Mieszko Zielinski
e90ee11b84 Next pass on Behavior Tree extensibility:
- Customizable node colors
- Inheritable task / decorator / service nodes
- More customizable text
- Add ability to hide services
- Const-correctness fixes

#review-28666945
#jira none

#ushell-cherrypick of 28706916 by kristof.morva1

[CL 29014658 by Mieszko Zielinski in ue5-main branch]
2023-10-23 08:21:52 -04:00
ben hoffman
8bc32484e0 Export BehaviorTreeGraphNode_SubtreeTask
#rb mieszko.zielinski
#jira none

#ushell-cherrypick of 28533198 by kristof.morva1

[CL 28582218 by ben hoffman in ue5-main branch]
2023-10-09 10:35:33 -04:00
yoan stamant
8a5355cad9 [BehaviorTreeEditor] Fix potential access to an invalid FindInBTResult pointer
#rb maxime.mercier

[CL 28413511 by yoan stamant in ue5-main branch]
2023-10-03 10:26:54 -04:00
yoan stamant
b5929b3f76 [BehaviorTreeEditor] converted OnBlackboardKeyChanged delegate to a global multicast delegate so every BehaviorTreeBlackboardView linked to the modified asset can refresh their actions.
#rb maxime.mercier
#jira UE-193848

[CL 27420500 by yoan stamant in ue5-main branch]
2023-08-28 15:15:12 -04:00
yoan stamant
04d388bccd Fixed references to private directories for AIGraph, BehaviorTreeEditor and EnvironmentQueryEditor
Bonus: removed some unrequired depedencies
#rnx
#rb mieszko.zielinski
#jira UE-193785
#jira UE-193787
#jira UE-193814

[CL 27410044 by yoan stamant in ue5-main branch]
2023-08-28 09:56:16 -04:00
ben hoffman
de5bec8cc1 remove misc. unnecessary comments
#rnx
#jira none
#rb trivial

[CL 26436125 by ben hoffman in ue5-main branch]
2023-07-18 12:02:41 -04:00
kevin ortegren
1fe0f9694c Add custom style set support for BT nodes
#rb mieszko.zielinski
#p4v-cherrypick 25473880

[CL 26178882 by kevin ortegren in ue5-main branch]
2023-06-22 06:49:30 -04:00
Urkaz
0531fccb09 PR #10345: Fix BehaviorTreeEditorModule custom Toolbar Extenders not being applied
#jira UE-183181
[RN] none

[CL 25799780 by Urkaz in ue5-main branch]
2023-06-05 14:57:34 -04:00
ben hoffman
0c503cad78 Add a Default Blackboard config option for Behavior Trees
#rb mieszko.zielinski, Yoan.Stamant

#ushell-cherrypick of 25473876 by kristof.morva1

================================

Add missing change to CL 25473876.

Add a Default Blackboard config option for Behavior Trees

#rb mieszko.zielinski, Yoan.Stamant
#[review]-25477192

#ushell-cherrypick of 25488112 by kristof.morva1

====================
#preflight 647a0825e75a2263919e0b9d

[CL 25763046 by ben hoffman in ue5-main branch]
2023-06-02 11:43:33 -04:00
ben hoffman
fcd29ab243 Expose some Behavior Tree Editor functionality to be inheritable and accessible from other modules.
Also introduce some smaller BT Editor UX improvements.

#rb mieszko.zielinski
#preflight 6479fbb6d4596f242cffa2a7

#ushell-cherrypick of 25473870 by kristof.morva1

[CL 25761210 by ben hoffman in ue5-main branch]
2023-06-02 10:44:25 -04:00
Mieszko Zielinski
6bb52ead82 [BehaviorTreeEditor] add FocusAttentionOnNode to IBehaviorTreeEditor and implement it in BehaviorTreeEditor
#jira none
#rb mieszko.zielinski

#ushell-cherrypick of 25577297 by zsofia.balogh
#preflight 646f50ee1134ffac7004acc1

[CL 25619513 by Mieszko Zielinski in ue5-main branch]
2023-05-25 08:36:18 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -04:00
raphael lapierre
64b65d0018 Changed SBehaviorTreeBlackboardView to own a weakptr to its blackboard data instead of a strong ref
[REVIEW] [at]yoan.stamant

[CL 25183645 by raphael lapierre in ue5-main branch]
2023-04-25 13:14:00 -04:00
kirill zorin
1734d17211 Preparing more engine+plugins callsites for upcoming TArray/TArrayView mutable conversion restrictions
#rb zousar.shaker
#preflight 644040f4a35280ed4f8d8932

[CL 25114182 by kirill zorin in ue5-main branch]
2023-04-19 15:52:24 -04:00
nick edwards
442653b187 Uses of ::Sort/::StableSort replaced with Algo versions.
#preflight 6422f8d3710ec8400fc7471c
#jira none
#rb steve.robb

[CL 24818983 by nick edwards in ue5-main branch]
2023-03-28 10:56:46 -04:00
joe kirchoff
d5a5a356b9 Remove unnecessary Public and Private entries for the current module being added to PublicIncludePaths or PrivateIncludePaths
#rnx
#jira UE-177808
#preflight 63f3fb8c90198dffba00cc27

[CL 24331758 by joe kirchoff in ue5-main branch]
2023-02-20 20:22:44 -05:00