Commit Graph

78 Commits

Author SHA1 Message Date
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
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 812f4fa91f Start to add path following debug 2023-10-20 09:02:11 -04:00
Arnaud Jamin 804f7c6ba5 CogWindow: Move Registering of default command bindings to WindowManager 2023-10-19 23:31:42 -04:00
Arnaud Jamin 518d741b6e CogSample: Better placement of the damage vfx for the poison ability 2023-10-19 22:51:19 -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 c32efe88f5 Merge branch 'main' into pr/6 2023-10-18 21:27:36 -04:00
Arnaud Jamin bbb89f09ff Start to add hit impact on the sample 2023-10-18 17:22:50 -04:00
Eduardo Valencia 74d43f0b4c Update gitignore for Rider, fix typos
I use Rider as my IDE and when working with Unreal projects it installs a plugin that enable its unique integration. We don't want that being uploaded to the repo so it gets ignored. In addition, The project module has a typo, this commit fixes that
2023-10-18 16:51:12 -04:00
Arnaud Jamin 87e87edc13 minor change 2023-10-18 14:41:40 -04:00
Arnaud Jamin db184c4aed Replicate client selection to the server to filter server debug replication 2023-10-18 14:09:02 -04:00
Arnaud Jamin 0529373683 Add CogSample own BTTask to implement a custom description 2023-10-17 15:05:38 -04:00
Arnaud Jamin 0c00b4a2c4 Save selection window config 2023-10-17 15:02:20 -04:00
Arnaud Jamin 4e342c8fce Fix #pragma once in CogSampleLogCategories.h 2023-10-17 12:34:17 -04:00
Arnaud Jamin 8fd05218ca improve behavior tree window 2023-10-17 00:05:49 -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