Commit Graph

282 Commits

Author SHA1 Message Date
baz ee42aabc2a Temporarily move level reloading on death from Destroyed to OnDeath 2023-12-13 21:44:42 +00:00
baz 27120d731a Lock mouse to screen when showing Main Menu UI or Options Menu UI 2023-12-05 22:41:58 +00:00
baz 1f6d729d73 Add functionality to open a UWorld when clicking New Game button in main menu 2023-11-14 23:16:10 +00:00
baz 085fd8ea46 Show options menu when pressing options button in main menu 2023-11-14 22:53:32 +00:00
baz 427131ae3a Update EngingIncludeOrderVersion 2023-11-12 21:25:21 +00:00
baz 345ea88d79 Fix compilation issues 2023-11-12 21:24:03 +00:00
baz 357e4fdf5e Create MainMenuGameModeBase 2023-11-09 22:14:45 +00:00
baz f87ec61ddb Add variables and functions to MainMenuUIWidget 2023-11-09 22:14:15 +00:00
baz 83178d863b Create MainMenuUIWidget 2023-10-31 23:05:29 +00:00
baz 775df93d55 Remove TODO comment in Pickup 2023-10-24 22:58:41 +01:00
baz e001931bb6 Create TaskCreateLineOfSight 2023-10-24 22:56:47 +01:00
baz 6cae297c3a Add extra checking in TaskInWithinRange 2023-10-22 22:13:35 +01:00
baz bab1f8acd6 Set SelfActor in Blackboard 2023-10-22 22:13:13 +01:00
baz 969ecbebc8 Create TaskIsWithinRange 2023-10-19 22:53:09 +01:00
baz bc0138251a Remove TODO comment 2023-10-15 20:03:14 +01:00
baz b234045698 Remove assigning of spawned Throwable 2023-10-15 20:00:56 +01:00
baz ca617a8a3c Spawn Particle System at Impact Point on a static object 2023-10-15 20:00:34 +01:00
baz b4fb8f7761 Spawn DecalActor when static object is Hit 2023-10-12 23:03:59 +01:00
baz 589592927f Add Decal Actor to Weapons 2023-10-12 23:03:43 +01:00
baz 12c8d7b6f0 Add FrameRate Limit to Options Menu 2023-10-11 22:00:33 +01:00
baz 23af466085 Add methods to set and remove options menu from viewport 2023-10-09 23:29:25 +01:00
baz 122c3998fd Add new setting options and remove manual apply settings button 2023-10-08 22:27:59 +01:00
baz 2115c4456c Create OptionsUIWidget 2023-10-06 23:14:26 +01:00
baz 483add816a Add Options Menu to viewport on OptionsButton Clicked 2023-10-06 23:13:52 +01:00
baz dc0ed36573 Modify current weapon checking in ThrowWeaponCallback 2023-10-05 22:04:28 +01:00
baz da1fcc15bd Add Basic Pause functionality 2023-10-03 22:52:28 +01:00
baz 149de8788f Create PauseUIWidget 2023-10-01 23:51:53 +01:00
baz 29b06222a5 Add Pause Menu Widget to Player Character 2023-09-25 23:00:56 +01:00
baz 322b872042 Add Pause Player Input Action 2023-09-25 23:00:32 +01:00
baz 12db67439f Add logic to throw weapon once weapon ammo is depleted 2023-09-23 21:10:15 +01:00
baz 6c0e0fe395 Make Throwable Explode() on impact 2023-09-21 21:10:01 +01:00
baz d3e775758d Add functionality to ThrowThrowable 2023-09-20 01:57:37 +01:00
baz 19d452be5c Update UPROPERTY values for ImpulseForce and ImpulseAngle 2023-09-20 01:56:56 +01:00
baz 60bf490f8a Update ThrowableInventory type 2023-09-20 01:56:13 +01:00
baz 7cdb9b1c69 Add Impulse Angle and Force variables to Throwables 2023-09-19 02:19:23 +01:00
baz 27fc0d5212 Change SpawnLocation to forward vector of player 2023-09-19 02:06:16 +01:00
baz ea06181a01 Add extra checking in ExplosiveActor Explode method 2023-09-18 02:59:32 +01:00
baz c944e5e6f9 Add extra checking to Expand Crosshair functionality 2023-09-18 02:29:49 +01:00
baz 9ece07b011 Move feteching of HealthComponent outside of if statement 2023-09-18 02:29:18 +01:00
baz ff8e947a4e Add functionality to ThrowWeaponCallback 2023-09-18 02:28:31 +01:00
baz 81c954dabb Create WeaponThrowable class 2023-09-18 02:27:56 +01:00
baz 7c803eb3ff Add WeaponThrowable Template to Weapon 2023-09-18 01:09:08 +01:00
baz 9abe8e1697 Create WeaponThrowable class 2023-09-13 17:17:28 +01:00
baz 04512d1717 Add ThrowableInventory to NakatomiCharacter 2023-09-13 17:16:56 +01:00
baz 5a8c542581 Create separate Throw Weapon and Throw Explosive input actions 2023-09-13 14:55:56 +01:00
baz eea9ee49e6 Add Input Action for ThrowThrowable 2023-09-12 23:39:05 +01:00
baz fe6eca55c5 Enable physics on StaticMeshComponent in Throwables 2023-09-12 23:38:35 +01:00
baz 62ac0e7496 Set Root Component in Pickup 2023-09-12 23:37:49 +01:00
baz 480cfb0530 Add extra checking when spawning WeaponPickup on EnemyAI Death 2023-09-12 23:37:33 +01:00
baz 42f99410e0 Create ThrowThrowable method 2023-09-08 22:17:05 +01:00
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