Commit Graph

7 Commits

Author SHA1 Message Date
Mieszko Zielinski
8f2283267c Added a safety check to make sure GameplayTasks won't get double-activated #UE4
#jira UE-18124

[CL 2619728 by Mieszko Zielinski in Main branch]
2015-07-14 04:17:46 -04:00
Mieszko Zielinski
3ce3266fc8 Fixed running resource-less GameplayTask with additionally specified claimed resources not resulting in tasks' resource management kicking in #UE4
[CL 2607665 by Mieszko Zielinski in Main branch]
2015-07-01 12:40:31 -04:00
Mieszko Zielinski
b1033aab55 Fixed no-VLogging builds compilation issues #UE4
[CL 2605532 by Mieszko Zielinski in Main branch]
2015-06-30 09:02:56 -04:00
Mieszko Zielinski
20e4252b50 Gameplay Task priority and resources management up and running, pass 1 #UE4
Including:
- every GameplayTask can specify resources it requires to run, and separately resources it's going to lock, or "shadow" ones in the priority queue
- added a broadcast delegate to GameplayTasksComponent one can register for to get notified about changes in resource locks
    - AI uses this to lock AI logic for scripted tasks
- made IGameplayTaskOwnerInterface::GetAvatarActor require a task pointer to determine avatar actor - this was needed for a "skeletal" owners, like BT nodes
- Improvements to AITask_MoveTo
- expanded BTTaskNode with bits required for it being a GameplayTask owner
    - might need to move that to the most generic BTNode so that services can easily spawn tasks as well
- BT movement tasks can now use AITasks (opt-in with AISystem::bEnableBTAITasks via Project Settings)
- started adding a generic mechanism for configuring AI properties via Project Settings
    - consistency throughout multiple ways of spawning given AI task being the main drive here. Started with movement of course
    - currently implemented by exposing AISystem's properties to global config. Going to switch that over to UDeveloperSettings soon.
- Added a blackboard component member to AIController
- added setting BB SelfActor key to AI-controlled Pawn

[CL 2597132 by Mieszko Zielinski in Main branch]
2015-06-23 11:05:27 -04:00
Mieszko Zielinski
2a1b3dcef8 GameplayTasks work merged over from dev branch #UE4
Introducing AIResource classes. Updated AITask_Move as a first, test AI task
- also more GameplayTasks v-logging added
- added more unit tests for GameplayTasks

[CL 2581093 by Mieszko Zielinski in Main branch]
2015-06-09 07:11:12 -04:00
Maciej Mroz
5f019a3e11 Custom (no-actor, no-component) objects created by Blueprint Callable function have RF_StrongRefOnFrame flag set.
#codereview Mieszko.Zielinski, Michael.Noland, David.Ratti, Nick.Darnell, Terence.Burns, Peter.Sauerbrei

[CL 2578334 by Maciej Mroz in Main branch]
2015-06-05 08:21:26 -04:00
Eric Newman
f3569dae41 Fortnite dev to main merge up to cl # 2564489
Merging using UE4-Fortnite-To-UE4

[CL 2573959 by Eric Newman in Main branch]
2015-06-02 11:44:27 -04:00