Sorry For My Poor English.
I want to build a system that can make player add some mods to the game.
The first thing I want to do is let player add their own maps.
I think It can be done by load player's PAK File.
Here is the code:
IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();
FPakPlatformFile* PakPlatform = new FPakPlatformFile();
return PakPlatform->Mount(*PakFileName, 0, *FPaths::GameContentDir());
I try to load a DLC Pak that create from SunTemple Project.
it will return True. so I think the PAK File has been successful Mounted.
But When I use "Open SunTemple" command,It show this:
I guess it was because I mount the pak file at a wrong location.So I test the following directory: FPaths::EngineContentDir()
all of these are not work.
I have no idea how to fix that. can anyone help me?
Jun 30 '17 at 02:19 AM
in Using UE4