From 2c088ffb02346bb004aff01e6ecd000b660219c8 Mon Sep 17 00:00:00 2001 From: Rafal Swierczek Date: Fri, 10 May 2024 17:32:06 +0100 Subject: [PATCH] Bugfix Open World Intro Cinematic Locking Player Even when no Cinematic is Being Played --- .../Cinematics/OpenWorldIntroCinematic.uasset | 4 ++-- .../Tutorial/GadgetGamemode/BP_WaveComputer.uasset | 4 ++-- .../FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset | 4 ++-- .../Content/FirstPerson/Blueprints/BP_MainCharacter.uasset | 4 ++-- EndlessVendetta/Content/Levels/OpenWorldRework.umap | 4 ++-- .../StarterContent/Architecture/Floor_400x400.uasset | 2 +- EndlessVendetta/Source/EndlessVendetta/EVGameInstance.h | 7 +++++++ 7 files changed, 18 insertions(+), 11 deletions(-) diff --git a/EndlessVendetta/Content/BountySystem/ApartmentBounty/Cinematics/OpenWorldIntroCinematic.uasset b/EndlessVendetta/Content/BountySystem/ApartmentBounty/Cinematics/OpenWorldIntroCinematic.uasset index ac2eec28..d2d526eb 100644 --- a/EndlessVendetta/Content/BountySystem/ApartmentBounty/Cinematics/OpenWorldIntroCinematic.uasset +++ b/EndlessVendetta/Content/BountySystem/ApartmentBounty/Cinematics/OpenWorldIntroCinematic.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e512e8cc1d96c77a2e04bd213b29b9d8179508dec0afe7ff02e259db2fa398fa -size 115534 +oid sha256:e483b9aa0545b760ac0619eeb8fca4bc4628c9893c6a686b3dc217de761174cc +size 123871 diff --git a/EndlessVendetta/Content/BountySystem/Tutorial/GadgetGamemode/BP_WaveComputer.uasset b/EndlessVendetta/Content/BountySystem/Tutorial/GadgetGamemode/BP_WaveComputer.uasset index 86f2b356..b0a3dcb3 100644 --- a/EndlessVendetta/Content/BountySystem/Tutorial/GadgetGamemode/BP_WaveComputer.uasset +++ b/EndlessVendetta/Content/BountySystem/Tutorial/GadgetGamemode/BP_WaveComputer.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fe218d74d030338f8d2b558042b5081f27602c9722d2063d7a0a4bfd5e36ac52 -size 172509 +oid sha256:887ec35e9148735ec708368d7ee4f27b3e491fc2b649879ff81e8680562dce30 +size 169844 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset index aafc2322..878519c3 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:e178fcdef491c8b92b340a959b3e198c0b0fec15523f43ad2091274c50d58dc5 -size 851904 +oid sha256:f377cbc17912b30552d21ef737c005fdb56653496dc5e04ca129810b0f7cf544 +size 853827 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset index 4e3c5856..2e59efee 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:81cfdd6f12f7b082cbe9eb4a672727f223e4246a83dd399f3be8da9e52dbfe94 -size 1631308 +oid sha256:a62f540e20308f751c7f7dc47df55cd1cdfbc5b282d98c6ac8a14ab472435ea9 +size 1617109 diff --git a/EndlessVendetta/Content/Levels/OpenWorldRework.umap b/EndlessVendetta/Content/Levels/OpenWorldRework.umap index 432603ea..893ba831 100644 --- a/EndlessVendetta/Content/Levels/OpenWorldRework.umap +++ b/EndlessVendetta/Content/Levels/OpenWorldRework.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8f8314711fff0124a96150a23cbd6eed963f474996eaa385ed712d6492f8c10f -size 45168166 +oid sha256:c73a11398ed33a2bc0e092e0b4d57d2a58620c843a15f5c501bb6ccbb4858b22 +size 45169031 diff --git a/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset b/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset index baf87199..25d3ac06 100644 --- a/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset +++ b/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5b15f352df39e90964d8c1d23045da9176cf426708d9e13d89a9f4eee387d6d1 +oid sha256:85c5b82c5facd7784cdd0a7a7d3b97fe85d26b6d8772a5f8764e1d348bf179ea size 14831 diff --git a/EndlessVendetta/Source/EndlessVendetta/EVGameInstance.h b/EndlessVendetta/Source/EndlessVendetta/EVGameInstance.h index 109bf04a..14c5a4d0 100644 --- a/EndlessVendetta/Source/EndlessVendetta/EVGameInstance.h +++ b/EndlessVendetta/Source/EndlessVendetta/EVGameInstance.h @@ -49,6 +49,13 @@ public: UPROPERTY(BlueprintReadOnly) bool EnteredApartmentThroughVent = false; + UFUNCTION(BlueprintCallable) + bool IsFirstPlaythrough() + { + if (!IsValid(MainSaveGameInstanceRef)) return false; + return MainSaveGameInstanceRef->bFirstPlaythroughSave; + } + protected: virtual void OnStart() override;