From 84a326be223fc769ce0ede4116fdb848e573d81b Mon Sep 17 00:00:00 2001 From: PHILIP White Date: Tue, 18 Oct 2022 10:10:40 +0100 Subject: [PATCH] Added Blank Unreal 5 Project In c++ mode --- Config/DefaultEditor.ini | 0 Config/DefaultEngine.ini | 45 +++++++++++++++++++ Config/DefaultGame.ini | 7 +++ Content/Levels/Main.umap | 3 ++ Content/StarterContent/Audio/Light01.uasset | 3 ++ Content/StarterContent/Audio/Light02.uasset | 3 ++ Source/the_twilight_abyss.Target.cs | 14 ++++++ .../the_twilight_abyss.Build.cs | 23 ++++++++++ .../the_twilight_abyss/the_twilight_abyss.cpp | 6 +++ .../the_twilight_abyss/the_twilight_abyss.h | 6 +++ .../the_twilight_abyssGameModeBase.cpp | 5 +++ .../the_twilight_abyssGameModeBase.h | 17 +++++++ Source/the_twilight_abyssEditor.Target.cs | 14 ++++++ the_twilight_abyss.uproject | 31 +++++++++++++ 14 files changed, 177 insertions(+) create mode 100644 Config/DefaultEditor.ini create mode 100644 Config/DefaultEngine.ini create mode 100644 Config/DefaultGame.ini create mode 100644 Content/Levels/Main.umap create mode 100644 Content/StarterContent/Audio/Light01.uasset create mode 100644 Content/StarterContent/Audio/Light02.uasset create mode 100644 Source/the_twilight_abyss.Target.cs create mode 100644 Source/the_twilight_abyss/the_twilight_abyss.Build.cs create mode 100644 Source/the_twilight_abyss/the_twilight_abyss.cpp create mode 100644 Source/the_twilight_abyss/the_twilight_abyss.h create mode 100644 Source/the_twilight_abyss/the_twilight_abyssGameModeBase.cpp create mode 100644 Source/the_twilight_abyss/the_twilight_abyssGameModeBase.h create mode 100644 Source/the_twilight_abyssEditor.Target.cs create mode 100644 the_twilight_abyss.uproject diff --git a/Config/DefaultEditor.ini b/Config/DefaultEditor.ini new file mode 100644 index 0000000..e69de29 diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini new file mode 100644 index 0000000..b0c28c7 --- /dev/null +++ b/Config/DefaultEngine.ini @@ -0,0 +1,45 @@ + + +[/Script/EngineSettings.GameMapsSettings] +GameDefaultMap=/Game/StarterContent/Maps/Minimal_Default + + +EditorStartupMap=/Game/StarterContent/Maps/Minimal_Default + +[/Script/HardwareTargeting.HardwareTargetingSettings] +TargetedHardwareClass=Desktop +AppliedTargetedHardwareClass=Desktop +DefaultGraphicsPerformance=Maximum +AppliedDefaultGraphicsPerformance=Maximum + +[/Script/WindowsTargetPlatform.WindowsTargetSettings] +DefaultGraphicsRHI=DefaultGraphicsRHI_DX12 + +[/Script/Engine.RendererSettings] +r.GenerateMeshDistanceFields=True +r.DynamicGlobalIlluminationMethod=1 +r.ReflectionMethod=1 +r.Shadow.Virtual.Enable=1 + +[/Script/WorldPartitionEditor.WorldPartitionEditorSettings] +CommandletClass=Class'/Script/UnrealEd.WorldPartitionConvertCommandlet' + +[/Script/Engine.Engine] ++ActiveGameNameRedirects=(OldGameName="TP_Blank",NewGameName="/Script/the_twilight_abyss") ++ActiveGameNameRedirects=(OldGameName="/Script/TP_Blank",NewGameName="/Script/the_twilight_abyss") ++ActiveClassRedirects=(OldClassName="TP_BlankGameModeBase",NewClassName="the_twilight_abyssGameModeBase") + +[/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings] +bEnablePlugin=True +bAllowNetworkConnection=True +SecurityToken=DB2C79604D560F95FCE2F0AB4CCF2F08 +bIncludeInShipping=False +bAllowExternalStartInShipping=False +bCompileAFSProject=False +bUseCompression=False +bLogFiles=False +bReportStats=False +ConnectionType=USBOnly +bUseManualIPAddress=False +ManualIPAddress= + diff --git a/Config/DefaultGame.ini b/Config/DefaultGame.ini new file mode 100644 index 0000000..7d4854f --- /dev/null +++ b/Config/DefaultGame.ini @@ -0,0 +1,7 @@ + +[/Script/EngineSettings.GeneralProjectSettings] +ProjectID=FCCEDCD4410CCAFCCB4EF4BD279589AB + +[StartupActions] +bAddPacks=True +InsertPack=(PackSource="StarterContent.upack",PackName="StarterContent") diff --git a/Content/Levels/Main.umap b/Content/Levels/Main.umap new file mode 100644 index 0000000..8adb0e4 --- /dev/null +++ b/Content/Levels/Main.umap @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cf7ea41af235ff01deb71c81195e0b15eed1f06e95f417adcd8443a05485e1e +size 54088 diff --git a/Content/StarterContent/Audio/Light01.uasset b/Content/StarterContent/Audio/Light01.uasset new file mode 100644 index 0000000..8727407 --- /dev/null +++ b/Content/StarterContent/Audio/Light01.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e68cd02fb588201ffd633bc3cb739007993db795a8bd81f1784992e352da22c9 +size 368411 diff --git a/Content/StarterContent/Audio/Light02.uasset b/Content/StarterContent/Audio/Light02.uasset new file mode 100644 index 0000000..ca061fe --- /dev/null +++ b/Content/StarterContent/Audio/Light02.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae78612365b9431bbaa5da2e352e87962dbfdaa6eaa57f57a92aef5a2e6ffb42 +size 311930 diff --git a/Source/the_twilight_abyss.Target.cs b/Source/the_twilight_abyss.Target.cs new file mode 100644 index 0000000..d80c669 --- /dev/null +++ b/Source/the_twilight_abyss.Target.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class the_twilight_abyssTarget : TargetRules +{ + public the_twilight_abyssTarget( TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.V2; + ExtraModuleNames.AddRange( new string[] { "the_twilight_abyss" } ); + } +} diff --git a/Source/the_twilight_abyss/the_twilight_abyss.Build.cs b/Source/the_twilight_abyss/the_twilight_abyss.Build.cs new file mode 100644 index 0000000..9cb5741 --- /dev/null +++ b/Source/the_twilight_abyss/the_twilight_abyss.Build.cs @@ -0,0 +1,23 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; + +public class the_twilight_abyss : ModuleRules +{ + public the_twilight_abyss(ReadOnlyTargetRules Target) : base(Target) + { + PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; + + PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); + + PrivateDependencyModuleNames.AddRange(new string[] { }); + + // Uncomment if you are using Slate UI + // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" }); + + // Uncomment if you are using online features + // PrivateDependencyModuleNames.Add("OnlineSubsystem"); + + // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true + } +} diff --git a/Source/the_twilight_abyss/the_twilight_abyss.cpp b/Source/the_twilight_abyss/the_twilight_abyss.cpp new file mode 100644 index 0000000..41a5b77 --- /dev/null +++ b/Source/the_twilight_abyss/the_twilight_abyss.cpp @@ -0,0 +1,6 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#include "the_twilight_abyss.h" +#include "Modules/ModuleManager.h" + +IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, the_twilight_abyss, "the_twilight_abyss" ); diff --git a/Source/the_twilight_abyss/the_twilight_abyss.h b/Source/the_twilight_abyss/the_twilight_abyss.h new file mode 100644 index 0000000..677c8e2 --- /dev/null +++ b/Source/the_twilight_abyss/the_twilight_abyss.h @@ -0,0 +1,6 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" + diff --git a/Source/the_twilight_abyss/the_twilight_abyssGameModeBase.cpp b/Source/the_twilight_abyss/the_twilight_abyssGameModeBase.cpp new file mode 100644 index 0000000..217a48d --- /dev/null +++ b/Source/the_twilight_abyss/the_twilight_abyssGameModeBase.cpp @@ -0,0 +1,5 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + + +#include "the_twilight_abyssGameModeBase.h" + diff --git a/Source/the_twilight_abyss/the_twilight_abyssGameModeBase.h b/Source/the_twilight_abyss/the_twilight_abyssGameModeBase.h new file mode 100644 index 0000000..34cce53 --- /dev/null +++ b/Source/the_twilight_abyss/the_twilight_abyssGameModeBase.h @@ -0,0 +1,17 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/GameModeBase.h" +#include "the_twilight_abyssGameModeBase.generated.h" + +/** + * + */ +UCLASS() +class THE_TWILIGHT_ABYSS_API Athe_twilight_abyssGameModeBase : public AGameModeBase +{ + GENERATED_BODY() + +}; diff --git a/Source/the_twilight_abyssEditor.Target.cs b/Source/the_twilight_abyssEditor.Target.cs new file mode 100644 index 0000000..6a6f8ad --- /dev/null +++ b/Source/the_twilight_abyssEditor.Target.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class the_twilight_abyssEditorTarget : TargetRules +{ + public the_twilight_abyssEditorTarget( TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + DefaultBuildSettings = BuildSettingsVersion.V2; + ExtraModuleNames.AddRange( new string[] { "the_twilight_abyss" } ); + } +} diff --git a/the_twilight_abyss.uproject b/the_twilight_abyss.uproject new file mode 100644 index 0000000..f4423c0 --- /dev/null +++ b/the_twilight_abyss.uproject @@ -0,0 +1,31 @@ +{ + "FileVersion": 3, + "EngineAssociation": "5.0", + "Category": "", + "Description": "", + "Modules": [ + { + "Name": "the_twilight_abyss", + "Type": "Runtime", + "LoadingPhase": "Default" + } + ], + "Plugins": [ + { + "Name": "ModelingToolsEditorMode", + "Enabled": true, + "TargetAllowList": [ + "Editor" + ] + }, + { + "Name": "Bridge", + "Enabled": true, + "SupportedTargetPlatforms": [ + "Win64", + "Mac", + "Linux" + ] + } + ] +} \ No newline at end of file