From e1a0ead6bb6579b13141c3cc97d67e5a7a97de2a Mon Sep 17 00:00:00 2001 From: BeastLe9enD Date: Sat, 5 Apr 2025 18:09:49 +0200 Subject: [PATCH] Add game mode to ingame level & add blueprint --- Content/Blueprints/BP_Character.uasset | 3 +++ Content/Levels/InGame.umap | 4 ++-- Source/LandOfBarl/LBGameMode.cpp | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 Content/Blueprints/BP_Character.uasset diff --git a/Content/Blueprints/BP_Character.uasset b/Content/Blueprints/BP_Character.uasset new file mode 100644 index 0000000..fa37ac7 --- /dev/null +++ b/Content/Blueprints/BP_Character.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb3e0c0bf7d22d273ba2023ae3a757b529e9ea84a0fef56ced1332df85051745 +size 24800 diff --git a/Content/Levels/InGame.umap b/Content/Levels/InGame.umap index cec71ab..6e95560 100644 --- a/Content/Levels/InGame.umap +++ b/Content/Levels/InGame.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:102e92e2dc1bd4aec6e102ac1b1865ae70db47f5db31134488e0df6a6028a956 -size 73130 +oid sha256:88fe8e9e785b77f3fa999c3bb0b22c462357cd22d09953fbec7dee5938314492 +size 73306 diff --git a/Source/LandOfBarl/LBGameMode.cpp b/Source/LandOfBarl/LBGameMode.cpp index bc4af91..2cbd1e1 100644 --- a/Source/LandOfBarl/LBGameMode.cpp +++ b/Source/LandOfBarl/LBGameMode.cpp @@ -1,5 +1,6 @@ #include "LBGameMode.h" ALBGameMode::ALBGameMode() { - + static ConstructorHelpers::FClassFinder PlayerPawnClassFinder(TEXT("/Game/Blueprints/BP_Character")); + DefaultPawnClass = PlayerPawnClassFinder.Class; }