View Full Version : Default HUD just won't work, when exported by me.
11-01-2010, 11:03 AM
Basically, I reexport the (GDC version, GFxUTHud.upk) HUD from the example flash files.
I go to the Content Browser, right mouse on the HUD swf file, click reimport. It reimports with some warnings about images not having the same resolution, but no critical errors. I save the package. However, when I try out the game, it crashes. With the original GFxUTHud.upk, obviously, it doesn't crash.
I'm at a loss why does it crash. I set up the ActionScript stuff, added the Scaleform plugin, edited the publish settings to Flash Player 8 and ActionScript 2.0... it doesn't work.
What did I do wrong/ did not do?
I'm using the September UDK, by the way.
11-01-2010, 11:30 AM
I have followed your steps exactly as described in the Sept. QA build and cannot reproduce the crash you report.
Published ut3_hud.swf in /Flash/GDC/
Reimported the SWF in GFxUTHud package
Got same warning messages about missing textures.
Launched game - no crash.
All that being said, the HUD being used is not from that package, but from the UDKHud package.
11-01-2010, 11:32 AM
Yes, I reverted the code to use the old HUD.
Is there a specific thing to do while exporting the SWF files? (Using Flash CS4)
11-01-2010, 11:34 AM
No. Just publish to SWF and make sure you've set up your classpaths in Flash properly.
11-01-2010, 12:01 PM
Okay.. Turns out that I modified the fla file in some way.
I tried with the original.. It doesn't crash, but the HUD isn't displayed at all.
11-02-2010, 04:31 AM
I forgot to mention that when I export the movie I get a warning about missing fonts. (precisely $ThinFont) I map them to Bitstream Vera Sans. Could it be the problem?
11-02-2010, 10:24 AM
Please watch the UDK Font tutorial video. You'll find a link to it in the stickied Getting Started with GFx in UDK forum post.
11-03-2010, 04:13 AM
I think I have discovered a minor bug.
The story is: I imported the new-style HUD (UDKHUD), and it works fine. Then I started replacing assets (in the new HUD) with the old ones and it worked fine, until I imported the weapon icons for the pistol and the assault rifle. Then UDK crashed. I checked around and I saw that some of those icons had their settings set to JPEG compression for some reason. Made them PNG and everything worked fine.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.