From 14c1874c53da03bb557b962c26303de5f42c5a62 Mon Sep 17 00:00:00 2001 From: MARCEL HARA Date: Mon, 20 Nov 2023 14:58:09 +0000 Subject: [PATCH] Added Cutout to doorwall to test door opening --- .../FirstPerson/Blueprints/DoorPrompt/BP_Door.uasset | 4 ++-- .../Levels/_GENERATED/mh261677/Trim_1B41F361.uasset | 3 +++ .../DoorTestLevel/3/C5/NXF52EAUAGH5ETW1R053H8.uasset | 3 +++ .../DoorTestLevel/D/X5/OKD54JHXNGXNVF4JEBBMVP.uasset | 3 +++ .../DoorTestLevel/E/XZ/7H1ZSM42VCO2OX3GD3U6CY.uasset | 3 --- EndlessVendetta/Source/EndlessVendetta/DoorClass.cpp | 10 ++++++++++ 6 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 EndlessVendetta/Content/Levels/_GENERATED/mh261677/Trim_1B41F361.uasset create mode 100644 EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/3/C5/NXF52EAUAGH5ETW1R053H8.uasset create mode 100644 EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/D/X5/OKD54JHXNGXNVF4JEBBMVP.uasset delete mode 100644 EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/E/XZ/7H1ZSM42VCO2OX3GD3U6CY.uasset diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/DoorPrompt/BP_Door.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/DoorPrompt/BP_Door.uasset index 47e35fc6..5d28527c 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/DoorPrompt/BP_Door.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/DoorPrompt/BP_Door.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:185519beac036cd87f1e6c3eca083f0f4e369c2370400598ad8547cda299b5c8 -size 42979 +oid sha256:e2f1074b45a94221f63a446c72d393090ed47a8c08ea3f146768e03595937c21 +size 43976 diff --git a/EndlessVendetta/Content/Levels/_GENERATED/mh261677/Trim_1B41F361.uasset b/EndlessVendetta/Content/Levels/_GENERATED/mh261677/Trim_1B41F361.uasset new file mode 100644 index 00000000..0483e812 --- /dev/null +++ b/EndlessVendetta/Content/Levels/_GENERATED/mh261677/Trim_1B41F361.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71ece93182a6eda6c83f57491f7a92ce8a96fc6c552aacfe96b0fe7424041f57 +size 15349 diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/3/C5/NXF52EAUAGH5ETW1R053H8.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/3/C5/NXF52EAUAGH5ETW1R053H8.uasset new file mode 100644 index 00000000..b43bdf00 --- /dev/null +++ b/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/3/C5/NXF52EAUAGH5ETW1R053H8.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:162297ec59b7e47b42f34b19c64b0cbca86fcf80168764e5047cc45910cfe7da +size 4366 diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/D/X5/OKD54JHXNGXNVF4JEBBMVP.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/D/X5/OKD54JHXNGXNVF4JEBBMVP.uasset new file mode 100644 index 00000000..54648ba0 --- /dev/null +++ b/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/D/X5/OKD54JHXNGXNVF4JEBBMVP.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc292d8f45c5187522d0333e3854a43a00a1ae233a8eedc97cdfc032f925c0ce +size 5476 diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/E/XZ/7H1ZSM42VCO2OX3GD3U6CY.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/E/XZ/7H1ZSM42VCO2OX3GD3U6CY.uasset deleted file mode 100644 index 28e25423..00000000 --- a/EndlessVendetta/Content/__ExternalActors__/Levels/DoorTestLevel/E/XZ/7H1ZSM42VCO2OX3GD3U6CY.uasset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72dff7deac9313b375261db497609576184aff35f38e491dcc72a3d264d0d5a4 -size 5148 diff --git a/EndlessVendetta/Source/EndlessVendetta/DoorClass.cpp b/EndlessVendetta/Source/EndlessVendetta/DoorClass.cpp index 5f69bf2a..6811b02e 100644 --- a/EndlessVendetta/Source/EndlessVendetta/DoorClass.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/DoorClass.cpp @@ -29,6 +29,16 @@ void ADoorClass::Interact() { if (!IsValid(this)) return; GLog->Log("Door has been interacted"); + bool bIsDoorOpen = false; + if (!bIsDoorOpen) + { + + bIsDoorOpen = true; + } + else + { + bIsDoorOpen = false; + } } void ADoorClass::InteractPrompt()