39 Commits

Author SHA1 Message Date
Arnaud Jamin 4c615ae10d Mutiple fixes
Fix shipping build by reworking Cog integration (now use a subsystem)
Fix crash when stopping and restarting in the editor
2025-05-13 13:30:21 -04:00
Arnaud Jamin 32ca4dc2ba Rename CogWindow plugin to Cog.
Fix Config saving not working
2025-02-12 13:56:06 -05:00
Arnaud Jamin 6d9494b685 Major Change - Rework how Cog gets integrated
Cog integration has been reworked to make it easier,  to keep Cog available between level loadings, and to properly tick ImGui while the game is paused.
Cog 's WindowManager is now a GameInstanceSubsystem.
The WindowManager ticks ImGui and the windows during the OnWorldPostActorTick delegate.
(If this is not working for your project, don't hesitate to open an issue.)

Check the readme to see how to integrate Cog.

The Plot debug functions (displayed by the Engine/Plot window) have been reworked as they were not properly working in Multi PIE in Single Process.

API changes:
- use FCogDebug::Plot instead of FCogDebugPlot::PlotValue
- use FCogDebug::InstantEvent  instead of FCogDebugPlot::PlotEventInstant
- use FCogDebug::StartEvent instead of FCogDebugPlot::PlotEventStart
- use FCogDebug::StopEvent instead of FCogDebugPlot::PlotEventStop
2025-02-11 13:29:12 -05:00
Arnaud Jamin 2f1361a412 CogEngine: Fix and improve Plot window
CogEngine: Fix and improve the Plot window
- Fix ImPlot assert
- Improve UI

CogSample:
-  Add Inputs and AnimNotify plot events
- Fix ability system warning
2025-01-11 00:31:53 -05:00
Arnaud Jamin e8fb710632 Comment 2024-01-09 21:24:47 -05:00
Arnaud Jamin 8cbecf504b Add a CogAll module to ease the integration for projects that want all windows 2024-01-09 01:12:31 -05:00
Arnaud Jamin c959ccab81 CogEngine: refactor Selection window to share the actor list with other windows such as the Collision Tester window 2024-01-08 01:36:25 -05:00
Arnaud Jamin 7dd4922b01 CogEngine: move CollisionTester logic inside an actor 2024-01-02 00:57:02 -05:00
Arnaud Jamin 751761d176 Adding collision tester 2023-12-17 16:40:59 -05:00
Arnaud Jamin a385e15f64 CogImGui: Add imgui viewport support 2023-11-28 01:28:09 -05:00
Arnaud Jamin 294cb56610 CogImGui: Let the click pass through when imgui input is disabled.
CogSample: Add Start/Escape menu
2023-11-07 01:35:57 -05:00
Arnaud Jamin 34e08a9e2a CogSample: Add a window with the Team of the selection. 2023-11-05 01:10:22 -04:00
Arnaud Jamin 9d3143298b CogAbility: Add blocked ability tags 2023-11-04 00:20:18 -04:00
Arnaud Jamin 31d5fa9db8 CogWindow: Widgets can now be chosen and ordered by the user 2023-11-03 21:08:54 -04:00
Arnaud Jamin 7f88f5d53a CogWindow: Rename CreateWindow to AddWindow to prevent name conflict with windows headers
CogSample : Projectile progress
2023-10-30 23:44:24 -04:00
Arnaud Jamin 315782183d CogSample: progress on projectiles 2023-10-30 01:11:48 -04:00
Arnaud Jamin e72504b47a CogWindow: CogWindows are not UObject anymore
CogWindows are now normal object because we want to be able to Ifdef them, and UObject cannot be ifdef. CogWindows were UObject mainly for saving their config. The configs have been moved in separated class, which are UObject.
2023-10-27 02:39:33 -04:00
Arnaud Jamin 6f54b429f0 CogAbility: Apply tweaks at start and when an new actor is spawned
The data asset is now loaded directly by the windows.
2023-10-22 01:37:26 -04:00
Arnaud Jamin ac90ba6ab6 CogPackage: fix Gameplay Cues not cooked
CogSample: Add area of effect
CogSample: Add "Easy" cheat
CogWindow: Fix some tooltips
CogEngine: Spawns now spawn the default controller
CogDebug: Early out on DebugDraw if WorldContextObject is null
2023-10-20 15:47:57 -04:00
Arnaud Jamin 1b5d63b0af Rework how ImGui input toggle is triggered
Add a new window CommandBindings to configure the shortcuts of console commands
The first time it is created, this window add the bindings to control cog:

[Tab]  Cog.ToggleInput
[F1]   Cog.LoadLayout 1
[F2]   Cog.LoadLayout 2
[F3]   Cog.LoadLayout 3
[F4]   Cog.LoadLayout 4
[F5]   Cog.ToggleSelectionMode

The selection window can now uses the Actor Label instead of Name (simpler to read)
Fix Blackboard sorting
2023-10-19 17:28:42 -04:00
Arnaud Jamin 0c00b4a2c4 Save selection window config 2023-10-17 15:02:20 -04:00
Arnaud Jamin 95d24ae767 Add behavior tree window 2023-10-16 17:04:32 -04:00
Arnaud Jamin fc5abf7e8f starting to add AI windows 2023-10-16 02:51:44 -04:00
Arnaud Jamin da02827408 improve inspector 2023-10-16 00:00:05 -04:00
Arnaud Jamin 63f4a8b92f Add Inspector window
Add Inspector window
Hide main menu widgets when the width gets too small
Add log category description
Renaming
2023-10-13 23:35:16 -04:00
Arnaud Jamin 7dc83d6601 fix build error 2023-10-12 11:26:55 -04:00
Arnaud Jamin e90b097c1d window settings - imgui toggle input settings 2023-10-11 14:34:18 -04:00
Arnaud Jamin 18d82287aa unify data assets 2023-10-11 10:33:13 -04:00
Arnaud Jamin c5d1d14ac6 unify abilities data asset 2023-10-11 01:28:24 -04:00
Arnaud Jamin eb963614b9 simplify integration 2023-10-10 23:53:34 -04:00
Arnaud Jamin 83d756252a add possession in selection window 2023-10-10 17:24:27 -04:00
Arnaud Jamin c9a3013bb9 save cheats state 2023-10-10 01:12:59 -04:00
Arnaud Jamin ad7cbb1667 sample UI ability cooldown 2023-10-09 02:20:52 -04:00
Arnaud Jamin 92396410d4 Add target acquisition in the sample 2023-10-06 02:27:00 -04:00
Arnaud Jamin 901b92e70c Add help 2023-10-04 09:37:35 -04:00
Arnaud Jamin 9eeaec254a moved metric to CogDebug 2023-10-03 12:04:56 -04:00
Arnaud Jamin 60b1578e96 Make the damage window more generic
The goal was to handle gameplay event other than damage, such as heals. Renamed it to metric.
2023-10-03 01:00:06 -04:00
Arnaud Jamin 28cef19935 Add spawning window 2023-10-02 15:28:35 -04:00
Arnaud Jamin 1aabdb5c4e First Submit 2023-10-02 01:32:41 -04:00