Commit Graph

282 Commits

Author SHA1 Message Date
baz 1023a4f2b7 Change HealthComponent from private to protected 2023-09-08 21:10:30 +01:00
Louis Hobbs 7569f2d792 Add initial Throwable Actor implementation 2023-09-06 17:34:15 +01:00
Louis Hobbs cb46d98936 Fix includes in GetDistanceToPlayerTask 2023-09-05 18:39:27 +01:00
Louis Hobbs e0d5526a63 Move Perception Component from EnemyCharacter to EnemyAIController 2023-09-05 18:39:14 +01:00
Louis Hobbs 0dc524e02d Remove unnecessary check in TaskGetLocationNearLocation 2023-09-05 16:56:17 +01:00
Louis Hobbs 681641672c Add Minimum Distance Check to GetLocationNearLocation Task 2023-09-05 14:59:52 +01:00
baz 2f556660ac revert 6e1260a0dd
revert Bind UFUNCTION to OnTargetPerceptionUpdated
2023-09-03 23:31:34 +02:00
Louis Hobbs 6e1260a0dd Bind UFUNCTION to OnTargetPerceptionUpdated 2023-08-28 23:45:15 +01:00
Louis Hobbs b10311e3d1 Add TaskGetLocationNearLocation AI Task 2023-08-23 15:15:30 +01:00
Louis Hobbs 6d8169e2b3 Add StoreActorLocationTask AI Task Node 2023-08-23 00:20:02 +01:00
Louis Hobbs f0b8c594d4 Add TaskReleaseAttackToken AI Task 2023-08-23 00:19:46 +01:00
Louis Hobbs f04bc8378a Add functionality to TaskAcquireAttackToken 2023-08-23 00:19:30 +01:00
Louis Hobbs 0afcd945ce Add AttackToken methods to EnemyAIController 2023-08-21 23:43:49 +01:00
Louis Hobbs ca07abb131 Change ReleaseToken to return bool 2023-08-21 23:42:48 +01:00
Louis Hobbs 763c8db97e Create AcquireAttackToken task 2023-08-17 23:05:59 +01:00
Louis Hobbs ec057454c3 Create Request, Release and Reset Token methods in AIAttackTokenManager 2023-08-17 22:28:11 +01:00
Louis Hobbs ac45acb232 Add method to create and get AIAttackTokenManger 2023-08-17 21:47:53 +01:00
Louis Hobbs 57abe9a3a2 Create AIAttackTokenManager Object 2023-08-17 21:47:21 +01:00
Louis Hobbs 95481dba52 Create NakatomiGameInstance 2023-08-16 23:32:50 +01:00
Louis Hobbs 7079c129f7 Add HitMarker Sound Effect 2023-08-16 12:31:07 +01:00
Louis Hobbs e97d370d23 Check if Hit Actor is dead when displaying hitmarker 2023-08-09 22:53:32 +01:00
Louis Hobbs 2a33897198 Add Hitmarker HUD asset, animation and Enemy Hit Delegate 2023-08-08 22:31:37 +01:00
Louis Hobbs 1fb9930791 Add Crosshair Expansion when OnFire is called. 2023-08-08 22:02:56 +01:00
Louis Hobbs dc9339ef90 Create PlayerHUDWidget 2023-08-01 23:02:32 +01:00
Louis Hobbs cee5c8d08c Add ADS Spread Multiplier to RandomWeaponParameter generation 2023-07-30 15:23:30 +01:00
Louis Hobbs 929eca3204 Add ADS Weapon Spread Modifier 2023-07-27 22:22:14 +01:00
Louis Hobbs 938b4425eb Add ADS aim sensitivity modifier 2023-07-26 22:43:29 +01:00
Louis Hobbs 3d4ef7e3c0 Add functionality to change movement speed depending on status 2023-07-25 21:34:04 +01:00
Louis Hobbs 9e7417eb59 Change shooting direction to use camera and centre of screen 2023-07-24 19:09:59 +01:00
Louis Hobbs 3ed84127c2 Add Aim Down Sights functionality 2023-07-24 19:09:04 +01:00
Louis Hobbs db22a4eb58 Add Bouncing Static Mesh to Health Pickup 2023-07-04 22:22:27 +01:00
Louis Hobbs df9a1af227 Rename FireSound to OverlapSound 2023-07-03 21:58:46 +01:00
Louis Hobbs a402de0781 Add new Weapon HUD UI 2023-07-03 20:05:31 +01:00
Louis Hobbs 4ab591e4b9 Add extra checking for when an enemy can fire a weapon 2023-06-29 21:55:43 +01:00
Louis Hobbs 9d32a0a0e3 Add temporary fix for level loading 2023-06-29 18:10:31 +01:00
Louis Hobbs 596bae1855 Remove unnecessary testing 2023-06-28 23:14:41 +01:00
Louis Hobbs bff484f139 Reload Current Level on Character Destruction 2023-06-28 22:58:58 +01:00
Louis Hobbs 925be65769 Enable Ragdoll on player death 2023-06-27 22:17:03 +01:00
Louis Hobbs 7571a7fe7a Add Health Damage Delegates in Characters 2023-06-26 18:34:57 +01:00
Louis Hobbs 6ad454a881 Add Particle Effects and Sound Effect 2023-06-25 01:17:36 +01:00
Louis Hobbs adef6ecc54 Add future TODO message 2023-06-24 15:25:21 +01:00
Louis Hobbs b51f3a7a34 Moving setting of light colour to BeginPlay 2023-06-24 15:25:06 +01:00
Louis Hobbs bbe5f04b72 Add HealthPickup Functionality 2023-06-24 15:20:50 +01:00
Louis Hobbs 9bf226b614 Add HealthPickup class 2023-06-24 15:13:39 +01:00
Louis Hobbs 79d61a200e Move generic pickup functionality to base Pickup class 2023-06-24 15:11:09 +01:00
Louis Hobbs b1eed2ff2e Add Pickup class 2023-06-24 15:10:46 +01:00
Louis Hobbs b5088f3bae Apply Rider cleanup 2023-06-23 21:06:28 +01:00
Louis Hobbs e8d41797b0 Remove Z-aim lock from player aiming 2023-06-21 23:08:06 +01:00
Louis Hobbs 797f4def89 Add Sin wave to Light Brightness 2023-06-20 01:01:47 +01:00
Louis Hobbs f1c2ac0ec6 Add PointLightComponent to WeaponPickup 2023-06-15 22:44:26 +01:00
Louis Hobbs d8ca7f001c Add logic to Explode in Demolition Character 2023-06-14 22:57:44 +01:00
Louis Hobbs 50cba81295 Create Distance To Player Task
I should have given this a better name, maybe in the future
2023-06-12 22:11:02 +01:00
Louis Hobbs 11c88c6dd9 Create DemolitionCharacter class 2023-06-12 22:10:32 +01:00
Louis Hobbs 09e4cd0f41 Add extra weapon pickup creation check for enemies 2023-06-12 22:09:27 +01:00
Louis Hobbs db5a5e229d Set Sphere Component to Overlap All collision channels 2023-06-11 21:16:54 +01:00
Louis Hobbs ef18ecfa03 Move Force Magnitude to Radial Falloff 2023-06-01 22:16:57 +01:00
Louis Hobbs 33eb3f709e Change ProcessHits to check for HealthComponent instead of class 2023-06-01 02:26:14 +01:00
Louis Hobbs e3649d4752 Add secondary Interact function in Interactable Component 2023-06-01 02:24:35 +01:00
Louis Hobbs 62d6bc8dbd Add Explosive Actor 2023-06-01 02:22:04 +01:00
Louis Hobbs 705d46820c Add Interactable Actor Component interaction on weapon hit 2023-05-29 01:36:59 +01:00
Louis Hobbs 7256afd8bf Add extra checking for field system spawning 2023-05-29 01:36:05 +01:00
Louis Hobbs a8adf8abfb Add Interactable Actor Component 2023-05-29 01:35:18 +01:00
Louis Hobbs 9d2d3c0187 Fix `PlayFireSoundAtLocation` bugs 2023-03-16 23:50:15 +00:00
Louis Hobbs 6127b5cd81 Add PerceptionComponent to `PlayerCharacter` and `EnemyCharacter` 2023-03-13 23:01:12 +00:00
Louis Hobbs 8a7ee5faee Add basic logic to `EnemyCharacter` `OnFire` functions 2023-03-13 22:58:21 +00:00
Louis Hobbs e77b6cce35 Create AI `TaskFireWeapon` node 2023-03-13 22:54:27 +00:00
Louis Hobbs bf742b0224 Create `OnFire`, `CalculateHits` and `ProcessHits` functions in `EnemyCharacter` 2023-03-13 22:22:56 +00:00
Louis Hobbs 60deefdf96 Make `OnFire` a virtual function 2023-03-13 22:01:21 +00:00
Louis Hobbs f7216d25f9 Change `CalculateHits` and `ProcessHits` from public to protected 2023-03-13 21:56:23 +00:00
Louis Hobbs 403eff6029 Move hit processing to `ProcessHits` 2023-03-13 21:47:42 +00:00
Louis Hobbs 187b067e88 Create virtual functions for `CalculateHits` and `ProcessHits` in `NakatomiCharacter` 2023-03-13 21:45:56 +00:00
Louis Hobbs ba6c614116 Change `TargetArmLength` and `SocketOffset` in CameraBoomComponent on PlayerCharacter 2023-03-13 01:39:43 +00:00
Louis Hobbs 83d5ba31f4 Add Get Random Location task 2023-02-16 18:28:25 +00:00
Louis Hobbs 2f8da66aa4 Add BeginPlay method to EnemyAIController 2023-02-16 18:28:08 +00:00
Louis Hobbs 9ed5da5792 Add Perception Source Stimuli to PlayerCharacter 2023-02-16 18:27:34 +00:00
Louis Hobbs 40db233d6c Add AI Modules to build script 2023-02-16 18:27:10 +00:00
Louis Hobbs 8b89f8e851 Cleanup RandomWeaponParameters 2023-02-12 21:27:53 +00:00
Louis Hobbs 44f69a4355 Move Inventory Methods to base Character class 2023-02-12 20:33:08 +00:00
Louis Hobbs ecff0b36a8 Set `WeaponProperties` in `WeaponPickup` when dying 2023-02-12 20:32:03 +00:00
Louis Hobbs 84fbd00bea Cleanup `RandomWeaponParameters` 2023-02-12 20:31:29 +00:00
Louis Hobbs ec9617fe51 Add Methods to Pick Weapon Mesh, Sound and Impact Field 2023-02-12 20:29:59 +00:00
Louis Hobbs bc26d04f83 Store `WeaponProperties` in `WeaponPickup` 2023-02-12 20:28:30 +00:00
Louis Hobbs 296074d97f Change Weapon SkeletalMesh to SkeletalMeshComponent 2023-02-12 20:27:38 +00:00
Louis Hobbs e83659123e Add `RandomWeapon` Class 2023-02-12 20:26:22 +00:00
Louis Hobbs 4363d2ad23 Change default WeaponPickup rotation speed to 50 2023-02-10 23:29:07 +00:00
Louis Hobbs 2585404169 Add public methods to set Weapon in WeaponPickup 2023-02-10 23:20:36 +00:00
Louis Hobbs 0e95cf7239 Add RandomWeaponParameters to EnemyCharacter 2023-02-09 23:22:41 +00:00
Louis Hobbs 66d923f1a9 Change RandomWeaponParameters from UObject to UActorComponent 2023-02-09 23:17:05 +00:00
Louis Hobbs 4582493b8e Move `SetInventoryToDefault` call to base character `BeginPlay` 2023-02-09 22:11:25 +00:00
Louis Hobbs d56e25ad62 Move weapon and inventory logic to base Character class 2023-02-09 21:56:52 +00:00
Louis Hobbs 84807d6416 Add extra Random Weapon Parameters 2023-02-09 00:50:30 +00:00
Louis Hobbs 4f65c38e0b Create RandomWeapon class 2023-02-08 02:37:22 +00:00
Louis Hobbs 3bf351782d Move WeaponProperties to its own file 2023-02-08 02:36:38 +00:00
Louis Hobbs 5c18442131 Change platform RequestExit from Generic to Windows 2023-02-06 01:30:57 +00:00
Louis Hobbs 8e59d1a8b7 Add basic Player HUD 2023-02-06 01:07:01 +00:00
Louis Hobbs f6894fc519 Stop `Destructable` from producing errors 2023-02-03 01:31:42 +00:00
Louis Hobbs 8a54837ad6 Damage `EnemyCharacter` in `CalculateHits` 2023-02-03 01:31:23 +00:00
Louis Hobbs e06e724c0c Update HealthComponent Functionality 2023-02-03 01:30:24 +00:00
Louis Hobbs 7a7f158816 Add EnemyAIController class 2023-02-03 01:29:38 +00:00
Louis Hobbs 33e0d24d34 Add EnemyCharacter class 2023-02-03 01:29:14 +00:00
Louis Hobbs f2824be7b9 Add `FieldSystemEngine` and `GeometryCollectionEngine` to build file 2023-01-31 21:35:27 +00:00
Louis Hobbs f88752f5a5 Change `WeaponDamage` to `float` from `int` 2023-01-31 21:34:36 +00:00
Louis Hobbs a0c125c424 Spawn FieldSystemActor at Hit Result Impact Point 2023-01-31 21:27:36 +00:00
Louis Hobbs 97c937d212 Add `NakatomiFieldSystemActor` to `Weapon` 2023-01-31 21:26:45 +00:00
Louis Hobbs 934055d0ed Add `NakatomiFieldSystemActor` 2023-01-31 21:25:28 +00:00
Louis Hobbs cb969be97c Update Weapon Pickup Defaults 2023-01-25 00:28:00 +00:00
Louis Hobbs ac9c8981b9 Fix out of range array crashes when removing weapon from inventory 2023-01-24 02:54:17 +00:00
Louis Hobbs a3456fce0f Add logic for removing weapons from inventory 2023-01-18 22:41:10 +00:00
Louis Hobbs 7c44598084 Play Weapon Fire Sound in OnFire 2023-01-18 00:35:06 +00:00
Louis Hobbs a266215e98 Decrement Weapon AmmoCount in OnFire 2023-01-18 00:10:39 +00:00
Louis Hobbs ba7457dca9 Add Ammo counts to Weapon 2023-01-18 00:10:10 +00:00
Louis Hobbs 495e08ec74 Filter Hits by Actor Tag 2023-01-16 23:14:03 +00:00
Louis Hobbs 26d9daf73d Add `"Player"` Actor Tag to PlayerCharacter 2023-01-16 23:13:24 +00:00
Louis Hobbs 19a5054271 Create Destructible Actor Class 2023-01-16 23:12:35 +00:00
Louis Hobbs 3007c56580 Use`CurrentWeapon` properties in `CalculateHits` 2023-01-13 21:25:19 +00:00
Louis Hobbs 4712d405d5 Add max health check to `SetCurrentHealth` 2023-01-13 21:14:08 +00:00
Louis Hobbs a90c447ce9 Add extra weapon firing logic 2023-01-13 21:11:07 +00:00
Louis Hobbs 90fcf30ce5 Fix formatting 2023-01-13 19:45:40 +00:00
Louis Hobbs b955732fb8 Add Weapon from Weapon Pickup to Current Inventory 2023-01-12 23:53:02 +00:00
Louis Hobbs 0f0ab4c6e7 Make Weapon Properties Blueprint Editable 2023-01-12 23:17:54 +00:00
Louis Hobbs ada4178123 Add attach weapon to hand socket 2023-01-12 23:17:34 +00:00
Louis Hobbs b59171df27 Invert Camera Pitch Movement 2023-01-11 01:48:29 +00:00
Louis Hobbs f556d1d176 Add `OnComponentBeginOverlap` delegate to `AWeaponPickup` 2023-01-09 22:48:53 +00:00
Louis Hobbs 2d48d7c703 Add barebones weapon pickup 2023-01-06 01:33:26 +00:00
Louis Hobbs 86b34b7226 Add Weapon Switching Input Action and Callback 2023-01-05 01:53:32 +00:00
Louis Hobbs f002cfa870 Add Inventory basic shell 2023-01-02 02:59:40 +00:00
Louis Hobbs 14bb9eef74 Add base `Weapon` class 2022-12-15 22:04:51 +00:00
Louis Hobbs 772b2cb146 Add Project Files 2022-12-13 04:14:07 +00:00
Louis Hobbs 87b2102733 Add Player Character 2022-12-13 04:11:56 +00:00
Louis Hobbs 26e875e47e Add Player Controller 2022-12-13 04:11:17 +00:00
Louis Hobbs c47a072996 Add Health Components 2022-12-13 04:10:20 +00:00
Louis Hobbs b734fc529b Create empty UE5.1 project 2022-12-08 02:40:24 +00:00