diff --git a/Content/Gamemode/BP_DefaultGamemode.uasset b/Content/Gamemode/BP_DefaultGamemode.uasset new file mode 100644 index 0000000..ac85e62 --- /dev/null +++ b/Content/Gamemode/BP_DefaultGamemode.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88e3e3207b0f1b3c1444a2d232dbf2c320a94fa3c97733c3eec6fd9712229814 +size 21126 diff --git a/Content/Player/BP_PlayerCharacter.uasset b/Content/Player/BP_PlayerCharacter.uasset new file mode 100644 index 0000000..74441af --- /dev/null +++ b/Content/Player/BP_PlayerCharacter.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1da5849d936804c06c8ab769fb20e7027bfd82571a467e25a306c455bf8602da +size 24374 diff --git a/Content/Player/BP_PlayerController.uasset b/Content/Player/BP_PlayerController.uasset new file mode 100644 index 0000000..6a0aef6 --- /dev/null +++ b/Content/Player/BP_PlayerController.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90c5d083c153bc87a9aa35bf43e295c3cb0c7a543a6f0df01d6520e19d7b513e +size 20100 diff --git a/Source/vampires.Target.cs b/Source/vampires.Target.cs new file mode 100644 index 0000000..9f3f5e4 --- /dev/null +++ b/Source/vampires.Target.cs @@ -0,0 +1,15 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class vampiresTarget : TargetRules +{ + public vampiresTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.V5; + IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4; + ExtraModuleNames.AddRange( new string[] { "vampires" } ); + } +} diff --git a/Source/vampires/PlayerCharacter.cpp b/Source/vampires/PlayerCharacter.cpp new file mode 100644 index 0000000..0540dd3 --- /dev/null +++ b/Source/vampires/PlayerCharacter.cpp @@ -0,0 +1,5 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "PlayerCharacter.h" + diff --git a/Source/vampires/PlayerCharacter.h b/Source/vampires/PlayerCharacter.h new file mode 100644 index 0000000..109a9d7 --- /dev/null +++ b/Source/vampires/PlayerCharacter.h @@ -0,0 +1,17 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "VampireCharacter.h" +#include "PlayerCharacter.generated.h" + +/** + * + */ +UCLASS() +class VAMPIRES_API APlayerCharacter : public AVampireCharacter +{ + GENERATED_BODY() + +}; diff --git a/Source/vampires/VampireCharacter.cpp b/Source/vampires/VampireCharacter.cpp new file mode 100644 index 0000000..219bd69 --- /dev/null +++ b/Source/vampires/VampireCharacter.cpp @@ -0,0 +1,34 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "VampireCharacter.h" + +// Sets default values +AVampireCharacter::AVampireCharacter() +{ + // Set this character to call Tick() every frame. You can turn this off to improve performance if you don't need it. + PrimaryActorTick.bCanEverTick = true; + +} + +// Called when the game starts or when spawned +void AVampireCharacter::BeginPlay() +{ + Super::BeginPlay(); + +} + +// Called every frame +void AVampireCharacter::Tick(float DeltaTime) +{ + Super::Tick(DeltaTime); + +} + +// Called to bind functionality to input +void AVampireCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent) +{ + Super::SetupPlayerInputComponent(PlayerInputComponent); + +} + diff --git a/Source/vampires/VampireCharacter.h b/Source/vampires/VampireCharacter.h new file mode 100644 index 0000000..55ed825 --- /dev/null +++ b/Source/vampires/VampireCharacter.h @@ -0,0 +1,29 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/Character.h" +#include "VampireCharacter.generated.h" + +UCLASS() +class VAMPIRES_API AVampireCharacter : public ACharacter +{ + GENERATED_BODY() + +public: + // Sets default values for this character's properties + AVampireCharacter(); + +protected: + // Called when the game starts or when spawned + virtual void BeginPlay() override; + +public: + // Called every frame + virtual void Tick(float DeltaTime) override; + + // Called to bind functionality to input + virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override; + +}; diff --git a/Source/vampires/VampirePlayerController.cpp b/Source/vampires/VampirePlayerController.cpp new file mode 100644 index 0000000..d0ccaee --- /dev/null +++ b/Source/vampires/VampirePlayerController.cpp @@ -0,0 +1,5 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "VampirePlayerController.h" + diff --git a/Source/vampires/VampirePlayerController.h b/Source/vampires/VampirePlayerController.h new file mode 100644 index 0000000..756dfc2 --- /dev/null +++ b/Source/vampires/VampirePlayerController.h @@ -0,0 +1,17 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/PlayerController.h" +#include "VampirePlayerController.generated.h" + +/** + * + */ +UCLASS() +class VAMPIRES_API AVampirePlayerController : public APlayerController +{ + GENERATED_BODY() + +}; diff --git a/Source/vampiresEditor.Target.cs b/Source/vampiresEditor.Target.cs new file mode 100644 index 0000000..c35aa03 --- /dev/null +++ b/Source/vampiresEditor.Target.cs @@ -0,0 +1,15 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class vampiresEditorTarget : TargetRules +{ + public vampiresEditorTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + DefaultBuildSettings = BuildSettingsVersion.V5; + IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4; + ExtraModuleNames.AddRange( new string[] { "vampires" } ); + } +} diff --git a/vampires.uproject b/vampires.uproject index b1ff77b..8f7c464 100644 --- a/vampires.uproject +++ b/vampires.uproject @@ -3,6 +3,16 @@ "EngineAssociation": "5.4", "Category": "", "Description": "", + "Modules": [ + { + "Name": "vampires", + "Type": "Runtime", + "LoadingPhase": "Default", + "AdditionalDependencies": [ + "Engine" + ] + } + ], "Plugins": [ { "Name": "ModelingToolsEditorMode",