Alexhas2 commited on
Commit
7fd553e
·
verified ·
1 Parent(s): 1e67697

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. LyraStarterGame/Build/EditorPerfStats.csv +7 -0
  2. LyraStarterGame/Build/GauntletSettings.xml +14 -0
  3. LyraStarterGame/Build/LyraBuild.xml +98 -0
  4. LyraStarterGame/Build/LyraTests.xml +333 -0
  5. LyraStarterGame/Build/UnrealGameSync.ini +5 -0
  6. LyraStarterGame/Config/DefaultDeviceProfiles.ini +571 -0
  7. LyraStarterGame/Config/DefaultEditor.ini +91 -0
  8. LyraStarterGame/Config/DefaultEditorKeyBindings.ini +2 -0
  9. LyraStarterGame/Config/DefaultEditorPerProjectUserSettings.ini +30 -0
  10. LyraStarterGame/Config/DefaultEditorSettings.ini +3 -0
  11. LyraStarterGame/Config/DefaultEngine.ini +420 -0
  12. LyraStarterGame/Config/DefaultGame.ini +246 -0
  13. LyraStarterGame/Config/DefaultGameplayTags.ini +109 -0
  14. LyraStarterGame/Config/DefaultInput.ini +51 -0
  15. LyraStarterGame/Config/DefaultRuntimeOptions.ini +2 -0
  16. LyraStarterGame/Config/DefaultScalability.ini +113 -0
  17. LyraStarterGame/Content/B_LyraGameInstance.uasset +0 -0
  18. LyraStarterGame/Content/B_LyraGameMode.uasset +0 -0
  19. LyraStarterGame/Content/DefaultGameData.uasset +0 -0
  20. LyraStarterGame/Plugins/AsyncMixin/AsyncMixin.uplugin +21 -0
  21. LyraStarterGame/Plugins/CommonGame/CommonGame.uplugin +42 -0
  22. LyraStarterGame/Plugins/CommonLoadingScreen/CommonLoadingScreen.uplugin +29 -0
  23. LyraStarterGame/Plugins/CommonUser/CommonUser.uplugin +38 -0
  24. LyraStarterGame/Plugins/GameSettings/GameSettings.uplugin +30 -0
  25. LyraStarterGame/Plugins/GameSubtitles/GameSubtitles.uplugin +25 -0
  26. LyraStarterGame/Plugins/GameplayMessageRouter/GameplayMessageRouter.uplugin +35 -0
  27. LyraStarterGame/Plugins/LyraExampleContent/LyraExampleContent.uplugin +18 -0
  28. LyraStarterGame/Plugins/LyraExtTool/LyraExtTool.uplugin +24 -0
  29. LyraStarterGame/Plugins/ModularGameplayActors/ModularGameplayActors.uplugin +30 -0
  30. LyraStarterGame/Plugins/PocketWorlds/Content/M_Black.uasset +0 -0
  31. LyraStarterGame/Plugins/PocketWorlds/Content/M_PocketCaptureMasked.uasset +0 -0
  32. LyraStarterGame/Plugins/PocketWorlds/Content/M_White.uasset +0 -0
  33. LyraStarterGame/Plugins/PocketWorlds/PocketWorlds.uplugin +25 -0
  34. LyraStarterGame/Plugins/PocketWorlds/Source/PocketWorlds.Build.cs +30 -0
  35. LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCapture.cpp +363 -0
  36. LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCaptureSubsystem.cpp +98 -0
  37. LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevel.cpp +11 -0
  38. LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelInstance.cpp +135 -0
  39. LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelSystem.cpp +36 -0
  40. LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketWorldsModule.cpp +24 -0
  41. LyraStarterGame/Plugins/PocketWorlds/Source/Public/PocketCapture.h +121 -0
  42. LyraStarterGame/Plugins/UIExtension/Binaries/Win64/UnrealEditor.modules +7 -0
  43. LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.cpp +5 -0
  44. LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.h +7 -0
  45. LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionModule.cpp +24 -0
  46. LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionSystem.cpp +372 -0
  47. LyraStarterGame/Plugins/UIExtension/Source/Private/Widgets/UIExtensionPointWidget.cpp +177 -0
  48. LyraStarterGame/Plugins/UIExtension/Source/Public/UIExtensionSystem.h +285 -0
  49. LyraStarterGame/Plugins/UIExtension/Source/Public/Widgets/UIExtensionPointWidget.h +70 -0
  50. LyraStarterGame/Plugins/UIExtension/Source/UIExtension.Build.cs +36 -0
LyraStarterGame/Build/EditorPerfStats.csv ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Name,Statistic,TelemetryContext,TelemetryDataPoint,TelemetryUnit,BaselineWarningThreshold,BaselineErrorThreshold,
2
+ Generated Scope for LoadAsset - /Game/System/DefaultEditorMap/L_DefaultEditorOverview,TotalDurationSeconds,Events,Load L_DefaultEditorOverview,Seconds,10%,,
3
+ Generated Scope for PIE - /Game/System/DefaultEditorMap/L_DefaultEditorOverview,TotalDurationSeconds,Events,PIE L_DefaultEditorOverview,Seconds,10%,,
4
+ Generated Scope for LoadAsset - /Game/System/FrontEnd/Maps/L_LyraFrontEnd,TotalDurationSeconds,Events,Load L_LyraFrontEnd,Seconds,10%,,
5
+ Generated Scope for PIE - /Game/System/FrontEnd/Maps/L_LyraFrontEnd,TotalDurationSeconds,Events,PIE L_LyraFrontEnd,Seconds,10%,,
6
+ Generated Scope for LoadAsset - /ShooterMaps/Maps/L_Expanse,TotalDurationSeconds,Events,Load L_Expanse,Seconds,10%,,
7
+ Generated Scope for PIE - /ShooterMaps/Maps/L_Expanse,TotalDurationSeconds,Events,PIE L_Expanse,Seconds,10%,,
LyraStarterGame/Build/GauntletSettings.xml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version='1.0' ?>
2
+ <BuildGraph xmlns="http://www.epicgames.com/BuildGraph" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.epicgames.com/BuildGraph ../../Schema.xsd" >
3
+ <!-- How long to give Gauntlet before a test is considered timed out (some tests will time out earlier if they detect inactivity)-->
4
+ <Option Name="GauntletTimeout" DefaultValue="2400" Description="Max running time of a test in Gauntlet"/>
5
+ <!-- We're passing the buildversion in here as getting the build name within Gauntlet is currently unreliable as it's based on the -build param which can vary per platform. -->
6
+ <!-- Using BuildNamePath specifically as we want the preflight suffix if it exists. -->
7
+ <Property Name="ExtraAutomatedPerformanceCommonArgs" Value="-windowed -BuildName=$(BuildNamePath)" />
8
+ <Option Name="ResX" DefaultValue="1920" Restrict="^[0-9]+$" Description="Resolution width to run tests with" />
9
+ <Option Name="ResY" DefaultValue="1080" Restrict="^[0-9]+$" Description="Resolution height to run tests with" />
10
+ <!-- Common AutoTestPerf Gauntlet settings -->
11
+ <Include Script="$(RootDir)/Engine/Plugins/Performance/AutomatedPerfTesting/Build/Inc/AutomatedPerfTestCommonSettings.xml" />
12
+ <!-- Common Gauntlet settings -->
13
+ <Include Script="$(RootDir)/Engine/Build/Graph/Tasks/Inc/GauntletSettings.xml" />
14
+ </BuildGraph>
LyraStarterGame/Build/LyraBuild.xml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version='1.0' ?>
2
+ <BuildGraph xmlns="http://www.epicgames.com/BuildGraph" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.epicgames.com/BuildGraph ../Schema.xsd" >
3
+
4
+ <Option Name="EditorCompileArgs" DefaultValue="" Description="Arguments to be used for EditorTarget Compile"/>
5
+ <Option Name="ExtraToolCompileArguments" DefaultValue="" Description="Arguments to be used for Tool Compile"/>
6
+ <Option Name="ExtraTargetCompileArguments" DefaultValue="" Description="Arguments to be used for Client Compile"/>
7
+ <Option Name="TargetPlatforms" Restrict="[^ ]*" DefaultValue="Win64" Description="List of the target platforms to build for, separated by semicolons, eg. Win64;Win32;Android"/>
8
+ <Option Name="OutputDir" DefaultValue="$(RootDir)\LocalBuilds\LyraBinaries" Description ="Output directory for compiled binaries"/>
9
+ <Option Name="Versioned" Restrict="true|false" DefaultValue="$(IsBuildMachine)" Description="Whether to embed changelist number into binaries"/>
10
+ <Option Name="PCBSubmitPath" Restrict="(?://.*)?" DefaultValue="" Description="Where in Perforce to submit the PCBs to."/>
11
+ <Option Name="PreflightChange" Restrict="\d*" DefaultValue="" Description="The shelved changelist number in a preflight build; empty otherwise"/>
12
+ <Property Name="IsPreflight" Value="true" If="'$(PreflightChange)' != ''"/>
13
+ <Property Name="IsPreflight" Value="false" If="'$(PreflightChange)' == ''"/>
14
+
15
+ <EnvVar Name="COMPUTERNAME"/>
16
+ <EnvVar Name="P4CLIENT"/>
17
+
18
+ <Agent Name="Submit Lyra PCBs" Type="CompileWin64;Win64">
19
+
20
+ <!-- Update the engine version files -->
21
+ <Node Name="Update Version Files">
22
+ <SetVersion Change="$(Change)" Branch="$(EscapedBranch)" If="$(Versioned)"/>
23
+ </Node>
24
+
25
+ <!-- Compile the tool executables -->
26
+ <Node Name="Compile Tools Win64" Requires="Update Version Files" Produces="#ToolBinaries">
27
+ <Compile Target="ShaderCompileWorker" Platform="Win64" Configuration="Development" Arguments="$(ExtraToolCompileArguments)" Tag="#ToolBinaries"/>
28
+ <Compile Target="UnrealLightmass" Platform="Win64" Configuration="Development" Arguments="$(ExtraToolCompileArguments)" Tag="#ToolBinaries"/>
29
+ <Compile Target="UnrealPak" Platform="Win64" Configuration="Development" Arguments="$(ExtraToolCompileArguments)" Tag="#ToolBinaries"/>
30
+ <Compile Target="CrashReportClientEditor" Configuration="Shipping" Platform="Win64" Arguments="$(ExtraToolCompileArguments)" Tag="#ToolBinaries"/>
31
+ <Compile Target="UnrealInsights" Platform="Win64" Configuration="Shipping" Arguments="$(ExtraToolCompileArguments)" Tag="#ToolBinaries"/>
32
+
33
+ <!--
34
+ This exe is a copy of ShaderCompileWorker.exe, created as a post-build step. See \Engine\Source\Programs\ShaderCompileWorker\ShaderCompileWorker.Target.cs.
35
+ It's needed for shader compilation to work with Incredibuild.
36
+ -->
37
+ <Tag Files="$(RootDir)\Engine\Binaries\Win64\XGEControlWorker.exe" With="#ToolBinaries"/>
38
+ </Node>
39
+
40
+ <!-- Compile the editor executable -->
41
+ <Node Name="Compile LyraEditor Win64" Requires="Compile Tools Win64" Produces="#EditorBinaries">
42
+ <Compile Target="LyraEditor" Platform="Win64" Configuration="Development" Tag="#EditorBinaries" Arguments="$(EditorCompileArgs)"/>
43
+ </Node>
44
+
45
+ <!-- Compile the game targets -->
46
+ <Property Name="GameBinaries" Value=""/>
47
+ <ForEach Name="TargetPlatform" Values="$(TargetPlatforms)">
48
+ <Node Name="Compile LyraGame $(TargetPlatform)" Requires="Compile Tools Win64" Produces="#GameBinaries_LyraGame_$(TargetPlatform)">
49
+ <Compile Target="LyraGame" Platform="$(TargetPlatform)" Configuration="Development" Arguments="$(ExtraTargetCompileArguments)" Tag="#GameBinaries_LyraGame_$(TargetPlatform)"/>
50
+ <Compile Target="LyraGame" Platform="$(TargetPlatform)" Configuration="Shipping" Arguments="$(ExtraTargetCompileArguments)" Tag="#GameBinaries_LyraGame_$(TargetPlatform)"/>
51
+ </Node>
52
+ <Property Name="GameBinaries" Value="$(GameBinaries)#GameBinaries_LyraGame_$(TargetPlatform);"/>
53
+ </ForEach>
54
+
55
+ <!-- Copy all the files to the output directory -->
56
+ <Node Name="Tag Output Files" Requires="#ToolBinaries;#EditorBinaries;$(GameBinaries)" Produces="#OutputFiles">
57
+ <Tag Files="#ToolBinaries;#EditorBinaries;$(GameBinaries)" Except=".../Intermediate/..." With="#OutputFiles"/>
58
+ </Node>
59
+
60
+ <!-- Copy all the files to the output directory -->
61
+ <Node Name="Copy To Staging Directory" Requires="#OutputFiles">
62
+ <Delete Files="$(OutputDir)/..."/>
63
+ <Copy Files="#OutputFiles" From="$(RootDir)" To="$(OutputDir)"/>
64
+ </Node>
65
+
66
+ <!-- Create a zip archive and submit that to Perforce for use by UGS -->
67
+ <Node Name="Submit To Perforce For UGS" Requires="#OutputFiles">
68
+ <!-- Clear out the archive directory -->
69
+ <Property Name="ArchiveDir" Value="$(RootDir)\LocalBuilds\ArchiveForUGS"/>
70
+ <Delete Files="$(ArchiveDir)\..."/>
71
+
72
+ <!-- Tag required files from UAT and UBT that will already have been built -->
73
+ <Tag Files="Engine/Source/Programs/AutomationTool/..." Filter="*.csproj" With="#UAT Projects"/>
74
+ <CsCompile Project="#UAT Projects" Configuration="Development" Platform="AnyCPU" Tag="#ArchiveFiles" EnumerateOnly="true"/>
75
+
76
+ <!-- Partition all the binaries and symbols -->
77
+ <Tag Files="#OutputFiles" Except=".../Intermediate/..." With="#ArchiveFiles"/>
78
+ <Tag Files="#ArchiveFiles" Except="*.pdb" With="#ArchiveBinaries"/>
79
+ <Tag Files="#ArchiveFiles" Filter="*.pdb" With="#ArchiveSymbols"/>
80
+
81
+ <!-- Stage all the files to be archived -->
82
+ <Property Name="ArchiveStagingDir" Value="$(ArchiveDir)\Staging"/>
83
+ <Copy Files="#ArchiveBinaries" From="$(RootDir)" To="$(ArchiveStagingDir)"/>
84
+ <Strip Files="#ArchiveSymbols" BaseDir="$(RootDir)" OutputDir="$(ArchiveStagingDir)" Platform="Win64"/>
85
+
86
+ <!-- Create the zip file and submit it to Perforce -->
87
+ <Property Name="ArchivePerforceDir" Value="$(ArchiveDir)\Perforce"/>
88
+ <Property Name="ArchiveFile" Value="$(ArchivePerforceDir)\$(EscapedBranch)-LyraEditor.zip"/>
89
+ <Zip FromDir="$(ArchiveStagingDir)" ZipFile="$(ArchiveFile)"/>
90
+ <Property Name="SubmitClient" Value="$(COMPUTERNAME)_ArchiveForUGS"/>
91
+ <Property Name="SubmitClient" Value="$(P4CLIENT)_ArchiveForUGS" If="$(IsBuildMachine)"/>
92
+ <Submit Description="[CL $(CodeChange)] Updated binaries" Files="$(ArchiveFile)" FileType="binary+FS32" Workspace="$(SubmitClient)" Stream="$(PCBSubmitPath)" RootDir="$(ArchivePerforceDir)"/>
93
+ </Node>
94
+
95
+ </Agent>
96
+
97
+ </BuildGraph>
98
+
LyraStarterGame/Build/LyraTests.xml ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version='1.0' ?>
2
+ <BuildGraph xmlns="http://www.epicgames.com/BuildGraph" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.epicgames.com/BuildGraph ../../../../Engine/Build/Graph/Schema.xsd" >
3
+
4
+ <!-- TODO NDarnell Add documentation -->
5
+ <!-- "-Target=BuildAndTestInternalExtended Lyra" -->
6
+
7
+
8
+ <!-- Project Info -->
9
+ <!-- @TODO: Can we derive these somehow instead of hardcoding them? Will be an issue when turned into a launcher sample. -->
10
+ <Property Name="ProjectName" Value="Lyra" />
11
+ <Property Name="ProjectPath" Value="Samples/Games/Lyra" />
12
+ <Option Name="TargetName" DefaultValue="LyraGame" Restrict="LyraGame|LyraGameEOS|LyraGameSteam|LyraGameSteamEOS" Description="The project target configuration we're building, like if we're building Lyra with EOS (Epic Online Services) compiled in." />
13
+
14
+
15
+ <Property Name="Versioned" Value="$(IsBuildMachine)" />
16
+ <Property Name="PublishHashedStagingData" Value="$(IsBuildMachine)" />
17
+
18
+ <Property Name="IncludeEpicWebHelperInToolCompile" Value="true" />
19
+
20
+ <Option Name="UploadArtifactId" DefaultValue="" Description="ID of the artifact to chunked and uploaded. Upload is ignored if no ID is specified." />
21
+ <Option Name="UploadTargetPlatform" DefaultValue="" Description="Platform build to upload, i.e. Win64" />
22
+ <Option Name="UploadConfiguration" DefaultValue="" Description="Configuration to upload, if applicable." />
23
+ <Option Name="UploadLaunchArgs" DefaultValue="" Description="Arguments to be passed when launching the uploaded app."/>
24
+
25
+ <Option Name="SkipUpdateAuditCollections" DefaultValue="false" Description="Whether to skip updating the audit collections (showing which files got cooked)" />
26
+
27
+ <Option Name="SymbolServerPath" DefaultValue="" Description="A shared symbols server for your office, debugging shipped builds."/>
28
+
29
+ <Option Name="RunAllCookTests" DefaultValue="false" Description="To run all cook tests"/>
30
+ <Option Name="RunCookOnTheFlyTest" DefaultValue="$(RunAllCookTests)" Description="To run cook on the fly test"/>
31
+ <Option Name="RunCookByTheBookTest" DefaultValue="$(RunAllCookTests)" Description="To run cook by the book test"/>
32
+ <Option Name="RunFastCookByTheBookTest" DefaultValue="$(RunAllCookTests)" Description="To run fast cook by the book test"/>
33
+ <Option Name="RunColdCookByTheBookTest" DefaultValue="$(RunAllCookTests)" Description="To run cold cook by the book test"/>
34
+ <Option Name="RunCookByTheBookCacheSettingsTest" DefaultValue="$(RunAllCookTests)" Description="To run cook by the book test with changed Data Cache Settings"/>
35
+ <Option Name="RunUnversionedCookByTheBookTest" DefaultValue="$(RunAllCookTests)" Description="To run unversioned cook by the book test"/>
36
+ <Option Name="RunIterativeCookByTheBookTest" DefaultValue="$(RunAllCookTests)" Description="To run iterative cook by the book test without launching a client, no map needed"/>
37
+ <Option Name="RunInterruptedCookByTheBookTest" DefaultValue="$(RunAllCookTests)" Description="To run interrupted cook by the book test without launching a client, no map needed"/>
38
+ <Option Name="RunCookSinglePackageByTheBookTest" DefaultValue="$(RunAllCookTests)" Description="To run the cook by the book test with cooksinglepackagenorefs parameter, it is required to specify a map name and the WorldPartitionMap parameter if a map is WorldPartition"/>
39
+ <Option Name="RunProjectTests" DefaultValue="false" Description="To run all tests under the Project Group"/>
40
+
41
+ <Option Name="SourceBuildVersion" DefaultValue="" Description="The source build version for diffing"/>
42
+
43
+ <!-- Turn off defaults so we can set out own -->
44
+ <Property Name="WithBATDefaults" Value="false" />
45
+
46
+ <!-- Set defaults for people running this script with no arguments. These can still be overriden with -set:TargetPlatforms= etc) -->
47
+ <Property Name="DefaultEditorPlatforms" Value="Win64" />
48
+ <Property Name="DefaultTargetPlatforms" Value="Win64"/>
49
+ <Property Name="DefaultTargetConfigurations" Value="Development" />
50
+ <Property Name="DefaultEditorTestList" Value="" />
51
+ <Property Name="DefaultTargetTestList" Value="" />
52
+ <Property Name="NetworkTempRootOverride" Value="" />
53
+ <Property Name="NetworkPublishRootOverride" Value="" />
54
+ <Property Name="NetworkReportRootOverride" Value="" />
55
+ <Property Name="WithInterchangeWorker" Value="true" />
56
+
57
+ <!-- If a build machine, turn off all defaults. Settings should be specified via the website UI -->
58
+ <Do If="$(IsBuildMachine)">
59
+ <Property Name="DefaultEditorPlatforms" Value="" />
60
+ <Property Name="DefaultTargetPlatforms" Value=""/>
61
+ <Property Name="DefaultTargetConfigurations" Value="" />
62
+ <Property Name="DefaultEditorTestList" Value="" />
63
+ <Property Name="DefaultTargetTestList" Value="" />
64
+ </Do>
65
+
66
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.CookOnTheFly(Map=L_Expanse)" If="$(RunCookOnTheFlyTest)" />
67
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.CookByTheBook(Map=L_Expanse)" If="$(RunCookByTheBookTest)" />
68
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.FastCookByTheBook(Map=L_Expanse)" If="$(RunFastCookByTheBookTest)" />
69
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.ColdCookByTheBook(Map=L_Expanse)" If="$(RunColdCookByTheBookTest)" />
70
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.CookByTheBookCacheSettings(Map=L_Expanse)" If="$(RunCookByTheBookCacheSettingsTest)" />
71
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.UnversionedCookByTheBook(Map=L_Expanse)" If="$(RunUnversionedCookByTheBookTest)" />
72
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.IterativeCookByTheBook" If="$(RunIterativeCookByTheBookTest)" />
73
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.InterruptedCookByTheBook" If="$(RunInterruptedCookByTheBookTest)" />
74
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.CookSinglePackageByTheBook(Map=L_Expanse, WorldPartitionMap)" If="$(RunCookSinglePackageByTheBookTest)" />
75
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.CookSinglePackageByTheBook(Map=L_ShooterGym)" If="$(RunCookSinglePackageByTheBookTest)" />
76
+ <Property Name="DefaultTargetTestList" Value="$(DefaultTargetTestList)+UE.TargetAutomation(RunTest=Group:Project)" If="$(RunProjectTests)" />
77
+ <Property Name="DefaultEditorTestList" Value="$(DefaultEditorTestList)+UE.EditorAutomation(RunTest=Group:Project)" If="$(RunProjectTests)" />
78
+
79
+ <Property Name="ExtraStageAndPackageArguments" Value="-target=&quot;$(TargetName)&quot; -compressed -CrashReporter" />
80
+
81
+ <!-- Property Name="CheckBuildSizePlatforms" Value="Android:425000" /-->
82
+
83
+ <!-- =============================================================================== -->
84
+ <!-- Setup -->
85
+ <!-- =============================================================================== -->
86
+
87
+ <!-- Configure specific AutomatedPerfTest runs -->
88
+ <Include Script="../../../../Engine/Plugins/Performance/AutomatedPerfTesting/Build/Inc/AutomatedPerfTestProjectSettings.xml" />
89
+ <Do If="'$(ReplayName)' == ''">
90
+ <Property Name="ReplayName" Value="$(RootDir)/Samples/Games/Lyra/Build/Replays/LyraSample.replay" />
91
+ </Do>
92
+
93
+ <!-- Common Setting Overrides -->
94
+ <Property Name="GauntletSettingsFile" Value="$(RootDir)/Samples/Games/Lyra/Build/GauntletSettings.xml" />
95
+
96
+ <!-- This will declare an aggregate called BuildAndTest Lyra -->
97
+ <Include Script="../../../../Engine/Build/Graph/Tasks/BuildAndTestProject.xml" />
98
+
99
+ <!-- Add BuildAndTest project target node as the base requirement. We append items to BuildAndTestExtendedRequirements, that need to be performed. -->
100
+ <Property Name="BuildAndTestExtendedRequirements" Value="BuildAndTest $(ProjectName)" />
101
+
102
+ <!-- =============================================================================== -->
103
+ <!-- CONTENT VALIDATION -->
104
+ <!-- =============================================================================== -->
105
+
106
+ <Do If="ContainsItem('$(RequiredEditorPlatforms)', 'Win64', '+')">
107
+ <Agent Name="$(ProjectName) Content Validation" Type="Win64">
108
+ <Node Name="$(ProjectName) Content Validation" Requires="$(PreNodeName)Compile Editor Win64">
109
+ <Property Name="RefExtensionsTypelist" Value=".uasset,.umap,.cpp,.c,.h,.inl,.ini,.uproject,.uplugin,.json"/>
110
+
111
+ <Property Name="CLArgs" Value="-CL=$(Change) -LastGoodContentCLPath=$(NetworkOutputDirectory)/AutoTest/LastGoodContentCL"/>
112
+ <Property Name="CLArgs" Value="-CL=$(PreflightChange) -shelved -SkipPrevCLFileExport" If="$(IsPreflight)" />
113
+ <Property Name="CLArgs" Value="-opened" If="!$(IsBuildMachine)" />
114
+
115
+ <Property Name="CheckAssetReferencesArgs" Value="-Branch=$(Branch) $(CLArgs) -ExtTypeList=&quot;$(RefExtensionsTypelist)&quot; -MaxPackagesToLoad=3000" />
116
+ <Command Name="LyraContentValidation" Arguments="$(CheckAssetReferencesArgs)"/>
117
+ </Node>
118
+ <Label Category="Test" Name="Content Validation" Requires="$(ProjectName) Content Validation" />
119
+ </Agent>
120
+
121
+ <Do If="!$(SkipTest)">
122
+ <!-- Append Content Validation to the list of things to do -->
123
+ <Property Name="BuildAndTestExtendedRequirements" Value="$(BuildAndTestExtendedRequirements);$(ProjectName) Content Validation"/>
124
+ </Do>
125
+ </Do>
126
+
127
+ <!-- =============================================================================== -->
128
+ <!-- LOCALIZATION -->
129
+ <!-- =============================================================================== -->
130
+ <Option Name="SkipLocalization" DefaultValue="false" Description="Should we skip performing a localization gather?"/>
131
+
132
+ <Do If="!$(SkipLocalization) and ContainsItem('$(RequiredEditorPlatforms)', 'Win64', '+')">
133
+
134
+ <Property Name="ProjectsIncludedInLocalization" Value="Game,EngineOverrides"/>
135
+
136
+ <!-- This an example setup for using either XLoc or Crowdin providers to localize your game. -->
137
+
138
+ <!-- XLoc Example -->
139
+
140
+ <Option Name="XLoc_Server" DefaultValue="" Description="XLoc Server"/>
141
+ <Option Name="XLoc_APIKey" DefaultValue="" Description="XLoc API Key"/>
142
+ <Option Name="XLoc_APISecret" DefaultValue="" Description="XLoc API Secret"/>
143
+ <Option Name="XLoc_LocalizationId" DefaultValue="" Description="XLoc LocalizationId"/>
144
+ <Option Name="XLoc_AgentType" DefaultValue="Loc;Win64" Description="XLoc Agent Type"/>
145
+
146
+ <Do If="'$(XLoc_Server)' != '' And '$(XLoc_APIKey)' != '' And '$(XLoc_APISecret)' != '' And '$(XLoc_LocalizationId)' != ''">
147
+ <Agent Name="Localization" Type="$(XLoc_AgentType)">
148
+ <Node Name="$(ProjectName) Localize" Requires="$(PreNodeName)Compile Editor Win64">
149
+ <Command Name="Localize" Arguments="-LocalizationProvider=XLoc_Sample -UEProjectDirectory=$(ProjectPath) -UEProjectName=$(ProjectName) -LocalizationProjectNames=$(ProjectsIncludedInLocalization) -LocalizationBranch=&quot;$(EscapedBranch)&quot; -Server=&quot;$(XLoc_Server)&quot; -APIKey=&quot;$(XLoc_APIKey)&quot; -APISecret=&quot;$(XLoc_APISecret)&quot; -LocalizationId=&quot;$(XLoc_LocalizationId)&quot;" />
150
+ </Node>
151
+ </Agent>
152
+
153
+ <!-- Append Localize to the list of things to do. -->
154
+ <Label Category="Localize" Name="Localize" Requires="$(ProjectName) Localize" />
155
+ <Property Name="BuildAndTestExtendedRequirements" Value="$(BuildAndTestExtendedRequirements);$(ProjectName) Localize"/>
156
+ </Do>
157
+
158
+ <!-- Smartling Example -->
159
+ <Option Name="Smartling_ProjectId" DefaultValue="" Description="Smartling ProjectId"/>
160
+ <Option Name="Smartling_UserId" DefaultValue="" Description="Smartling User Id"/>
161
+ <Option Name="Smartling_APISecret" DefaultValue="" Description="Smartling API Secret"/>
162
+ <Do If="'$(Smartling_ProjectId)' != '' And '$(Smartling_UserId)' != '' And '$(Smartling_APISecret)' != ''">
163
+ <Agent Name="Localization" Type="$(XLoc_AgentType)">
164
+ <Node Name="$(ProjectName) Localize" Requires="$(PreNodeName)Compile Editor Win64">
165
+ <Command Name="Localize" Arguments="-LocalizationProvider=Smartling_Sample -UEProjectDirectory=$(ProjectPath) -UEProjectName=$(ProjectName) -LocalizationProjectNames=$(ProjectsIncludedInLocalization) -LocalizationBranch=&quot;$(EscapedBranch)&quot; -SmartlingProjectId=&quot;$(Smartling_ProjectId)&quot; -SmartlingUserId=&quot;$(Smartling_UserId)&quot; -SmartlingAPISecret=&quot;$(Smartling_APISecret)&quot;" />
166
+ </Node>
167
+ </Agent>
168
+
169
+ <!-- Append Localize to the list of things to do. -->
170
+ <Label Category="Localize" Name="Localize" Requires="$(ProjectName) Localize" />
171
+ <Property Name="BuildAndTestExtendedRequirements" Value="$(BuildAndTestExtendedRequirements);$(ProjectName) Localize"/>
172
+ </Do>
173
+
174
+
175
+ <!-- Crowdin Example -->
176
+
177
+ <Option Name="Crowdin_ProjectId" DefaultValue="" Description="Crowdin ProjectId"/>
178
+ <Option Name="Crowdin_AccessToken" DefaultValue="" Description="Crowdin AccessToken"/>
179
+
180
+ <Do If="'$(Crowdin_ProjectId)' != '' And '$(Crowdin_AccessToken)' != ''">
181
+ <Agent Name="Localization" Type="$(XLoc_AgentType)">
182
+ <Node Name="$(ProjectName) Localize" Requires="$(PreNodeName)Compile Editor Win64">
183
+ <Command Name="Localize" Arguments="-LocalizationProvider=Crowdin_Sample -UEProjectDirectory=$(ProjectPath) -UEProjectName=$(ProjectName) -LocalizationProjectNames=$(ProjectsIncludedInLocalization) -LocalizationBranch=&quot;$(EscapedBranch)&quot; -ProjectId=&quot;$(Crowdin_ProjectId)&quot; -AccessToken=&quot;$(Crowdin_AccessToken)&quot;" />
184
+ </Node>
185
+ </Agent>
186
+
187
+ <!-- Append Localize to the list of things to do. -->
188
+ <Label Category="Localize" Name="Localize" Requires="$(ProjectName) Localize" />
189
+ <Property Name="BuildAndTestExtendedRequirements" Value="$(BuildAndTestExtendedRequirements);$(ProjectName) Localize"/>
190
+ </Do>
191
+
192
+ </Do>
193
+
194
+ <!-- =============================================================================== -->
195
+ <!-- UPDATE ASSET AUDIT COLLECTIONS -->
196
+ <!-- =============================================================================== -->
197
+
198
+ <Do If="!$(SkipUpdateAuditCollections) and ContainsItem('$(TargetPlatforms)', 'Win64', '+')">
199
+ <Agent Name="UpdateAuditCollections" Type="Win64">
200
+ <Node Name="$(ProjectName) UpdateAuditCollections" After="$(PreNodeName)Stage Win64" Produces="#AuditInCookCollection">
201
+ <Property Name="UpdateAuditCollectionsArgs" Value="" />
202
+ <Copy Files="Manifest_UFSFiles_Win64.txt" From="$(NetworkOutputDirectory)/Windows/Staged" To="$(RootDir)/Engine/Programs/AutomationTool/Saved"/>
203
+ <Command Name="Lyra_UpdateAuditCollections" Arguments="$(UpdateAuditCollectionsArgs)"/>
204
+ <Tag Files="$(RootDir)/$(ProjectPath)/Content/Collections/Audit_InCook.collection" With="#AuditInCookCollection"/>
205
+ </Node>
206
+ <Label Category="Clients" Name="UpdateAuditCollections" Requires="$(ProjectName) UpdateAuditCollections"/>
207
+ </Agent>
208
+ <!-- Append Update Audit Collections to the list of things to do -->
209
+ <Property Name="BuildAndTestExtendedRequirements" Value="$(BuildAndTestExtendedRequirements);$(ProjectName) UpdateAuditCollections"/>
210
+ </Do>
211
+
212
+ <!-- =============================================================================== -->
213
+ <!-- DEPLOY TO EPIC GAME STORE -->
214
+ <!-- =============================================================================== -->
215
+
216
+ <Option Name="EpicGameStore_BuildPackageTool_Credentials_Path" DefaultValue="" Description="Epic Games Store's Build Package File Credentials File Path"/>
217
+
218
+ <Do If="'$(UploadArtifactId)' != '' And '$(EpicGameStore_BuildPackageTool_Credentials_Path)' != ''">
219
+
220
+ <Warning If="!Exists('$(EpicGameStore_BuildPackageTool_Credentials_Path)')" Message="EpicGameStore BuildPackageTool Credentials File Not Found!" />
221
+ <Warning If="UploadTargetPlatform == ''" Message="You did not specify the 'UploadTargetPlatform' for the deploying to the Epic Game Store." />
222
+
223
+ <!-- Declare the property, for some reason I have to do it outside the agent? -->
224
+ <Property Name="UploadNodeName" Value="" />
225
+
226
+ <Agent Name="Upload $(TargetName)" Type="Win64">
227
+ <Property Name="PublishNodeName" Value="$(PreNodeName)Publish Staged $(UploadTargetPlatform)" />
228
+ <Property Name="PublishNodeName" Value="$(PublishNodeName) (Horde)" If="$(Horde)"/>
229
+
230
+ <!-- Set UploadPlatform since it isn't always the same as the target -->
231
+ <Property Name="UploadPlatform" Value="$(UploadTargetPlatform)" />
232
+ <Property Name="UploadPlatform" Value="Windows" If="'$(UploadTargetPlatform)' == 'Win64'"/>
233
+
234
+ <Property Name="UploadNodeName" Value="$(ProjectName) Upload $(TargetName) $(UploadTargetPlatform)" />
235
+
236
+ <Node Name="$(UploadNodeName)" Requires="$(PublishNodeName)">
237
+ <Property Name="ConfigurationSuffix" Value="" />
238
+ <Property Name="ConfigurationSuffix" Value="-$(UploadTargetPlatform)-$(UploadConfiguration)" If="'$(UploadConfiguration)' != 'Development' and '$(UploadConfiguration)' != ''" />
239
+ <Property Name="Launch" Value="$(ProjectName)/Binaries/$(UploadTargetPlatform)/$(TargetName)$(ConfigurationSuffix).exe"/>
240
+
241
+ <!-- Copy published files to local agent and tag them for upload -->
242
+ <Switch>
243
+ <Case If="$(Horde)">
244
+ <RetrieveArtifact Name="$(ProjectName)-Staged-$(UploadPlatform)" Type="staged-build" OutputDir="$(ProjectOutputDirectory)/$(UploadPlatform)" />
245
+ </Case>
246
+ <Default>
247
+ <Copy From="$(NetworkOutputDirectory)/$(UploadPlatform)/Staged/..." To="$(ProjectOutputDirectory)/$(UploadPlatform)/..." />
248
+ </Default>
249
+ </Switch>
250
+ <Tag Files="$(ProjectOutputDirectory)/$(UploadPlatform)/..." Except="*.pdb" With="#MainGameFiles"/>
251
+ <Tag Files="$(ProjectOutputDirectory)/$(UploadPlatform)/..." Filter="*.pdb" With="#MainGameSymbols"/>
252
+ <Delete Files="#MainGameSymbols"/>
253
+
254
+ <Property Name="BuildRoot" Value="$(ProjectOutputDirectory)/$(UploadPlatform)"/>
255
+ <Property Name="CloudDir" Value="$(ProjectOutputDirectory)/CloudDir/$(UploadPlatform)"/>
256
+ <Property Name="AppLaunch" Value="$(Launch)"/>
257
+ <Property Name="AppArgs" Value="-installed -GpuPreference=0"/>
258
+ <Property Name="FileAttributeList" Value=""/>
259
+ <Property Name="FileIgnoreList" Value=""/>
260
+ <Property Name="Label" Value="Live"/>
261
+ <Property Name="Platform" Value="Windows"/>
262
+ <Property Name="CommandLineFile" Value="$(EpicGameStore_BuildPackageTool_Credentials_Path)"/>
263
+
264
+ <Command Name="DeployToEpicGameStore" Arguments="-ArtifactId=&quot;$(UploadArtifactId)&quot; -BuildRoot=&quot;$(BuildRoot)&quot; -CloudDir=&quot;$(CloudDir)&quot; -BuildVersion=&quot;$(BuildVersion)&quot; -AppLaunch=&quot;$(AppLaunch)&quot; -AppArgs=&quot;$(AppArgs)&quot; -FileAttributeList=&quot;$(FileAttributeList)&quot; -FileIgnoreList=&quot;$(FileIgnoreList)&quot; -Label=&quot;$(Label)&quot; -Platform=&quot;$(Platform)&quot; -CommandLineFile=&quot;$(CommandLineFile)&quot;" />
265
+ </Node>
266
+ <Label Category="Clients" Name="Publish To Store" Requires="$(UploadNodeName)" />
267
+ </Agent>
268
+
269
+ <!-- Just upload? -->
270
+ <!-- TODO, should we just move these inside the agent? -->
271
+ <Aggregate Name="BuildAndTestWithUpload $(ProjectName)" Requires="BuildAndTest $(ProjectName);$(UploadNodeName)" />
272
+ <Label Category="Upload" Name="Upload $(UploadTargetPlatform)" Requires="$(UploadNodeName)" />
273
+
274
+ <Property Name="BuildAndTestExtendedRequirements" Value="$(BuildAndTestExtendedRequirements);$(UploadNodeName)" If="'$(UploadNodeName)' != ''"/>
275
+ </Do>
276
+
277
+ <!-- =============================================================================== -->
278
+ <!-- =============================================================================== -->
279
+
280
+ <!-- Finally this defines the actual aggregated build command that will run all the requirements. -->
281
+ <Aggregate Name="BuildAndTestExtended $(ProjectName)" Requires="$(BuildAndTestExtendedRequirements)" />
282
+
283
+ <!-- =============================================================================== -->
284
+ <!-- PGO BUILDS -->
285
+ <!-- =============================================================================== -->
286
+
287
+ <Include Script="$(RootDir)/Engine/Build/Graph/Tasks/PGOProfileProject.xml" />
288
+
289
+ <!-- Create simple PGO nodes for all supported platforms -->
290
+ <!-- -->
291
+ <!-- Example: generate PGO training data for Win64 & check it in to Perforce -->
292
+ <!-- RunUAT BuildGraph -script="Samples\Games\Lyra\Build\LyraTests.xml" -target="Lyra PGO Profile Replay Win64" -set:TargetConfigurations=Shipping -set:WithWin64=true -set:PGOAutoSubmitResults=true -->
293
+ <!-- -->
294
+ <!-- Example: generate PGO optimization data, then build a PGO optimized Win64 build -->
295
+ <!-- RunUAT BuildGraph -script="Samples\Games\Lyra\Build\LyraTests.xml" -target="Lyra PGO Optimize Win64" -set:TargetConfigurations=Shipping -set:WithWin64=true -->
296
+ <!-- -->
297
+ <!-- Note: PGO is only supported on Test and Shipping configurations -->
298
+ <ForEach Name="Platform" Values="$(AllPGOPlatforms)" If="ContainsItem('$(TargetConfigurations)','Test','+') or ContainsItem('$(TargetConfigurations)','Shipping','+')">
299
+
300
+ <!-- Set the folder for the local build. Based on StagedPlatformFolder from BuildAndTestProject.xml -->
301
+ <Property Name="StagedPlatformFolder" Value="$(Platform)"/>
302
+ <Property Name="StagedPlatformFolder" Value="Windows" If="'$(Platform)'=='Win64'"/>
303
+ <Property Name="StagedPlatformFolder" Value="$(StagedPlatformFolder)_ETC2" If="'$(Platform)' == 'Android'"/>
304
+ <Property Name="StagedPlatformFolder" Value="$(StagedPlatformFolder)Client" If="'$(TargetType)' == 'Client'" />
305
+
306
+ <!-- Declare a PGO Profiling node that is dependent on a staged build (as defined in BuildAndTestProject.xml). This will also check in updated PGO training data if $(PGOAutoSubmitResults) is true. -->
307
+ <!-- e.g. "Lyra PGO Profile Replay Win64" -->
308
+ <!-- Note that depending on your project and build farm needs this may not be the most efficient approach. Instead of depending on a staged build (which causes it to be recooked if necessary), you may wish to point to a previously-archived build from the same CL -->
309
+ <Expand Name="BasicReplayPGOProfile"
310
+ Platform="$(Platform)"
311
+ Configuration="$(TargetConfigurations)"
312
+ LocalReplay="$(ProjectPath)/Build/Replays/PGO.replay"
313
+ LocalStagingDir="$(ProjectPath)/LocalBuilds/PGO/$(StagedPlatformFolder)"
314
+ Build="$(ProjectPath)/Saved/StagedBuilds/$(StagedPlatformFolder)"
315
+ BuildRequires="$(PreNodeName)Stage $(Platform)"
316
+ CompileArgs="$(GenericCompileArguments) $(ExtraTargetCompileArguments)"
317
+ />
318
+
319
+ <!-- Declare a PGO Optimization node which regenerates the PGO training data first. -->
320
+ <!-- e.g. "Lyra PGO Optimize Win64" -->
321
+ <!-- Note that depending on your project and build farm needs this may not be the most efficient approach. PGO Profiling does not have to occur as frequently as PGO Optimization -->
322
+ <Property Name="HostAgentType" Value="Win64" />
323
+ <Property Name="HostAgentType" Value="Mac" If="'$(Platform)' == 'Mac' or '$(Platform)' == 'IOS' or '$(Platform)' == 'tvOS'"/>
324
+ <Property Name="HostAgentType" Value="Linux" If="'$(Platform)' == 'Linux'"/>
325
+ <Agent Name="PGO Optimize Agent $(Platform)" Type="$(HostAgentType)">
326
+ <Node Name="$(ProjectName) PGO Optimize $(Platform)" Requires="$(PreNodeName)PGO Profile Replay $(Platform)">
327
+ <ForEach Name="Configuration" Values="$(TargetConfigurations)" Separator="+">
328
+ <Compile Target="$(TargetName)" Platform="$(Platform)" Configuration="$(Configuration)" Arguments="$(PGOOptimizeCompileArgs$(Platform)) -BuildVersion=&quot;$(BuildVersion)&quot; $(GenericCompileArguments) $(ExtraTargetCompileArguments)" Tag="#PGO Optimized Binaries $(Platform)"/>
329
+ </ForEach>
330
+ </Node>
331
+ </Agent>
332
+ </ForEach>
333
+ </BuildGraph>
LyraStarterGame/Build/UnrealGameSync.ini ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ [Default]
2
+
3
+ ;[//UE5/Main/Samples/Games/Lyra/Lyra.uproject]
4
+ ;Message=:alert: You can put a message here, including [hyperlinks to docs](http://example.com)
5
+ ;StatusPanelColor=#9b49cc
LyraStarterGame/Config/DefaultDeviceProfiles.ini ADDED
@@ -0,0 +1,571 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [DeviceProfiles]
2
+ ; Add a new mobile type as a base for IOS and Android and several performance buckets
3
+ +DeviceProfileNameAndTypes=Mobile,Mobile
4
+ +DeviceProfileNameAndTypes=IOS_Low,IOS
5
+ +DeviceProfileNameAndTypes=IOS_Mid,IOS
6
+ +DeviceProfileNameAndTypes=IOS_High,IOS
7
+ +DeviceProfileNameAndTypes=IOS_Epic,IOS
8
+
9
+ [GlobalDefaults DeviceProfile]
10
+ ; This section overrides the default texture groups, in this case it defines the UI With Mips category named in DefaultEngine.ini
11
+ ; Any changes here are inherited by any device profiles that do not override this lod group
12
+ +TextureLODGroups=(Group=TEXTUREGROUP_Project01,MinLODSize=32,MaxLODSize=2048,LODBias=0,MipFilter=point,MipGenSettings=TMGS_SimpleAverage)
13
+
14
+
15
+ ; Default settings for all mobile devices
16
+
17
+ [Mobile DeviceProfile]
18
+ DeviceType=Mobile
19
+ BaseProfileName=
20
+ +TextureLODGroups=(Group=TEXTUREGROUP_World,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
21
+ +TextureLODGroups=(Group=TEXTUREGROUP_WorldNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
22
+ +TextureLODGroups=(Group=TEXTUREGROUP_WorldSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
23
+ +TextureLODGroups=(Group=TEXTUREGROUP_Character,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
24
+ +TextureLODGroups=(Group=TEXTUREGROUP_CharacterNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
25
+ +TextureLODGroups=(Group=TEXTUREGROUP_CharacterSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
26
+ +TextureLODGroups=(Group=TEXTUREGROUP_Weapon,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
27
+ +TextureLODGroups=(Group=TEXTUREGROUP_WeaponNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
28
+ +TextureLODGroups=(Group=TEXTUREGROUP_WeaponSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
29
+ +TextureLODGroups=(Group=TEXTUREGROUP_Vehicle,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
30
+ +TextureLODGroups=(Group=TEXTUREGROUP_VehicleNormalMap,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
31
+ +TextureLODGroups=(Group=TEXTUREGROUP_VehicleSpecular,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=1,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
32
+ +TextureLODGroups=(Group=TEXTUREGROUP_Project01,LODBias=0,LODBias_Smaller=-1,LODBias_Smallest=-1,NumStreamedMips=-1,MipGenSettings=TMGS_SimpleAverage,MinLODSize=32,MaxLODSize=1024,MaxLODSize_Smaller=-1,MaxLODSize_Smallest=-1,MaxLODSize_VT=0,OptionalLODBias=0,OptionalMaxLODSize=4096,MinMagFilter="Aniso",MipFilter="point",MipLoadOptions=AllMips,HighPriorityLoad=False,DuplicateNonOptionalMips=False,Downscale=1.000000,DownscaleOptions=SimpleAverage,VirtualTextureTileCountBias=0,VirtualTextureTileSizeBias=0,LossyCompressionAmount=TLCA_Default)
33
+
34
+ ; Settings for GPU particles
35
+ +CVars=FX.AllowGPUParticles=1
36
+ ; Max 256k partices
37
+ +CVars=fx.GPUSimulationTextureSizeX=512
38
+ +CVars=fx.GPUSimulationTextureSizeY=512
39
+
40
+ ; Scalability Groups
41
+ +CVars=sg.ViewDistanceQuality=0
42
+ +CVars=sg.AntiAliasingQuality=0
43
+ +CVars=sg.ShadowQuality=0
44
+ +CVars=sg.PostProcessQuality=0
45
+ +CVars=sg.TextureQuality=0
46
+ +CVars=sg.EffectsQuality=0
47
+ +CVars=sg.FoliageQuality=0
48
+ ; Dump shaders for non-active material qualities on load
49
+ +CVars=r.DiscardUnusedQuality=1
50
+ ; Settings we want disabled globally / not set by scalability
51
+ +CVars=r.DetailMode=0
52
+ ; Cook out emitters that don't match the device's detail mode
53
+ +CVars=fx.PruneEmittersOnCookByDetailMode=1
54
+ +CVars=r.CookOutUnusedDetailModeComponents=1
55
+
56
+ ; Default all devices to 30fps vsync
57
+ +CVars=r.VSync=1
58
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=30
59
+
60
+ ; Animation - Frame Stripping on mobile to save memory
61
+ +CVars=a.StripFramesOnCompression=1
62
+ +CVars=a.StripOddFramesWhenFrameStripping=1
63
+ +CVars=r.RenderTargetPoolMin=150
64
+ ; Allow time-critical textures to be streamed in quickly on platforms with long streaming update cycle
65
+ +CVars=r.Streaming.AllowFastForceResident=1
66
+ +CVars=r.Streaming.PoolSizeForMeshes=25
67
+ ; Do not use Slate background blur on mobile
68
+ +CVars=Slate.ForceBackgroundBlurLowQualityOverride=1
69
+ ; Use default setting (1) on mobile, engine will add additional buffering when required
70
+ +CVars=r.NumBufferedOcclusionQueries=1
71
+
72
+ [IOS DeviceProfile]
73
+ DeviceType=IOS
74
+ BaseProfileName=Mobile
75
+
76
+ ; Dynamic res/temporal upsampling for 30FPS, 900p output res
77
+ +CVars=r.DynamicRes.TargetedGPUHeadRoomPercentage=5.0
78
+ +CVars=r.DynamicRes.MinScreenPercentage=50
79
+ +CVars=r.DynamicRes.OperationMode=1
80
+ +CVars=r.SecondaryScreenPercentage.GameViewport=83.33
81
+
82
+ ; ------------------------------------------------------------------------------
83
+ ; iOS: Scalability buckets for low/med/high
84
+ ; ------------------------------------------------------------------------------
85
+
86
+ [IOS_Low DeviceProfile]
87
+ BaseProfileName=IOS
88
+ +CVars=sg.ViewDistanceQuality=0
89
+ +CVars=sg.AntiAliasingQuality=0
90
+ +CVars=sg.ShadowQuality=0
91
+ +CVars=sg.PostProcessQuality=0
92
+ +CVars=sg.TextureQuality=0
93
+ +CVars=sg.EffectsQuality=0
94
+ +CVars=sg.FoliageQuality=0
95
+ +CVars=r.RenderTargetPoolMin=75
96
+ +CVars=r.NumBufferedOcclusionQueries=2
97
+ +CVars=s.PriorityAsyncLoadingExtraTime=15.0
98
+
99
+ [IOS_Mid DeviceProfile]
100
+ BaseProfileName=IOS
101
+ +CVars=sg.ViewDistanceQuality=1
102
+ +CVars=sg.AntiAliasingQuality=1
103
+ +CVars=sg.ShadowQuality=1
104
+ +CVars=sg.PostProcessQuality=1
105
+ +CVars=sg.TextureQuality=1
106
+ +CVars=sg.EffectsQuality=1
107
+ +CVars=sg.FoliageQuality=1
108
+ +CVars=sg.ShadowQuality.Frontend=0
109
+ +CVars=r.RenderTargetPoolMin=100
110
+
111
+ +CVars=r.MobileContentScaleFactor=1.5
112
+ +CVars=r.Streaming.PoolSize=85
113
+ +CVars=grass.densityScale=0
114
+ +CVars=grass.DiscardDataOnLoad=1
115
+ +CVars=foliage.densityScale=0
116
+ +CVars=foliage.DiscardDataOnLoad=1
117
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
118
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
119
+
120
+ ; Anim dynamics is enabled, but only on LOD0
121
+ +CVars=p.AnimDynamics=1
122
+ +CVars=p.AnimDynamicsLODThreshold=0
123
+ ; Rigid body is actually enabled in IOS_Mid
124
+ +CVars=p.RigidBodyLODThreshold=0
125
+
126
+ [IOS_High DeviceProfile]
127
+ BaseProfileName=IOS
128
+ +CVars=sg.ViewDistanceQuality=2
129
+ +CVars=sg.AntiAliasingQuality=2
130
+ +CVars=sg.ShadowQuality=2
131
+ +CVars=sg.PostProcessQuality=2
132
+ +CVars=sg.TextureQuality=2
133
+ +CVars=sg.EffectsQuality=2
134
+ +CVars=sg.FoliageQuality=2
135
+ +CVars=sg.ShadowQuality.Frontend=0
136
+ +CVars=r.RenderTargetPoolMin=150
137
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
138
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
139
+ +CVars=p.RigidBodyNode=1
140
+ ; TAA
141
+ +CVars=r.Mobile.AntiAliasing=2
142
+
143
+ [IOS_Epic DeviceProfile]
144
+ BaseProfileName=IOS
145
+ +CVars=sg.ViewDistanceQuality=3
146
+ +CVars=sg.AntiAliasingQuality=3
147
+ +CVars=sg.ShadowQuality=3
148
+ +CVars=sg.PostProcessQuality=3
149
+ +CVars=sg.TextureQuality=3
150
+ +CVars=sg.EffectsQuality=3
151
+ +CVars=sg.FoliageQuality=3
152
+ +CVars=sg.ShadowQuality.Frontend=0
153
+ +CVars=r.RenderTargetPoolMin=200
154
+ +CVars=p.RigidBodyNode=1
155
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
156
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:2
157
+ ; TAA
158
+ +CVars=r.Mobile.AntiAliasing=2
159
+
160
+ ; ------------------------------------------------------------------------------
161
+ ; iOS: Low spec devices
162
+ ; ------------------------------------------------------------------------------
163
+
164
+ [iPhone6S DeviceProfile]
165
+ BaseProfileName=IOS_Low
166
+ +CVars=r.MobileContentScaleFactor=1.5
167
+ +CVars=sg.ResolutionQuality=70
168
+
169
+ [iPhone6SPlus DeviceProfile]
170
+ BaseProfileName=IOS_Low
171
+ +CVars=r.MobileContentScaleFactor=1.28
172
+
173
+ [iPhoneSE DeviceProfile]
174
+ BaseProfileName=IOS_Low
175
+ +CVars=r.MobileContentScaleFactor=1.5
176
+
177
+ [iPad5 DeviceProfile]
178
+ BaseProfileName=IOS_Low
179
+ +CVars=r.MobileContentScaleFactor=1.0
180
+ +CVars=sg.ResolutionQuality=85
181
+
182
+ [iPadAir2 DeviceProfile]
183
+ BaseProfileName=IOS_Low
184
+ +CVars=r.MobileContentScaleFactor=1.0
185
+ +CVars=sg.ResolutionQuality=75
186
+
187
+ [iPadMini4 DeviceProfile]
188
+ BaseProfileName=IOS_Low
189
+ +CVars=r.MobileContentScaleFactor=1.0
190
+
191
+ [AppleTV DeviceProfile]
192
+ BaseProfileName=IOS_Low
193
+ +CVars=r.MobileContentScaleFactor=1.0
194
+ +CVars=ios.PhysicalScreenDensity=0
195
+
196
+ ; ------------------------------------------------------------------------------
197
+ ; iOS: Mid spec devices
198
+ ; ------------------------------------------------------------------------------
199
+
200
+ [iPodTouch7 DeviceProfile]
201
+ BaseProfileName=IOS_Mid
202
+ +CVars=r.MobileContentScaleFactor=1.6
203
+
204
+ [iPhone7 DeviceProfile]
205
+ BaseProfileName=IOS_Low
206
+ +CVars=r.MobileContentScaleFactor=1.6
207
+
208
+ [iPhone7Plus DeviceProfile]
209
+ BaseProfileName=IOS_Low
210
+ +CVars=r.MobileContentScaleFactor=1.5
211
+
212
+ [iPadPro129 DeviceProfile]
213
+ BaseProfileName=IOS_Mid
214
+ +CVars=r.MobileContentScaleFactor=1.0
215
+
216
+ [iPadPro97 DeviceProfile]
217
+ BaseProfileName=IOS_Mid
218
+ +CVars=r.MobileContentScaleFactor=1.25
219
+
220
+ [iPad6 DeviceProfile]
221
+ BaseProfileName=IOS_Low
222
+ +CVars=r.MobileContentScaleFactor=1.0
223
+
224
+ [AppleTV4K DeviceProfile]
225
+ BaseProfileName=IOS_Mid
226
+ +CVars=r.MobileContentScaleFactor=1.0
227
+ +CVars=ios.PhysicalScreenDensity=0
228
+
229
+
230
+ ; ------------------------------------------------------------------------------
231
+ ; iOS: High spec devices
232
+ ; ------------------------------------------------------------------------------
233
+
234
+ [iPhone8 DeviceProfile]
235
+ BaseProfileName=IOS_Low
236
+ +CVars=r.MobileContentScaleFactor=1.6
237
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
238
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:0
239
+
240
+ [iPhone8Plus DeviceProfile]
241
+ BaseProfileName=IOS_High
242
+ +CVars=r.MobileContentScaleFactor=1.956
243
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
244
+
245
+ [iPadPro2_129 DeviceProfile]
246
+ BaseProfileName=IOS_High
247
+ +CVars=r.MobileContentScaleFactor=1.23
248
+
249
+ [iPadPro105 DeviceProfile]
250
+ BaseProfileName=IOS_High
251
+ +CVars=r.MobileContentScaleFactor=1.3
252
+
253
+ [iPhoneX DeviceProfile]
254
+ BaseProfileName=IOS_Mid
255
+ +CVars=r.MobileContentScaleFactor=1.775
256
+ ; non-notch side
257
+ +CVars=SafeZone.Landscape.Left=15
258
+ +CVars=SafeZone.Landscape.Top=5
259
+ ; notch side
260
+ +CVars=SafeZone.Landscape.Right=26
261
+ +CVars=SafeZone.Landscape.Bottom=15
262
+ +CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=60:75
263
+
264
+ [iPad7 DeviceProfile]
265
+ BaseProfileName=IOS_High
266
+ +CVars=r.MobileContentScaleFactor=1.23
267
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
268
+
269
+ [iPad8 DeviceProfile]
270
+ BaseProfileName=IOS_High
271
+ +CVars=r.MobileContentScaleFactor=1.23
272
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
273
+
274
+ [iPad9 DeviceProfile]
275
+ BaseProfileName=IOS_High
276
+ +CVars=r.MobileContentScaleFactor=1.23
277
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
278
+
279
+ ; ------------------------------------------------------------------------------
280
+ ; iOS: Epic spec devices
281
+ ; ------------------------------------------------------------------------------
282
+
283
+ [iPadPro11 DeviceProfile]
284
+ BaseProfileName=IOS_Epic
285
+ +CVars=r.MobileContentScaleFactor=2.0
286
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
287
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
288
+ +CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
289
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
290
+
291
+ [iPadPro2_11 DeviceProfile]
292
+ BaseProfileName=IOS_Epic
293
+ +CVars=r.MobileContentScaleFactor=2.0
294
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
295
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
296
+ +CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
297
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
298
+
299
+ [iPadPro3_11 DeviceProfile]
300
+ BaseProfileName=IOS_Epic
301
+ +CVars=r.MobileContentScaleFactor=2.0
302
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
303
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
304
+ +CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
305
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
306
+
307
+ [iPadPro3_129 DeviceProfile]
308
+ BaseProfileName=IOS_Epic
309
+ +CVars=r.MobileContentScaleFactor=1.75
310
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
311
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
312
+ +CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
313
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
314
+
315
+ [iPadPro4_129 DeviceProfile]
316
+ BaseProfileName=IOS_Epic
317
+ +CVars=r.MobileContentScaleFactor=1.75
318
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=120
319
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=120:1
320
+ +CVars=Lyra.DeviceProfile.Mobile.ResolutionQualityLimits=120:50
321
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
322
+
323
+ [iPhoneXS DeviceProfile]
324
+ BaseProfileName=IOS_High
325
+ +CVars=r.MobileContentScaleFactor=1.775
326
+ ; non-notch side
327
+ +CVars=SafeZone.Landscape.Left=15
328
+ +CVars=SafeZone.Landscape.Top=5
329
+ ; notch side
330
+ +CVars=SafeZone.Landscape.Right=26
331
+ +CVars=SafeZone.Landscape.Bottom=15
332
+
333
+ [iPhoneXSMax DeviceProfile]
334
+ BaseProfileName=IOS_High
335
+ ; scale to have the same backbuffer resolution as XS.
336
+ +CVars=r.MobileContentScaleFactor=1.6
337
+ ; non-notch side
338
+ +CVars=SafeZone.Landscape.Left=15
339
+ +CVars=SafeZone.Landscape.Top=5
340
+ ; notch side
341
+ +CVars=SafeZone.Landscape.Right=26
342
+ +CVars=SafeZone.Landscape.Bottom=15
343
+
344
+ [iPhoneXR DeviceProfile]
345
+ BaseProfileName=IOS_Mid
346
+ +CVars=r.MobileContentScaleFactor=1.775
347
+ ; non-notch side
348
+ +CVars=SafeZone.Landscape.Left=15
349
+ +CVars=SafeZone.Landscape.Top=5
350
+ ; notch side
351
+ +CVars=SafeZone.Landscape.Right=26
352
+ +CVars=SafeZone.Landscape.Bottom=15
353
+
354
+ [iPhone11Pro DeviceProfile]
355
+ BaseProfileName=IOS_High
356
+ +CVars=r.MobileContentScaleFactor=1.775
357
+ ; non-notch side
358
+ +CVars=SafeZone.Landscape.Left=15
359
+ +CVars=SafeZone.Landscape.Top=5
360
+ ; notch side
361
+ +CVars=SafeZone.Landscape.Right=26
362
+ +CVars=SafeZone.Landscape.Bottom=15
363
+
364
+ [iPhone11ProMax DeviceProfile]
365
+ BaseProfileName=IOS_High
366
+ ; scale to have the same backbuffer resolution as XS.
367
+ +CVars=r.MobileContentScaleFactor=1.6
368
+ ; non-notch side
369
+ +CVars=SafeZone.Landscape.Left=15
370
+ +CVars=SafeZone.Landscape.Top=5
371
+ ; notch side
372
+ +CVars=SafeZone.Landscape.Right=26
373
+ +CVars=SafeZone.Landscape.Bottom=15
374
+
375
+ [iPhone11 DeviceProfile]
376
+ BaseProfileName=IOS_High
377
+ +CVars=r.MobileContentScaleFactor=1.775
378
+ ; non-notch side
379
+ +CVars=SafeZone.Landscape.Left=15
380
+ +CVars=SafeZone.Landscape.Top=5
381
+ ; notch side
382
+ +CVars=SafeZone.Landscape.Right=26
383
+ +CVars=SafeZone.Landscape.Bottom=15
384
+
385
+ [iPhone12 DeviceProfile]
386
+ BaseProfileName=IOS_High
387
+ +CVars=r.MobileContentScaleFactor=1.775
388
+ ; non-notch side
389
+ +CVars=SafeZone.Landscape.Left=15
390
+ +CVars=SafeZone.Landscape.Top=5
391
+ ; notch side
392
+ +CVars=SafeZone.Landscape.Right=26
393
+ +CVars=SafeZone.Landscape.Bottom=15
394
+
395
+ [iPhone12Pro DeviceProfile]
396
+ BaseProfileName=IOS_High
397
+ +CVars=r.MobileContentScaleFactor=1.775
398
+ ; non-notch side
399
+ +CVars=SafeZone.Landscape.Left=15
400
+ +CVars=SafeZone.Landscape.Top=5
401
+ ; notch side
402
+ +CVars=SafeZone.Landscape.Right=26
403
+ +CVars=SafeZone.Landscape.Bottom=15
404
+
405
+ [iPhone12ProMax DeviceProfile]
406
+ BaseProfileName=IOS_High
407
+ ; scale to have the same backbuffer resolution as XS.
408
+ +CVars=r.MobileContentScaleFactor=1.6
409
+ ; non-notch side
410
+ +CVars=SafeZone.Landscape.Left=15
411
+ +CVars=SafeZone.Landscape.Top=5
412
+ ; notch side
413
+ +CVars=SafeZone.Landscape.Right=26
414
+ +CVars=SafeZone.Landscape.Bottom=15
415
+
416
+ [iPhone12Mini DeviceProfile]
417
+ BaseProfileName=IOS_High
418
+ ; scale to have the same backbuffer resolution as XS.
419
+ +CVars=r.MobileContentScaleFactor=1.6
420
+ ; non-notch side
421
+ +CVars=SafeZone.Landscape.Left=15
422
+ +CVars=SafeZone.Landscape.Top=5
423
+ ; notch side
424
+ +CVars=SafeZone.Landscape.Right=26
425
+ +CVars=SafeZone.Landscape.Bottom=15
426
+
427
+ [iPhone13 DeviceProfile]
428
+ BaseProfileName=IOS_Epic
429
+ +CVars=r.MobileContentScaleFactor=1.775
430
+ ; non-notch side
431
+ +CVars=SafeZone.Landscape.Left=15
432
+ +CVars=SafeZone.Landscape.Top=5
433
+ ; notch side
434
+ +CVars=SafeZone.Landscape.Right=26
435
+ +CVars=SafeZone.Landscape.Bottom=15
436
+
437
+ [iPhone13Pro DeviceProfile]
438
+ BaseProfileName=IOS_Epic
439
+ +CVars=r.MobileContentScaleFactor=1.775
440
+ ; non-notch side
441
+ +CVars=SafeZone.Landscape.Left=15
442
+ +CVars=SafeZone.Landscape.Top=5
443
+ ; notch side
444
+ +CVars=SafeZone.Landscape.Right=26
445
+ +CVars=SafeZone.Landscape.Bottom=15
446
+
447
+ [iPhone13ProMax DeviceProfile]
448
+ BaseProfileName=IOS_Epic
449
+ ; scale to have the same backbuffer resolution as XS.
450
+ +CVars=r.MobileContentScaleFactor=1.6
451
+ ; non-notch side
452
+ +CVars=SafeZone.Landscape.Left=15
453
+ +CVars=SafeZone.Landscape.Top=5
454
+ ; notch side
455
+ +CVars=SafeZone.Landscape.Right=26
456
+ +CVars=SafeZone.Landscape.Bottom=15
457
+
458
+ [iPhone13Mini DeviceProfile]
459
+ BaseProfileName=IOS_Epic
460
+ ; scale to have the same backbuffer resolution as XS.
461
+ +CVars=r.MobileContentScaleFactor=1.6
462
+ ; non-notch side
463
+ +CVars=SafeZone.Landscape.Left=15
464
+ +CVars=SafeZone.Landscape.Top=5
465
+ ; notch side
466
+ +CVars=SafeZone.Landscape.Right=26
467
+ +CVars=SafeZone.Landscape.Bottom=15
468
+
469
+ [iPhoneSE2 DeviceProfile]
470
+ BaseProfileName=IOS_High
471
+ +CVars=r.MobileContentScaleFactor=1.775
472
+
473
+ [iPadAir3 DeviceProfile]
474
+ BaseProfileName=IOS_Mid
475
+ +CVars=r.MobileContentScaleFactor=2.0
476
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
477
+
478
+ [iPadAir4 DeviceProfile]
479
+ BaseProfileName=IOS_Mid
480
+ +CVars=r.MobileContentScaleFactor=2.0
481
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
482
+
483
+ [iPadMini5 DeviceProfile]
484
+ BaseProfileName=IOS_Mid
485
+ +CVars=r.MobileContentScaleFactor=2.0
486
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
487
+
488
+ [iPadMini6 DeviceProfile]
489
+ BaseProfileName=IOS_High
490
+ +CVars=r.MobileContentScaleFactor=2.0
491
+ +CVars=Lyra.DeviceProfile.Mobile.DefaultFrameRate=60
492
+
493
+ ; TODO: Fill in Android device profiles
494
+
495
+ [Android DeviceProfile]
496
+ DeviceType=Android
497
+ BaseProfileName=Mobile
498
+
499
+ [Android_Low DeviceProfile]
500
+ BaseProfileName=Android
501
+ +CVars=sg.ViewDistanceQuality=0
502
+ +CVars=sg.AntiAliasingQuality=0
503
+ +CVars=sg.ShadowQuality=0
504
+ +CVars=sg.PostProcessQuality=0
505
+ +CVars=sg.TextureQuality=0
506
+ +CVars=sg.EffectsQuality=0
507
+ +CVars=sg.FoliageQuality=0
508
+ +CVars=r.RenderTargetPoolMin=75
509
+ +CVars=r.NumBufferedOcclusionQueries=2
510
+ +CVars=s.PriorityAsyncLoadingExtraTime=15.0
511
+
512
+ [Android_Mid DeviceProfile]
513
+ BaseProfileName=Android
514
+ +CVars=sg.ViewDistanceQuality=1
515
+ +CVars=sg.AntiAliasingQuality=1
516
+ +CVars=sg.ShadowQuality=1
517
+ +CVars=sg.PostProcessQuality=1
518
+ +CVars=sg.TextureQuality=1
519
+ +CVars=sg.EffectsQuality=1
520
+ +CVars=sg.FoliageQuality=1
521
+ +CVars=sg.ShadowQuality.Frontend=0
522
+ +CVars=r.RenderTargetPoolMin=100
523
+
524
+ +CVars=r.MobileContentScaleFactor=1.5
525
+ +CVars=r.Streaming.PoolSize=85
526
+ +CVars=grass.densityScale=0
527
+ +CVars=grass.DiscardDataOnLoad=1
528
+ +CVars=foliage.densityScale=0
529
+ +CVars=foliage.DiscardDataOnLoad=1
530
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
531
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
532
+
533
+ ; Anim dynamics is enabled, but only on LOD0
534
+ +CVars=p.AnimDynamics=1
535
+ +CVars=p.AnimDynamicsLODThreshold=0
536
+ ; Rigid body is actually enabled in IOS_Mid
537
+ +CVars=p.RigidBodyLODThreshold=0
538
+
539
+ [Android_High DeviceProfile]
540
+ BaseProfileName=Android
541
+ +CVars=sg.ViewDistanceQuality=2
542
+ +CVars=sg.AntiAliasingQuality=2
543
+ +CVars=sg.ShadowQuality=2
544
+ +CVars=sg.PostProcessQuality=2
545
+ +CVars=sg.TextureQuality=2
546
+ +CVars=sg.EffectsQuality=2
547
+ +CVars=sg.FoliageQuality=2
548
+ +CVars=sg.ShadowQuality.Frontend=0
549
+ +CVars=r.RenderTargetPoolMin=150
550
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
551
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:1
552
+ ; TAA
553
+ +CVars=r.Mobile.AntiAliasing=2
554
+
555
+ [Android_Epic DeviceProfile]
556
+ BaseProfileName=Android
557
+ +CVars=sg.ViewDistanceQuality=3
558
+ +CVars=sg.AntiAliasingQuality=3
559
+ +CVars=sg.ShadowQuality=3
560
+ +CVars=sg.PostProcessQuality=3
561
+ +CVars=sg.TextureQuality=3
562
+ +CVars=sg.EffectsQuality=3
563
+ +CVars=sg.FoliageQuality=3
564
+ +CVars=sg.ShadowQuality.Frontend=0
565
+ +CVars=r.RenderTargetPoolMin=200
566
+ +CVars=p.RigidBodyNode=1
567
+ +CVars=Lyra.DeviceProfile.Mobile.MaxFrameRate=60
568
+ +CVars=Lyra.DeviceProfile.Mobile.OverallQualityLimits=60:2
569
+ +CVars=r.Android.DisableVulkanSupport=0
570
+ ; TAA
571
+ +CVars=r.Mobile.AntiAliasing=2
LyraStarterGame/Config/DefaultEditor.ini ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ; This sets the default classes that appear in the new blueprint dialogue
3
+
4
+ [/Script/UnrealEd.UnrealEdOptions]
5
+ !NewAssetDefaultClasses=ClearArray
6
+ +NewAssetDefaultClasses=(ClassName="/Script/LyraGame.LyraCharacter", AssetClass="/Script/Engine.Blueprint")
7
+ +NewAssetDefaultClasses=(ClassName="/Script/LyraGame.LyraGameMode", AssetClass="/Script/Engine.Blueprint")
8
+ +NewAssetDefaultClasses=(ClassName="/Script/LyraGame.LyraGameplayAbility", AssetClass="/Script/Engine.Blueprint")
9
+ +NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayEffect", AssetClass="/Script/Engine.Blueprint")
10
+ +NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayCueNotify_Burst", AssetClass="/Script/Engine.Blueprint")
11
+ +NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayCueNotify_BurstLatent", AssetClass="/Script/Engine.Blueprint")
12
+ +NewAssetDefaultClasses=(ClassName="/Script/GameplayAbilities.GameplayCueNotify_Looping", AssetClass="/Script/Engine.Blueprint")
13
+
14
+ ; Clears out the list of UI folders to always cook, which is a backward compatibility feature
15
+
16
+ [UI]
17
+ !ContentDirectories=ClearArray
18
+
19
+ [/Script/CommonUI.CommonUIEditorSettings]
20
+ TemplateTextStyle=/Game/UI/Foundation/Text/TextStyle-Regular.TextStyle-Regular_C
21
+ TemplateButtonStyle=/Game/UI/Foundation/Buttons/ButtonStyle-Primary-M.ButtonStyle-Primary-M_C
22
+
23
+ ; These settings hide some of the engine default widgets so the common UI ones are chosen instead
24
+
25
+ [/Script/UMGEditor.UMGEditorProjectSettings]
26
+ DefaultCompilerOptions=(bAllowBlueprintTick=True,bAllowBlueprintPaint=True,PropertyBindingRule=Prevent,Rules=)
27
+ bShowWidgetsFromEngineContent=False
28
+ bShowWidgetsFromDeveloperContent=True
29
+ +WidgetClassesToHide=/Script/UMG.WidgetSwitcher
30
+ +WidgetClassesToHide=/Script/UMG.TextBlock
31
+ bUseWidgetTemplateSelector=False
32
+ DefaultRootWidget=None
33
+ +DebugResolutions=(Width=3840,Height=2160,Description="",Color=(R=0.745404,G=0.904661,B=1.000000,A=1.000000))
34
+ +DebugResolutions=(Width=3440,Height=1440,Description="",Color=(R=0.439657,G=0.783538,B=0.982251,A=1.000000))
35
+ +DebugResolutions=(Width=2560,Height=1440,Description="",Color=(R=0.208637,G=0.644480,B=0.973445,A=1.000000))
36
+ +DebugResolutions=(Width=1440,Height=2560,Description="",Color=(R=0.215861,G=0.651406,B=0.973445,A=1.000000))
37
+ +DebugResolutions=(Width=2560,Height=1080,Description="",Color=(R=0.064803,G=0.539479,B=0.955973,A=1.000000))
38
+ +DebugResolutions=(Width=2048,Height=1536,Description="",Color=(R=0.009134,G=0.462077,B=0.947307,A=1.000000))
39
+ +DebugResolutions=(Width=1536,Height=2048,Description="",Color=(R=0.009134,G=0.462077,B=0.947307,A=1.000000))
40
+ +DebugResolutions=(Width=1920,Height=1080,Description="",Color=(R=0.000000,G=0.386429,B=0.930111,A=1.000000))
41
+ +DebugResolutions=(Width=1080,Height=1920,Description="",Color=(R=0.000000,G=0.386429,B=0.930111,A=1.000000))
42
+ +DebugResolutions=(Width=1280,Height=720,Description="",Color=(R=0.000000,G=0.318547,B=0.806952,A=1.000000))
43
+ +DebugResolutions=(Width=720,Height=1280,Description="",Color=(R=0.000000,G=0.318547,B=0.806952,A=1.000000))
44
+ +DebugResolutions=(Width=1136,Height=640,Description="",Color=(R=0.000000,G=0.238398,B=0.658375,A=1.000000))
45
+ +DebugResolutions=(Width=640,Height=1136,Description="",Color=(R=0.000000,G=0.238398,B=0.658375,A=1.000000))
46
+
47
+ [/Script/Localization.LocalizationSettings]
48
+ -EngineTargetsSettings=(Name="Engine",Guid=33482D004789784C9DA695A682ACCA1B,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Runtime/"),(Path="Source/Developer/"),(Path="Config/")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*"),(Pattern="Source/Developer/NoRedist/UnrealEngineLauncherServices/*"),(Pattern="Source/Developer/NoRedist/BuildPatchServices/*")),FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/*")),ExcludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Tutorial/*"),(Pattern="Content/Developers/*"),(Pattern="Content/TestPackages/*"),(Pattern="Content/QA_Assets/*"),(Pattern="Content/Maps/Automation/*"),(Pattern="Content/EngineSounds/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
49
+ -EngineTargetsSettings=(Name="Editor",Guid=AC8BFD2A41A2FB2893BB8EA0AF903E6D,TargetDependencies=(33482D004789784C9DA695A682ACCA1B),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Editor/")),ExcludePathWildcards=,FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm"))),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Editor*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
50
+ -EngineTargetsSettings=(Name="EditorTutorials",Guid=00F8E3AD47F0A73D50D46881C14DF28F,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=("IntroTutorials"),GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Tutorial/*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
51
+ -EngineTargetsSettings=(Name="PropertyNames",Guid=E391A8B149980E8154E056AF2DA49479,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="DisplayName"),TextNamespace="UObjectDisplayNames",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
52
+ -EngineTargetsSettings=(Name="ToolTips",Guid=0F116534468918AEA432DD8C77703BA8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="ToolTip"),TextNamespace="UObjectToolTips",TextKeyPattern=(Pattern="{FieldPath}")),(MetaDataKey=(Name="ShortToolTip"),TextNamespace="UObjectShortToolTips",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
53
+ -EngineTargetsSettings=(Name="Keywords",Guid=AE89AECB47475F420D0D69A5547515DC,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=True),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Keywords"),TextNamespace="UObjectKeywords",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
54
+ -EngineTargetsSettings=(Name="Category",Guid=14B8DEE642A6A7AFEB5A28B959EC373A,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Category"),TextNamespace="UObjectCategory",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-CN")))
55
+ +EngineTargetsSettings=(Name="Engine",Guid=33482D004789784C9DA695A682ACCA1B,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Runtime/"),(Path="Source/Developer/"),(Path="Config/")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*"),(Pattern="Source/Developer/NoRedist/UnrealEngineLauncherServices/*"),(Pattern="Source/Developer/NoRedist/BuildPatchServices/*")),FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/*")),ExcludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Tutorial/*"),(Pattern="Content/Developers/*"),(Pattern="Content/TestPackages/*"),(Pattern="Content/QA_Assets/*"),(Pattern="Content/Maps/Automation/*"),(Pattern="Content/EngineSounds/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
56
+ +EngineTargetsSettings=(Name="Editor",Guid=AC8BFD2A41A2FB2893BB8EA0AF903E6D,TargetDependencies=(33482D004789784C9DA695A682ACCA1B),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source/Editor/")),ExcludePathWildcards=,FileExtensions=((Pattern="cpp"),(Pattern="h"),(Pattern="c"),(Pattern="inl"),(Pattern="mm")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Editor/*"),(Pattern="Content/Editor*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
57
+ +EngineTargetsSettings=(Name="EditorTutorials",Guid=00F8E3AD47F0A73D50D46881C14DF28F,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=("IntroTutorials"),GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/Tutorial/*")),ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
58
+ +EngineTargetsSettings=(Name="PropertyNames",Guid=E391A8B149980E8154E056AF2DA49479,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="DisplayName"),TextNamespace="UObjectDisplayNames",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
59
+ +EngineTargetsSettings=(Name="ToolTips",Guid=0F116534468918AEA432DD8C77703BA8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="ToolTip"),TextNamespace="UObjectToolTips",TextKeyPattern=(Pattern="{FieldPath}")),(MetaDataKey=(Name="ShortToolTip"),TextNamespace="UObjectShortToolTips",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
60
+ +EngineTargetsSettings=(Name="Keywords",Guid=AE89AECB47475F420D0D69A5547515DC,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=True,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Keywords"),TextNamespace="UObjectKeywords",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
61
+ +EngineTargetsSettings=(Name="Category",Guid=14B8DEE642A6A7AFEB5A28B959EC373A,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=False,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=True,IncludePathWildcards=((Pattern="Source/Editor/*"),(Pattern="Source/Runtime/*"),(Pattern="Source/Developer/*")),ExcludePathWildcards=((Pattern="Source/Developer/NoRedist/CommunityPortalServices/*")),KeySpecifications=((MetaDataKey=(Name="Category"),TextNamespace="UObjectCategory",TextKeyPattern=(Pattern="{FieldPath}"))),ShouldGatherFromEditorOnlyData=True),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="es"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="zh-Hans")))
62
+ -GameTargetsSettings=(Name="Game",Guid=AE0EA34A45461A25BA65A391026F19F8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=False,SearchDirectories=,ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini"))),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,FileExtensions=((Pattern="umap"),(Pattern="uasset")),ShouldGatherFromEditorOnlyData=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=False),NativeCultureIndex=-1,SupportedCulturesStatistics=((CultureName="en")))
63
+ +GameTargetsSettings=(Name="Game",Guid=AE0EA34A45461A25BA65A391026F19F8,TargetDependencies=(33482D004789784C9DA695A682ACCA1B,AC8BFD2A41A2FB2893BB8EA0AF903E6D),AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((Path="Source"),(Path="Config"),(Path="Plugins"),(PathRoot=Engine,Path="Source/Runtime/InputCore")),ExcludePathWildcards=((Pattern="Config/NoRedist/*"),(Pattern="Source/LyraEditor/*"),(Pattern="Plugins/PlayInEditorWizard/*"),(Pattern="Plugins/LyraExtTool/*")),FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=True,IncludePathWildcards=((Pattern="Content/*"),(PathRoot=Project,Pattern="Plugins/GameFeatures/*")),ExcludePathWildcards=((Pattern="Content/Developers/*"),(Pattern="Content/*Test*"),(Pattern="Content/L10N/*"),(Pattern="Content/Tools/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=("Audit_InCook"),ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=False,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=False),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=True,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="ar"),(CultureName="fr"),(CultureName="zh-Hans"),(CultureName="de"),(CultureName="it"),(CultureName="ja"),(CultureName="ko"),(CultureName="pt-BR"),(CultureName="pl"),(CultureName="ru"),(CultureName="es-419"),(CultureName="es"),(CultureName="tr")))
64
+ +GameTargetsSettings=(Name="EngineOverrides",Guid=5C65B52E4F69C2CF62360A9D4F62BC6E,TargetDependencies=,AdditionalManifestDependencies=,RequiredModuleNames=,GatherFromTextFiles=(IsEnabled=True,SearchDirectories=((PathRoot=Engine,Path="Source/Runtime/RHI"),(PathRoot=Engine,Path="Source/Runtime/InputCore"),(PathRoot=Engine,Path="Source/Runtime/Online/BuildPatchServices/Private"),(PathRoot=Engine,Path="Source/Runtime/Core/Private/GenericPlatform")),ExcludePathWildcards=,FileExtensions=((Pattern="h"),(Pattern="cpp"),(Pattern="ini")),ShouldGatherFromEditorOnlyData=False),GatherFromPackages=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=((Pattern="Content/L10N/*")),FileExtensions=((Pattern="umap"),(Pattern="uasset")),Collections=,ExcludeClasses=,ShouldExcludeDerivedClasses=False,ShouldGatherFromEditorOnlyData=False,SkipGatherCache=False),GatherFromMetaData=(IsEnabled=False,IncludePathWildcards=,ExcludePathWildcards=,KeySpecifications=,ShouldGatherFromEditorOnlyData=False),ExportSettings=(CollapseMode=IdenticalTextIdAndSource,POFormat=Unreal,ShouldPersistCommentsOnExport=False,ShouldAddSourceLocationsAsComments=True),CompileSettings=(SkipSourceCheck=False,ValidateFormatPatterns=True,ValidateSafeWhitespace=False),ImportDialogueSettings=(RawAudioPath=(Path=""),ImportedDialogueFolder="ImportedDialogue",bImportNativeAsSource=False),NativeCultureIndex=0,SupportedCulturesStatistics=((CultureName="en"),(CultureName="ar"),(CultureName="zh-Hans"),(CultureName="fr"),(CultureName="de"),(CultureName="it"),(CultureName="ja"),(CultureName="ko"),(CultureName="pl"),(CultureName="tr"),(CultureName="ru"),(CultureName="es"),(CultureName="es-419"),(CultureName="pt-BR")))
65
+
66
+ [/Script/SourceControl.SourceControlPreferences]
67
+ +CollectionChangelistTags=#jira none
68
+ SpecificCollectionChangelistTags=(("Audit_InCook", "#robomerge[all] #ignore"))
69
+
70
+ [/Script/UnrealEd.EditorProjectAppearanceSettings]
71
+ ShowSearchableNames=ShowByDefault
72
+
73
+ [/Script/GameFeaturesEditor.GameFeaturesEditorSettings]
74
+ -PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginContentOnly"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "E17DB7E94A2C0F5968A52E89959864C0", "Game Feature (Content Only)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "CB5136B64AFAFBA5EDEA078FCAC7BCC9", "Create a new Game Feature Plugin."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="")
75
+ -PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginWithCode"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "90D6FD2A455176CEC42DD79A23AEC3B0", "Game Feature (with C++)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "2B00A0E7415C8CEAA6DA609A141237F0", "Create a new Game Feature Plugin with a minimal amount of code."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="")
76
+ +PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginContentOnly"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "E17DB7E94A2C0F5968A52E89959864C0", "Game Feature (Content Only)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "CB5136B64AFAFBA5EDEA078FCAC7BCC9", "Create a new Game Feature Plugin."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="",bIsEnabledByDefault=True)
77
+ +PluginTemplates=(Path=(Path="../../Plugins/Runtime/GameFeatures/Templates/GameFeaturePluginWithCode"),Label=NSLOCTEXT("[/Script/GameFeaturesEditor]", "90D6FD2A455176CEC42DD79A23AEC3B0", "Game Feature (with C++)"),Description=NSLOCTEXT("[/Script/GameFeaturesEditor]", "2B00A0E7415C8CEAA6DA609A141237F0", "Create a new Game Feature Plugin with a minimal amount of code."),DefaultGameFeatureDataClass=None,DefaultGameFeatureDataName="",bIsEnabledByDefault=True)
78
+
79
+ [CookSettings]
80
+ +IncrementalClassScriptPackageAllowList=Allow,<ProjectRoot>
81
+
82
+ [EditorPerformance.Profile.Lyra_Default]
83
+ ProfileName=Lyra_Default
84
+ Editor_Boot=50.0
85
+ Editor_Total_Time_To_Editor=50.0
86
+ Editor_Load_Map=10.0
87
+ Cache_Local_Efficiency=90.0
88
+ PIE_First_Transition=2.0
89
+ PIE_Total_Time_To_PIE=60.0
90
+ PIE_Iterative_Transition=1.0
91
+ PIE_Shutdown=1.0
LyraStarterGame/Config/DefaultEditorKeyBindings.ini ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [UserDefinedChords]
2
+ UserDefinedChords=~OpenBracket~~Quote~BindingContext~Quote~:~Quote~PlayWorld~Quote~,~Quote~CommandName~Quote~:~Quote~StopPlaySession~Quote~,~Quote~ChordIndex~Quote~:0,~Quote~Control~Quote~:false,~Quote~Alt~Quote~:false,~Quote~Shift~Quote~:true,~Quote~Command~Quote~:false,~Quote~Key~Quote~:~Quote~Escape~Quote~~CloseBracket~
LyraStarterGame/Config/DefaultEditorPerProjectUserSettings.ini ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; This file is used to specify the default values for editor settings
2
+ ; These are set for new users but individuals can override that in the editor settings UI
3
+
4
+ [/Script/UnrealEd.LevelEditorPlaySettings]
5
+ GameGetsMouseControl=True
6
+ RouteGamepadToSecondWindow=True
7
+ NetworkEmulationSettings=(bIsNetworkEmulationEnabled=True,EmulationTarget=Server,CurrentProfile="Average",OutPackets=(MinLatency=30,MaxLatency=60,PacketLossPercentage=1),InPackets=(MinLatency=30,MaxLatency=60,PacketLossPercentage=1))
8
+
9
+ ; Enable the plugins and favorites to be displayed by default
10
+ [/Script/UnrealEd.ContentBrowserSettings]
11
+ DisplayPluginFolders=True
12
+ DisplayFavorites=True
13
+
14
+ [ContentBrowser]
15
+ FavoritePaths=/LyraGame/Content,/ShooterCore,/ShooterMaps,/ShooterTests,/TopDownArena
16
+ ; Make all the content browsers have the Favorites expanded too
17
+ ContentBrowserTab1.FavoritesAreaExpanded=True
18
+ ContentBrowserTab2.FavoritesAreaExpanded=True
19
+ ContentBrowserTab3.FavoritesAreaExpanded=True
20
+ ContentBrowserTab4.FavoritesAreaExpanded=True
21
+ ContentBrowserDrawer.FavoritesAreaExpanded=True
22
+
23
+
24
+ ; Some commonly used editor maps that will be displayed in the editor task bar
25
+ [/Script/LyraGame.LyraDeveloperSettings]
26
+ +CommonEditorMaps=/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd
27
+ +CommonEditorMaps=/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview
28
+ +CommonEditorMaps=/ShooterMaps/Maps/L_Expanse.L_Expanse
29
+ +CommonEditorMaps=/ShooterCore/Maps/L_ShooterGym.L_ShooterGym
30
+ +CommonEditorMaps=/ShooterTests/Maps/L_ShooterTest_DeviceProperties.L_ShooterTest_DeviceProperties
LyraStarterGame/Config/DefaultEditorSettings.ini ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ [/Script/UnrealEd.ContentBrowserSettings]
2
+ DisplayPluginFolders=True
3
+ DisplayCppFolders=False
LyraStarterGame/Config/DefaultEngine.ini ADDED
@@ -0,0 +1,420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Config file for config variables tied to general engine features
2
+
3
+ [CoreUObject.UninitializedScriptStructMembersCheck]
4
+ EngineModuleReflectedUninitializedPropertyVerbosity=Error
5
+ ProjectModuleReflectedUninitializedPropertyVerbosity=Error
6
+ ObjectReferenceReflectedUninitializedPropertyVerbosity=Error
7
+
8
+ [DistillSettings]
9
+ +FilesToAlwaysDistill="Audio/*"
10
+ +FilesToAlwaysDistill="Effects/*"
11
+ +FilesToAlwaysDistill="Characters/*"
12
+ +FilesToAlwaysDistill="Legal/*"
13
+ +FilesToAlwaysDistill="Tools/*"
14
+ +FilesToAlwaysDistill="UI/*"
15
+ +FilesToAlwaysDistill="Weapons/*"
16
+ +FilesToAlwaysDistill="Editor/*"
17
+
18
+ [CoreRedirects]
19
+
20
+ [/Script/Engine.Engine]
21
+ DurationOfErrorsAndWarningsOnHUD=3.0
22
+ GameEngine=/Script/LyraGame.LyraGameEngine
23
+ UnrealEdEngine=/Script/LyraEditor.LyraEditorEngine
24
+ EditorEngine=/Script/LyraEditor.LyraEditorEngine
25
+ GameViewportClientClassName=/Script/LyraGame.LyraGameViewportClient
26
+ AssetManagerClassName=/Script/LyraGame.LyraAssetManager
27
+ WorldSettingsClassName=/Script/LyraGame.LyraWorldSettings
28
+ LocalPlayerClassName=/Script/LyraGame.LyraLocalPlayer
29
+ GameUserSettingsClassName=/Script/LyraGame.LyraSettingsLocal
30
+ NearClipPlane=3.000000
31
+
32
+ [/Script/BuildSettings.BuildSettings]
33
+ DefaultGameTarget=LyraGame
34
+
35
+ ;Iris - begin Iris Configuration for LyraGame
36
+
37
+ [/Script/IrisCore.ReplicationStateDescriptorConfig]
38
+ +SupportsStructNetSerializerList=(StructName=LyraGameplayAbilityTargetData_SingleTargetHit)
39
+
40
+ [/Script/IrisCore.ObjectReplicationBridgeConfig]
41
+ ; Filters
42
+ DefaultSpatialFilterName=Spatial
43
+ ; Clear all filters
44
+ !FilterConfigs=ClearArray
45
+ +FilterConfigs=(ClassName=/Script/Engine.LevelScriptActor, DynamicFilterName=NotRouted) ; Not needed
46
+ +FilterConfigs=(ClassName=/Script/Engine.Actor, DynamicFilterName=None))
47
+
48
+ ; Info types aren't supposed to have physical representation
49
+ +FilterConfigs=(ClassName=/Script/Engine.Info, DynamicFilterName=None)
50
+ +FilterConfigs=(ClassName=/Script/Engine.PlayerState, DynamicFilterName=None)
51
+ ; Pawns can be spatially filtered
52
+ +FilterConfigs=(ClassName=/Script/Engine.Pawn, DynamicFilterName=Spatial))
53
+ +FilterConfigs=(ClassName=/Script/EntityActor.SimObject, DynamicFilterName=None))
54
+
55
+ ;Iris - end
56
+
57
+ [PacketHandlerComponents]
58
+ ; Enable this entry when testing the encrypted network traffic flow (Lyra.TestEncryption)
59
+ ;EncryptionComponent=AESGCMHandlerComponent
60
+ ;EncryptionComponent=DTLSHandlerComponent
61
+
62
+ [Kismet]
63
+ ScriptStackOnWarnings=true
64
+
65
+ [/Script/EngineSettings.GameMapsSettings]
66
+ GlobalDefaultGameMode=/Game/B_LyraGameMode.B_LyraGameMode_C
67
+ GameInstanceClass=/Game/B_LyraGameInstance.B_LyraGameInstance_C
68
+ GameDefaultMap=/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd
69
+ EditorStartupMap=/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview
70
+ ;TransitionMap=/Game/System/TransitionMap.TransitionMap ; Enable a real seamless travel transition map if needed to delay loading
71
+
72
+ [/Script/Hotfix.OnlineHotfixManager]
73
+ HotfixManagerClassName=/Script/LyraGame.LyraHotfixManager
74
+
75
+ [/Script/Engine.GarbageCollectionSettings]
76
+ gc.GarbageEliminationEnabled=False
77
+
78
+ [Core.Log]
79
+ ; This can be used to change the default log level for engine logs to help with debugging
80
+ ;LogEOSSDK=VeryVerbose
81
+ ;LogEOSShared=VeryVerbose
82
+ ;LogHandshake=VeryVerbose
83
+ LogHotfixManager=Log
84
+
85
+ [/Script/Engine.Player]
86
+ ; These numbers should match TotalNetBandwidth
87
+ ConfiguredInternetSpeed=200000
88
+ ConfiguredLanSpeed=200000
89
+
90
+ [/Script/OnlineSubsystemUtils.IpNetDriver]
91
+ MaxClientRate=200000
92
+ MaxInternetClientRate=200000
93
+
94
+ [OnlineServices]
95
+ DefaultServices=Null
96
+
97
+ [/Script/Engine.AutomationTestSettings]
98
+ +MapsToPIETest=/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview
99
+ +MapsToPIETest=/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd
100
+ +MapsToPIETest=/ShooterMaps/Maps/L_Expanse.L_Expanse
101
+
102
+ [/Script/Engine.RendererSettings]
103
+ r.SkinCache.CompileShaders=True
104
+ r.DefaultFeature.AutoExposure.ExtendDefaultLuminanceRange=True
105
+ r.VirtualTextures=True
106
+ r.VirtualTexturedLightmaps=False
107
+ r.SupportMaterialLayers=True
108
+ r.GPUSkin.Support16BitBoneIndex=True
109
+ r.CustomDepth=3
110
+ r.GenerateMeshDistanceFields=True
111
+ r.AllowStaticLighting=False
112
+ r.ClearCoatNormal=True
113
+ r.Shadow.Virtual.Enable=1
114
+ r.AntiAliasingMethod=4
115
+ r.DefaultFeature.MotionBlur=True
116
+ r.SupportSkyAtmosphereAffectsHeightFog=True
117
+ r.ReflectionMethod=1
118
+ r.DynamicGlobalIlluminationMethod=1
119
+ r.NumBufferedOcclusionQueries=2
120
+ r.InstanceCulling.OcclusionCull=0
121
+ r.Lumen.TranslucencyReflections.Enable=1
122
+ r.ReflectionCaptureResolution=256
123
+ r.RayTracing=True
124
+ r.Lumen.HardwareRayTracing=True
125
+ r.RayTracing.Shadows=False
126
+ r.RayTracing.Skylight=False
127
+ r.GPUScene.ParallelUpdate=1
128
+ r.GPUSkin.Support16BitBoneIndex=True
129
+ r.GPUSkin.UnlimitedBoneInfluences=True
130
+ r.SkinCache.DefaultBehavior=0
131
+ r.Mobile.EnableStaticAndCSMShadowReceivers=False
132
+ r.Mobile.FloatPrecisionMode=2
133
+ r.Mobile.AllowDistanceFieldShadows=False
134
+ r.Mobile.DisableVertexFog=True
135
+ r.Mobile.AmbientOcclusion=False
136
+ r.MeshStreaming=True
137
+
138
+ r.RayTracing.Geometry.NiagaraMeshes=0
139
+ r.RayTracing.Geometry.NiagaraRibbons=0
140
+ r.RayTracing.Geometry.NiagaraSprites=0
141
+
142
+ [/Script/HardwareTargeting.HardwareTargetingSettings]
143
+ TargetedHardwareClass=Desktop
144
+ AppliedTargetedHardwareClass=Desktop
145
+ DefaultGraphicsPerformance=Maximum
146
+ AppliedDefaultGraphicsPerformance=Maximum
147
+
148
+ [ConsoleVariables]
149
+ net.MaxRPCPerNetUpdate=10
150
+ net.PingExcludeFrameTime=1
151
+ net.AllowAsyncLoading=1
152
+ net.DelayUnmappedRPCs=1
153
+ net.AllowPIESeamlessTravel=1
154
+ a.EnableQueuedAnimEventsOnServer=1
155
+ gpad.DefaultLeftStickInnerDeadZone=0.24
156
+ gpad.DefaultRightStickInnerDeadZone=0.27
157
+ demo.RecordHz=60.0
158
+ demo.RecordHzWhenNotRelevant=10.0
159
+ tick.AllowBatchedTicks=1
160
+ ini.UseNewDynamicLayers=1
161
+
162
+ [/Script/MacTargetPlatform.XcodeProjectSettings]
163
+ bUseModernXcode=true
164
+ bUseSwiftUIMain=false
165
+
166
+ [SystemSettings]
167
+ net.SubObjects.DefaultUseSubObjectReplicationList=1
168
+
169
+ [/Script/Engine.CollisionProfile]
170
+ -Profiles=(Name="NoCollision",CollisionEnabled=NoCollision,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="No collision",bCanModify=False)
171
+ -Profiles=(Name="BlockAll",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldStatic",CustomResponses=,HelpMessage="WorldStatic object that blocks all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
172
+ -Profiles=(Name="OverlapAll",CollisionEnabled=QueryOnly,ObjectTypeName="WorldStatic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
173
+ -Profiles=(Name="BlockAllDynamic",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldDynamic",CustomResponses=,HelpMessage="WorldDynamic object that blocks all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
174
+ -Profiles=(Name="OverlapAllDynamic",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
175
+ -Profiles=(Name="IgnoreOnlyPawn",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that ignores Pawn and Vehicle. All other channels will be set to default.",bCanModify=False)
176
+ -Profiles=(Name="OverlapOnlyPawn",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that overlaps Pawn, Camera, and Vehicle. All other channels will be set to default. ",bCanModify=False)
177
+ -Profiles=(Name="Pawn",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Pawn",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object. Can be used for capsule of any playerable character or AI. ",bCanModify=False)
178
+ -Profiles=(Name="Spectator",CollisionEnabled=QueryOnly,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic",Response=ECR_Block),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore)),HelpMessage="Pawn object that ignores all other actors except WorldStatic.",bCanModify=False)
179
+ -Profiles=(Name="CharacterMesh",CollisionEnabled=QueryOnly,ObjectTypeName="Pawn",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object that is used for Character Mesh. All other channels will be set to default.",bCanModify=False)
180
+ -Profiles=(Name="PhysicsActor",CollisionEnabled=QueryAndPhysics,ObjectTypeName="PhysicsBody",CustomResponses=,HelpMessage="Simulating actors",bCanModify=False)
181
+ -Profiles=(Name="Destructible",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Destructible",CustomResponses=,HelpMessage="Destructible actors",bCanModify=False)
182
+ -Profiles=(Name="InvisibleWall",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldStatic object that is invisible.",bCanModify=False)
183
+ -Profiles=(Name="InvisibleWallDynamic",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that is invisible.",bCanModify=False)
184
+ -Profiles=(Name="Trigger",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that is used for trigger. All other channels will be set to default.",bCanModify=False)
185
+ -Profiles=(Name="Ragdoll",CollisionEnabled=QueryAndPhysics,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Simulating Skeletal Mesh Component. All other channels will be set to default.",bCanModify=False)
186
+ -Profiles=(Name="Vehicle",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Vehicle",CustomResponses=,HelpMessage="Vehicle object that blocks Vehicle, WorldStatic, and WorldDynamic. All other channels will be set to default.",bCanModify=False)
187
+ -Profiles=(Name="UI",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Block),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False)
188
+ +Profiles=(Name="NoCollision",CollisionEnabled=NoCollision,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="No collision")
189
+ +Profiles=(Name="BlockAll",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=,HelpMessage="WorldStatic object that blocks all actors by default. All new custom channels will use its own default response. ")
190
+ +Profiles=(Name="OverlapAll",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ")
191
+ +Profiles=(Name="BlockAllDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=,HelpMessage="WorldDynamic object that blocks all actors by default. All new custom channels will use its own default response. ")
192
+ +Profiles=(Name="OverlapAllDynamic",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that overlaps all actors by default. All new custom channels will use its own default response. ")
193
+ +Profiles=(Name="IgnoreOnlyPawn",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that ignores Pawn and Vehicle. All other channels will be set to default.")
194
+ +Profiles=(Name="OverlapOnlyPawn",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that overlaps Pawn, Camera, and Vehicle. All other channels will be set to default. ")
195
+ +Profiles=(Name="Pawn",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object. Can be used for capsule of any playerable character or AI. ")
196
+ +Profiles=(Name="Spectator",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic"),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore)),HelpMessage="Pawn object that ignores all other actors except WorldStatic.")
197
+ +Profiles=(Name="CharacterMesh",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object that is used for Character Mesh. All other channels will be set to default.")
198
+ +Profiles=(Name="PhysicsActor",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="PhysicsBody",CustomResponses=,HelpMessage="Simulating actors")
199
+ +Profiles=(Name="Destructible",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Destructible",CustomResponses=,HelpMessage="Destructible actors")
200
+ +Profiles=(Name="InvisibleWall",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldStatic object that is invisible.")
201
+ +Profiles=(Name="InvisibleWallDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that is invisible.")
202
+ +Profiles=(Name="Trigger",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that is used for trigger. All other channels will be set to default.")
203
+ +Profiles=(Name="Ragdoll",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Simulating Skeletal Mesh Component. All other channels will be set to default.")
204
+ +Profiles=(Name="Vehicle",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Vehicle",CustomResponses=,HelpMessage="Vehicle object that blocks Vehicle, WorldStatic, and WorldDynamic. All other channels will be set to default.")
205
+ +Profiles=(Name="UI",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility"),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ")
206
+ +Profiles=(Name="WaterBodyCollision",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="",CustomResponses=((Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="Default Water Collision Profile (Created by Water Plugin)")
207
+ +Profiles=(Name="LyraPawnMesh",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic",Response=ECR_Ignore),(Channel="Pawn",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_Weapon_Multi",Response=ECR_Overlap),(Channel="Lyra_TraceChannel_Weapon")),HelpMessage="Collision with a Lyra character mesh")
208
+ +Profiles=(Name="LyraPawnCapsule",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="Pawn",CustomResponses=((Channel="Camera",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi",Response=ECR_Overlap)),HelpMessage="Collision with a Lyra character capsule")
209
+ +Profiles=(Name="Interactable_OverlapDynamic",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_Interaction",Response=ECR_Overlap),(Channel="Lyra_TraceChannel_Weapon_Multi",Response=ECR_Ignore)),HelpMessage="")
210
+ +Profiles=(Name="Interactable_BlockDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=True,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Lyra_TraceChannel_Interaction",Response=ECR_Overlap)),HelpMessage="")
211
+ +Profiles=(Name="AimAssist_OverlapDynamic",CollisionEnabled=QueryOnly,bCanModify=True,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="WorldStatic",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore),(Channel="Lyra_TraceChannel_AimAssist",Response=ECR_Overlap)),HelpMessage="")
212
+ +DefaultChannelResponses=(Channel=ECC_GameTraceChannel1,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Interaction")
213
+ +DefaultChannelResponses=(Channel=ECC_GameTraceChannel2,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Weapon")
214
+ +DefaultChannelResponses=(Channel=ECC_GameTraceChannel3,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Weapon_Capsule")
215
+ +DefaultChannelResponses=(Channel=ECC_GameTraceChannel4,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_Weapon_Multi")
216
+ +DefaultChannelResponses=(Channel=ECC_GameTraceChannel5,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Lyra_TraceChannel_AimAssist")
217
+ +EditProfiles=(Name="BlockAll",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
218
+ +EditProfiles=(Name="BlockAllDynamic",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
219
+ +EditProfiles=(Name="InvisibleWall",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
220
+ +EditProfiles=(Name="InvisibleWallDynamic",CustomResponses=((Channel="Lyra_TraceChannel_Interaction"),(Channel="Lyra_TraceChannel_Weapon"),(Channel="Lyra_TraceChannel_Weapon_Capsule"),(Channel="Lyra_TraceChannel_Weapon_Multi")))
221
+ -ProfileRedirects=(OldName="BlockingVolume",NewName="InvisibleWall")
222
+ -ProfileRedirects=(OldName="InterpActor",NewName="IgnoreOnlyPawn")
223
+ -ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic")
224
+ -ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor")
225
+ -ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic")
226
+ +ProfileRedirects=(OldName="BlockingVolume",NewName="InvisibleWall")
227
+ +ProfileRedirects=(OldName="InterpActor",NewName="IgnoreOnlyPawn")
228
+ +ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic")
229
+ +ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor")
230
+ +ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic")
231
+ -CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic")
232
+ -CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic")
233
+ -CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle")
234
+ -CollisionChannelRedirects=(OldName="PawnMovement",NewName="Pawn")
235
+ +CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic")
236
+ +CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic")
237
+ +CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle")
238
+ +CollisionChannelRedirects=(OldName="PawnMovement",NewName="Pawn")
239
+
240
+ [/Script/Engine.UserInterfaceSettings]
241
+ RenderFocusRule=Never
242
+ HardwareCursors=()
243
+ SoftwareCursors=((Default, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(TextEditBeam, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeLeftRight, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeUpDown, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeSouthEast, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(ResizeSouthWest, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(CardinalCross, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(Crosshairs, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(Hand, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(GrabHand, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(GrabHandClosed, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(SlashedCircle, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"),(EyeDropper, "/Game/UI/Foundation/SoftwareCursors/W_ArrowCursor.W_ArrowCursor_C"))
244
+ ApplicationScale=1.000000
245
+ UIScaleRule=ScaleToFit
246
+ CustomScalingRuleClass=None
247
+ UIScaleCurve=(EditorCurveData=(Keys=((Time=480.000000,Value=0.444000),(Time=720.000000,Value=0.666000),(Time=1080.000000,Value=1.000000),(Time=8640.000000,Value=8.000000)),DefaultValue=340282346638528859811704183484516925440.000000,PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant),ExternalCurve=None)
248
+ bAllowHighDPIInGameMode=False
249
+ DesignScreenSize=(X=1920,Y=1080)
250
+ bLoadWidgetsOnDedicatedServer=True
251
+
252
+ [/Script/Engine.AudioSettings]
253
+ DefaultSoundClassName=/Game/Audio/Classes/Overall.Overall
254
+ DefaultMediaSoundClassName=/Game/Audio/Classes/RenderedCinematics.RenderedCinematics
255
+ DefaultSoundConcurrencyName=/Game/Audio/Concurrency/SCon_Default.SCon_Default
256
+ DefaultBaseSoundMix=None
257
+ VoiPSoundClass=/Game/Audio/Classes/VoiceChat.VoiceChat
258
+ MasterSubmix=/Game/Audio/Submixes/MainSubmix.MainSubmix
259
+ BaseDefaultSubmix=None
260
+ ReverbSubmix=/Engine/EngineSounds/Submixes/MasterReverbSubmixDefault.MasterReverbSubmixDefault
261
+ EQSubmix=/Engine/EngineSounds/Submixes/MasterEQSubmixDefault.MasterEQSubmixDefault
262
+ VoiPSampleRate=Low16000Hz
263
+ MaximumConcurrentStreams=2
264
+ GlobalMinPitchScale=0.250000
265
+ GlobalMaxPitchScale=4.000000
266
+ +QualityLevels=(DisplayName=NSLOCTEXT("AudioSettings", "DefaultSettingsName", "Default"),MaxChannels=64)
267
+ bAllowPlayWhenSilent=True
268
+ bDisableMasterEQ=True
269
+ bAllowCenterChannel3DPanning=False
270
+ NumStoppingSources=8
271
+ PanningMethod=EqualPower
272
+ MonoChannelUpmixMethod=EqualPower
273
+ DialogueFilenameFormat="{DialogueGuid}_{ContextId}"
274
+
275
+ [/Script/LuminRuntimeSettings.LuminRuntimeSettings]
276
+ IconModelPath=(Path="")
277
+ IconPortalPath=(Path="")
278
+
279
+ [/Script/Engine.TextureEncodingProjectSettings]
280
+ bFinalUsesRDO=True
281
+ bSharedLinearTextureEncoding=True
282
+
283
+ [EnumRemap]
284
+ ; Entries can be added to this section of DefaultEngine.ini to remap metadata for engine enums to game-specific display values
285
+ TEXTUREGROUP_Project01.DisplayName="UI With MIPs"
286
+
287
+ [/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
288
+ bPackageDataInsideApk=True
289
+ bSupportsVulkan=True
290
+ bEnableMulticastSupport=True
291
+ bSaveSymbols=True
292
+
293
+ [/Script/Engine.EditorStreamingSettings]
294
+ s.ZenLoaderEnabled=True
295
+
296
+ [/Script/Engine.LocalPlayer]
297
+ AspectRatioAxisConstraint=AspectRatio_MaintainYFOV
298
+
299
+ [/Script/SignificanceManager.SignificanceManager]
300
+ SignificanceManagerClassName=/Script/LyraGame.LyraSignificanceManager
301
+
302
+ [/Script/WindowsTargetPlatform.WindowsTargetSettings]
303
+ DefaultGraphicsRHI=DefaultGraphicsRHI_DX12
304
+ -D3D12TargetedShaderFormats=PCD3D_SM5
305
+ +D3D12TargetedShaderFormats=PCD3D_SM6
306
+ -D3D11TargetedShaderFormats=PCD3D_SM5
307
+ +D3D11TargetedShaderFormats=PCD3D_SM5
308
+ +VulkanTargetedShaderFormats=SF_VULKAN_SM6
309
+ Compiler=Default
310
+ AudioSampleRate=48000
311
+ AudioCallbackBufferFrameSize=256
312
+ AudioNumBuffersToEnqueue=7
313
+ AudioMaxChannels=0
314
+ AudioNumSourceWorkers=4
315
+ SpatializationPlugin=Simple ITD
316
+ SourceDataOverridePlugin=
317
+ ReverbPlugin=Built-in Reverb
318
+ OcclusionPlugin=Built-in Occlusion
319
+ CompressionOverrides=(bOverrideCompressionTimes=False,DurationThreshold=5.000000,MaxNumRandomBranches=0,SoundCueQualityIndex=0)
320
+ CacheSizeKB=65536
321
+ MaxChunkSizeOverrideKB=0
322
+ bResampleForDevice=False
323
+ MaxSampleRate=48000.000000
324
+ HighSampleRate=32000.000000
325
+ MedSampleRate=24000.000000
326
+ LowSampleRate=12000.000000
327
+ MinSampleRate=8000.000000
328
+ CompressionQualityModifier=1.000000
329
+ AutoStreamingThreshold=0.000000
330
+ SoundCueCookQualityIndex=-1
331
+
332
+ [/Script/Engine.PhysicsSettings]
333
+ PhysicErrorCorrection=(PingExtrapolation=0.100000,PingLimit=100.000000,ErrorPerLinearDifference=1.000000,ErrorPerAngularDifference=1.000000,MaxRestoredStateError=1.000000,MaxLinearHardSnapDistance=400.000000,PositionLerp=0.000000,AngleLerp=0.400000,LinearVelocityCoefficient=100.000000,AngularVelocityCoefficient=10.000000,ErrorAccumulationSeconds=0.500000,ErrorAccumulationDistanceSq=15.000000,ErrorAccumulationSimilarity=100.000000)
334
+ DefaultDegreesOfFreedom=Full3D
335
+ bSuppressFaceRemapTable=False
336
+ bSupportUVFromHitResults=False
337
+ bDisableActiveActors=False
338
+ bDisableKinematicStaticPairs=False
339
+ bDisableKinematicKinematicPairs=False
340
+ bDisableCCD=False
341
+ bEnableEnhancedDeterminism=False
342
+ AnimPhysicsMinDeltaTime=0.000000
343
+ bSimulateAnimPhysicsAfterReset=False
344
+ MinPhysicsDeltaTime=0.000000
345
+ MaxPhysicsDeltaTime=0.033333
346
+ bSubstepping=False
347
+ bSubsteppingAsync=False
348
+ bTickPhysicsAsync=False
349
+ AsyncFixedTimeStepSize=0.033333
350
+ MaxSubstepDeltaTime=0.016667
351
+ MaxSubsteps=6
352
+ SyncSceneSmoothingFactor=0.000000
353
+ InitialAverageFrameRate=0.016667
354
+ PhysXTreeRebuildRate=10
355
+ +PhysicalSurfaces=(Type=SurfaceType1,Name="Character")
356
+ +PhysicalSurfaces=(Type=SurfaceType2,Name="Concrete")
357
+ +PhysicalSurfaces=(Type=SurfaceType3,Name="Glass")
358
+ DefaultBroadphaseSettings=(bUseMBPOnClient=False,bUseMBPOnServer=False,bUseMBPOuterBounds=False,MBPBounds=(Min=(X=0.000000,Y=0.000000,Z=0.000000),Max=(X=0.000000,Y=0.000000,Z=0.000000),IsValid=0),MBPOuterBounds=(Min=(X=0.000000,Y=0.000000,Z=0.000000),Max=(X=0.000000,Y=0.000000,Z=0.000000),IsValid=0),MBPNumSubdivs=2)
359
+ MinDeltaVelocityForHitEvents=0.000000
360
+ ChaosSettings=(DefaultThreadingModel=TaskGraph,DedicatedThreadTickMode=VariableCappedWithTarget,DedicatedThreadBufferMode=Double)
361
+
362
+ [ForwardShadingQuality_SF_VULKAN_SM5_ANDROID ShaderPlatformQualitySettings]
363
+ QualityOverrides[0]=(bDiscardQualityDuringCook=False,bEnableOverride=False,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
364
+ QualityOverrides[1]=(bDiscardQualityDuringCook=False,bEnableOverride=True,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
365
+ QualityOverrides[2]=(bDiscardQualityDuringCook=False,bEnableOverride=True,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
366
+ QualityOverrides[3]=(bDiscardQualityDuringCook=False,bEnableOverride=False,bForceFullyRough=False,bForceNonMetal=False,bForceDisableLMDirectionality=False,bForceLQReflections=False,bForceDisablePreintegratedGF=False,bDisableMaterialNormalCalculation=False,MobileShadowQuality=PCF_3x3)
367
+
368
+ [Internationalization]
369
+ +LocalizationPaths=%GAMEDIR%Content/Localization/EngineOverrides
370
+
371
+ [CrashReportClient]
372
+ bAgreeToCrashUpload=true
373
+
374
+ [/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
375
+ bEnablePlugin=True
376
+ bAllowNetworkConnection=True
377
+ SecurityToken=1E34FAD14FB6811576827AA0EEB85D69
378
+ bIncludeInShipping=False
379
+ bAllowExternalStartInShipping=False
380
+ bCompileAFSProject=False
381
+ bUseCompression=False
382
+ bLogFiles=False
383
+ bReportStats=False
384
+ ConnectionType=USBOnly
385
+ bUseManualIPAddress=False
386
+ ManualIPAddress=
387
+
388
+ [/Script/LinuxTargetPlatform.LinuxTargetSettings]
389
+ SpatializationPlugin=
390
+ SourceDataOverridePlugin=
391
+ ReverbPlugin=
392
+ OcclusionPlugin=
393
+ SoundCueCookQualityIndex=-1
394
+ -TargetedRHIs=SF_VULKAN_SM5
395
+ +TargetedRHIs=SF_VULKAN_SM6
396
+
397
+ [/Script/CommonUser.CommonSessionSubsystem]
398
+ ; This tells it to use player hosted lobbies, if you want to use sessions instead which may be required for dedicated server hosting set it to false
399
+ bUseLobbiesDefault=true
400
+ bUseLobbiesVoiceChatDefault=true
401
+
402
+ [/Script/AutomationController.AutomationControllerSettings]
403
+ bSuppressLogWarnings=true
404
+ bElevateLogWarningsToErrors=false
405
+ +Groups=(Name="Project", Filters=((Contains="Project.", MatchFromStart=true, Exclude=((Contains="Project.Maps.Cycle", MatchFromStart=true)))))
406
+
407
+ [AutomationTestExcludelist]
408
+ +ExcludeTest=(Map="",Test="Project.Maps.Cycle",Reason="Disabling as this test will warn about an active GameplayCue that is tied to the player. The test finishes before the player can fully spawn into the map.",RHIs=(),Warn=False)
409
+
410
+ [/Script/OnlineSubsystemUtils.PartyBeaconHost]
411
+ bIsValidationStrRequired = false
412
+
413
+ [CsvProfiler]
414
+ +EnabledCategories=LyraPerformance
415
+
416
+ [/Script/AutomatedPerfTesting.AutomatedReplayPerfTestProjectSettings]
417
+ +ReplaysToTest=(FilePath="Build/Replays/LyraSample.replay")
418
+ CSVOutputMode=Separate
419
+
420
+
LyraStarterGame/Config/DefaultGame.ini ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Config file for config variables tied to gameplay
2
+
3
+ [/Script/EngineSettings.GeneralProjectSettings]
4
+ ProjectID=0537642E459369628A8717AB63363CBF
5
+ Description=Sample starter game for Unreal Engine 5
6
+ ProjectName=Lyra
7
+
8
+ [/Script/LyraGame.LyraPlayerController]
9
+ InputYawScale=1.0
10
+ InputPitchScale=1.0
11
+ InputRollScale=1.0
12
+ ForceFeedbackScale=1.0
13
+
14
+ [/Script/GameplayAbilities.AbilitySystemGlobals]
15
+ AbilitySystemGlobalsClassName=/Script/LyraGame.LyraAbilitySystemGlobals
16
+ bUseDebugTargetFromHud=True
17
+ GlobalAttributeMetaDataTableName=None
18
+ GlobalGameplayCueManagerClass=/Script/LyraGame.LyraGameplayCueManager
19
+ GlobalGameplayCueManagerName=None
20
+ +GameplayCueNotifyPaths=/Game/GameplayCueNotifies
21
+ +GameplayCueNotifyPaths=/Game/GameplayCues
22
+ GlobalCurveTableName=None
23
+ PredictTargetGameplayEffects=False
24
+ ReplicateActivationOwnedTags=True
25
+ ActivateFailCooldownTag=(TagName="Ability.ActivateFail.Cooldown")
26
+ ActivateFailCostTag=(TagName="Ability.ActivateFail.Cost")
27
+ ActivateFailNetworkingTag=(TagName="Ability.ActivateFail.Networking")
28
+ ActivateFailTagsBlockedTag=(TagName="Ability.ActivateFail.TagsBlocked")
29
+ ActivateFailTagsMissingTag=(TagName="Ability.ActivateFail.TagsMissing")
30
+ GameplayTagResponseTableName=None
31
+ bAllowGameplayModEvaluationChannels=False
32
+ DefaultGameplayModEvaluationChannel=Channel0
33
+ GameplayModEvaluationChannelAliases[0]=None
34
+ GameplayModEvaluationChannelAliases[1]=None
35
+ GameplayModEvaluationChannelAliases[2]=None
36
+ GameplayModEvaluationChannelAliases[3]=None
37
+ GameplayModEvaluationChannelAliases[4]=None
38
+ GameplayModEvaluationChannelAliases[5]=None
39
+ GameplayModEvaluationChannelAliases[6]=None
40
+ GameplayModEvaluationChannelAliases[7]=None
41
+ GameplayModEvaluationChannelAliases[8]=None
42
+ GameplayModEvaluationChannelAliases[9]=None
43
+ MinimalReplicationTagCountBits=5
44
+
45
+ [/Script/Engine.GameNetworkManager]
46
+ ; Increase from the base bandwidth, numbers need to match ConfiguredInternetSpeed in DefaultEngine
47
+ TotalNetBandwidth=200000
48
+ MaxDynamicBandwidth=40000
49
+ MinDynamicBandwidth=20000
50
+
51
+ [/Script/GameFeatures.GameFeaturesSubsystemSettings]
52
+ GameFeaturesManagerClassName=/Script/LyraGame.LyraGameFeaturePolicy
53
+
54
+ [/Script/LyraGame.LyraAssetManager]
55
+ LyraGameDataPath=/Game/DefaultGameData.DefaultGameData
56
+ DefaultPawnData=/Game/Characters/Heroes/EmptyPawnData/DefaultPawnData_EmptyPawn.DefaultPawnData_EmptyPawn
57
+
58
+ [/Script/Engine.AssetManagerSettings]
59
+ -PrimaryAssetTypesToScan=(PrimaryAssetType="Map",AssetBaseClass=/Script/Engine.World,bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game/Maps")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
60
+ -PrimaryAssetTypesToScan=(PrimaryAssetType="PrimaryAssetLabel",AssetBaseClass=/Script/Engine.PrimaryAssetLabel,bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
61
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="Map",AssetBaseClass="/Script/Engine.World",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/Maps")),SpecificAssets=("/Game/System/FrontEnd/Maps/L_LyraFrontEnd.L_LyraFrontEnd", "/Game/System/DefaultEditorMap/L_DefaultEditorOverview.L_DefaultEditorOverview"),Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
62
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="LyraGameData",AssetBaseClass="/Script/LyraGame.LyraGameData",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=,SpecificAssets=("/Game/DefaultGameData.DefaultGameData"),Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
63
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="PrimaryAssetLabel",AssetBaseClass="/Script/Engine.PrimaryAssetLabel",bHasBlueprintClasses=False,bIsEditorOnly=True,Directories=((Path="/Game")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=Unknown))
64
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="GameFeatureData",AssetBaseClass="/Script/GameFeatures.GameFeatureData",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/Unused")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
65
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="LyraExperienceDefinition",AssetBaseClass="/Script/LyraGame.LyraExperienceDefinition",bHasBlueprintClasses=True,bIsEditorOnly=False,Directories=((Path="/Game/System/Experiences")),SpecificAssets=("/Game/System/FrontEnd/B_LyraFrontEnd_Experience.B_LyraFrontEnd_Experience"),Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
66
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="LyraUserFacingExperienceDefinition",AssetBaseClass="/Script/LyraGame.LyraUserFacingExperienceDefinition",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/UI/Temp"),(Path="/Game/System/Playlists")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
67
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="LyraLobbyBackground",AssetBaseClass="/Script/LyraGame.LyraLobbyBackground",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=,SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
68
+ +PrimaryAssetTypesToScan=(PrimaryAssetType="LyraExperienceActionSet",AssetBaseClass="/Script/LyraGame.LyraExperienceActionSet",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=,SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
69
+ bOnlyCookProductionAssets=False
70
+ bShouldManagerDetermineTypeAndName=False
71
+ bShouldGuessTypeAndNameInEditor=True
72
+ bShouldAcquireMissingChunksOnLoad=False
73
+ bShouldWarnAboutInvalidAssets=True
74
+ MetaDataTagsForAssetRegistry=()
75
+
76
+ [/Script/LyraGame.LyraUIManagerSubsystem]
77
+ DefaultUIPolicyClass=/Game/UI/B_LyraUIPolicy.B_LyraUIPolicy_C
78
+
79
+ [/Script/LyraGame.LyraUIMessaging]
80
+ ConfirmationDialogClass=/Game/UI/Foundation/Dialogs/W_ConfirmationDefault.W_ConfirmationDefault_C
81
+ ErrorDialogClass=/Game/UI/Foundation/Dialogs/W_ConfirmationError.W_ConfirmationError_C
82
+
83
+ [/Script/CommonLoadingScreen.CommonLoadingScreenSettings]
84
+ LoadingScreenWidget=/Game/UI/Foundation/LoadingScreen/W_LoadingScreen_Host.W_LoadingScreen_Host_C
85
+ ForceTickLoadingScreenEvenInEditor=False
86
+
87
+ [/Script/CommonInput.CommonInputSettings]
88
+ InputData=/Game/UI/B_CommonInputData.B_CommonInputData_C
89
+ bEnableInputMethodThrashingProtection=True
90
+ InputMethodThrashingLimit=30
91
+ InputMethodThrashingWindowInSeconds=3.000000
92
+ InputMethodThrashingCooldownInSeconds=1.000000
93
+ bAllowOutOfFocusDeviceInput=True
94
+
95
+ [/Script/CommonUI.CommonUISettings]
96
+ DefaultThrobberMaterial=/Game/UI/Foundation/Materials/M_UI_Throbber_Base.M_UI_Throbber_Base
97
+ DefaultRichTextDataClass=/Game/UI/Foundation/RichTextData/CommonUIRichTextData.CommonUIRichTextData_C
98
+
99
+ [/Script/UnrealEd.ProjectPackagingSettings]
100
+ Build=IfProjectHasCode
101
+ BuildConfiguration=PPBC_Development
102
+ BuildTarget=LyraGame
103
+ LaunchOnTarget=
104
+ StagingDirectory=(Path="")
105
+ FullRebuild=False
106
+ ForDistribution=False
107
+ IncludeDebugFiles=False
108
+ BlueprintNativizationMethod=Disabled
109
+ bIncludeNativizedAssetsInProjectGeneration=False
110
+ bExcludeMonolithicEngineHeadersInNativizedCode=False
111
+ UsePakFile=True
112
+ bMakeBinaryConfig=False
113
+ bGenerateChunks=true
114
+ bGenerateNoChunks=False
115
+ bChunkHardReferencesOnly=False
116
+ bForceOneChunkPerFile=False
117
+ MaxChunkSize=0
118
+ bBuildHttpChunkInstallData=False
119
+ HttpChunkInstallDataDirectory=(Path="")
120
+ bCompressed=True
121
+ PackageCompressionFormat=Oodle
122
+ bForceUseProjectCompressionFormatIgnoreHardwareOverride=False
123
+ PackageAdditionalCompressionOptions=
124
+ PackageCompressionMethod=Kraken
125
+ PackageCompressionLevel_DebugDevelopment=4
126
+ PackageCompressionLevel_TestShipping=5
127
+ PackageCompressionLevel_Distribution=7
128
+ PackageCompressionMinBytesSaved=1024
129
+ PackageCompressionMinPercentSaved=5
130
+ bPackageCompressionEnableDDC=False
131
+ PackageCompressionMinSizeToConsiderDDC=0
132
+ HttpChunkInstallDataVersion=
133
+ IncludePrerequisites=True
134
+ IncludeAppLocalPrerequisites=False
135
+ bShareMaterialShaderCode=True
136
+ bDeterministicShaderCodeOrder=False
137
+ bSharedMaterialNativeLibraries=True
138
+ ApplocalPrerequisitesDirectory=(Path="")
139
+ IncludeCrashReporter=False
140
+ InternationalizationPreset=All
141
+ -CulturesToStage=en
142
+ +CulturesToStage=en
143
+ +CulturesToStage=ar
144
+ +CulturesToStage=es
145
+ +CulturesToStage=es-419
146
+ +CulturesToStage=fr
147
+ +CulturesToStage=it
148
+ +CulturesToStage=ja
149
+ +CulturesToStage=pl
150
+ +CulturesToStage=pt-BR
151
+ +CulturesToStage=ru
152
+ +CulturesToStage=tr
153
+ +CulturesToStage=zh-Hans
154
+ +CulturesToStage=ko
155
+ +CulturesToStage=de
156
+ LocalizationTargetCatchAllChunkId=0
157
+ bCookAll=False
158
+ bCookMapsOnly=False
159
+ bSkipEditorContent=False
160
+ bSkipMovies=False
161
+ -IniKeyDenylist=KeyStorePassword
162
+ -IniKeyDenylist=KeyPassword
163
+ -IniKeyDenylist=rsa.privateexp
164
+ -IniKeyDenylist=rsa.modulus
165
+ -IniKeyDenylist=rsa.publicexp
166
+ -IniKeyDenylist=aes.key
167
+ -IniKeyDenylist=SigningPublicExponent
168
+ -IniKeyDenylist=SigningModulus
169
+ -IniKeyDenylist=SigningPrivateExponent
170
+ -IniKeyDenylist=EncryptionKey
171
+ -IniKeyDenylist=DevCenterUsername
172
+ -IniKeyDenylist=DevCenterPassword
173
+ -IniKeyDenylist=IOSTeamID
174
+ -IniKeyDenylist=SigningCertificate
175
+ -IniKeyDenylist=MobileProvision
176
+ -IniKeyDenylist=IniKeyDenylist
177
+ -IniKeyDenylist=IniSectionDenylist
178
+ +IniKeyDenylist=KeyStorePassword
179
+ +IniKeyDenylist=KeyPassword
180
+ +IniKeyDenylist=rsa.privateexp
181
+ +IniKeyDenylist=rsa.modulus
182
+ +IniKeyDenylist=rsa.publicexp
183
+ +IniKeyDenylist=aes.key
184
+ +IniKeyDenylist=SigningPublicExponent
185
+ +IniKeyDenylist=SigningModulus
186
+ +IniKeyDenylist=SigningPrivateExponent
187
+ +IniKeyDenylist=EncryptionKey
188
+ +IniKeyDenylist=DevCenterUsername
189
+ +IniKeyDenylist=DevCenterPassword
190
+ +IniKeyDenylist=IOSTeamID
191
+ +IniKeyDenylist=SigningCertificate
192
+ +IniKeyDenylist=MobileProvision
193
+ +IniKeyDenylist=IniKeyDenylist
194
+ +IniKeyDenylist=IniSectionDenylist
195
+ -IniSectionDenylist=StorageServers
196
+ +IniSectionDenylist=StorageServers
197
+ +MapsToCook=(FilePath="/Game/System/FrontEnd/Maps/L_LyraFrontEnd")
198
+ +DirectoriesToAlwaysStageAsNonUFS=(Path="Legal")
199
+ +DirectoriesToAlwaysStageAsNonUFS=(Path="UI/Foundation/Fonts/Orbitron/Raw")
200
+ +DirectoriesToAlwaysStageAsNonUFS=(Path="DTLS")
201
+ PerPlatformBuildConfig=()
202
+ PerPlatformTargetFlavorName=()
203
+ PerPlatformBuildTarget=()
204
+ WriteBackMetadataToAssetRegistry=OriginalFile
205
+
206
+
207
+ [CheatScript.DebugAsyncLoading]
208
+ ; Running CheatScript DebugAsyncLoading would execute these commands
209
+ +Cmd="Log LogAsyncMixin VeryVerbose"
210
+ +Cmd="Log LogAssetManager VeryVerbose"
211
+ +Cmd="Log LogStreaming VeryVerbose"
212
+
213
+ [CheatScript.DebugUI]
214
+ +Cmd="Log LogSlate VeryVerbose"
215
+ +Cmd="Log LogUMG VeryVerbose"
216
+ +Cmd="Log LogCommonUI VeryVerbose"
217
+ +Cmd="Log LogCommonInput VeryVerbose"
218
+ +Cmd="Log LogUIActionRouter VeryVerbose"
219
+ +Cmd="SlateDebugger.Start"
220
+
221
+ [/Script/LyraGame.LyraContextEffectsSettings]
222
+ SurfaceTypeToContextMap=((SurfaceType3, (TagName="SurfaceType.Glass")),(SurfaceType2, (TagName="SurfaceType.Concrete")),(SurfaceType1, (TagName="SurfaceType.Character")),(SurfaceType_Default, (TagName="SurfaceType.Default")))
223
+
224
+ [/Script/ShooterCoreRuntime.ShooterCoreRuntimeSettings]
225
+ AimAssistCollisionChannel=ECC_GameTraceChannel5
226
+
227
+ [/Script/LyraGame.LyraAudioSettings]
228
+ DefaultControlBusMix=/Game/Audio/Modulation/ControlBusMixes/CBM_BaseMix.CBM_BaseMix
229
+ UserSettingsControlBusMix=/Game/Audio/Modulation/ControlBusMixes/CBM_UserMix.CBM_UserMix
230
+ OverallVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_Main.CB_Main
231
+ MusicVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_Music.CB_Music
232
+ SoundFXVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_SFX.CB_SFX
233
+ DialogueVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_Dialogue.CB_Dialogue
234
+ VoiceChatVolumeControlBus=/Game/Audio/Modulation/ControlBuses/CB_VoiceChat.CB_VoiceChat
235
+ +HDRAudioSubmixEffectChain=(Submix="/Game/Audio/Submixes/MainSubmix.MainSubmix",SubmixEffectChain=("/Game/Audio/Effects/SubmixEffects/DYN_MainDynamics.DYN_MainDynamics"))
236
+ +LDRAudioSubmixEffectChain=(Submix="/Game/Audio/Submixes/MainSubmix.MainSubmix",SubmixEffectChain=("/Game/Audio/DYN_LowMultibandDynamics.DYN_LowMultibandDynamics","/Game/Audio/Effects/SubmixEffects/DYN_LowDynamics.DYN_LowDynamics"))
237
+ LoadingScreenControlBusMix=/Game/Audio/Modulation/ControlBusMixes/CBM_LoadingScreenMix.CBM_LoadingScreenMix
238
+
239
+ [/Script/LyraGame.LyraReplicationGraphSettings]
240
+ bDisableReplicationGraph=True
241
+ DefaultReplicationGraphClass=/Script/LyraGame.LyraReplicationGraph
242
+ +ClassSettings=(ActorClass="/Script/Engine.PlayerState",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
243
+ +ClassSettings=(ActorClass="/Script/Engine.LevelScriptActor",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
244
+ +ClassSettings=(ActorClass="/Script/ReplicationGraph.ReplicationGraphDebugActor",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
245
+ +ClassSettings=(ActorClass="/Script/LyraGame.LyraPlayerController",bAddClassRepInfoToMap=True,ClassNodeMapping=NotRouted,bAddToRPC_Multicast_OpenChannelForClassMap=False,bRPC_Multicast_OpenChannelForClass=True)
246
+
LyraStarterGame/Config/DefaultGameplayTags.ini ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [/Script/GameplayTags.GameplayTagsSettings]
2
+ ImportTagsFromConfig=True
3
+ WarnOnInvalidTags=True
4
+ FastReplication=True
5
+ InvalidTagCharacters="\"\',"
6
+ +GameplayTagTableList=/Game/ContextEffects/DT_AnimEffectTags.DT_AnimEffectTags
7
+ +GameplayTagTableList=/Game/ContextEffects/DT_SurfaceTypes.DT_SurfaceTypes
8
+ NumBitsForContainerSize=6
9
+ NetIndexFirstBitSegment=16
10
+ +GameplayTagList=(Tag="Ability.Dash.Duration.Message",DevComment="Dash Cooldown Duration")
11
+ +GameplayTagList=(Tag="Ability.Grenade.Duration.Message",DevComment="Cooldown Grenade")
12
+ +GameplayTagList=(Tag="Ability.Interaction.Activate",DevComment="")
13
+ +GameplayTagList=(Tag="Ability.Respawn.Completed.Message",DevComment="Message tag broadcast when a respawn process is completed.")
14
+ +GameplayTagList=(Tag="Ability.Respawn.Duration.Message",DevComment="")
15
+ +GameplayTagList=(Tag="Ability.Type",DevComment="Applied to Gameplay Abilities to indicate a functional category")
16
+ +GameplayTagList=(Tag="Ability.Type.Action",DevComment="Action type abilities cause the avatar to perform an action in the game world, possibly involving equipment such as a weapon")
17
+ +GameplayTagList=(Tag="Ability.Type.Action.ADS",DevComment="")
18
+ +GameplayTagList=(Tag="Ability.Type.Action.Dash",DevComment="")
19
+ +GameplayTagList=(Tag="Ability.Type.Action.Drop",DevComment="")
20
+ +GameplayTagList=(Tag="Ability.Type.Action.Emote",DevComment="")
21
+ +GameplayTagList=(Tag="Ability.Type.Action.Grenade",DevComment="")
22
+ +GameplayTagList=(Tag="Ability.Type.Action.Jump",DevComment="")
23
+ +GameplayTagList=(Tag="Ability.Type.Action.Melee",DevComment="")
24
+ +GameplayTagList=(Tag="Ability.Type.Action.Reload",DevComment="")
25
+ +GameplayTagList=(Tag="Ability.Type.Action.WeaponFire",DevComment="")
26
+ +GameplayTagList=(Tag="Ability.Type.Info",DevComment="Info abilities are used to summon information for the players, and do not directly affect gameplay")
27
+ +GameplayTagList=(Tag="Ability.Type.Info.ShowLeaderboard",DevComment="")
28
+ +GameplayTagList=(Tag="Ability.Type.Passive",DevComment="Passive abilities are always active on the owner")
29
+ +GameplayTagList=(Tag="Ability.Type.Passive.AutoReload",DevComment="Polls for active weapon to be empty, triggers reload input if enough time has elapsed")
30
+ +GameplayTagList=(Tag="Ability.Type.Passive.AutoRespawn",DevComment="Passive ability that listens for a player\'s pawn to die or otherwise be removed from play, and automatically respawns.")
31
+ +GameplayTagList=(Tag="Ability.Type.Passive.ChangeQuickbarSlot",DevComment="Handles requests for any type of slot change, whether directly indexed or cycling forward/backward")
32
+ +GameplayTagList=(Tag="Ability.Type.StatusChange",DevComment="Abilities of this type are used when a status if imposed on the avatar or owner, such as death or spawning")
33
+ +GameplayTagList=(Tag="Ability.Type.StatusChange.Death",DevComment="Covers the transition period when health goes to 0 until the avatar is removed from the world")
34
+ +GameplayTagList=(Tag="Ability.Type.StatusChange.Spawning",DevComment="Covers the time when a new hero is created, spawning into the world, and when it\'s actively controllable")
35
+ +GameplayTagList=(Tag="Cosmetic",DevComment="")
36
+ +GameplayTagList=(Tag="Cosmetic.AnimationStyle.Feminine",DevComment="")
37
+ +GameplayTagList=(Tag="Cosmetic.AnimationStyle.Masculine",DevComment="")
38
+ +GameplayTagList=(Tag="Cosmetic.BodyStyle.Medium",DevComment="")
39
+ +GameplayTagList=(Tag="Gameplay.Zone.WeakSpot",DevComment="")
40
+ +GameplayTagList=(Tag="GameplayCue.Character.DamageTaken",DevComment="")
41
+ +GameplayTagList=(Tag="GameplayCue.Character.Dash",DevComment="")
42
+ +GameplayTagList=(Tag="GameplayCue.Character.Dash.Cooldown",DevComment="Cooldown for character dash")
43
+ +GameplayTagList=(Tag="GameplayCue.Character.Death",DevComment="")
44
+ +GameplayTagList=(Tag="GameplayCue.Character.Heal",DevComment="")
45
+ +GameplayTagList=(Tag="GameplayCue.Character.Melee.Cooldown",DevComment="")
46
+ +GameplayTagList=(Tag="GameplayCue.Test.Burst",DevComment="")
47
+ +GameplayTagList=(Tag="GameplayCue.Test.BurstLatent",DevComment="")
48
+ +GameplayTagList=(Tag="GameplayCue.Test.Looping",DevComment="")
49
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Grenade.Cooldown",DevComment="")
50
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Grenade.Detonate",DevComment="Grenade Explosion")
51
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Melee.Hit",DevComment="hit melee CS, placed on default as the GCN is there -needs to move to Shooter")
52
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Melee.Impact",DevComment="Cue triggering on target when hit by a melee attack")
53
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Pistol.Fire",DevComment="")
54
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Rifle.Fire",DevComment="")
55
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Rifle.Impact",DevComment="")
56
+ +GameplayTagList=(Tag="GameplayCue.Weapon.Shotgun.Fire",DevComment="")
57
+ +GameplayTagList=(Tag="GameplayCue.World.Launcher.Activate",DevComment="Fires when Launcher (Up or Forward) activates")
58
+ +GameplayTagList=(Tag="GameplayCue.World.Teleporter.Activate",DevComment="Triggered when teleporter is activated")
59
+ +GameplayTagList=(Tag="GameplayEffect.DamageTrait.Instant",DevComment="")
60
+ +GameplayTagList=(Tag="GameplayEffect.DamageTrait.Periodic",DevComment="")
61
+ +GameplayTagList=(Tag="GameplayEffect.DamageType.Basic",DevComment="")
62
+ +GameplayTagList=(Tag="GameplayEffect.DamageType.Grenade",DevComment="Damage effect coming from a grenade explosion")
63
+ +GameplayTagList=(Tag="GameplayEffect.DamageType.Melee",DevComment="Damage effect coming from a melee strike")
64
+ +GameplayTagList=(Tag="GameplayEffect.DamageType.Pistol",DevComment="Damage effect coming from a pistol bullet")
65
+ +GameplayTagList=(Tag="GameplayEffect.DamageType.Rifle",DevComment="Damage effect coming from a rifle bullet")
66
+ +GameplayTagList=(Tag="GameplayEffect.DamageType.Shotgun",DevComment="Damage effect coming from shotgun pellets")
67
+ +GameplayTagList=(Tag="GameplayEffect.Heal.Instant",DevComment="")
68
+ +GameplayTagList=(Tag="GameplayEffect.Heal.Periodic",DevComment="")
69
+ +GameplayTagList=(Tag="GameplayEvent.MeleeHit",DevComment="")
70
+ +GameplayTagList=(Tag="GameSettings.Action.EditSafeZone",DevComment="")
71
+ +GameplayTagList=(Tag="HUD.Slot.ExtraEquipment",DevComment="")
72
+ +GameplayTagList=(Tag="HUD.Slot.InfrequentAbilities",DevComment="")
73
+ +GameplayTagList=(Tag="HUD.Slot.LeftSideTouchInputs",DevComment="")
74
+ +GameplayTagList=(Tag="HUD.Slot.LeftSideTouchRegion",DevComment="")
75
+ +GameplayTagList=(Tag="HUD.Slot.RespawnTimer",DevComment="")
76
+ +GameplayTagList=(Tag="HUD.Slot.RightSideTouchInputs",DevComment="")
77
+ +GameplayTagList=(Tag="HUD.Slot.RightSideTouchRegion",DevComment="")
78
+ +GameplayTagList=(Tag="InputTag.Ability.Dash",DevComment="")
79
+ +GameplayTagList=(Tag="InputTag.Ability.Heal",DevComment="")
80
+ +GameplayTagList=(Tag="InputTag.Ability.Melee",DevComment="Melee Input")
81
+ +GameplayTagList=(Tag="InputTag.Ability.Quickslot.Drop",DevComment="")
82
+ +GameplayTagList=(Tag="InputTag.Jump",DevComment="")
83
+ +GameplayTagList=(Tag="InputTag.Weapon.ADS",DevComment="")
84
+ +GameplayTagList=(Tag="InputTag.Weapon.Fire",DevComment="")
85
+ +GameplayTagList=(Tag="InputTag.Weapon.FireAuto",DevComment="")
86
+ +GameplayTagList=(Tag="InputTag.Weapon.Grenade",DevComment="")
87
+ +GameplayTagList=(Tag="InputTag.Weapon.Reload",DevComment="")
88
+ +GameplayTagList=(Tag="Lyra.Damage.Taken.Message",DevComment="")
89
+ +GameplayTagList=(Tag="Lyra.HUD.PlayerHUD",DevComment="")
90
+ +GameplayTagList=(Tag="Lyra.HUD.TempTopWidgets",DevComment="")
91
+ +GameplayTagList=(Tag="Lyra.Player",DevComment="")
92
+ +GameplayTagList=(Tag="Platform.Trait.BinauralSettingControlledByOS",DevComment="")
93
+ +GameplayTagList=(Tag="Platform.Trait.CanExitApplication",DevComment="Can we show a quit option to exit the application?")
94
+ +GameplayTagList=(Tag="Platform.Trait.Input.PrimarlyController",DevComment="")
95
+ +GameplayTagList=(Tag="Platform.Trait.Input.HasStrictControllerPairing",DevComment="True on platforms which will ignore input from devices not mapped to a user.")
96
+ +GameplayTagList=(Tag="Platform.Trait.Input.PrimarlyTouchScreen",DevComment="")
97
+ +GameplayTagList=(Tag="Platform.Trait.Input.SupportsMouseAndKeyboard",DevComment="")
98
+ +GameplayTagList=(Tag="Platform.Trait.Input.HardwareCursor",DevComment="Does this platform use a hardware mouse cursor?")
99
+ +GameplayTagList=(Tag="Platform.Trait.SupportsBackgroundAudio",DevComment="")
100
+ +GameplayTagList=(Tag="Platform.Trait.SupportsChangingAudioOutputDevice",DevComment="")
101
+ +GameplayTagList=(Tag="Platform.Trait.SupportsWindowedMode",DevComment="Can we switch between fullscreen and windowed modes?")
102
+ +GameplayTagList=(Tag="ShooterGame.GamePhase.MatchBeginCountdown",DevComment="When this tag is used in a gameplay message, an expected duration is included in the payload.")
103
+ +GameplayTagList=(Tag="Status.SpawningIn",DevComment="Covers the time when the pawn is created until it is controlled and unlocked for play")
104
+ +GameplayTagList=(Tag="UI.Action.Back",DevComment="")
105
+ +GameplayTagList=(Tag="UI.Layer.Game",DevComment="")
106
+ +GameplayTagList=(Tag="UI.Layer.GameMenu",DevComment="")
107
+ +GameplayTagList=(Tag="UI.Layer.Menu",DevComment="")
108
+ +GameplayTagList=(Tag="UI.Layer.Modal",DevComment="")
109
+
LyraStarterGame/Config/DefaultInput.ini ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [/Script/Engine.PlayerInput]
2
+ +DebugExecBindings=(Key=Insert,Command="Cheat Teleport")
3
+ +DebugExecBindings=(Key=Delete,Command="CycleDebugCameras")
4
+ +DebugExecBindings=(Key=Gamepad_Special_Left,Command="CycleDebugCameras")
5
+ +DebugExecBindings=(Key=Home,Command="ShowDebug")
6
+ +DebugExecBindings=(Key=End,Command="CycleAbilitySystemDebug")
7
+ +DebugExecBindings=(Key=PageDown,Command="PreviousDebugTarget")
8
+ +DebugExecBindings=(Key=PageUp,Command="NextDebugTarget")
9
+ +DebugExecBindings=(Key=K,Command="DamageSelfDestruct")
10
+ +DebugExecBindings=(Key=NumPadFour,Command="CancelActivatedAbilities")
11
+
12
+ [/Script/Engine.InputSettings]
13
+ +AxisConfig=(AxisKeyName="Gamepad_LeftX",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
14
+ +AxisConfig=(AxisKeyName="Gamepad_LeftY",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
15
+ +AxisConfig=(AxisKeyName="Gamepad_RightX",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
16
+ +AxisConfig=(AxisKeyName="Gamepad_RightY",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
17
+ +AxisConfig=(AxisKeyName="MouseX",AxisProperties=(DeadZone=0.000000,Sensitivity=0.070000,Exponent=1.000000,bInvert=False))
18
+ +AxisConfig=(AxisKeyName="MouseY",AxisProperties=(DeadZone=0.000000,Sensitivity=0.070000,Exponent=1.000000,bInvert=False))
19
+ +AxisConfig=(AxisKeyName="MouseWheelAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
20
+ +AxisConfig=(AxisKeyName="Gamepad_LeftTriggerAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
21
+ +AxisConfig=(AxisKeyName="Gamepad_RightTriggerAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
22
+ +AxisConfig=(AxisKeyName="Gamepad_Special_Left_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
23
+ +AxisConfig=(AxisKeyName="Gamepad_Special_Left_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False))
24
+ bUseMouseForTouch=False
25
+ bCaptureMouseOnLaunch=True
26
+ bUseAutocorrect=False
27
+ DefaultViewportMouseCaptureMode=CapturePermanently_IncludingInitialMouseDown
28
+ DefaultViewportMouseLockMode=LockOnCapture
29
+ FOVScale=0.011110
30
+ DoubleClickTime=0.200000
31
+ DefaultTouchInterface=None
32
+ DefaultPlayerInputClass=/Script/LyraGame.LyraPlayerInput
33
+ DefaultInputComponentClass=/Script/LyraGame.LyraInputComponent
34
+ bFilterInputByPlatformUser=True
35
+
36
+ [/Script/CommonUI.CommonUIInputSettings]
37
+ bLinkCursorToGamepadFocus=True
38
+ UIActionProcessingPriority=10000
39
+ +InputActions=(ActionTag=UI.Action.Escape,DefaultDisplayName=NSLOCTEXT("[/Script/CommonUI]", "DDDC55F044A6D009AE3FC89634A4FBE3", "Back"),KeyMappings=((Key=Escape),(Key=Gamepad_Special_Right)))
40
+ ;+InputActions=(ActionTag=UI.Action.Cancel,DefaultDisplayName=NSLOCTEXT("[/Script/CommonUI]", "F1AC4A364A0F262F8DBFFF924078BCD1", "Cancel"),KeyMappings=((Key=ThumbMouseButton2)))
41
+ AnalogCursorSettings=(PreprocessorRegistrationInfo=(Type=Game, Priority=2),bEnableCursorAcceleration=True,CursorAcceleration=1500.000000,CursorMaxSpeed=2200.000000,CursorDeadZone=0.250000,HoverSlowdownFactor=0.400000,ScrollDeadZone=0.200000,ScrollUpdatePeriod=0.100000,ScrollMultiplier=2.500000)
42
+
43
+ [/Script/OpenXRInput.OpenXRInputSettings]
44
+ bUseEnhancedInput=True
45
+ MappableInputConfig=None
46
+
47
+ [/Script/EnhancedInput.EnhancedInputDeveloperSettings]
48
+ bEnableUserSettings=True
49
+ UserSettingsClass=/Script/LyraGame.LyraInputUserSettings
50
+ DefaultPlayerMappableKeyProfileClass=/Script/LyraGame.LyraPlayerMappableKeyProfile
51
+
LyraStarterGame/Config/DefaultRuntimeOptions.ini ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [/Script/LyraGame.LyraRuntimeOptons]
2
+ ;bDisableSomething=true
LyraStarterGame/Config/DefaultScalability.ini ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [ScalabilitySettings]
2
+ ; Change engine defaults so a high end 2018 GPU will end up at a mix of Epic and High settings
3
+ ; The resolution quality will need to be modified by users with 4k displays with the current autodetection system
4
+ PerfIndexThresholds_ResolutionQuality="GPU 18 115 350"
5
+ PerfIndexThresholds_ViewDistanceQuality="GPU 18 115 250"
6
+ PerfIndexThresholds_AntiAliasingQuality="GPU 18 115 500"
7
+ PerfIndexThresholds_ShadowQuality="GPU 18 115 500"
8
+ PerfIndexThresholds_GlobalIlluminationQuality="GPU 18 115 500"
9
+ PerfIndexThresholds_ReflectionQuality="GPU 18 115 350"
10
+ PerfIndexThresholds_PostProcessQuality="GPU 18 115 350"
11
+ PerfIndexThresholds_TextureQuality="GPU 18 115 250"
12
+ PerfIndexThresholds_EffectsQuality="GPU 18 115 350"
13
+ PerfIndexThresholds_FoliageQuality="GPU 18 115 250"
14
+ PerfIndexThresholds_ShadingQuality="GPU 18 115 250"
15
+
16
+
17
+ ; Change some shadow settings to match the map content
18
+ [ShadowQuality@0]
19
+ r.Shadow.Virtual.ResolutionLodBiasDirectional=0
20
+
21
+ [ShadowQuality@1]
22
+ r.Shadow.Virtual.ResolutionLodBiasDirectional=0
23
+
24
+ [ShadowQuality@2]
25
+ r.Shadow.Virtual.ResolutionLodBiasDirectional=0
26
+
27
+ [ShadowQuality@3]
28
+ r.Shadow.Virtual.ResolutionLodBiasDirectional=-1.5
29
+
30
+ ; Change some reflection settings to match the map content
31
+ [GlobalIlluminationQuality@0]
32
+ r.DistanceFieldAO=0
33
+
34
+ [GlobalIlluminationQuality@1]
35
+ ; Enable DFAO when Lumen is off
36
+ r.DistanceFieldAO=1
37
+
38
+ [GlobalIlluminationQuality@2]
39
+ r.DistanceFieldAO=0
40
+
41
+ [GlobalIlluminationQuality@3]
42
+ r.DistanceFieldAO=0
43
+
44
+ [GlobalIlluminationQuality@Cine]
45
+ r.DistanceFieldAO=0
46
+
47
+
48
+ [ReflectionQuality@0]
49
+ r.Lumen.Reflections.Allow=0
50
+
51
+ [ReflectionQuality@1]
52
+ r.Lumen.Reflections.Allow=0
53
+
54
+ [ReflectionQuality@2]
55
+ r.Lumen.Reflections.Allow=1
56
+ r.Lumen.Reflections.DownsampleFactor=2
57
+ r.Lumen.Reflections.RadianceCache=1
58
+
59
+ [ReflectionQuality@3]
60
+ r.Lumen.Reflections.Allow=1
61
+ r.Lumen.Reflections.DownsampleFactor=2
62
+ r.Lumen.Reflections.RadianceCache=1
63
+
64
+ [ReflectionQuality@Cine]
65
+ r.Lumen.Reflections.Allow=1
66
+ r.Lumen.Reflections.DownsampleFactor=1
67
+ r.Lumen.Reflections.RadianceCache=0
68
+
69
+
70
+ ; Engine scalability groups can be reorganized by using game-specific ini override syntax
71
+ ; These changes disable the FoliageQuality group entirely and moves those settings over to ViewDistanceQuality
72
+ [FoliageQuality@0]
73
+ -foliage.DensityScale=0
74
+ -grass.DensityScale=0
75
+
76
+ [FoliageQuality@1]
77
+ -foliage.DensityScale=0.4
78
+ -grass.DensityScale=0.4
79
+
80
+ [FoliageQuality@2]
81
+ -foliage.DensityScale=0.8
82
+ -grass.DensityScale=0.8
83
+
84
+ [FoliageQuality@3]
85
+ -foliage.DensityScale=1.0
86
+ -grass.DensityScale=1.0
87
+
88
+ [FoliageQuality@Cine]
89
+ -foliage.DensityScale=1.0
90
+ -grass.DensityScale=1.0
91
+
92
+
93
+ [ViewDistanceQuality@0]
94
+ foliage.DensityScale=0
95
+ grass.DensityScale=0
96
+
97
+ [ViewDistanceQuality@1]
98
+ foliage.DensityScale=0.4
99
+ grass.DensityScale=0.4
100
+
101
+ [ViewDistanceQuality@2]
102
+ foliage.DensityScale=1.0
103
+ grass.DensityScale=1.0
104
+
105
+ [ViewDistanceQuality@3]
106
+ foliage.DensityScale=1.0
107
+ grass.DensityScale=1.0
108
+
109
+ [ViewDistanceQuality@Cine]
110
+ foliage.DensityScale=1.0
111
+ grass.DensityScale=1.0
112
+
113
+
LyraStarterGame/Content/B_LyraGameInstance.uasset ADDED
Binary file (9.81 kB). View file
 
LyraStarterGame/Content/B_LyraGameMode.uasset ADDED
Binary file (19.2 kB). View file
 
LyraStarterGame/Content/DefaultGameData.uasset ADDED
Binary file (1.99 kB). View file
 
LyraStarterGame/Plugins/AsyncMixin/AsyncMixin.uplugin ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "AsyncMixin",
6
+ "Description": "C++ utility class for managing asynchronous operations like loading.",
7
+ "Category": "UI",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "http://epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "EnabledByDefault": false,
14
+ "Modules": [
15
+ {
16
+ "Name": "AsyncMixin",
17
+ "Type": "Runtime",
18
+ "LoadingPhase": "Default"
19
+ }
20
+ ]
21
+ }
LyraStarterGame/Plugins/CommonGame/CommonGame.uplugin ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "CommonGame",
6
+ "Description": "Generic gameplay classes that use the other Common plugins.",
7
+ "Category": "Gameplay",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "https://www.epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "CanContainContent": false,
14
+ "IsBetaVersion": false,
15
+ "Installed": false,
16
+
17
+ "Modules": [
18
+ {
19
+ "Name": "CommonGame",
20
+ "Type": "Runtime",
21
+ "LoadingPhase": "Default"
22
+ }
23
+ ],
24
+ "Plugins": [
25
+ {
26
+ "Name": "CommonUI",
27
+ "Enabled": true
28
+ },
29
+ {
30
+ "Name": "CommonUser",
31
+ "Enabled": true
32
+ },
33
+ {
34
+ "Name": "ModularGameplayActors",
35
+ "Enabled": true
36
+ },
37
+ {
38
+ "Name": "OnlineFramework",
39
+ "Enabled": true
40
+ }
41
+ ]
42
+ }
LyraStarterGame/Plugins/CommonLoadingScreen/CommonLoadingScreen.uplugin ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "CommonLoadingScreen",
6
+ "Description": "Loading screen manager handling creation and display of a project-specified loading screen widget",
7
+ "Category": "Gameplay",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "https://www.epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "CanContainContent": false,
14
+ "IsBetaVersion": false,
15
+ "IsExperimentalVersion": false,
16
+ "Installed": false,
17
+ "Modules": [
18
+ {
19
+ "Name": "CommonLoadingScreen",
20
+ "Type": "Runtime",
21
+ "LoadingPhase": "Default"
22
+ },
23
+ {
24
+ "Name": "CommonStartupLoadingScreen",
25
+ "Type": "ClientOnly",
26
+ "LoadingPhase": "PreLoadingScreen"
27
+ }
28
+ ]
29
+ }
LyraStarterGame/Plugins/CommonUser/CommonUser.uplugin ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "CommonUser",
6
+ "Description": "Provides gameplay code and blueprint wrappers for online and platform operations.",
7
+ "Category": "Gameplay",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "https://www.epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "CanContainContent": false,
14
+ "IsBetaVersion": false,
15
+ "IsExperimentalVersion": false,
16
+ "Installed": false,
17
+ "Modules": [
18
+ {
19
+ "Name": "CommonUser",
20
+ "Type": "Runtime",
21
+ "LoadingPhase": "Default"
22
+ }
23
+ ],
24
+ "Plugins": [
25
+ {
26
+ "Name": "OnlineSubsystem",
27
+ "Enabled": true
28
+ },
29
+ {
30
+ "Name": "OnlineSubsystemUtils",
31
+ "Enabled": true
32
+ },
33
+ {
34
+ "Name": "OnlineServices",
35
+ "Enabled": true
36
+ }
37
+ ]
38
+ }
LyraStarterGame/Plugins/GameSettings/GameSettings.uplugin ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "GameSettings",
6
+ "Description": "System for defining game-specific settings and exposing them to the UI.",
7
+ "Category": "UI",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "https://www.epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "CanContainContent": false,
14
+ "IsBetaVersion": false,
15
+ "Installed": false,
16
+
17
+ "Modules": [
18
+ {
19
+ "Name": "GameSettings",
20
+ "Type": "Runtime",
21
+ "LoadingPhase": "Default"
22
+ }
23
+ ],
24
+ "Plugins": [
25
+ {
26
+ "Name": "CommonUI",
27
+ "Enabled": true
28
+ }
29
+ ]
30
+ }
LyraStarterGame/Plugins/GameSubtitles/GameSubtitles.uplugin ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion" : 3,
3
+ "Version" : 1,
4
+ "VersionName" : "1.0",
5
+ "FriendlyName" : "Game Subtitles",
6
+ "Description" : "Game support for playing subtitles attached to media player assets.",
7
+ "Category" : "UI",
8
+ "CreatedBy" : "Epic Games, Inc.",
9
+ "CreatedByURL" : "http://epicgames.com",
10
+ "DocsURL" : "",
11
+ "MarketplaceURL" : "",
12
+ "SupportURL" : "",
13
+ "EnabledByDefault" : false,
14
+ "CanContainContent" : false,
15
+ "IsBetaVersion" : false,
16
+ "Installed" : false,
17
+ "Modules" :
18
+ [
19
+ {
20
+ "Name": "GameSubtitles",
21
+ "Type": "Runtime",
22
+ "LoadingPhase" : "Default"
23
+ }
24
+ ]
25
+ }
LyraStarterGame/Plugins/GameplayMessageRouter/GameplayMessageRouter.uplugin ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "Gameplay Message Subsystem",
6
+ "Description": "A subsystem that allows registering for and sending messages between unconnected gameplay objects.",
7
+ "Category": "Gameplay",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "http://epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "EnabledByDefault": true,
14
+ "CanContainContent": false,
15
+ "IsBetaVersion": true,
16
+ "Installed": false,
17
+ "Modules": [
18
+ {
19
+ "Name": "GameplayMessageRuntime",
20
+ "Type": "Runtime",
21
+ "LoadingPhase": "Default"
22
+ },
23
+ {
24
+ "Name": "GameplayMessageNodes",
25
+ "Type": "UncookedOnly",
26
+ "LoadingPhase": "Default"
27
+ }
28
+ ],
29
+ "Plugins": [
30
+ {
31
+ "Name": "GameplayTagsEditor",
32
+ "Enabled": true
33
+ }
34
+ ]
35
+ }
LyraStarterGame/Plugins/LyraExampleContent/LyraExampleContent.uplugin ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "LyraExample",
6
+ "Description": "Lyra Example Content",
7
+ "Category": "Game",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "http://epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "EnabledByDefault": true,
14
+ "CanContainContent": true,
15
+ "IsBetaVersion": false,
16
+ "Installed": false,
17
+ "IsExperimentalVersion": false
18
+ }
LyraStarterGame/Plugins/LyraExtTool/LyraExtTool.uplugin ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "LyraExtTool",
6
+ "Description": "",
7
+ "Category": "Other",
8
+ "CreatedBy": "",
9
+ "CreatedByURL": "",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "CanContainContent": true,
14
+ "IsBetaVersion": false,
15
+ "IsExperimentalVersion": false,
16
+ "Installed": false,
17
+ "Modules": [
18
+ {
19
+ "Name": "LyraExtTool",
20
+ "Type": "Editor",
21
+ "LoadingPhase": "Default"
22
+ }
23
+ ]
24
+ }
LyraStarterGame/Plugins/ModularGameplayActors/ModularGameplayActors.uplugin ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion": 3,
3
+ "Version": 1,
4
+ "VersionName": "1.0",
5
+ "FriendlyName": "Modular Gameplay Actors",
6
+ "Description": "Base classes designed to be used with the Modular Gameplay plugin.",
7
+ "Category": "Gameplay",
8
+ "CreatedBy": "Epic Games, Inc.",
9
+ "CreatedByURL": "http://epicgames.com",
10
+ "DocsURL": "",
11
+ "MarketplaceURL": "",
12
+ "SupportURL": "",
13
+ "EnabledByDefault": true,
14
+ "CanContainContent": false,
15
+ "IsBetaVersion": false,
16
+ "Installed": false,
17
+ "Modules": [
18
+ {
19
+ "Name": "ModularGameplayActors",
20
+ "Type": "Runtime",
21
+ "LoadingPhase": "Default"
22
+ }
23
+ ],
24
+ "Plugins": [
25
+ {
26
+ "Name": "ModularGameplay",
27
+ "Enabled": true
28
+ }
29
+ ]
30
+ }
LyraStarterGame/Plugins/PocketWorlds/Content/M_Black.uasset ADDED
Binary file (80.8 kB). View file
 
LyraStarterGame/Plugins/PocketWorlds/Content/M_PocketCaptureMasked.uasset ADDED
Binary file (7.5 kB). View file
 
LyraStarterGame/Plugins/PocketWorlds/Content/M_White.uasset ADDED
Binary file (66 kB). View file
 
LyraStarterGame/Plugins/PocketWorlds/PocketWorlds.uplugin ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "FileVersion" : 3,
3
+ "Version" : 1,
4
+ "VersionName" : "1.0",
5
+ "FriendlyName" : "Pocket Worlds",
6
+ "Description" : "Pocket Worlds",
7
+ "Category" : "UI",
8
+ "CreatedBy" : "Epic Games, Inc.",
9
+ "CreatedByURL" : "http://epicgames.com",
10
+ "DocsURL" : "",
11
+ "MarketplaceURL" : "",
12
+ "SupportURL" : "",
13
+ "EnabledByDefault" : false,
14
+ "CanContainContent" : true,
15
+ "IsBetaVersion" : false,
16
+ "Installed" : false,
17
+ "Modules" :
18
+ [
19
+ {
20
+ "Name": "PocketWorlds",
21
+ "Type": "Runtime",
22
+ "LoadingPhase" : "Default"
23
+ }
24
+ ]
25
+ }
LyraStarterGame/Plugins/PocketWorlds/Source/PocketWorlds.Build.cs ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ using UnrealBuildTool;
4
+
5
+ public class PocketWorlds : ModuleRules
6
+ {
7
+ public PocketWorlds(ReadOnlyTargetRules Target) : base(Target)
8
+ {
9
+ PublicDependencyModuleNames.AddRange(
10
+ new string[]
11
+ {
12
+ "Core",
13
+ "CoreUObject",
14
+ "Engine",
15
+ }
16
+ );
17
+
18
+ PublicIncludePathModuleNames.AddRange(
19
+ new string[] {
20
+ }
21
+ );
22
+
23
+ PrivateDependencyModuleNames.AddRange(
24
+ new string[]
25
+ {
26
+ // ... add private dependencies that you statically link with here ...
27
+ }
28
+ );
29
+ }
30
+ }
LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCapture.cpp ADDED
@@ -0,0 +1,363 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "PocketCapture.h"
4
+
5
+ #include "Camera/CameraComponent.h"
6
+ #include "Camera/CameraTypes.h"
7
+ #include "Components/PrimitiveComponent.h"
8
+ #include "Components/SceneCaptureComponent.h"
9
+ #include "Components/SceneCaptureComponent2D.h"
10
+ #include "Engine/TextureRenderTarget2D.h"
11
+ #include "PocketCaptureSubsystem.h"
12
+
13
+ #include UE_INLINE_GENERATED_CPP_BY_NAME(PocketCapture)
14
+
15
+ class UWorld;
16
+
17
+ // UPocketCapture
18
+ //---------------------------------------------------------------------------------
19
+
20
+ UPocketCapture::UPocketCapture()
21
+ {
22
+ }
23
+
24
+ void UPocketCapture::Initialize(UWorld* InWorld, int32 InRendererIndex)
25
+ {
26
+ PrivateWorld = InWorld;
27
+ RendererIndex = InRendererIndex;
28
+
29
+ CaptureComponent = NewObject<USceneCaptureComponent2D>(this, "Thumbnail_Capture_Component");
30
+ CaptureComponent->RegisterComponentWithWorld(InWorld);
31
+ CaptureComponent->bConsiderUnrenderedOpaquePixelAsFullyTranslucent = true;
32
+ CaptureComponent->PrimitiveRenderMode = ESceneCapturePrimitiveRenderMode::PRM_UseShowOnlyList;
33
+ CaptureComponent->bCaptureEveryFrame = false;
34
+ CaptureComponent->bCaptureOnMovement = false;
35
+ CaptureComponent->bAlwaysPersistRenderingState = true;
36
+
37
+ //UE_LOG(LogPocketLevels, Log, TEXT("ThumbnailRenderer: Initialize:%s"), *GetName());
38
+ }
39
+
40
+ void UPocketCapture::Deinitialize()
41
+ {
42
+ CaptureComponent->UnregisterComponent();
43
+
44
+ //UE_LOG(LogPocketLevels, Log, TEXT("ThumbnailRenderer: Deinitialize:%s"), *GetName());
45
+ }
46
+
47
+ void UPocketCapture::BeginDestroy()
48
+ {
49
+ Super::BeginDestroy();
50
+
51
+ if (CaptureComponent)
52
+ {
53
+ CaptureComponent->UnregisterComponent();
54
+ CaptureComponent = nullptr;
55
+ }
56
+ }
57
+
58
+ void UPocketCapture::SetRenderTargetSize(int32 Width, int32 Height)
59
+ {
60
+ if (SurfaceWidth != Width || SurfaceHeight != Height)
61
+ {
62
+ SurfaceWidth = Width;
63
+ SurfaceHeight = Height;
64
+
65
+ if (DiffuseRT)
66
+ {
67
+ DiffuseRT->ResizeTarget(SurfaceWidth, SurfaceHeight);
68
+ }
69
+
70
+ if (AlphaMaskRT)
71
+ {
72
+ AlphaMaskRT->ResizeTarget(SurfaceWidth, SurfaceHeight);
73
+ }
74
+
75
+ if (EffectsRT)
76
+ {
77
+ EffectsRT->ResizeTarget(SurfaceWidth, SurfaceHeight);
78
+ }
79
+ }
80
+
81
+ //UE_LOG(LogPocketLevels, Log, TEXT("ThumbnailRenderer: SetRenderTargetSize:%dx%d"), Width, Height);
82
+ }
83
+
84
+ UTextureRenderTarget2D* UPocketCapture::GetOrCreateDiffuseRenderTarget()
85
+ {
86
+ if (DiffuseRT == nullptr)
87
+ {
88
+ DiffuseRT = NewObject<UTextureRenderTarget2D>(this, TEXT("ThumbnailRenderer_Diffuse"));
89
+ DiffuseRT->RenderTargetFormat = RTF_RGBA8;
90
+ DiffuseRT->InitAutoFormat(SurfaceWidth, SurfaceHeight);
91
+ DiffuseRT->UpdateResourceImmediate(true);
92
+ }
93
+
94
+ return DiffuseRT;
95
+ }
96
+
97
+ UTextureRenderTarget2D* UPocketCapture::GetOrCreateAlphaMaskRenderTarget()
98
+ {
99
+ if (AlphaMaskRT == nullptr)
100
+ {
101
+ AlphaMaskRT = NewObject<UTextureRenderTarget2D>(this, TEXT("ThumbnailRenderer_AlphaMask"));
102
+ AlphaMaskRT->RenderTargetFormat = RTF_R8;
103
+ AlphaMaskRT->InitAutoFormat(SurfaceWidth, SurfaceHeight);
104
+ AlphaMaskRT->UpdateResourceImmediate(true);
105
+ }
106
+
107
+ return AlphaMaskRT;
108
+ }
109
+
110
+ UTextureRenderTarget2D* UPocketCapture::GetOrCreateEffectsRenderTarget()
111
+ {
112
+ if (EffectsRT == nullptr)
113
+ {
114
+ EffectsRT = NewObject<UTextureRenderTarget2D>(this, TEXT("ThumbnailRenderer_Fx"));
115
+ EffectsRT->RenderTargetFormat = RTF_R8;
116
+ EffectsRT->InitAutoFormat(SurfaceWidth, SurfaceHeight);
117
+ EffectsRT->UpdateResourceImmediate(true);
118
+ }
119
+
120
+ return EffectsRT;
121
+ }
122
+
123
+ void UPocketCapture::SetCaptureTarget(AActor* InCaptureTarget)
124
+ {
125
+ CaptureTargetPtr = InCaptureTarget;
126
+
127
+ OnCaptureTargetChanged(InCaptureTarget);
128
+ }
129
+
130
+ void UPocketCapture::SetAlphaMaskedActors(const TArray<AActor*>& InCaptureTargets)
131
+ {
132
+ AlphaMaskActorPtrs.Reset();
133
+
134
+ for (AActor* CaptureTarget : InCaptureTargets)
135
+ {
136
+ AlphaMaskActorPtrs.Add(CaptureTarget);
137
+ }
138
+ }
139
+
140
+ UPocketCaptureSubsystem* UPocketCapture::GetThumbnailSystem() const
141
+ {
142
+ return CastChecked<UPocketCaptureSubsystem>(GetOuter());
143
+ }
144
+
145
+ TArray<UPrimitiveComponent*> UPocketCapture::GatherPrimitivesForCapture(const TArray<AActor*>& InCaptureActors) const
146
+ {
147
+ const bool bIncludeFromChildActors = true;
148
+ TArray<UPrimitiveComponent*> PrimitiveComponents;
149
+
150
+ for (AActor* CaptureActor : InCaptureActors)
151
+ {
152
+ TArray<UPrimitiveComponent*> ChildPrimitiveComponents;
153
+ CaptureActor->GetComponents(ChildPrimitiveComponents, bIncludeFromChildActors);
154
+
155
+ for (UPrimitiveComponent* ChildPrimitiveComponent : ChildPrimitiveComponents)
156
+ {
157
+ if (!ChildPrimitiveComponent->bHiddenInGame)
158
+ {
159
+ PrimitiveComponents.Add(ChildPrimitiveComponent);
160
+ }
161
+ }
162
+ }
163
+
164
+ return PrimitiveComponents;
165
+ }
166
+
167
+ bool UPocketCapture::CaptureScene(UTextureRenderTarget2D* InRenderTarget, const TArray<AActor*>& InCaptureActors, ESceneCaptureSource InCaptureSource, UMaterialInterface* OverrideMaterial)
168
+ {
169
+ if (InRenderTarget == nullptr)
170
+ {
171
+ //UE_LOG(LogPocketLevels, Error, TEXT(""));
172
+ return false;
173
+ }
174
+
175
+ if (AActor* CaptureTarget = CaptureTargetPtr.Get())
176
+ {
177
+ if (InCaptureActors.Num() > 0)
178
+ {
179
+ TArray<UPrimitiveComponent*> PrimitiveComponents = GatherPrimitivesForCapture(InCaptureActors);
180
+
181
+ GetThumbnailSystem()->StreamThisFrame(PrimitiveComponents);
182
+
183
+ TArray<UMaterialInterface*> OriginalMaterials;
184
+ if (OverrideMaterial)
185
+ {
186
+ for (UPrimitiveComponent* PrimitiveComponent : PrimitiveComponents)
187
+ {
188
+ const int32 MaterialCount = PrimitiveComponent->GetNumMaterials();
189
+ for (int32 MaterialIndex = 0; MaterialIndex < MaterialCount; MaterialIndex++)
190
+ {
191
+ OriginalMaterials.Add(PrimitiveComponent->GetMaterial(MaterialIndex));
192
+
193
+ PrimitiveComponent->SetMaterial(MaterialIndex, OverrideMaterial);
194
+ }
195
+ }
196
+ }
197
+
198
+ UCameraComponent* Camera = CaptureTarget->FindComponentByClass<UCameraComponent>();
199
+ if (ensure(Camera))
200
+ {
201
+ CaptureComponent->ShowOnlyActors = InCaptureActors;
202
+
203
+ FMinimalViewInfo CaptureView;
204
+ Camera->GetCameraView(0, CaptureView);
205
+
206
+ // We need to make sure the texture streamer takes into account this new location,
207
+ // this request only lasts for one tick, so we call it every time we need to draw,
208
+ // so that they stay resident.
209
+
210
+ CaptureComponent->TextureTarget = InRenderTarget;
211
+ CaptureComponent->PostProcessSettings = Camera->PostProcessSettings;
212
+ CaptureComponent->SetCameraView(CaptureView);
213
+
214
+ CaptureComponent->ShowFlags.SetDepthOfField(false);
215
+ CaptureComponent->ShowFlags.SetMotionBlur(false);
216
+ CaptureComponent->ShowFlags.SetScreenPercentage(false);
217
+ CaptureComponent->ShowFlags.SetScreenSpaceReflections(false);
218
+ CaptureComponent->ShowFlags.SetDistanceFieldAO(false);
219
+
220
+ CaptureComponent->ShowFlags.SetLensFlares(false);
221
+ CaptureComponent->ShowFlags.SetOnScreenDebug(false);
222
+ //CaptureComponent->ShowFlags.SetEyeAdaptation(false);
223
+ CaptureComponent->ShowFlags.SetColorGrading(false);
224
+ CaptureComponent->ShowFlags.SetCameraImperfections(false);
225
+ CaptureComponent->ShowFlags.SetVignette(false);
226
+ CaptureComponent->ShowFlags.SetGrain(false);
227
+ CaptureComponent->ShowFlags.SetSeparateTranslucency(false);
228
+ CaptureComponent->ShowFlags.SetScreenPercentage(false);
229
+ CaptureComponent->ShowFlags.SetScreenSpaceReflections(false);
230
+ CaptureComponent->ShowFlags.SetTemporalAA(false);
231
+ // might cause reallocation if we render rarely to it - for now off
232
+ CaptureComponent->ShowFlags.SetAmbientOcclusion(false);
233
+ // Requires resources in the FScene, which get reallocated for every temporary scene if enabled
234
+ CaptureComponent->ShowFlags.SetIndirectLightingCache(false);
235
+ CaptureComponent->ShowFlags.SetLightShafts(false);
236
+ CaptureComponent->ShowFlags.SetPostProcessMaterial(false);
237
+ CaptureComponent->ShowFlags.SetHighResScreenshotMask(false);
238
+ CaptureComponent->ShowFlags.SetHMDDistortion(false);
239
+ CaptureComponent->ShowFlags.SetStereoRendering(false);
240
+ CaptureComponent->ShowFlags.SetVolumetricFog(false);
241
+ CaptureComponent->ShowFlags.SetVolumetricLightmap(false);
242
+ CaptureComponent->ShowFlags.SetSkyLighting(false);
243
+
244
+ CaptureComponent->CaptureSource = InCaptureSource;
245
+ CaptureComponent->ProfilingEventName = TEXT("Pocket Capture");
246
+ CaptureComponent->CaptureScene();
247
+
248
+ if (OriginalMaterials.Num() > 0)
249
+ {
250
+ int32 TotalMaterialIndex = 0;
251
+ for (UPrimitiveComponent* PrimitiveComponent : PrimitiveComponents)
252
+ {
253
+ const int32 MaterialCount = PrimitiveComponent->GetNumMaterials();
254
+ for (int32 MaterialIndex = 0; MaterialIndex < MaterialCount; MaterialIndex++)
255
+ {
256
+ PrimitiveComponent->SetMaterial(MaterialIndex, OriginalMaterials[TotalMaterialIndex]);
257
+ TotalMaterialIndex++;
258
+ }
259
+ }
260
+ }
261
+
262
+ return true;
263
+ }
264
+ }
265
+ else
266
+ {
267
+ //UE_LOG(LogPocketLevels, Warning, TEXT("UPocketCapture: %s CaptureScene Failed: No Capture Actors"), *GetName());
268
+ }
269
+ }
270
+ else
271
+ {
272
+ //UE_LOG(LogPocketLevels, Warning, TEXT("UPocketCapture: %s CaptureScene Failed: No Capture Target"), *GetName());
273
+ }
274
+
275
+ return false;
276
+ }
277
+
278
+ void UPocketCapture::CaptureDiffuse()
279
+ {
280
+ if (UTextureRenderTarget2D* RenderTarget = GetOrCreateDiffuseRenderTarget())
281
+ {
282
+ TArray<AActor*> CaptureActors;
283
+ if (AActor* CaptureTarget = CaptureTargetPtr.Get())
284
+ {
285
+ CaptureTarget->GetAttachedActors(CaptureActors);
286
+ CaptureActors.Add(CaptureTarget);
287
+ }
288
+
289
+ CaptureScene(RenderTarget, CaptureActors, ESceneCaptureSource::SCS_FinalColorLDR, nullptr);
290
+ }
291
+ }
292
+
293
+ void UPocketCapture::CaptureAlphaMask()
294
+ {
295
+ if (UTextureRenderTarget2D* RenderTarget = GetOrCreateAlphaMaskRenderTarget())
296
+ {
297
+ TArray<AActor*> CaptureActors;
298
+ for (const TWeakObjectPtr<AActor>& AlphaMaskTargetPtr : AlphaMaskActorPtrs)
299
+ {
300
+ if (AActor* AlphaMaskTarget = AlphaMaskTargetPtr.Get())
301
+ {
302
+ CaptureActors.Add(AlphaMaskTarget);
303
+ }
304
+ }
305
+
306
+ CaptureScene(RenderTarget, CaptureActors, ESceneCaptureSource::SCS_SceneColorHDR, AlphaMaskMaterial);
307
+ }
308
+ }
309
+
310
+ void UPocketCapture::CaptureEffects()
311
+ {
312
+ if (UTextureRenderTarget2D* RenderTarget = GetOrCreateEffectsRenderTarget())
313
+ {
314
+ ensure(false);//TODO
315
+ TArray<AActor*> CaptureActors;
316
+ CaptureScene(RenderTarget, CaptureActors, ESceneCaptureSource::SCS_SceneColorHDR, EffectMaskMaterial);
317
+ }
318
+ }
319
+
320
+ void UPocketCapture::ReleaseResources()
321
+ {
322
+ if (DiffuseRT)
323
+ {
324
+ DiffuseRT->ReleaseResource();
325
+ }
326
+
327
+ if (AlphaMaskRT)
328
+ {
329
+ AlphaMaskRT->ReleaseResource();
330
+ }
331
+
332
+ if (EffectsRT)
333
+ {
334
+ EffectsRT->ReleaseResource();
335
+ }
336
+
337
+ //OnReleaseResources();
338
+ }
339
+
340
+ void UPocketCapture::ReclaimResources()
341
+ {
342
+ if (DiffuseRT)
343
+ {
344
+ DiffuseRT->UpdateResource();
345
+ }
346
+
347
+ if (AlphaMaskRT)
348
+ {
349
+ AlphaMaskRT->UpdateResource();
350
+ }
351
+
352
+ if (EffectsRT)
353
+ {
354
+ EffectsRT->UpdateResource();
355
+ }
356
+
357
+ //OnReclaimResources();
358
+ }
359
+
360
+ int32 UPocketCapture::GetRendererIndex() const
361
+ {
362
+ return RendererIndex;
363
+ }
LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketCaptureSubsystem.cpp ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "PocketCaptureSubsystem.h"
4
+
5
+ #include "Components/PrimitiveComponent.h"
6
+ #include "PocketCapture.h"
7
+
8
+ #include UE_INLINE_GENERATED_CPP_BY_NAME(PocketCaptureSubsystem)
9
+
10
+ class FSubsystemCollectionBase;
11
+
12
+ // UPocketCaptureSubsystem
13
+ //---------------------------------------------------------------------------------
14
+
15
+ UPocketCaptureSubsystem::UPocketCaptureSubsystem()
16
+ {
17
+ }
18
+
19
+ void UPocketCaptureSubsystem::Initialize(FSubsystemCollectionBase& Collection)
20
+ {
21
+ TickHandle = FTSTicker::GetCoreTicker().AddTicker(FTickerDelegate::CreateUObject(this, &ThisClass::Tick));
22
+ }
23
+
24
+ void UPocketCaptureSubsystem::Deinitialize()
25
+ {
26
+ FTSTicker::GetCoreTicker().RemoveTicker(TickHandle);
27
+
28
+ for (int32 RendererIndex = 0; RendererIndex < ThumbnailRenderers.Num(); RendererIndex++)
29
+ {
30
+ if (UPocketCapture* Renderer = ThumbnailRenderers[RendererIndex].Get())
31
+ {
32
+ Renderer->Deinitialize();
33
+ }
34
+ }
35
+
36
+ ThumbnailRenderers.Reset();
37
+ }
38
+
39
+ UPocketCapture* UPocketCaptureSubsystem::CreateThumbnailRenderer(TSubclassOf<UPocketCapture> ThumbnailRendererClass)
40
+ {
41
+ UPocketCapture* Renderer = NewObject<UPocketCapture>(this, ThumbnailRendererClass);
42
+
43
+ int32 RendererEmptyIndex = ThumbnailRenderers.IndexOfByKey(nullptr);
44
+ if (RendererEmptyIndex == INDEX_NONE)
45
+ {
46
+ RendererEmptyIndex = ThumbnailRenderers.Add(Renderer);
47
+ }
48
+ else
49
+ {
50
+ ThumbnailRenderers[RendererEmptyIndex] = Renderer;
51
+ }
52
+
53
+ Renderer->Initialize(GetWorld(), RendererEmptyIndex);
54
+
55
+ return Renderer;
56
+ }
57
+
58
+ void UPocketCaptureSubsystem::DestroyThumbnailRenderer(UPocketCapture* ThumbnailRenderer)
59
+ {
60
+ if (ThumbnailRenderer)
61
+ {
62
+ const int32 ThumbnailIndex = ThumbnailRenderers.IndexOfByKey(ThumbnailRenderer);
63
+ if (ThumbnailIndex != INDEX_NONE)
64
+ {
65
+ ThumbnailRenderers[ThumbnailIndex] = nullptr;
66
+ ThumbnailRenderer->Deinitialize();
67
+ }
68
+ }
69
+ }
70
+
71
+ void UPocketCaptureSubsystem::StreamThisFrame(TArray<UPrimitiveComponent*>& PrimitiveComponents)
72
+ {
73
+ for (UPrimitiveComponent* PrimitiveComponent : PrimitiveComponents)
74
+ {
75
+ PrimitiveComponent->bForceMipStreaming = true;
76
+ StreamedLastFrameButNotNext.Remove(PrimitiveComponent);
77
+ }
78
+
79
+ StreamNextFrame.Append(PrimitiveComponents);
80
+ }
81
+
82
+ bool UPocketCaptureSubsystem::Tick(float DeltaTime)
83
+ {
84
+ QUICK_SCOPE_CYCLE_COUNTER(STAT_URealTimeThumbnailSubsystem_Tick);
85
+
86
+ for (TWeakObjectPtr<UPrimitiveComponent> PrimitiveComponent : StreamedLastFrameButNotNext)
87
+ {
88
+ if (PrimitiveComponent.IsValid())
89
+ {
90
+ PrimitiveComponent->bForceMipStreaming = false;
91
+ }
92
+ }
93
+
94
+ StreamedLastFrameButNotNext = MoveTemp(StreamNextFrame);
95
+
96
+ return true;
97
+ }
98
+
LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevel.cpp ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "PocketLevel.h"
4
+
5
+ #include UE_INLINE_GENERATED_CPP_BY_NAME(PocketLevel)
6
+
7
+ UPocketLevel::UPocketLevel()
8
+ {
9
+
10
+ }
11
+
LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelInstance.cpp ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "PocketLevelInstance.h"
4
+
5
+ #include "Engine/Level.h"
6
+ #include "Engine/LevelStreaming.h"
7
+ #include "Engine/LevelStreamingDynamic.h"
8
+ #include "Engine/LocalPlayer.h"
9
+ #include "GameFramework/PlayerController.h"
10
+ #include "PocketLevel.h"
11
+
12
+ #include UE_INLINE_GENERATED_CPP_BY_NAME(PocketLevelInstance)
13
+
14
+ UPocketLevelInstance::UPocketLevelInstance()
15
+ {
16
+
17
+ }
18
+
19
+ bool UPocketLevelInstance::Initialize(ULocalPlayer* InLocalPlayer, UPocketLevel* InPocketLevel, FVector InSpawnPoint)
20
+ {
21
+ LocalPlayer = InLocalPlayer;
22
+ World = LocalPlayer->GetWorld();
23
+ PocketLevel = InPocketLevel;
24
+ Bounds = FBoxSphereBounds(FSphere(InSpawnPoint, PocketLevel->Bounds.GetAbsMax()));
25
+
26
+ if (ensure(StreamingPocketLevel == nullptr))
27
+ {
28
+ if (ensure(!PocketLevel->Level.IsNull()))
29
+ {
30
+ bool bSuccess = false;
31
+ StreamingPocketLevel = ULevelStreamingDynamic::LoadLevelInstanceBySoftObjectPtr(LocalPlayer, PocketLevel->Level, Bounds.Origin, FRotator::ZeroRotator, bSuccess);
32
+
33
+ if (ensure(bSuccess && StreamingPocketLevel))
34
+ {
35
+ StreamingPocketLevel->OnLevelLoaded.AddUniqueDynamic(this, &ThisClass::HandlePocketLevelLoaded);
36
+ StreamingPocketLevel->OnLevelShown.AddUniqueDynamic(this, &ThisClass::HandlePocketLevelShown);
37
+ }
38
+
39
+ return bSuccess;
40
+ }
41
+ }
42
+
43
+ return false;
44
+ }
45
+
46
+ void UPocketLevelInstance::StreamIn()
47
+ {
48
+ if (StreamingPocketLevel)
49
+ {
50
+ StreamingPocketLevel->SetShouldBeVisible(true);
51
+ StreamingPocketLevel->SetShouldBeLoaded(true);
52
+ }
53
+ }
54
+
55
+ void UPocketLevelInstance::StreamOut()
56
+ {
57
+ if (StreamingPocketLevel)
58
+ {
59
+ StreamingPocketLevel->SetShouldBeVisible(false);
60
+ StreamingPocketLevel->SetShouldBeLoaded(false);
61
+ }
62
+ }
63
+
64
+ FDelegateHandle UPocketLevelInstance::AddReadyCallback(FPocketLevelInstanceEvent::FDelegate Callback)
65
+ {
66
+ if (StreamingPocketLevel->GetLevelStreamingState() == ELevelStreamingState::LoadedVisible)
67
+ {
68
+ Callback.ExecuteIfBound(this);
69
+ }
70
+
71
+ return OnReadyEvent.Add(Callback);
72
+ }
73
+
74
+ void UPocketLevelInstance::RemoveReadyCallback(FDelegateHandle CallbackToRemove)
75
+ {
76
+ OnReadyEvent.Remove(CallbackToRemove);
77
+ }
78
+
79
+ void UPocketLevelInstance::BeginDestroy()
80
+ {
81
+ Super::BeginDestroy();
82
+
83
+ if (StreamingPocketLevel)
84
+ {
85
+ StreamingPocketLevel->bShouldBlockOnUnload = false;
86
+ StreamingPocketLevel->SetShouldBeLoaded(false);
87
+ StreamingPocketLevel->OnLevelShown.RemoveAll(this);
88
+ StreamingPocketLevel->OnLevelLoaded.RemoveAll(this);
89
+ StreamingPocketLevel = nullptr;
90
+ }
91
+ }
92
+
93
+ void UPocketLevelInstance::HandlePocketLevelLoaded()
94
+ {
95
+ if (StreamingPocketLevel)
96
+ {
97
+ // Make everything in the level setup so that it's setup on the client, and we treat
98
+ // everything as locally spawned, rather than bExchangedRoles = true, where it's spawned
99
+ // on the client, but the expectation is the server said do it, and the server is going to
100
+ // be telling us about them later.
101
+ if (ULevel* LoadedLevel = StreamingPocketLevel->GetLoadedLevel())
102
+ {
103
+ LoadedLevel->bClientOnlyVisible = true;
104
+
105
+ for (AActor* Actor : LoadedLevel->Actors)
106
+ {
107
+ if (Actor)
108
+ {
109
+ Actor->bExchangedRoles = true; // HACK, Remove when bClientOnlyVisible is all we need.
110
+ }
111
+ }
112
+
113
+ // TODO: Don't put ownership over shared pocket spaces.
114
+ if (LocalPlayer)
115
+ {
116
+ if (APlayerController* PC = LocalPlayer->GetPlayerController(GetWorld()))
117
+ {
118
+ for (AActor* Actor : LoadedLevel->Actors)
119
+ {
120
+ if (Actor)
121
+ {
122
+ Actor->SetOwner(PC);
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
130
+
131
+ void UPocketLevelInstance::HandlePocketLevelShown()
132
+ {
133
+ OnReadyEvent.Broadcast(this);
134
+ }
135
+
LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketLevelSystem.cpp ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "PocketLevelSystem.h"
4
+
5
+ #include "PocketLevel.h"
6
+ #include "PocketLevelInstance.h"
7
+
8
+ #include UE_INLINE_GENERATED_CPP_BY_NAME(PocketLevelSystem)
9
+
10
+ UPocketLevelInstance* UPocketLevelSubsystem::GetOrCreatePocketLevelFor(ULocalPlayer* LocalPlayer, UPocketLevel* PocketLevel, FVector DesiredSpawnPoint)
11
+ {
12
+ if (PocketLevel == nullptr)
13
+ {
14
+ return nullptr;
15
+ }
16
+
17
+ float VerticalBoundsOffset = 0;
18
+ for (UPocketLevelInstance* Instance : PocketInstances)
19
+ {
20
+ if (Instance->LocalPlayer == LocalPlayer && Instance->PocketLevel == PocketLevel)
21
+ {
22
+ return Instance;
23
+ }
24
+
25
+ VerticalBoundsOffset += Instance->PocketLevel->Bounds.Z;
26
+ }
27
+
28
+ const FVector SpawnPoint = DesiredSpawnPoint + FVector(0, 0, VerticalBoundsOffset);
29
+
30
+ UPocketLevelInstance* NewInstance = NewObject<UPocketLevelInstance>(this);
31
+ NewInstance->Initialize(LocalPlayer, PocketLevel, SpawnPoint);
32
+
33
+ PocketInstances.Add(NewInstance);
34
+
35
+ return NewInstance;
36
+ }
LyraStarterGame/Plugins/PocketWorlds/Source/Private/PocketWorldsModule.cpp ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "Modules/ModuleManager.h"
4
+
5
+ class FPocketWorldsModule : public IModuleInterface
6
+ {
7
+ public:
8
+ /** IModuleInterface implementation */
9
+ virtual void StartupModule() override;
10
+ virtual void ShutdownModule() override;
11
+ };
12
+
13
+ void FPocketWorldsModule::StartupModule()
14
+ {
15
+ // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
16
+ }
17
+
18
+ void FPocketWorldsModule::ShutdownModule()
19
+ {
20
+ // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
21
+ // we call this function before unloading the module.
22
+ }
23
+
24
+ IMPLEMENT_MODULE(FPocketWorldsModule, PocketWorlds)
LyraStarterGame/Plugins/PocketWorlds/Source/Public/PocketCapture.h ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #pragma once
4
+
5
+ #include "GameFramework/Actor.h"
6
+
7
+ #include "PocketCapture.generated.h"
8
+
9
+ #define UE_API POCKETWORLDS_API
10
+
11
+ enum ESceneCaptureSource : int;
12
+
13
+ class UMaterialInterface;
14
+ class UPocketCaptureSubsystem;
15
+ class UPrimitiveComponent;
16
+ class USceneCaptureComponent2D;
17
+ class UTextureRenderTarget2D;
18
+ class UWorld;
19
+ struct FFrame;
20
+
21
+ UCLASS(MinimalAPI, Abstract, Within=PocketCaptureSubsystem, BlueprintType, Blueprintable)
22
+ class UPocketCapture : public UObject
23
+ {
24
+ GENERATED_BODY()
25
+
26
+ public:
27
+ UE_API UPocketCapture();
28
+
29
+ UE_API virtual void Initialize(UWorld* InWorld, int32 RendererIndex);
30
+ UE_API virtual void Deinitialize();
31
+
32
+ UE_API virtual void BeginDestroy() override;
33
+
34
+ UFUNCTION(BlueprintCallable)
35
+ UE_API void SetRenderTargetSize(int32 Width, int32 Height);
36
+
37
+ UFUNCTION(BlueprintCallable)
38
+ UE_API UTextureRenderTarget2D* GetOrCreateDiffuseRenderTarget();
39
+
40
+ UFUNCTION(BlueprintCallable)
41
+ UE_API UTextureRenderTarget2D* GetOrCreateAlphaMaskRenderTarget();
42
+
43
+ UFUNCTION(BlueprintCallable)
44
+ UE_API UTextureRenderTarget2D* GetOrCreateEffectsRenderTarget();
45
+
46
+ UFUNCTION(BlueprintCallable)
47
+ UE_API void SetCaptureTarget(AActor* InCaptureTarget);
48
+
49
+ UFUNCTION(BlueprintCallable)
50
+ UE_API void SetAlphaMaskedActors(const TArray<AActor*>& InCaptureTarget);
51
+
52
+ UFUNCTION(BlueprintCallable)
53
+ UE_API void CaptureDiffuse();
54
+
55
+ UFUNCTION(BlueprintCallable)
56
+ UE_API void CaptureAlphaMask();
57
+
58
+ UFUNCTION(BlueprintCallable)
59
+ UE_API void CaptureEffects();
60
+
61
+ UFUNCTION(BlueprintCallable)
62
+ UE_API virtual void ReleaseResources();
63
+
64
+ UFUNCTION(BlueprintCallable)
65
+ UE_API virtual void ReclaimResources();
66
+
67
+ UFUNCTION(BlueprintCallable)
68
+ UE_API int32 GetRendererIndex() const;
69
+
70
+ protected:
71
+ AActor* GetCaptureTarget() const { return CaptureTargetPtr.Get(); }
72
+ virtual void OnCaptureTargetChanged(AActor* InCaptureTarget) {}
73
+
74
+ UE_API bool CaptureScene(UTextureRenderTarget2D* InRenderTarget, const TArray<AActor*>& InCaptureActors, ESceneCaptureSource CaptureSource, UMaterialInterface* OverrideMaterial);
75
+
76
+ protected:
77
+ UE_API TArray<UPrimitiveComponent*> GatherPrimitivesForCapture(const TArray<AActor*>& InCaptureActors) const;
78
+
79
+ UE_API UPocketCaptureSubsystem* GetThumbnailSystem() const;
80
+
81
+ protected:
82
+
83
+ UPROPERTY(EditDefaultsOnly)
84
+ TObjectPtr<UMaterialInterface> AlphaMaskMaterial;
85
+
86
+ UPROPERTY(EditDefaultsOnly)
87
+ TObjectPtr<UMaterialInterface> EffectMaskMaterial;
88
+
89
+ protected:
90
+ UPROPERTY(Transient)
91
+ TObjectPtr<UWorld> PrivateWorld;
92
+
93
+ UPROPERTY(Transient)
94
+ int32 RendererIndex = INDEX_NONE;
95
+
96
+ UPROPERTY(VisibleAnywhere)
97
+ int32 SurfaceWidth = 1;
98
+
99
+ UPROPERTY(VisibleAnywhere)
100
+ int32 SurfaceHeight = 1;
101
+
102
+ UPROPERTY(VisibleAnywhere)
103
+ TObjectPtr<UTextureRenderTarget2D> DiffuseRT;
104
+
105
+ UPROPERTY(VisibleAnywhere)
106
+ TObjectPtr<UTextureRenderTarget2D> AlphaMaskRT;
107
+
108
+ UPROPERTY(VisibleAnywhere)
109
+ TObjectPtr<UTextureRenderTarget2D> EffectsRT;
110
+
111
+ UPROPERTY(VisibleAnywhere)
112
+ TObjectPtr<USceneCaptureComponent2D> CaptureComponent;
113
+
114
+ UPROPERTY(VisibleAnywhere)
115
+ TWeakObjectPtr<AActor> CaptureTargetPtr;
116
+
117
+ UPROPERTY(VisibleAnywhere)
118
+ TArray<TWeakObjectPtr<AActor>> AlphaMaskActorPtrs;
119
+ };
120
+
121
+ #undef UE_API
LyraStarterGame/Plugins/UIExtension/Binaries/Win64/UnrealEditor.modules ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "BuildId": "43139311",
3
+ "Modules":
4
+ {
5
+ "UIExtension": "UnrealEditor-UIExtension.dll"
6
+ }
7
+ }
LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.cpp ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "LogUIExtension.h"
4
+
5
+ DEFINE_LOG_CATEGORY(LogUIExtension);
LyraStarterGame/Plugins/UIExtension/Source/Private/LogUIExtension.h ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #pragma once
4
+
5
+ #include "Logging/LogMacros.h"
6
+
7
+ DECLARE_LOG_CATEGORY_EXTERN(LogUIExtension, Log, All);
LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionModule.cpp ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "Modules/ModuleManager.h"
4
+
5
+ class FUIExtensionModule : public IModuleInterface
6
+ {
7
+ public:
8
+ /** IModuleInterface implementation */
9
+ virtual void StartupModule() override;
10
+ virtual void ShutdownModule() override;
11
+ };
12
+
13
+ void FUIExtensionModule::StartupModule()
14
+ {
15
+ // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
16
+ }
17
+
18
+ void FUIExtensionModule::ShutdownModule()
19
+ {
20
+ // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
21
+ // we call this function before unloading the module.
22
+ }
23
+
24
+ IMPLEMENT_MODULE(FUIExtensionModule, UIExtension)
LyraStarterGame/Plugins/UIExtension/Source/Private/UIExtensionSystem.cpp ADDED
@@ -0,0 +1,372 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "UIExtensionSystem.h"
4
+
5
+ #include "Blueprint/UserWidget.h"
6
+ #include "LogUIExtension.h"
7
+ #include "UObject/Stack.h"
8
+
9
+ #include UE_INLINE_GENERATED_CPP_BY_NAME(UIExtensionSystem)
10
+
11
+ class FSubsystemCollectionBase;
12
+
13
+ //=========================================================
14
+
15
+ void FUIExtensionPointHandle::Unregister()
16
+ {
17
+ if (UUIExtensionSubsystem* ExtensionSourcePtr = ExtensionSource.Get())
18
+ {
19
+ ExtensionSourcePtr->UnregisterExtensionPoint(*this);
20
+ }
21
+ }
22
+
23
+ //=========================================================
24
+
25
+ void FUIExtensionHandle::Unregister()
26
+ {
27
+ if (UUIExtensionSubsystem* ExtensionSourcePtr = ExtensionSource.Get())
28
+ {
29
+ ExtensionSourcePtr->UnregisterExtension(*this);
30
+ }
31
+ }
32
+
33
+ //=========================================================
34
+
35
+ bool FUIExtensionPoint::DoesExtensionPassContract(const FUIExtension* Extension) const
36
+ {
37
+ if (UObject* DataPtr = Extension->Data)
38
+ {
39
+ const bool bMatchesContext =
40
+ (ContextObject.IsExplicitlyNull() && Extension->ContextObject.IsExplicitlyNull()) ||
41
+ ContextObject == Extension->ContextObject;
42
+
43
+ // Make sure the contexts match.
44
+ if (bMatchesContext)
45
+ {
46
+ // The data can either be the literal class of the data type, or a instance of the class type.
47
+ const UClass* DataClass = DataPtr->IsA(UClass::StaticClass()) ? Cast<UClass>(DataPtr) : DataPtr->GetClass();
48
+ for (const UClass* AllowedDataClass : AllowedDataClasses)
49
+ {
50
+ if (DataClass->IsChildOf(AllowedDataClass) || DataClass->ImplementsInterface(AllowedDataClass))
51
+ {
52
+ return true;
53
+ }
54
+ }
55
+ }
56
+ }
57
+
58
+ return false;
59
+ }
60
+
61
+ //=========================================================
62
+
63
+ void UUIExtensionSubsystem::AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector)
64
+ {
65
+ Super::AddReferencedObjects(InThis, Collector);
66
+
67
+ if (UUIExtensionSubsystem* ExtensionSubsystem = Cast<UUIExtensionSubsystem>(InThis))
68
+ {
69
+ for (auto MapIt = ExtensionSubsystem->ExtensionPointMap.CreateIterator(); MapIt; ++MapIt)
70
+ {
71
+ for (const TSharedPtr<FUIExtensionPoint>& ValueElement : MapIt.Value())
72
+ {
73
+ Collector.AddReferencedObjects(ValueElement->AllowedDataClasses);
74
+ }
75
+ }
76
+
77
+ for (auto MapIt = ExtensionSubsystem->ExtensionMap.CreateIterator(); MapIt; ++MapIt)
78
+ {
79
+ for (const TSharedPtr<FUIExtension>& ValueElement : MapIt.Value())
80
+ {
81
+ Collector.AddReferencedObject(ValueElement->Data);
82
+ }
83
+ }
84
+ }
85
+ }
86
+
87
+ void UUIExtensionSubsystem::Initialize(FSubsystemCollectionBase& Collection)
88
+ {
89
+ Super::Initialize(Collection);
90
+ }
91
+
92
+ void UUIExtensionSubsystem::Deinitialize()
93
+ {
94
+ Super::Deinitialize();
95
+ }
96
+
97
+ FUIExtensionPointHandle UUIExtensionSubsystem::RegisterExtensionPoint(const FGameplayTag& ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray<UClass*>& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback)
98
+ {
99
+ return RegisterExtensionPointForContext(ExtensionPointTag, nullptr, ExtensionPointTagMatchType, AllowedDataClasses, ExtensionCallback);
100
+ }
101
+
102
+ FUIExtensionPointHandle UUIExtensionSubsystem::RegisterExtensionPointForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray<UClass*>& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback)
103
+ {
104
+ if (!ExtensionPointTag.IsValid())
105
+ {
106
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension point."));
107
+ return FUIExtensionPointHandle();
108
+ }
109
+
110
+ if (!ExtensionCallback.IsBound())
111
+ {
112
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension point."));
113
+ return FUIExtensionPointHandle();
114
+ }
115
+
116
+ if (AllowedDataClasses.Num() == 0)
117
+ {
118
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension point."));
119
+ return FUIExtensionPointHandle();
120
+ }
121
+
122
+ FExtensionPointList& List = ExtensionPointMap.FindOrAdd(ExtensionPointTag);
123
+
124
+ TSharedPtr<FUIExtensionPoint>& Entry = List.Add_GetRef(MakeShared<FUIExtensionPoint>());
125
+ Entry->ExtensionPointTag = ExtensionPointTag;
126
+ Entry->ContextObject = ContextObject;
127
+ Entry->ExtensionPointTagMatchType = ExtensionPointTagMatchType;
128
+ Entry->AllowedDataClasses = AllowedDataClasses;
129
+ Entry->Callback = MoveTemp(ExtensionCallback);
130
+
131
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension Point [%s] Registered"), *ExtensionPointTag.ToString());
132
+
133
+ NotifyExtensionPointOfExtensions(Entry);
134
+
135
+ return FUIExtensionPointHandle(this, Entry);
136
+ }
137
+
138
+ FUIExtensionHandle UUIExtensionSubsystem::RegisterExtensionAsWidget(const FGameplayTag& ExtensionPointTag, TSubclassOf<UUserWidget> WidgetClass, int32 Priority)
139
+ {
140
+ return RegisterExtensionAsData(ExtensionPointTag, nullptr, WidgetClass, Priority);
141
+ }
142
+
143
+ FUIExtensionHandle UUIExtensionSubsystem::RegisterExtensionAsWidgetForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, TSubclassOf<UUserWidget> WidgetClass, int32 Priority)
144
+ {
145
+ return RegisterExtensionAsData(ExtensionPointTag, ContextObject, WidgetClass, Priority);
146
+ }
147
+
148
+ FUIExtensionHandle UUIExtensionSubsystem::RegisterExtensionAsData(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority)
149
+ {
150
+ if (!ExtensionPointTag.IsValid())
151
+ {
152
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension."));
153
+ return FUIExtensionHandle();
154
+ }
155
+
156
+ if (!Data)
157
+ {
158
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to register an invalid extension."));
159
+ return FUIExtensionHandle();
160
+ }
161
+
162
+ FExtensionList& List = ExtensionMap.FindOrAdd(ExtensionPointTag);
163
+
164
+ TSharedPtr<FUIExtension>& Entry = List.Add_GetRef(MakeShared<FUIExtension>());
165
+ Entry->ExtensionPointTag = ExtensionPointTag;
166
+ Entry->ContextObject = ContextObject;
167
+ Entry->Data = Data;
168
+ Entry->Priority = Priority;
169
+
170
+ if (ContextObject)
171
+ {
172
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] @ [%s] Registered"), *GetNameSafe(Data), *ExtensionPointTag.ToString());
173
+ }
174
+ else
175
+ {
176
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] for [%s] @ [%s] Registered"), *GetNameSafe(Data), *GetNameSafe(ContextObject), *ExtensionPointTag.ToString());
177
+ }
178
+
179
+ NotifyExtensionPointsOfExtension(EUIExtensionAction::Added, Entry);
180
+
181
+ return FUIExtensionHandle(this, Entry);
182
+ }
183
+
184
+ void UUIExtensionSubsystem::NotifyExtensionPointOfExtensions(TSharedPtr<FUIExtensionPoint>& ExtensionPoint)
185
+ {
186
+ for (FGameplayTag Tag = ExtensionPoint->ExtensionPointTag; Tag.IsValid(); Tag = Tag.RequestDirectParent())
187
+ {
188
+ if (const FExtensionList* ListPtr = ExtensionMap.Find(Tag))
189
+ {
190
+ // Copy in case there are removals while handling callbacks
191
+ FExtensionList ExtensionArray(*ListPtr);
192
+
193
+ for (const TSharedPtr<FUIExtension>& Extension : ExtensionArray)
194
+ {
195
+ if (ExtensionPoint->DoesExtensionPassContract(Extension.Get()))
196
+ {
197
+ FUIExtensionRequest Request = CreateExtensionRequest(Extension);
198
+ ExtensionPoint->Callback.ExecuteIfBound(EUIExtensionAction::Added, Request);
199
+ }
200
+ }
201
+ }
202
+
203
+ if (ExtensionPoint->ExtensionPointTagMatchType == EUIExtensionPointMatch::ExactMatch)
204
+ {
205
+ break;
206
+ }
207
+ }
208
+ }
209
+
210
+ void UUIExtensionSubsystem::NotifyExtensionPointsOfExtension(EUIExtensionAction Action, TSharedPtr<FUIExtension>& Extension)
211
+ {
212
+ bool bOnInitialTag = true;
213
+ for (FGameplayTag Tag = Extension->ExtensionPointTag; Tag.IsValid(); Tag = Tag.RequestDirectParent())
214
+ {
215
+ if (const FExtensionPointList* ListPtr = ExtensionPointMap.Find(Tag))
216
+ {
217
+ // Copy in case there are removals while handling callbacks
218
+ FExtensionPointList ExtensionPointArray(*ListPtr);
219
+
220
+ for (const TSharedPtr<FUIExtensionPoint>& ExtensionPoint : ExtensionPointArray)
221
+ {
222
+ if (bOnInitialTag || (ExtensionPoint->ExtensionPointTagMatchType == EUIExtensionPointMatch::PartialMatch))
223
+ {
224
+ if (ExtensionPoint->DoesExtensionPassContract(Extension.Get()))
225
+ {
226
+ FUIExtensionRequest Request = CreateExtensionRequest(Extension);
227
+ ExtensionPoint->Callback.ExecuteIfBound(Action, Request);
228
+ }
229
+ }
230
+ }
231
+ }
232
+
233
+ bOnInitialTag = false;
234
+ }
235
+ }
236
+
237
+ void UUIExtensionSubsystem::UnregisterExtension(const FUIExtensionHandle& ExtensionHandle)
238
+ {
239
+ if (ExtensionHandle.IsValid())
240
+ {
241
+ checkf(ExtensionHandle.ExtensionSource == this, TEXT("Trying to unregister an extension that's not from this extension subsystem."));
242
+
243
+ TSharedPtr<FUIExtension> Extension = ExtensionHandle.DataPtr;
244
+ if (FExtensionList* ListPtr = ExtensionMap.Find(Extension->ExtensionPointTag))
245
+ {
246
+ if (Extension->ContextObject.IsExplicitlyNull())
247
+ {
248
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] @ [%s] Unregistered"), *GetNameSafe(Extension->Data), *Extension->ExtensionPointTag.ToString());
249
+ }
250
+ else
251
+ {
252
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension [%s] for [%s] @ [%s] Unregistered"), *GetNameSafe(Extension->Data), *GetNameSafe(Extension->ContextObject.Get()), *Extension->ExtensionPointTag.ToString());
253
+ }
254
+
255
+ NotifyExtensionPointsOfExtension(EUIExtensionAction::Removed, Extension);
256
+
257
+ ListPtr->RemoveSwap(Extension);
258
+
259
+ if (ListPtr->Num() == 0)
260
+ {
261
+ ExtensionMap.Remove(Extension->ExtensionPointTag);
262
+ }
263
+ }
264
+ }
265
+ else
266
+ {
267
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to unregister an invalid Handle."));
268
+ }
269
+ }
270
+
271
+ void UUIExtensionSubsystem::UnregisterExtensionPoint(const FUIExtensionPointHandle& ExtensionPointHandle)
272
+ {
273
+ if (ExtensionPointHandle.IsValid())
274
+ {
275
+ check(ExtensionPointHandle.ExtensionSource == this);
276
+
277
+ const TSharedPtr<FUIExtensionPoint> ExtensionPoint = ExtensionPointHandle.DataPtr;
278
+ if (FExtensionPointList* ListPtr = ExtensionPointMap.Find(ExtensionPoint->ExtensionPointTag))
279
+ {
280
+ UE_LOG(LogUIExtension, Verbose, TEXT("Extension Point [%s] Unregistered"), *ExtensionPoint->ExtensionPointTag.ToString());
281
+
282
+ ListPtr->RemoveSwap(ExtensionPoint);
283
+ if (ListPtr->Num() == 0)
284
+ {
285
+ ExtensionPointMap.Remove(ExtensionPoint->ExtensionPointTag);
286
+ }
287
+ }
288
+ }
289
+ else
290
+ {
291
+ UE_LOG(LogUIExtension, Warning, TEXT("Trying to unregister an invalid Handle."));
292
+ }
293
+ }
294
+
295
+ FUIExtensionRequest UUIExtensionSubsystem::CreateExtensionRequest(const TSharedPtr<FUIExtension>& Extension)
296
+ {
297
+ FUIExtensionRequest Request;
298
+ Request.ExtensionHandle = FUIExtensionHandle(this, Extension);
299
+ Request.ExtensionPointTag = Extension->ExtensionPointTag;
300
+ Request.Priority = Extension->Priority;
301
+ Request.Data = Extension->Data;
302
+ Request.ContextObject = Extension->ContextObject.Get();
303
+
304
+ return Request;
305
+ }
306
+
307
+ FUIExtensionPointHandle UUIExtensionSubsystem::K2_RegisterExtensionPoint(FGameplayTag ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray<UClass*>& AllowedDataClasses, FExtendExtensionPointDynamicDelegate ExtensionCallback)
308
+ {
309
+ return RegisterExtensionPoint(ExtensionPointTag, ExtensionPointTagMatchType, AllowedDataClasses, FExtendExtensionPointDelegate::CreateWeakLambda(ExtensionCallback.GetUObject(), [this, ExtensionCallback](EUIExtensionAction Action, const FUIExtensionRequest& Request) {
310
+ ExtensionCallback.ExecuteIfBound(Action, Request);
311
+ }));
312
+ }
313
+
314
+ FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsWidget(FGameplayTag ExtensionPointTag, TSubclassOf<UUserWidget> WidgetClass, int32 Priority)
315
+ {
316
+ return RegisterExtensionAsWidget(ExtensionPointTag, WidgetClass, Priority);
317
+ }
318
+
319
+ FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsWidgetForContext(FGameplayTag ExtensionPointTag, TSubclassOf<UUserWidget> WidgetClass, UObject* ContextObject, int32 Priority)
320
+ {
321
+ if (ContextObject)
322
+ {
323
+ return RegisterExtensionAsWidgetForContext(ExtensionPointTag, ContextObject, WidgetClass, Priority);
324
+ }
325
+ else
326
+ {
327
+ FFrame::KismetExecutionMessage(TEXT("A null ContextObject was passed to Register Extension (Widget For Context)"), ELogVerbosity::Error);
328
+ return FUIExtensionHandle();
329
+ }
330
+ }
331
+
332
+ FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsData(FGameplayTag ExtensionPointTag, UObject* Data, int32 Priority)
333
+ {
334
+ return RegisterExtensionAsData(ExtensionPointTag, nullptr, Data, Priority);
335
+ }
336
+
337
+ FUIExtensionHandle UUIExtensionSubsystem::K2_RegisterExtensionAsDataForContext(FGameplayTag ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority)
338
+ {
339
+ if (ContextObject)
340
+ {
341
+ return RegisterExtensionAsData(ExtensionPointTag, ContextObject, Data, Priority);
342
+ }
343
+ else
344
+ {
345
+ FFrame::KismetExecutionMessage(TEXT("A null ContextObject was passed to Register Extension (Data For Context)"), ELogVerbosity::Error);
346
+ return FUIExtensionHandle();
347
+ }
348
+ }
349
+
350
+ //=========================================================
351
+
352
+ void UUIExtensionHandleFunctions::Unregister(FUIExtensionHandle& Handle)
353
+ {
354
+ Handle.Unregister();
355
+ }
356
+
357
+ bool UUIExtensionHandleFunctions::IsValid(FUIExtensionHandle& Handle)
358
+ {
359
+ return Handle.IsValid();
360
+ }
361
+
362
+ //=========================================================
363
+
364
+ void UUIExtensionPointHandleFunctions::Unregister(FUIExtensionPointHandle& Handle)
365
+ {
366
+ Handle.Unregister();
367
+ }
368
+
369
+ bool UUIExtensionPointHandleFunctions::IsValid(FUIExtensionPointHandle& Handle)
370
+ {
371
+ return Handle.IsValid();
372
+ }
LyraStarterGame/Plugins/UIExtension/Source/Private/Widgets/UIExtensionPointWidget.cpp ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #include "Widgets/UIExtensionPointWidget.h"
4
+ #include "Widgets/SOverlay.h"
5
+ #include "Widgets/Text/STextBlock.h"
6
+ #include "Editor/WidgetCompilerLog.h"
7
+ #include "Misc/UObjectToken.h"
8
+ #include "CommonLocalPlayer.h"
9
+ #include "GameFramework/PlayerState.h"
10
+
11
+ #include UE_INLINE_GENERATED_CPP_BY_NAME(UIExtensionPointWidget)
12
+
13
+ #define LOCTEXT_NAMESPACE "UIExtension"
14
+
15
+ /////////////////////////////////////////////////////
16
+ // UUIExtensionPointWidget
17
+
18
+ UUIExtensionPointWidget::UUIExtensionPointWidget(const FObjectInitializer& ObjectInitializer)
19
+ : Super(ObjectInitializer)
20
+ {
21
+
22
+ }
23
+
24
+ void UUIExtensionPointWidget::ReleaseSlateResources(bool bReleaseChildren)
25
+ {
26
+ ResetExtensionPoint();
27
+
28
+ Super::ReleaseSlateResources(bReleaseChildren);
29
+ }
30
+
31
+ TSharedRef<SWidget> UUIExtensionPointWidget::RebuildWidget()
32
+ {
33
+ if (!IsDesignTime() && ExtensionPointTag.IsValid())
34
+ {
35
+ ResetExtensionPoint();
36
+ RegisterExtensionPoint();
37
+
38
+ FDelegateHandle Handle = GetOwningLocalPlayer<UCommonLocalPlayer>()->CallAndRegister_OnPlayerStateSet(
39
+ UCommonLocalPlayer::FPlayerStateSetDelegate::FDelegate::CreateUObject(this, &UUIExtensionPointWidget::RegisterExtensionPointForPlayerState)
40
+ );
41
+ }
42
+
43
+ if (IsDesignTime())
44
+ {
45
+ auto GetExtensionPointText = [this]()
46
+ {
47
+ return FText::Format(LOCTEXT("DesignTime_ExtensionPointLabel", "Extension Point\n{0}"), FText::FromName(ExtensionPointTag.GetTagName()));
48
+ };
49
+
50
+ TSharedRef<SOverlay> MessageBox = SNew(SOverlay);
51
+
52
+ MessageBox->AddSlot()
53
+ .Padding(5.0f)
54
+ .HAlign(HAlign_Center)
55
+ .VAlign(VAlign_Center)
56
+ [
57
+ SNew(STextBlock)
58
+ .Justification(ETextJustify::Center)
59
+ .Text_Lambda(GetExtensionPointText)
60
+ ];
61
+
62
+ return MessageBox;
63
+ }
64
+ else
65
+ {
66
+ return Super::RebuildWidget();
67
+ }
68
+ }
69
+
70
+ void UUIExtensionPointWidget::ResetExtensionPoint()
71
+ {
72
+ ResetInternal();
73
+
74
+ ExtensionMapping.Reset();
75
+ for (FUIExtensionPointHandle& Handle : ExtensionPointHandles)
76
+ {
77
+ Handle.Unregister();
78
+ }
79
+ ExtensionPointHandles.Reset();
80
+ }
81
+
82
+ void UUIExtensionPointWidget::RegisterExtensionPoint()
83
+ {
84
+ if (UUIExtensionSubsystem* ExtensionSubsystem = GetWorld()->GetSubsystem<UUIExtensionSubsystem>())
85
+ {
86
+ TArray<UClass*> AllowedDataClasses;
87
+ AllowedDataClasses.Add(UUserWidget::StaticClass());
88
+ AllowedDataClasses.Append(DataClasses);
89
+
90
+ ExtensionPointHandles.Add(ExtensionSubsystem->RegisterExtensionPoint(
91
+ ExtensionPointTag, ExtensionPointTagMatch, AllowedDataClasses,
92
+ FExtendExtensionPointDelegate::CreateUObject(this, &ThisClass::OnAddOrRemoveExtension)
93
+ ));
94
+
95
+ ExtensionPointHandles.Add(ExtensionSubsystem->RegisterExtensionPointForContext(
96
+ ExtensionPointTag, GetOwningLocalPlayer(), ExtensionPointTagMatch, AllowedDataClasses,
97
+ FExtendExtensionPointDelegate::CreateUObject(this, &ThisClass::OnAddOrRemoveExtension)
98
+ ));
99
+ }
100
+ }
101
+
102
+ void UUIExtensionPointWidget::RegisterExtensionPointForPlayerState(UCommonLocalPlayer* LocalPlayer, APlayerState* PlayerState)
103
+ {
104
+ if (UUIExtensionSubsystem* ExtensionSubsystem = GetWorld()->GetSubsystem<UUIExtensionSubsystem>())
105
+ {
106
+ TArray<UClass*> AllowedDataClasses;
107
+ AllowedDataClasses.Add(UUserWidget::StaticClass());
108
+ AllowedDataClasses.Append(DataClasses);
109
+
110
+ ExtensionPointHandles.Add(ExtensionSubsystem->RegisterExtensionPointForContext(
111
+ ExtensionPointTag, PlayerState, ExtensionPointTagMatch, AllowedDataClasses,
112
+ FExtendExtensionPointDelegate::CreateUObject(this, &ThisClass::OnAddOrRemoveExtension)
113
+ ));
114
+ }
115
+ }
116
+
117
+ void UUIExtensionPointWidget::OnAddOrRemoveExtension(EUIExtensionAction Action, const FUIExtensionRequest& Request)
118
+ {
119
+ if (Action == EUIExtensionAction::Added)
120
+ {
121
+ UObject* Data = Request.Data;
122
+
123
+ TSubclassOf<UUserWidget> WidgetClass(Cast<UClass>(Data));
124
+ if (WidgetClass)
125
+ {
126
+ UUserWidget* Widget = CreateEntryInternal(WidgetClass);
127
+ ExtensionMapping.Add(Request.ExtensionHandle, Widget);
128
+ }
129
+ else if (DataClasses.Num() > 0)
130
+ {
131
+ if (GetWidgetClassForData.IsBound())
132
+ {
133
+ WidgetClass = GetWidgetClassForData.Execute(Data);
134
+
135
+ // If the data is irrelevant they can just return no widget class.
136
+ if (WidgetClass)
137
+ {
138
+ if (UUserWidget* Widget = CreateEntryInternal(WidgetClass))
139
+ {
140
+ ExtensionMapping.Add(Request.ExtensionHandle, Widget);
141
+ ConfigureWidgetForData.ExecuteIfBound(Widget, Data);
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ else
148
+ {
149
+ if (UUserWidget* Extension = ExtensionMapping.FindRef(Request.ExtensionHandle))
150
+ {
151
+ RemoveEntryInternal(Extension);
152
+ ExtensionMapping.Remove(Request.ExtensionHandle);
153
+ }
154
+ }
155
+ }
156
+
157
+ #if WITH_EDITOR
158
+ void UUIExtensionPointWidget::ValidateCompiledDefaults(IWidgetCompilerLog& CompileLog) const
159
+ {
160
+ Super::ValidateCompiledDefaults(CompileLog);
161
+
162
+ // We don't care if the CDO doesn't have a specific tag.
163
+ if (!HasAnyFlags(RF_ClassDefaultObject))
164
+ {
165
+ if (!ExtensionPointTag.IsValid())
166
+ {
167
+ TSharedRef<FTokenizedMessage> Message = CompileLog.Error(FText::Format(LOCTEXT("UUIExtensionPointWidget_NoTag", "{0} has no ExtensionPointTag specified - All extension points must specify a tag so they can be located."), FText::FromString(GetName())));
168
+ Message->AddToken(FUObjectToken::Create(this));
169
+ }
170
+ }
171
+ }
172
+ #endif
173
+
174
+ /////////////////////////////////////////////////////
175
+
176
+ #undef LOCTEXT_NAMESPACE
177
+
LyraStarterGame/Plugins/UIExtension/Source/Public/UIExtensionSystem.h ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #pragma once
4
+
5
+ #include "GameplayTagContainer.h"
6
+ #include "Kismet/BlueprintFunctionLibrary.h"
7
+ #include "Subsystems/WorldSubsystem.h"
8
+
9
+ #include "UIExtensionSystem.generated.h"
10
+
11
+ #define UE_API UIEXTENSION_API
12
+
13
+ class UUIExtensionSubsystem;
14
+ struct FUIExtensionRequest;
15
+ template <typename T> class TSubclassOf;
16
+
17
+ class FSubsystemCollectionBase;
18
+ class UUserWidget;
19
+ struct FFrame;
20
+
21
+ // Match rule for extension points
22
+ UENUM(BlueprintType)
23
+ enum class EUIExtensionPointMatch : uint8
24
+ {
25
+ // An exact match will only receive extensions with exactly the same point
26
+ // (e.g., registering for "A.B" will match a broadcast of A.B but not A.B.C)
27
+ ExactMatch,
28
+
29
+ // A partial match will receive any extensions rooted in the same point
30
+ // (e.g., registering for "A.B" will match a broadcast of A.B as well as A.B.C)
31
+ PartialMatch
32
+ };
33
+
34
+ // Match rule for extension points
35
+ UENUM(BlueprintType)
36
+ enum class EUIExtensionAction : uint8
37
+ {
38
+ Added,
39
+ Removed
40
+ };
41
+
42
+ DECLARE_DELEGATE_TwoParams(FExtendExtensionPointDelegate, EUIExtensionAction Action, const FUIExtensionRequest& Request);
43
+
44
+ /*
45
+ *
46
+ */
47
+ struct FUIExtension : TSharedFromThis<FUIExtension>
48
+ {
49
+ public:
50
+ /** The extension point this extension is intended for. */
51
+ FGameplayTag ExtensionPointTag;
52
+ int32 Priority = INDEX_NONE;
53
+ TWeakObjectPtr<UObject> ContextObject;
54
+ //Kept alive by UUIExtensionSubsystem::AddReferencedObjects
55
+ TObjectPtr<UObject> Data = nullptr;
56
+ };
57
+
58
+ /**
59
+ *
60
+ */
61
+ struct FUIExtensionPoint : TSharedFromThis<FUIExtensionPoint>
62
+ {
63
+ public:
64
+ FGameplayTag ExtensionPointTag;
65
+ TWeakObjectPtr<UObject> ContextObject;
66
+ EUIExtensionPointMatch ExtensionPointTagMatchType = EUIExtensionPointMatch::ExactMatch;
67
+ TArray<TObjectPtr<UClass>> AllowedDataClasses;
68
+ FExtendExtensionPointDelegate Callback;
69
+
70
+ // Tests if the extension and the extension point match up, if they do then this extension point should learn
71
+ // about this extension.
72
+ bool DoesExtensionPassContract(const FUIExtension* Extension) const;
73
+ };
74
+
75
+ /**
76
+ *
77
+ */
78
+ USTRUCT(BlueprintType)
79
+ struct FUIExtensionPointHandle
80
+ {
81
+ GENERATED_BODY()
82
+
83
+ public:
84
+ FUIExtensionPointHandle() {}
85
+
86
+ UE_API void Unregister();
87
+
88
+ bool IsValid() const { return DataPtr.IsValid(); }
89
+
90
+ bool operator==(const FUIExtensionPointHandle& Other) const { return DataPtr == Other.DataPtr; }
91
+ bool operator!=(const FUIExtensionPointHandle& Other) const { return !operator==(Other); }
92
+
93
+ friend uint32 GetTypeHash(const FUIExtensionPointHandle& Handle)
94
+ {
95
+ return PointerHash(Handle.DataPtr.Get());
96
+ }
97
+
98
+ private:
99
+ TWeakObjectPtr<UUIExtensionSubsystem> ExtensionSource;
100
+
101
+ TSharedPtr<FUIExtensionPoint> DataPtr;
102
+
103
+ friend UUIExtensionSubsystem;
104
+
105
+ FUIExtensionPointHandle(UUIExtensionSubsystem* InExtensionSource, const TSharedPtr<FUIExtensionPoint>& InDataPtr) : ExtensionSource(InExtensionSource), DataPtr(InDataPtr) {}
106
+ };
107
+
108
+ template<>
109
+ struct TStructOpsTypeTraits<FUIExtensionPointHandle> : public TStructOpsTypeTraitsBase2<FUIExtensionPointHandle>
110
+ {
111
+ enum
112
+ {
113
+ WithCopy = true, // This ensures the opaque type is copied correctly in BPs
114
+ WithIdenticalViaEquality = true,
115
+ };
116
+ };
117
+
118
+ /**
119
+ *
120
+ */
121
+ USTRUCT(BlueprintType)
122
+ struct FUIExtensionHandle
123
+ {
124
+ GENERATED_BODY()
125
+
126
+ public:
127
+ FUIExtensionHandle() {}
128
+
129
+ UE_API void Unregister();
130
+
131
+ bool IsValid() const { return DataPtr.IsValid(); }
132
+
133
+ bool operator==(const FUIExtensionHandle& Other) const { return DataPtr == Other.DataPtr; }
134
+ bool operator!=(const FUIExtensionHandle& Other) const { return !operator==(Other); }
135
+
136
+ friend FORCEINLINE uint32 GetTypeHash(FUIExtensionHandle Handle)
137
+ {
138
+ return PointerHash(Handle.DataPtr.Get());
139
+ }
140
+
141
+ private:
142
+ TWeakObjectPtr<UUIExtensionSubsystem> ExtensionSource;
143
+
144
+ TSharedPtr<FUIExtension> DataPtr;
145
+
146
+ friend UUIExtensionSubsystem;
147
+
148
+ FUIExtensionHandle(UUIExtensionSubsystem* InExtensionSource, const TSharedPtr<FUIExtension>& InDataPtr) : ExtensionSource(InExtensionSource), DataPtr(InDataPtr) {}
149
+ };
150
+
151
+ template<>
152
+ struct TStructOpsTypeTraits<FUIExtensionHandle> : public TStructOpsTypeTraitsBase2<FUIExtensionHandle>
153
+ {
154
+ enum
155
+ {
156
+ WithCopy = true, // This ensures the opaque type is copied correctly in BPs
157
+ WithIdenticalViaEquality = true,
158
+ };
159
+ };
160
+
161
+ /**
162
+ *
163
+ */
164
+ USTRUCT(BlueprintType)
165
+ struct FUIExtensionRequest
166
+ {
167
+ GENERATED_BODY()
168
+
169
+ public:
170
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
171
+ FUIExtensionHandle ExtensionHandle;
172
+
173
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
174
+ FGameplayTag ExtensionPointTag;
175
+
176
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
177
+ int32 Priority = INDEX_NONE;
178
+
179
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
180
+ TObjectPtr<UObject> Data = nullptr;
181
+
182
+ UPROPERTY(EditAnywhere, BlueprintReadOnly)
183
+ TObjectPtr<UObject> ContextObject = nullptr;
184
+ };
185
+
186
+ DECLARE_DYNAMIC_DELEGATE_TwoParams(FExtendExtensionPointDynamicDelegate, EUIExtensionAction, Action, const FUIExtensionRequest&, ExtensionRequest);
187
+
188
+ /**
189
+ *
190
+ */
191
+ UCLASS(MinimalAPI)
192
+ class UUIExtensionSubsystem : public UWorldSubsystem
193
+ {
194
+ GENERATED_BODY()
195
+
196
+ public:
197
+ UE_API FUIExtensionPointHandle RegisterExtensionPoint(const FGameplayTag& ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray<UClass*>& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback);
198
+ UE_API FUIExtensionPointHandle RegisterExtensionPointForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray<UClass*>& AllowedDataClasses, FExtendExtensionPointDelegate ExtensionCallback);
199
+
200
+ UE_API FUIExtensionHandle RegisterExtensionAsWidget(const FGameplayTag& ExtensionPointTag, TSubclassOf<UUserWidget> WidgetClass, int32 Priority);
201
+ UE_API FUIExtensionHandle RegisterExtensionAsWidgetForContext(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, TSubclassOf<UUserWidget> WidgetClass, int32 Priority);
202
+ UE_API FUIExtensionHandle RegisterExtensionAsData(const FGameplayTag& ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority);
203
+
204
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
205
+ UE_API void UnregisterExtension(const FUIExtensionHandle& ExtensionHandle);
206
+
207
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
208
+ UE_API void UnregisterExtensionPoint(const FUIExtensionPointHandle& ExtensionPointHandle);
209
+
210
+ static UE_API void AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector);
211
+
212
+ protected:
213
+ UE_API virtual void Initialize(FSubsystemCollectionBase& Collection) override;
214
+ UE_API virtual void Deinitialize() override;
215
+
216
+ UE_API void NotifyExtensionPointOfExtensions(TSharedPtr<FUIExtensionPoint>& ExtensionPoint);
217
+ UE_API void NotifyExtensionPointsOfExtension(EUIExtensionAction Action, TSharedPtr<FUIExtension>& Extension);
218
+
219
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="UI Extension", meta = (DisplayName = "Register Extension Point"))
220
+ UE_API FUIExtensionPointHandle K2_RegisterExtensionPoint(FGameplayTag ExtensionPointTag, EUIExtensionPointMatch ExtensionPointTagMatchType, const TArray<UClass*>& AllowedDataClasses, FExtendExtensionPointDynamicDelegate ExtensionCallback);
221
+
222
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension", meta = (DisplayName = "Register Extension (Widget)"))
223
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsWidget(FGameplayTag ExtensionPointTag, TSubclassOf<UUserWidget> WidgetClass, int32 Priority = -1);
224
+
225
+ /**
226
+ * Registers the widget (as data) for a specific player. This means the extension points will receive a UIExtensionForPlayer data object
227
+ * that they can look at to determine if it's for whatever they consider their player.
228
+ */
229
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension", meta = (DisplayName = "Register Extension (Widget For Context)"))
230
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsWidgetForContext(FGameplayTag ExtensionPointTag, TSubclassOf<UUserWidget> WidgetClass, UObject* ContextObject, int32 Priority = -1);
231
+
232
+ /**
233
+ * Registers the extension as data for any extension point that can make use of it.
234
+ */
235
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="UI Extension", meta = (DisplayName = "Register Extension (Data)"))
236
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsData(FGameplayTag ExtensionPointTag, UObject* Data, int32 Priority = -1);
237
+
238
+ /**
239
+ * Registers the extension as data for any extension point that can make use of it.
240
+ */
241
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category="UI Extension", meta = (DisplayName = "Register Extension (Data For Context)"))
242
+ UE_API FUIExtensionHandle K2_RegisterExtensionAsDataForContext(FGameplayTag ExtensionPointTag, UObject* ContextObject, UObject* Data, int32 Priority = -1);
243
+
244
+ UE_API FUIExtensionRequest CreateExtensionRequest(const TSharedPtr<FUIExtension>& Extension);
245
+
246
+ private:
247
+ typedef TArray<TSharedPtr<FUIExtensionPoint>> FExtensionPointList;
248
+ TMap<FGameplayTag, FExtensionPointList> ExtensionPointMap;
249
+
250
+ typedef TArray<TSharedPtr<FUIExtension>> FExtensionList;
251
+ TMap<FGameplayTag, FExtensionList> ExtensionMap;
252
+ };
253
+
254
+
255
+ UCLASS(MinimalAPI)
256
+ class UUIExtensionHandleFunctions : public UBlueprintFunctionLibrary
257
+ {
258
+ GENERATED_BODY()
259
+
260
+ public:
261
+ UUIExtensionHandleFunctions() { }
262
+
263
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
264
+ static UE_API void Unregister(UPARAM(ref) FUIExtensionHandle& Handle);
265
+
266
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
267
+ static UE_API bool IsValid(UPARAM(ref) FUIExtensionHandle& Handle);
268
+ };
269
+
270
+ UCLASS(MinimalAPI)
271
+ class UUIExtensionPointHandleFunctions : public UBlueprintFunctionLibrary
272
+ {
273
+ GENERATED_BODY()
274
+
275
+ public:
276
+ UUIExtensionPointHandleFunctions() { }
277
+
278
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
279
+ static UE_API void Unregister(UPARAM(ref) FUIExtensionPointHandle& Handle);
280
+
281
+ UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category = "UI Extension")
282
+ static UE_API bool IsValid(UPARAM(ref) FUIExtensionPointHandle& Handle);
283
+ };
284
+
285
+ #undef UE_API
LyraStarterGame/Plugins/UIExtension/Source/Public/Widgets/UIExtensionPointWidget.h ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ #pragma once
4
+
5
+ #include "Components/DynamicEntryBoxBase.h"
6
+ #include "UIExtensionSystem.h"
7
+
8
+ #include "UIExtensionPointWidget.generated.h"
9
+
10
+ #define UE_API UIEXTENSION_API
11
+
12
+ class IWidgetCompilerLog;
13
+
14
+ class UCommonLocalPlayer;
15
+ class APlayerState;
16
+
17
+ /**
18
+ * A slot that defines a location in a layout, where content can be added later
19
+ */
20
+ UCLASS(MinimalAPI)
21
+ class UUIExtensionPointWidget : public UDynamicEntryBoxBase
22
+ {
23
+ GENERATED_BODY()
24
+
25
+ public:
26
+
27
+ DECLARE_DYNAMIC_DELEGATE_RetVal_OneParam(TSubclassOf<UUserWidget>, FOnGetWidgetClassForData, UObject*, DataItem);
28
+ DECLARE_DYNAMIC_DELEGATE_TwoParams(FOnConfigureWidgetForData, UUserWidget*, Widget, UObject*, DataItem);
29
+
30
+ UE_API UUIExtensionPointWidget(const FObjectInitializer& ObjectInitializer);
31
+
32
+ //~UWidget interface
33
+ UE_API virtual void ReleaseSlateResources(bool bReleaseChildren) override;
34
+ UE_API virtual TSharedRef<SWidget> RebuildWidget() override;
35
+ #if WITH_EDITOR
36
+ UE_API virtual void ValidateCompiledDefaults(IWidgetCompilerLog& CompileLog) const override;
37
+ #endif
38
+ //~End of UWidget interface
39
+
40
+ private:
41
+ void ResetExtensionPoint();
42
+ void RegisterExtensionPoint();
43
+ void RegisterExtensionPointForPlayerState(UCommonLocalPlayer* LocalPlayer, APlayerState* PlayerState);
44
+ void OnAddOrRemoveExtension(EUIExtensionAction Action, const FUIExtensionRequest& Request);
45
+
46
+ protected:
47
+ /** The tag that defines this extension point */
48
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI Extension")
49
+ FGameplayTag ExtensionPointTag;
50
+
51
+ /** How exactly does the extension need to match the extension point tag. */
52
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI Extension")
53
+ EUIExtensionPointMatch ExtensionPointTagMatch = EUIExtensionPointMatch::ExactMatch;
54
+
55
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI Extension")
56
+ TArray<TObjectPtr<UClass>> DataClasses;
57
+
58
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="UI Extension", meta=( IsBindableEvent="True" ))
59
+ FOnGetWidgetClassForData GetWidgetClassForData;
60
+
61
+ UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="UI Extension", meta=( IsBindableEvent="True" ))
62
+ FOnConfigureWidgetForData ConfigureWidgetForData;
63
+
64
+ TArray<FUIExtensionPointHandle> ExtensionPointHandles;
65
+
66
+ UPROPERTY(Transient)
67
+ TMap<FUIExtensionHandle, TObjectPtr<UUserWidget>> ExtensionMapping;
68
+ };
69
+
70
+ #undef UE_API
LyraStarterGame/Plugins/UIExtension/Source/UIExtension.Build.cs ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright Epic Games, Inc. All Rights Reserved.
2
+
3
+ using UnrealBuildTool;
4
+
5
+ public class UIExtension : ModuleRules
6
+ {
7
+ public UIExtension(ReadOnlyTargetRules Target) : base(Target)
8
+ {
9
+ PublicDependencyModuleNames.AddRange(
10
+ new string[]
11
+ {
12
+ "Core",
13
+ "CoreUObject",
14
+ "Engine",
15
+ "SlateCore",
16
+ "Slate",
17
+ "UMG",
18
+ "CommonUI",
19
+ "CommonGame",
20
+ "GameplayTags"
21
+ }
22
+ );
23
+
24
+ PublicIncludePathModuleNames.AddRange(
25
+ new string[] {
26
+ }
27
+ );
28
+
29
+ PrivateDependencyModuleNames.AddRange(
30
+ new string[]
31
+ {
32
+ // ... add private dependencies that you statically link with here ...
33
+ }
34
+ );
35
+ }
36
+ }