EchelonV
07-12-2011, 12:24 PM
I've created a custom team selection menu for my mod and that works as intended, when I start the game in PIE. As soon as I start the (cooked) game itself, I get this error message:
Warning: Warning, Failed to load 'MyModUI': Can't find file for package 'MyModUI' while loading NULL
Now this sounds just like the issue decribed in this thread: http://forums.epicgames.com/showthread.php?p=27922976
But I've went through it and could not get it to work.
So I experimented a little and eventually moved the mymod_teammenu swfmovie into the UDKHUD package which should always be cooked and loaded. Yet, the same error message came up:
Warning: Warning, Failed to load 'UDKHUD': Can't find file for package 'UDKHUD' while loading NULL
The mymod_teammenu.fla and mymod_teammenu.swf files are located in the UDKGame/Flash/MyModUI/ folder and the swf has been imported into a MyModUI package as mymod_teammenu.
I've also added the package itself to the "always cook" section, so it will be cooked.
[Engine.PackagesToAlwaysCook]
bStandaloneSFServerSideOnly=true
+Package=UDKFrontEndMap
+Package=UDKFonts
+Package=A_Interface
+Package=MyModUI
In my MyModHudWrapper class, I replaced the standard InventoryMovie with TeamMenuMovie.
My TeamMenuMovie class references this: MovieInfo=SwfMovie'MyMod.mymod_teammenu' and is more or less a stripped down copy of GFxInventoryUI.
Is there anything I overlooked?
Warning: Warning, Failed to load 'MyModUI': Can't find file for package 'MyModUI' while loading NULL
Now this sounds just like the issue decribed in this thread: http://forums.epicgames.com/showthread.php?p=27922976
But I've went through it and could not get it to work.
So I experimented a little and eventually moved the mymod_teammenu swfmovie into the UDKHUD package which should always be cooked and loaded. Yet, the same error message came up:
Warning: Warning, Failed to load 'UDKHUD': Can't find file for package 'UDKHUD' while loading NULL
The mymod_teammenu.fla and mymod_teammenu.swf files are located in the UDKGame/Flash/MyModUI/ folder and the swf has been imported into a MyModUI package as mymod_teammenu.
I've also added the package itself to the "always cook" section, so it will be cooked.
[Engine.PackagesToAlwaysCook]
bStandaloneSFServerSideOnly=true
+Package=UDKFrontEndMap
+Package=UDKFonts
+Package=A_Interface
+Package=MyModUI
In my MyModHudWrapper class, I replaced the standard InventoryMovie with TeamMenuMovie.
My TeamMenuMovie class references this: MovieInfo=SwfMovie'MyMod.mymod_teammenu' and is more or less a stripped down copy of GFxInventoryUI.
Is there anything I overlooked?