Here is the video series of Scaleform HUD tutorials.
The UScript and Actionscript can be found here
The last video is really just going through and showing off the HUD created. It’s late, I’m tired and I won’t be able to get to a computer to upload the last one for a few days. Rest assured that I will be getting it up asap, and that I intend to improve the quality and/or get a zip/rar file uploaded with the orignal videos.
you are a complete life saver,thanks very much for these tutorials.
Hey
Your tutorials are excellent but while I’ve been working through your tuts I’ve come across a problem. I’m getting 2 errors saying I have a bad or missing expression Player in the files UIDataProvider_OnlineClanMates.uc and UIDataProvider_OnlinePlayers.uc. Its during an if statement on lines 105 and 107 respectively. I don’t know what has happened but was wondering if you had any thoughts.
Cheers
Never seen this error, but I would assume that it is a problem with other parts of your project as I’m fairly sure that there is nothing in any of the classes I have shown how to create that alters any calls to these classes. You could try copying these files from something else or recompiling the whole thing.
Thanks!!!
If you can – please upload 720p versions so one can actually read the code 😉
Thanks!!! Thanks!!! Thanks!!!
Yeah, sorry about that. I intend to try and get a higher quality version online in the near future, but that problem was the reason that I uploaded the code in Text form on this blog so that you can read it properly.
Thanks for you sharing:)
By the way,could you plz share the fla and swf files ? (Because i am newbie to flash cs4)
thank you very much!
how do you position a flash mov on the screen?
i noticed you didnt use any Var for this. you created a massive image and placed your Health hud in the bottom corner.
how would i go about positioning the mov?
or is it similar to moving any HUD object? – and thus i do it within my customHUD ?
You could just position the movieClip in the ‘massive image’, and the drawing method would scale/move appropriately. Alteratively, have a look at the default scaleform HUD, it has a function to do custom scaling and movement to avoid stretching.
sorry, i didnt mean to sound disrespectful, thanks so much for the vids
ive found the Vars to handle size/placement etc…
Don’t worry, It wasn’t disrespectful. Glad that my tutorial helped.
//call hudmovies function
HudMovie.Init(HudMovie.PlayerOwner);
“error, unrecognised member ‘Init’ in class EGGFxHUD”
EGGFxHUD = ElementsGameGFxHUD btw
not sure what ive done wrong here
my bad, done & sorted 🙂
Excellent tutorials. Would be very nice if you fixed the resolutions on the videos. When you start displaying both your screens in the tutorials you can’t see anything you are doing.
Also I think your roundNum funtion is needlessly complex. It can be done with just one line of code (this works in all other languages I have worked with and can’t imagine that UScript should be any different):
return int(NumIn + 0.5f);
4.1 + 0.5 = 4.6 -> 4
4.6 + 0.5 = 5.1 -> 5
Cheers.
im falling all over the uscript talking to actioscript side of things
would you be able to help with that at all?
Using your tutorial I was able to put together an awesome HUD, however making the jump from the June to the August build of UDK, I’m met with nothing but compile errors. Do you think you might be able to write a migration tutorial?