Commit Graph

94 Commits

Author SHA1 Message Date
Arnaud Jamin 7ba295bdbd Remove debug replicator spawning, now automatically done 2025-05-15 00:50:23 -04:00
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 362d248866 Cleanup 2025-02-12 15:18:33 -05: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 8b650632a7 CogEngine: Add Levels window to load a specific level
CogSample: fix server target not excluding cog
2025-02-09 01:18:27 -05:00
Arnaud Jamin f13ef84dab Fix shipping target 2025-02-08 01:57:55 -05:00
Arnaud Jamin a5cd84be7f CogSample: Add properties to test inspector TSet and TMap 2025-02-08 00:29:26 -05:00
Arnaud Jamin c345235e96 CogSample: const and typo fix 2025-01-25 21:37:29 -05:00
Arnaud Jamin cf027e4074 Remove unused includes 2025-01-24 11:41:25 -05:00
Arnaud Jamin 980fe16f6e CogSample: Add invisibility cheat 2025-01-24 00:59:59 -05:00
Arnaud Jamin dcce0f1b47 CogEngine: improve plot events automatic row manangement
CogSample: plot Ability Activate/End event
2025-01-16 19:30:12 -05:00
Arnaud Jamin 392c015d2e CogSample: Add new attribute sets to test having the same attribute name in different attribute sets. 2025-01-14 23:40:02 -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 cb98140f1d CogInput: Improve CogWindow_Actions
- Remove the need of the Input DataAsset used to identify the input mapping context
- Display the Input Contexts in priority order
- Cleanup the UI
2025-01-09 00:54:26 -05:00
Arnaud Jamin 469aab67d3 CogSample: Fix warning and abilities not receiving input release 2025-01-08 16:21:05 -05:00
Arnaud Jamin 19d88558cb Support Unreal 5.5. Fix Multi PIE not working when running under one process. 2024-12-31 01:11:11 -05:00
Arnaud Jamin 14ca7e035e Switch to unreal 5.3 (Fix warning) 2024-02-27 23:07:09 -05:00
Eduardo Valencia 7543b49ef7 Updated to 5.3.x, renamed interface function, and more
In CogSampleSpawnPredictionComponent.cpp, lines 299 through 302 have return statements of FColor::FColor, these have been updated to a single FColor return statement
In CogSampleTargetableInterface.h, the GetTargetLocation function does not compile against Linux. Reason being that it interferes with built in functions that share the same name (notably within the AIController class). This has been changed to GetTargetActorLocation to maintain a similar name. Recommend adding comments when possible.

Additionaly, the sample project and the editor have had their IncludeOrderVersion updated to 5.2. This was done to clear the warning listing that 5.1 will be deprecated in the next major version release.

The project compiles against Windows and Linux (likely other platforms too, unable to check)
Happy to help! :)
2024-02-15 18:59:25 -05:00
Arnaud Jamin c6fa1e1a1d CogCommon
Reorder ECogCommonAllegiance  to match ETeamAttitude in AIModule
2024-01-12 09:33:39 -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 ee42b2a238 CogAbility: Change the way CogAbilityReplicator apply the tweaks to newly spawned actor. Now needs to be called manually. 2024-01-08 14:18:53 -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 78ec4d06fa Merge branch 'new-windows' of https://github.com/arnaud-jamin/Cog into new-windows 2024-01-03 19:20:43 -05:00
Arnaud Jamin 0f130f7dff Fix bad refactor 2024-01-03 19:20:12 -05:00
Arnaud Jamin 057b556d54 Merge branch 'main' into new-windows 2024-01-03 19:00:21 -05:00
Arnaud Jamin 7dd4922b01 CogEngine: move CollisionTester logic inside an actor 2024-01-02 00:57:02 -05:00
Arnaud Jamin 81fc6269ad CogDebug: improving transform gizmos and collision tester (WIP) 2023-12-29 03:08:15 -05:00
Arnaud Jamin 751761d176 Adding collision tester 2023-12-17 16:40:59 -05:00
Arnaud Jamin 85a903a341 Various null checks, const correctness, remove unused headers 2023-12-17 01:02:05 -05:00
Arnaud Jamin 18283d4187 Fix shipping build 2023-12-09 17:07:31 -05:00
Arnaud Jamin a385e15f64 CogImGui: Add imgui viewport support 2023-11-28 01:28:09 -05:00
Arnaud Jamin ecddecf3e5 Use InputProcessor to support shared mouse 2023-11-24 09:46:03 -05:00
Arnaud Jamin 1daa073713 CogImGui: Use an InputProcessor to support shared mouse between ImGui and the game 2023-11-23 23:59:55 -05:00
Arnaud Jamin 988b048bde CogSample: improve shooting ability (still wip) 2023-11-11 00:47:43 -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 7e9043f4af Update CogSampleAbilityTask_PlayMontageAndWaitForEvent.cpp
fix build
2023-11-01 13:59:30 -04:00
Arnaud Jamin 7e8ba3e092 CogAbility: Fix cheats not correctly saved when connected to a server
CogSample: Projectile progress
2023-10-31 23:50:41 -04:00
Arnaud Jamin f876862d12 CogCommon: Better debug formating
CogSample: Projectile Progress
CogSample: Disable Character Mesh collision on dedicated server
2023-10-31 00:44:59 -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 b147b4b05f minor fixes 2023-10-27 10:17:25 -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 42ca1afc6a Cog Sample: Adding more gameplay
Cog Sample: Make Area a component instead of an actor
Cog Sample: Add Basic actor for Projectiles, Areas, etc...
Cog Sample: Start to add Projectile
Cog Sample: Start to add SpawnPrediction
2023-10-26 12:33:50 -04:00
Arnaud Jamin a39c8b277d CogInput: Add multiple IMC on the input data asset. Maybe propose a current imc 2023-10-22 23:16:00 -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