From 956da86677c61191a9b305986a5262363b93bd06 Mon Sep 17 00:00:00 2001 From: Rafal Swierczek Date: Sun, 12 May 2024 17:29:53 +0100 Subject: [PATCH] Created Phone and Sitting NPC Stations --- EndlessVendetta/Content/Levels/OpenWorldRework.umap | 4 ++-- EndlessVendetta/Content/NPC/BP_NPC_Manager.uasset | 4 ++-- .../Content/NPC/Custom_NPC_Stations/NPCs_Phone.uasset | 3 +++ .../NPC/Custom_NPC_Stations/NPCs_SittingChilling.uasset | 3 +++ .../Content/StarterContent/Architecture/Floor_400x400.uasset | 4 ++-- .../StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset | 4 ++-- EndlessVendetta/Source/EndlessVendetta/NPC/NPC_Station.cpp | 2 ++ 7 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_Phone.uasset create mode 100644 EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_SittingChilling.uasset diff --git a/EndlessVendetta/Content/Levels/OpenWorldRework.umap b/EndlessVendetta/Content/Levels/OpenWorldRework.umap index 00a86b1b..50e43bd9 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:5354163019daaef6eff01d29d537e7d0d23b07061c8c3e3f994de58530e23c4c -size 45628643 +oid sha256:0f4ddd99ae436966b035dab3847c98a0c692c6e09f9831558701d2f16ff62232 +size 45628591 diff --git a/EndlessVendetta/Content/NPC/BP_NPC_Manager.uasset b/EndlessVendetta/Content/NPC/BP_NPC_Manager.uasset index 96a5de4b..e269ed10 100644 --- a/EndlessVendetta/Content/NPC/BP_NPC_Manager.uasset +++ b/EndlessVendetta/Content/NPC/BP_NPC_Manager.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1acb6660017311f77173210ac33665efdb57a18f7401aab1697ce2fba3256cdd -size 23496 +oid sha256:63ffe0b4c154e713c7e877c55b167bbc17f5aa836f13c31b159bcf0a2ed5b54b +size 23832 diff --git a/EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_Phone.uasset b/EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_Phone.uasset new file mode 100644 index 00000000..87e09c18 --- /dev/null +++ b/EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_Phone.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e53b95206ff14961de76fb5482b327c9445fa4c07c67ec34ac4dc271b7258b9 +size 55789 diff --git a/EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_SittingChilling.uasset b/EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_SittingChilling.uasset new file mode 100644 index 00000000..dd01a99e --- /dev/null +++ b/EndlessVendetta/Content/NPC/Custom_NPC_Stations/NPCs_SittingChilling.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d66ab31eb59f31187fe3d1c7729886b371ebf5b5a3e19067e19b2e74820c98b0 +size 56017 diff --git a/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset b/EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset index 06af4278..c2a34afc 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:99a70e2076cbba90f0d45e5a746037e30b083de4db40443d99282fd1df2aa589 -size 14831 +oid sha256:4c0ecf0ac0702cc2bd355ec050232a61c49e10f102448efbeb735a51824adef6 +size 14948 diff --git a/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset b/EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset index 0f990580..25736cf7 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:f1162d7ede8b7665739cbded7d0d408820d4dce7211751153f69760e4d5dfa55 +size 66790690 diff --git a/EndlessVendetta/Source/EndlessVendetta/NPC/NPC_Station.cpp b/EndlessVendetta/Source/EndlessVendetta/NPC/NPC_Station.cpp index 47995a1e..780633f2 100644 --- a/EndlessVendetta/Source/EndlessVendetta/NPC/NPC_Station.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/NPC/NPC_Station.cpp @@ -39,6 +39,8 @@ void ANPC_Station::BeginPlay() { Super::BeginPlay(); PlayersPawn = UGameplayStatics::GetPlayerPawn(GetWorld(), 0); + FRotator RandomRot = FRotator(0, FMath::RandRange(0, 360), 0); + GetRootComponent()->SetRelativeRotation(RandomRot); } // Sets default values