Hi all, new here in the forums. Im doing some research on Scaleform, trying to do a simple HUD for our game in college.
I have a simple swf with only three yellow squares in the top left corner, like item holders. I've found a tutorial to create a simple HudWrapper to use SF, but I couldnt make it work. Although I can open the swf normally via kismet node 'Open Gfx Movie'.
Im using UDK-2010-09 and the SF that came with it.
FxHudGameInfo.uc
HudWrapper.uc
FxHUD.uc
Am I missing something or maybe everything? lol Any help will be appreciated.
I have a simple swf with only three yellow squares in the top left corner, like item holders. I've found a tutorial to create a simple HudWrapper to use SF, but I couldnt make it work. Although I can open the swf normally via kismet node 'Open Gfx Movie'.
Im using UDK-2010-09 and the SF that came with it.
FxHudGameInfo.uc
Code:
class FxHudGameInfo extends UTGame; DefaultProperties { bUseClassicHUD = true; bGivePhysicsGun = false; HUDType = class'HudWrapper'; }
Code:
class HudWrapper extends UTHUDBase; var FxHUD HUDMovie; simulated function PostBeginPlay() { super.PostBeginPlay(); HUDMovie = new class'FxHud'; HUDMovie.SetTimingMode(TM_Real); HUDMovie.Init(); } event PostRender() { super.PostRender(); if (HUDMovie != none) { HUDMovie.TickHUD(); } DrawHUD(); }
Code:
class FxHUD extends GFxMoviePlayer; function TickHUD() { } function Init( optional LocalPlayer LocPlay) { super.Init(LocPlay); Start(); Advance(0.f); } DefaultProperties { MovieInfo = SwfMovie'MySFHud.SFHud' bDisplayWithHudOff = false; bIgnoreMouseInput = false; bAutoPlay = true; }
Am I missing something or maybe everything? lol Any help will be appreciated.

Comment