From ce5bde5f3481ec43c1ded6dff71eaf616ed99ecc Mon Sep 17 00:00:00 2001 From: Rafal Swierczek Date: Sat, 28 Oct 2023 14:21:58 +0100 Subject: [PATCH] Added Checkpoint Completion Confirmation UI --- .../FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset | 4 ++-- .../FirstPerson/Blueprints/WBP_CheckpointCompleted.uasset | 3 +++ EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.png | 3 +++ .../Content/FirstPerson/BluryOrangeHUDOutline.uasset | 3 +++ EndlessVendetta/Content/Levels/TrainingFacility.umap | 4 ++-- .../StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset | 4 ++-- .../Content/StarterContent/Materials/M_Wood_Pine.uasset | 4 ++-- .../Content/StarterContent/Materials/M_Wood_Walnut.uasset | 4 ++-- .../Content/StarterContent/Particles/P_Ambient_Dust.uasset | 4 ++-- .../Source/EndlessVendetta/BountySystem/CheckpointClass.h | 3 ++- .../Source/EndlessVendetta/EndlessVendettaCharacter.h | 3 +++ 11 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 EndlessVendetta/Content/FirstPerson/Blueprints/WBP_CheckpointCompleted.uasset create mode 100644 EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.png create mode 100644 EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.uasset diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset index 14cd792b..431eaebc 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ae78f6c191dc883ac81ae0762000171837310d6ddd5ac62eb0bbd80b339a4d0e -size 43886 +oid sha256:1f998c8a790f08cf0e28a50b1dbe80deab4d914497b53b24d7c9d3a5e4c2784b +size 51467 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/WBP_CheckpointCompleted.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/WBP_CheckpointCompleted.uasset new file mode 100644 index 00000000..3ef7c033 --- /dev/null +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/WBP_CheckpointCompleted.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:845fc89fb83a130aea8498c87ed41fadd3de14e00ac010bcd5843b5a19c29f8f +size 58154 diff --git a/EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.png b/EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.png new file mode 100644 index 00000000..bde1e40f --- /dev/null +++ b/EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b2e2cb02f945bc07f0c011c7a5381c6c6dd004a700c77cfdad6e4f7cecc64dc +size 135953 diff --git a/EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.uasset b/EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.uasset new file mode 100644 index 00000000..2c5487a6 --- /dev/null +++ b/EndlessVendetta/Content/FirstPerson/BluryOrangeHUDOutline.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70a1e8adb61b189a8a9551e3104fda9ef0734eb0bfbffedc540d6b18dde1cc17 +size 91110 diff --git a/EndlessVendetta/Content/Levels/TrainingFacility.umap b/EndlessVendetta/Content/Levels/TrainingFacility.umap index 205b9bf5..21ed3d2d 100644 --- a/EndlessVendetta/Content/Levels/TrainingFacility.umap +++ b/EndlessVendetta/Content/Levels/TrainingFacility.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:974625bb42aeaaaec3c16d60fcf02f3a750f9bd6a87103075fcc1fc854eeadf0 -size 456337 +oid sha256:4addc94eb00b8cfff06f1cf21febb2afa189d10a376e0b773013a2bea1c31b70 +size 456336 diff --git a/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset b/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset index 0f990580..9a1faba7 100644 --- a/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset +++ b/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bc35eb2d43a47427d30aba0196f9eac90d089dd3abca319528c5d25c83510d0d -size 72364642 +oid sha256:fc3fc160627e9cb03cfa900bfa334561b0d7d22be21f5d273d86435f4538222d +size 66790690 diff --git a/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Pine.uasset b/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Pine.uasset index 6f0b0367..eafee70c 100644 --- a/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Pine.uasset +++ b/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Pine.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:25bf6d863adc48d1d3786062e9a29cd63d979fa716e5df6829d5bc55f6c28af4 -size 31298 +oid sha256:b12c6d7285dd95b1c5669e07fc665f8859a17ee78c51f139170726848c06ee67 +size 31142 diff --git a/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Walnut.uasset b/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Walnut.uasset index ed52f264..2e926194 100644 --- a/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Walnut.uasset +++ b/EndlessVendetta/Content/StarterContent/Materials/M_Wood_Walnut.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ea0d0b05164ae24c5f4f95ad5f3b59019e8d5b8da047c478486048c88bfe708f -size 20633 +oid sha256:8491e0b8978a41999e0f4fc6520cab088fcbe6ddf8b51655f34753aa45234c66 +size 20495 diff --git a/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset b/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset index a752812e..bf2e4391 100644 --- a/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset +++ b/EndlessVendetta/Content/StarterContent/Particles/P_Ambient_Dust.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6a4fe459ab35cb3c9ee04e4d070f0c2864db92fb1dc63eb53380fb4d3cc91613 -size 53268 +oid sha256:01ef616c7a8bd90cd1b7a13efb18a56f33346efbae51efa31f09804478b7621d +size 43456 diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h b/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h index 3086ca39..9c0fa9bf 100644 --- a/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/CheckpointClass.h @@ -4,6 +4,7 @@ #include "CoreMinimal.h" #include "WaypointActor.h" +#include "EndlessVendetta/EndlessVendettaCharacter.h" #include "GameFramework/Actor.h" #include "CheckpointClass.generated.h" @@ -33,7 +34,7 @@ protected: UFUNCTION(BlueprintCallable, Category = "Checkpoint") void BroadcastCompletion() { - UE_LOG(LogTemp, Warning, TEXT("Completed Checkpoint")); + Cast(GetWorld()->GetFirstPlayerController()->GetPawn())->CheckpointCompletedUI(); CompletedCheckpoint.Broadcast(); } diff --git a/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h b/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h index a3d099ce..1f82fd2d 100644 --- a/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h +++ b/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h @@ -177,4 +177,7 @@ public: void EquipSecondary(); void WeaponSwitcher(AActor* Outhit); + + UFUNCTION(BlueprintImplementableEvent) + void CheckpointCompletedUI(); };