In my mainmenu i have two UILoaders. Using UnrealScript i set the images like below and it works when playing the game but once i cook the game --> Install it and play, the UILoaders no longer works.
In my DefaultEngine.ini file i added the GameMainMenu under PackagesToAlwaysCook.
After Cooking the game in Unreal Frontend i can see the CustomPackage folder with gamemainmenu_SF.upk inside it under my UDK Installation Folder\UDKGame\CookedPC\UT3. However when i package the game this CustomPackage is not included.
Any idea on how to make the UILoader work in cooked game?
Code:
function BtnPress() { ImageOne = GetVariableObject("_root.UIImage1"); ImageTwo = GetVariableObject("_root.UIImage2"); ImageOne.SetString("source","img://GameMainMenu.UIImages.Image1"); ImageTwo.SetString("source","img://GameMainMenu.UIImages.Image2"); }
Code:
[Engine.PackagesToAlwaysCook] +Package=EnvyEntry +Package=GameMainMenu
Any idea on how to make the UILoader work in cooked game?
Comment