Commit Graph

28 Commits

Author SHA1 Message Date
Thomas Sarkanen
0f1f095b18 Breaking behavior tree links is now undo-able
Added transactions for link breaking actions.
Removed call to unrelated sound schema delegate.

TTP# 347732 - EDITOR: BEHAVIOR TREES: Cannot undo Break Link action

[CL 2321095 by Thomas Sarkanen in Main branch]
2014-10-07 07:37:03 -04:00
Lukasz Furman
fcac4c0192 internal tasks & decorators of AITest project are now hidden in BT editor
[CL 2308986 by Lukasz Furman in Main branch]
2014-09-24 18:27:21 -04:00
Mike Beach
1b87f7d3ee Deprecating EdGraphNode's GetTooltip() (in exchange for one that returns FText over FString).
[CL 2283396 by Mike Beach in Main branch]
2014-09-03 18:14:09 -04:00
Thomas Sarkanen
1bde800877 Blackboard mode is now selectable after undoing a reset of the property
The cached blackboard asset was not being updated on Undo, only on property change. Added extra PostEditUndo() call and prevented a full rebuild if the blackboard had not changed,

TTP# 344015 - AI: BehaviorTree: Possible to have the blackboard mode button grayed out even though a blackboard asset is set in the behavior tree

[CL 2280361 by Thomas Sarkanen in Main branch]
2014-09-01 06:53:22 -04:00
Ben Marsh
e9f8b8d3a1 Fixup multiline comments that are meant to be documentation. Need to start with /** for doxygen to parse them.
[CL 2265840 by Ben Marsh in Main branch]
2014-08-21 08:33:39 -04:00
Mike Fricker
b678b51efd Added editor notification when automatic hot reload completes
[CL 2264535 by Mike Fricker in Main branch]
2014-08-20 13:58:31 -04:00
Daniel Broder
9f50173ccf Merging using UE4-Fortnite-To-UE4 from CL 2236347
Unshelved this merge from Stephan and then completed the merge with additional fixes and testing.

Hand fixed some WorldExp compile issues due to changes to OnPaint() signature.

#Integration

[CL 2245992 by Daniel Broder in Main branch]
2014-08-06 16:12:41 -04:00
Thomas Sarkanen
ff7d2bdb1b Added Behavior Tree execution order index widgets
Added new widget overlay system for graph panels, designed to allow more flexibilty than the current brush-only implementation. This requred a small refactor to avoid the assumption that all child widgets of an SNodePanel are SNodes (and because there is no usable RTTI present).

Added index widget overlay to BT graph nodes.

Added flag to parent nodes to allow us to change the appearance of child nodes when another child is hovered.

TTP# 339733 - Editor: Behaviour Tree: Add better execution order indicators

reviewed by Lukasz.Furman

[CL 2226658 by Thomas Sarkanen in Main branch]
2014-07-22 04:03:40 -04:00
Thomas Sarkanen
2deeef13ed Added Behaviour Tree node tooltips
Added new tooltip text using tooltip metadata from C++ node classes & BlueprintDescription text for BP node classes.

TTP# 339734 - Editor: Behaviour Tree: Add node tooltips

reviewed by Lukasz.Furman

[CL 2223207 by Thomas Sarkanen in Main branch]
2014-07-18 03:43:16 -04:00
Thomas Sarkanen
8768e7923b Managing and creating Blackboard asset improvements
Added factory for Blackboard assets so they can have their own entry & icon in the context menu.
Added toolbar shortcut to create a new Blackboard asset alongside the BT.
Fixed selecting new Blackboard sometimes not displaying in Blackboard mode.
Displayed root node properties when nothing is selected so blackboard assets can be chosen.
Also added missing icons for small toolbars

TTP# 339961 - [Editor][AI] There's no way to create a blackboard asset
TTP# 339731 - Editor: Behaviour Tree: Root node UI improvements

reviewed by Lukasz.Furman

[CL 2119281 by Thomas Sarkanen in Main branch]
2014-06-27 06:25:31 -04:00
Thomas Sarkanen
6065f0f7d6 Behavior Tree nodes are now categorized
Added new BlueprintCategory property to UBlueprints that propagates to class metadata on Blueprint compilation. This metadata is then used for C++ and Blueprint-based node classes when displayed in the behavior tree palette.
Also fixed blueprint decorators incorrectly displaying no icon.

TTP# 337865 - [EDITOR][BT editor] BT nodes could use a way to define custom categories

reviewed by Lukasz.Furman

[CL 2117859 by Thomas Sarkanen in Main branch]
2014-06-26 08:16:03 -04:00
Thomas Sarkanen
4ef14c1da5 Prevented behavior tree nodes from going pink after undo
Made sure node owner is up-to-date after undo. This fixes the outer of the node being incorrect post-undo. Nodes are renamed away non-transactionally when deleted and cleaned up, so the change to the outer gets ignored and is not restored normally. This ensures that it gets properly fixed up.

TTP# 339299 - UE4: BEHAVIORTREE: Node turns pink from Undoing a delete

reviewed by Lukasz.Furman

[CL 2117819 by Thomas Sarkanen in Main branch]
2014-06-26 06:15:25 -04:00
Michael Noland
8e21e38390 Editor: Add UFactory::CanCreateNew and make bCreateNew a protected member
[CL 2117678 by Michael Noland in Main branch]
2014-06-26 02:59:25 -04:00
Thomas Sarkanen
515f9ae61b Behavior Tree root nodes now have correct tooltip
Root nodes do not initialize their class data member (as they are never placed, only generated) which is to generate the default tooltip. Overriding the function to provide a useful tooltip for nodes.

TTP# 339280 - UE4: BEHAVIORTREE: Class not found tooltop still appears after saving

[CL 2113880 by Thomas Sarkanen in Main branch]
2014-06-23 07:17:10 -04:00
Thomas Sarkanen
dbb244f1af CIS fix - missing changes.
[CL 2113878 by Thomas Sarkanen in Main branch]
2014-06-23 07:12:24 -04:00
Lukasz Furman
4676430988 fixed hitch on loading all classes/packages for behavior tree editor
[CL 2104462 by Lukasz Furman in Main branch]
2014-06-13 08:19:03 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Thomas Sarkanen
866ed146db Hooked up new Behavior Tree icons.
Added editor-only functions to allow nodes to override their in-editor icon display.
Added Blueprint icon to show which nodes use Blueprint for their logic.
Hooked up new icons to Editor style.
Added missing Blackboard icon.

TTP# 337682 - [ART REQUEST] New Icons for behaviour trees

reviewed by Andrew.Brown, Lukasz.Furman

[CL 2103111 by Thomas Sarkanen in Main branch]
2014-06-12 09:29:05 -04:00
Eric Newman
43162b12dc Weekly UE4-Fortnite=>UE4 merge using UE4-Fortnite-To-UE4 of approved cl# 2098745
[CL 2100757 by Eric Newman in Main branch]
2014-06-10 16:45:28 -04:00
Lukasz Furman
4b8ded33ee improved lazy loading of blueprint based behavior tree nodes
- missing file

[CL 2099098 by Lukasz Furman in Main branch]
2014-06-09 11:15:58 -04:00
Lukasz Furman
e0d8b51757 improved lazy loading of blueprint based behavior tree nodes
TTP# 337875

[CL 2099096 by Lukasz Furman in Main branch]
2014-06-09 11:15:47 -04:00
Robert Manuszewski
2f4a03b853 Missing file from previous checkin
[CL 2094302 by Robert Manuszewski in Main branch]
2014-06-04 08:10:43 -04:00
Mieszko Zielinski
fea9d66d25 Extracting AI code from the engine into a separate module, pass 1 #UE4
- merged over from Fortnite branch
- includes adjusting all game projects that use AI code
- contains a nasty AIModule <-> Engine circular dependency. To be removed ASAP

[CL 2085468 by Mieszko Zielinski in Main branch]
2014-05-29 17:06:50 -04:00
Stephan Delmer
6c7c666a97 Merging using UE4-Fortnite-To-UE4 using CL #2054046
[CL 2055709 by Stephan Delmer in Main branch]
2014-04-24 15:04:22 -04:00
Bob Tellez
96c40b8974 Merging UE4-Fortnite -> Main using CL#2047477
[CL 2049479 by Bob Tellez in Main branch]
2014-04-23 19:29:53 -04:00