Maps and mod paks¶
You can choose the startup map and load mod .pak files in the ini files, without command-line arguments.
How To Add a Custom Map To Starcel¶
Startup map¶
Config/DefaultEngine.ini:
[/Script/EngineSettings.GameMapsSettings]
GameDefaultMap=/Game/Maps/StaringAtSkyMap.StaringAtSkyMap
EditorStartupMap=/Game/Maps/StaringAtSkyMap.StaringAtSkyMap
You can also change these in the editor under Project Settings → Maps & Modes.
Mod paks¶
Config/DefaultGame.ini:
[/Script/Starcel9.StarcelPakLoader]
; mount every .pak in this folder
+ModPakDirs=Mods
; or list paks one by one
+ModPaks=Mods/StarcelMapTest1-WindowsNoEditor.pak
; optional, overrides GameDefaultMap
StartupMap=SunTemple
- Keep comments on their own lines. Unreal doesn't strip a
;comment after a value. - Relative paths are relative to the project folder. In a packaged build that is
WindowsNoEditor/Starcel9/, so the default mods folder isWindowsNoEditor/Starcel9/Mods/. - A pak can be a full packaged build of another UE 4.27 project. Its
/Game/...assets become loadable without replacing Starcel's own. StartupMaptakes a short name (SunTemple) looked up in the mounted paks, or a full path (/Game/Maps/SunTemple).- To change these in a packaged build without repackaging, put the same section in
WindowsNoEditor/Starcel9/Saved/Config/WindowsNoEditor/Game.ini. - Mod paks only load in packaged builds.
Warning
Don't put mod paks in Content/Paks. Unreal's automatic mounting expects paks from this project and would stop the loose game files from loading.
From the command line or console¶
A map named on the command line wins over StartupMap. Paks from -ModPak are mounted as well as the ones in the ini.
While playing, open the console (`) and run:
Blueprints can call Mount Map Pak and Mount Pak And Open Map.