Life as an unresolved external symbol.
UDK Tutorials
If you would like to see your tutorial here, view this post!
ScaleForm!
You can view the final result of this series here.
There are two sets of videos depending on your skill with flash, if you are new to flash check out this series:
Part 1: Making a Menu: Setting Up ScaleForm for Flash
Part 2: Making a Menu: Installing ForecourseUI for ScaleForm and UDK
Part 3: Making a Menu: Scaleform + Forecourse UI Components Part 1
Part 4: Making a Menu: Scaleform + Forecourse UI Components Part 2
Part 5: Making a Menu: Adding Button Functionality
Part 6: Making a Menu: Adding Button Functionality Part 2
Part 7: Making a Menu: Basic Kismet Integration
Part 8: Making a Menu: FSCommands + Animating the Camera
Part 9: Making a Menu: Kismet + ForecourseUI Camera Helper
Part 10: Making a Menu: Adding a Cursor
Part 11: Making a Menu: Finished! Heres Some More Info
If you are already experienced with Flash and have ScaleForm installed, or only want to spend 30 minutes learning how to do this, follow this shorter series:
Part 1: Making A Menu: Installing ForecourseUI for ScaleForm and UDK — 6 Minutes
Part 2: Making A Menu: Fast: Building the Flash Menu Part 1 — 8 Minutes
Part 3: Making A Menu: Fast: Building the Flash Menu Part 2 — 3 Minutes
Part 4: Making A Menu: Fast: Integration with Unreal (Still Uploading) — 9 Minutes
Link to ForecourseUI Download: http://forecourse.com/udk-development/
Note: For some reason my youtube playlist has things a bit out of order but I re-ordered the videos… I suppose it takes time for it to update that I suppose.
UnrealScript!
- Introduction
- Directory Structure
- Setting Up Your Unreal Script Environment
- Setting up an nFringe environment
- Setting up a Notepad++ environment
- Setting up a WOTgreal environment
- Setting up UnCodeX
- Beginning Your Game Part 1
- Beginning Your Game Part 2
- Beginning Your Game Part 3
- Beginning Your Game Part 4
- HTWeapon: Part 1 – Adding Ammo
- HTHUD: Part 1 – Building The Base Class + Displaying Ammo
- Migrating From February to March
- HTHUD: Part 2 – Learning To Use Configuration Files
- HTHUD: Part 1.5 – Fix Chat Messages (If your’s arent working)
- HTWeapon: Part 2 – DrawWeaponCrosshair()
- HTWeapon: Part 3 – Creating A Muzzle Flash
- HTWeapon: Part 4 – Creating A Dynamic Muzzle Flash Light
- Fixing The Loading Movie For Multiplayer Clients
- HTWeapon: Part 5 – Dealing Damage
- HTHUD: Part 3 – Adding A Bit More Functionality
- Creating a Third Person Camera
- Fixing Character Lighting
- Hiding First Person Mesh In Third Person
Content Creation
Modeling an M16 – (Programmer Style!)
A.k.a. I Am Not An Artist But I Need Assets To Work With!
Matinee
March 15, 2010 - 8:56 am
Really very nice tutorial keep on
March 19, 2010 - 7:14 am
Great stuff dude, keep it up!
March 22, 2010 - 6:32 am
just come here to say thank you!
thanks so much!
ur videos help me so much!
keep it up!
March 22, 2010 - 2:54 pm
Just wanted to say that you rules. Keep up the good work.
March 29, 2010 - 6:27 am
great job….
Really very nice…and help me alooooot
Can u put a Tutorial about how to insert your own characture with animations in game ??
March 29, 2010 - 9:08 am
Maybe in the future, but in the mean time, check out http://forums.epicgames.com/showthread.php?t=722215
March 30, 2010 - 1:42 am
This is just amazing. Thanks a lot Allar!
March 30, 2010 - 5:28 am
Thanks guys. Really means a lot.
March 30, 2010 - 12:52 pm
thx alot man …. great tutorials…
but I’m lost in (Beginning Your Game Part 3)
in (Beginning Your Game Part 2)
we create 3 Classes
why in (Beginning Your Game Part 3) we delete them…and create another 3 Classes..
March 30, 2010 - 7:41 pm
Sorry… The project I’m working on required us to derive from non-UT classes instead of UT classes.
We aren’t creating 3 new classes, but we are changing what they extend and adding some things that we need.
In the next few days I will be re-creating Parts 1,2 and 3.
March 31, 2010 - 5:30 am
NP.. ^_^
Man..my project(first person shouter)
and I depending on your tutorials ^_^
so what can I do about (Beginning Your Game1,2,3,4)
March 31, 2010 - 5:45 am
You still should be able to get Part 3 working… however I will right now go through parts 1, 2, and 3, and post a .zip with the source code you should have at the end of part 3.
March 31, 2010 - 5:50 am
Hi Allar,
I’m an absolute beginner in UDK, I didn’t know where to start learning. I found your tutorials, I’m following them and they helped a lot already, thanks so much! Keep it up
March 31, 2010 - 5:51 am
thx aloooooot
March 31, 2010 - 6:32 am
((however I will right now go through parts 1, 2, and 3, and post a .zip with the source code you should have at the end of part 3.))
waiting ^_^
—-
I’m not a programmer…
just silly question: those Classes(UDKPlayerController, and UDKPawn.)
I didn’t found them??
March 31, 2010 - 7:01 am
Thanks Matie.
Jorge, be patient dawg. I have to do other things too
.
UDKPlayerController and UDKPawn are in the March build of UDK. However its easier to follow these beginning tutorials with the feb build because I made them before the March build was released. Later on in the series there is a tutorial on how to migrate to March from Feb. I will be posting a .zip for both Feb and March builds.
Also, if you are having trouble copy pasting, if you hover your mouse over the code, in the top right of the code box there is a View Source button. Clicking that will give you a copy+paste friendly version of the code.
March 31, 2010 - 7:37 am
Wow, I screwed up big time on Part 3. Check out part 3 now, and you’ll see that page has been butchered. Follow whats on there, and then please report back if you got it working.
March 31, 2010 - 8:45 am
I noticed that problem now too…
now Allar U advice us to use March or feb to complete your tutorials
and thanks for all your help….
March 31, 2010 - 9:39 am
Yeah.. use March. xD
April 1, 2010 - 3:14 am
really U are great man… thanks alot
now I ‘m back working on the project…
keep working man
April 2, 2010 - 5:01 am
I’ve just finished watching the third tutorial of yours and i’m so happy that I understand much more about UDK than before. I have to say big thanks for you and for all the work you done here. Thanks!
April 4, 2010 - 11:05 am
thnx alot man…great course..
plz put a tutorial tell us how we custom character and animation
April 5, 2010 - 8:00 am
Hi
I have strange problem, after full recompile at the end of “beginning your game part2″ Unreal fronted gives me two errors:
C:\UDK\UDK-2010-03\Development\Src\UDKGame\Classes\HTPawn.uc(10) : Error, Unexpected ‘notplaceable’
and
C:\UDK\UDK-2010-03\Development\Src\UDKGame\Classes\HTPlayerController.uc(10) : Error, Unexpected ‘config’
I dont know why.
April 5, 2010 - 1:20 pm
What are the first few lines of your code in both classes?
April 5, 2010 - 2:21 pm
That was stupid mistake sorry that i was bothering You about that. I accidentally add semi-colon at the end of each first line both classes. Thx for help. But now i get warning about importing ‘DefaultMapPrefixes’.
C:\UDK\UDK-2010-03\Development\Src\UDKGame\Classes\UDKGame.uc(15) : Warning, Import failed for ‘DefaultMapPrefixes’: property is config (Check to see if the property is listed in the DefaultProperties. It should only be listed in the specific .ini/.int file)
Maybe it is caused my march UDK release which i am using.
May 13, 2010 - 2:20 am
I have the same problem with April UDK release.
Warning, Import failed for ‘DefaultMapPrefixes’: property is config.
Anyone helps?
April 9, 2010 - 6:28 pm
Hey dude, I really like the tutorials but where do I get the resources themselves? Lol I’m not an artist but I would really like to compile the code and mess around with it..
April 13, 2010 - 9:07 am
Play Video Comment
April 16, 2010 - 8:25 pm
Nice series, but how do you open up all those files to see the coding in them, I don’t have any programs that will open them, and I can’t find any on the interenet that will actually open them, what are you using and where can I get it?
April 20, 2010 - 2:26 am
Start at the beginning and work your way through.
Tutorial 3 (http://forecourse.com/?p=167) covers setting up your environment and which programs you can use.
April 20, 2010 - 5:22 pm
Thanks, I wanted to see what was in the files like him and thought he would say what you need in the first one, thanks.
April 24, 2010 - 8:34 pm
Can I request a tutorial on the custom UIScene?
I’m doing your tutorial right now, hopefully it will work.
April 24, 2010 - 9:29 pm
I’m not going to be doing too much about UIScenes because they are being phased out in favor of ScaleForm’s flash implementations.
April 24, 2010 - 8:41 pm
I deleted and finish copying the file.
Why it is fly through?
How to set the Pawn?
April 24, 2010 - 9:29 pm
Follow the tutorials :p
April 24, 2010 - 10:00 pm
Now I’m installing the Visual Studio, is it OK with Visual Studio 2010?
I tried to compile the game to get the .exe , why is it not working? I used the emptyroom.udk for the maps.
it says
“[COMMANDLET 'UnSetup.exe /GameSetup' FAILED] April 25, 12:55 PM
System.ComponentModel.Win32Exception: The directory name is invalid
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at UnrealFrontend.Commandlet.Start(CommandletCategory Category, CommandletAction Action, String CmdLine, String CWD, Boolean bCreateNoWindow)
at UnrealFrontend.UnrealFrontendWindow.StartCommandlet(CommandletCategory Category, CommandletAction Action, String ExecutablePath, Object UserData)”
April 25, 2010 - 12:54 pm
I did 1-5 tutorial, but I still got the exit from UTGame
the links is the image,
http://img685.imageshack.us/img685/5251/exitui.jpg
do you know how to change that?
April 25, 2010 - 6:48 pm
In UTGame there is a property called MidGameMenuTemplate=UTUIScene_MidGameMenu’UI_InGameHud.Menus.MidGameMenu’. Change that with your own UIScene and it should replace that. I think.
April 26, 2010 - 11:35 pm
I could not find it, where is it?
I tried to search on UTGame.ini but no properties like that.
April 26, 2010 - 11:38 pm
sorry2, I found it inside UTGame.uc
If I just delete the line,what will happen?
April 26, 2010 - 11:45 pm
It works, thanks a lot.
Now I cannot press Esc, but it is not a big problem.
Yeah,,
But there is another thing, If I press F1, still got the UIScene shows the Kill and the death, how to disable that?
Thank you again for your help.
April 27, 2010 - 12:58 pm
http://img718.imageshack.us/img718/3713/49058990.jpg
that is the image.
hopefully this one is the last UT UIScene inside my application.
April 27, 2010 - 1:24 am
thanx you boy, i’m wait next your tutorial about UnrealScript
May 3, 2010 - 4:55 am
I had applied all..
it was a great tuts from awesome man..
but I have one question:
I had imported my chara and anims but when i play the game my character is sliding like your chara in Dealing Damage tutorial ?? why??what should I do??
May 17, 2010 - 9:47 am
U really helped me. Especially with how it works.
Thx man!
May 19, 2010 - 7:12 pm
Simply awesome!
I’ve just took a superficial look at all those tuts and I think they will be really very helpful!
Thanks !!
May 22, 2010 - 3:30 pm
Can you help? I want to change my default charater to iron gaurd how do i do it? please help
June 17, 2010 - 11:25 am
Hi Allar, I just want to say that I really appreciate the work that has gone into these tutorials. It has really given me a greater understanding of how to use UnrealScript. As soon as I get some pennies in my pocket and get my games webiste up i’ll join those awesome people that donated for you to get your new microphone!
June 18, 2010 - 4:39 pm
I tried to follow the step in the scaleform tutorial but the folder that you provide didn’t have Scaleform Gfx.
June 18, 2010 - 5:01 pm
Its included in the May build of UDK.
June 22, 2010 - 5:05 pm
Hey Allar,
Great tutorial – got it fully working. I have a question in regards to Scaleform in general:
How big (in file size) can I make my SWF for the main menu, character select, and HUD elements before I start really pushing the limit?
I assume you probably don’t know exact numbers but I was wondering if your previous experience with those elements might have run into limits or long load times due to big SWFs. Just trying to cut down my dev time
Also – how big is the SWF that you’re showcasing for The Hunt?
Thanks!
June 22, 2010 - 5:20 pm
Hmmm, thats an excellent question.
I have my SWF open on level start that way any delay can be attributed to just… the game loading. I haven’t done much HUD stuff, but I plan to have all my HUD stuff as one .SWF that I will load client-side when the game starts and just toggle elements on or off through code, keeping all the loading at the beginning of the game before it matters.
As for the dev process, avoid custom fonts. Custom fonts slows down publishing, importing, and loading drastically when compared with standard fonts due to font embedding. However some custom fonts embed faster than others, you will need to perform some experimentation to find this out.
The scaleform components shipped with the May build use a font family called Slate Mobile, and my CS4/CS5 has a huge delay as it cries when looking for this font that I do not have; however my friend who doesn’t have the font either has his flash running just fine on these font lookup failures. I went ahead and changed all the components to use Arial instead of Slate Mobile to fix this which sped up my dev time pretty quickly.
As for The Hunt, last time I checked it was 2MB; which could probably be reduced a bit more.
My first iteration of that menu was done without any external actionscript code (because I had no idea how to work within actionscript and thought it would be easier). That lead to some nasty workarounds and a total size of 8MB for the same result. The 1-2KB of files that meekly make up “ForecourseUI” help cut down a lot on those nasty workarounds (my reason for creating it) to keep the file size small and the code running a bit smoother. The biggest thing is you want to keep the assets in your library as few as possible, if you have to clone movieclips to change only some very basic functionality (for my first iteration, every menu was its own movie clip and then some), thats when you need to figure out how to make an actionscript class so that you only have to rely on one movieclip symbol instead. The number of instances of a movieclip doesn’t matter too much, its just the number of different movieclips you have in your library.
June 22, 2010 - 8:09 pm
I attempted to animate text today by breaking apart the names into letters using a custom embedded font.
10 letters with 150 keyframes translated to a 3.5 meg swf file.
Total swf size for my character select screen was estimated to be about 25 megs.
I had a vision. Then it was ruined by my sincere lack of flash knowledge. I guess the world won’t get to see my sweet animated text this time.
June 22, 2010 - 8:19 pm
Hmmm. If you can find a way to animate it with actionscript / tweens you’d save a lot in file size.
June 22, 2010 - 8:32 pm
Breaking apart text into symbols is what destroys the filesize.
There’s really no way around it unless….
I could animate the text in a different program and import it as a movie…I wouldn’t even need to embed the font. I wonder how that will act when it only displays as mouse over and mouse click on a seperate button…
I’ll see if that works.
June 23, 2010 - 6:05 pm
Hey there,
I’m getting an error here. I went out and bought Adobe Flash CS5 Professional (Not Wallet Friendly Program mind you. I can see why you would have pause buying it yourself.)
So I started following your tutorials step by sep, and about where you have us writing our first bit of Actionscript for the Main Menu. I get this error when I try and test my work.
http://i3.photobucket.com/albums/y65/NinjaKrow/Flash-Errors/Forcourse_Error01.png
This is frustrating the heck out of me. Gone Back and tried it again. Still no joy. whats up with this?
Thanks in advance, and thanks for all your tutorials on other subjects as well. they are helping me greatly…
June 23, 2010 - 6:06 pm
Oh and the font you use is not a standard font I guess… Because I don’t have it on my system…
June 23, 2010 - 6:58 pm
Is your instance of the DynamincMenuHolder named DMHolder_mc ? (Click on your menu holder, go to your properties tab, and on the top right there is a box where you should type in DMHolder_mc)
June 23, 2010 - 9:00 pm
Yes… DMHolder_mc is what it called… also MainMenu_mc and Settings_mc…
It does complain that I don’t have the font you used. and it didn’t let me really do anything to correct this.
I even tried to rebuild this again just like you showed. Even when you quickly blasted though a few things at breakneck speeds.
(I understand you have time limits on YouTube just a minor issue)
I had hoped that it was just me forgetting something. It’s not, despite how I wish it was.
I’m hung up on this error right now. not really sure what to do about it.
I hope you can figure it out…
June 23, 2010 - 9:03 pm
If you right click your DynamicMenuHolder and click Component Definition/Properties….
what is listed in the “class” box?
June 24, 2010 - 6:13 am
I had this exact issue for a couple hours one night when working on the tutorial series. You need to look through your code step by step as there is probably a capital letter (or lowercase letter) where the opposite should be.
I can’t remember my exact fix (because I had to fix a lot of errors at once) but I’m positive it was resolved after either changing case on some keyword or removing the space from between keywords (like Main Menu -> MainMenu).
Triple check your code (letter by letter!) to make sure it matches Allar’s.
June 24, 2010 - 6:39 am
That too.
Also, a friend of mine was having this same exact problem. Its the same problem that others were having, except they gave me their compiler errors and not their scaleform debug text… so it was easier to solve. Now that I know the two are related..
With that issue, please review parts 1 and 2 about installing. You probably did this right the first time, however it seems like CS4 and CS5 does not like to save those “ActionScript 2.0″ settings for whatever reason.
June 24, 2010 - 5:04 pm
June 24, 2010 - 5:05 pm
WTK! Grrrr….
http://www.youtube.com/watch?v=Iy3eAGgOvCk
Okay then… =) new problem…
June 24, 2010 - 9:37 pm
Enable your Capture Input property on the Open GFx Movie action.
June 25, 2010 - 12:25 am
Nope Still no joy…
June 25, 2010 - 12:47 am
Just skyped my little brother… It works for him first try… WTK!…
June 25, 2010 - 7:30 am
Huh… So I went to my brother’s house, he using the April build. We tried it on his and the same deal as I am getting. We can lock down movement from the player. We can lock out firing the weapon, but we can seem to hid the linkgun anything like that.
I think there is something very wrong here. We downloaded the May build, mine was downloaded just week or two ago, he was this morning only a few hours ago.
We’ve been racking our brains trying to figure this out.
We run pretty much identical machines. He bought him machine from a local Brick and Mortal assembled to my machines parts list, and I built my own from part.
I’m almost wondering if my machine has something to do with it. God I hope not.
Anyone else have any good ideas?
June 25, 2010 - 7:36 pm
okay, Looks like it a hack fix, But I have gotten an answer at the epicgames’s forums… Instead of a “Level Loaded” event, I used a player spawned. I also had to go into world properties, and make the player have no default inventory.
I still drop into the scene and get that nasty spawn noise, both of which I hate with a passion.
But it kinda works… now I’m going to try and load in the menu and see if I can capture the Inputs and use it to navigate the Main Menu…
June 26, 2010 - 12:57 pm
Im having a little bite of trouble when Im launch my game in the frontend. Im getting this error in my log that saids
Warning: Warning, The Outer object (Package GFxUTHud.Map) for ‘GFxUTHud.map.jpg’ couldn’t be loaded [while loading package GFxUTHud]: Invalid linker index [couldn't load Package GFxUTHud.Map]?
[0009.84] Warning: Warning, Failed to load ‘SwfMovie GFxUTHud.Map.jpg’: Failed to find object ‘SwfMovie GFxUTHud.Map.jpg’
June 26, 2010 - 1:03 pm
Meant to say bit not bite in that last comment. my bad
June 27, 2010 - 8:39 pm
There’s a ton of tutorials out there for AS3.0, but I can’t seem to find many for AS2.0. Do you know of any that are helpful?
I come from a Java programming background, so OOP isn’t new to me. Most of the stuff in AS2.0 is super self-explanatory but I’m trying to find ways to expedite this learning process.
Side note from my previous comments about flash size…I now have the same animations down to 200kb from 3.6 megs. I keep making improvements and I’m hoping to eventually get it down under 10kb. I’m working on the Options menu right now though, and it’s got a lot of complicated junk (like dropdown menus, a brightness slider, video/audio settings, etc.) so that’s why I’m wishing I knew more AS so I could just streamline the stuff.
June 29, 2010 - 2:03 am
Hello, first time Unreal Scripter here
Anyway, I need a bit of help. I’ve gone over part one and two of the UnrealScript ‘Make a gamemode’ tutorial a few times and I’m continuously having the same few problems.
Firstly, there’s a lot of code and things that simply aren’t showing up in my defaultproperties – things like the prefix recognizer and such – and also the fact that my version of the UDK came fully packaged with a class already called ‘UDKGame’. Not wishing to overwrite anything important, I named it as something else, but now a few problems have turned up. The map and gamemode run perfectly, but the character doesn’t appear to spawn – they’re just stuck in a permament, weaponless noclip. I’m also unable to open any kind of in-game menu and it only closes with the help of ctrl-alt-delete.
This might just be a beginner’s mistake, but should also point out that I’m using the standalone version of the UDK only released by Epic recently – so it only comes with a demo of UT3. Has anyone else had this problem?
July 18, 2010 - 8:44 pm
Great tuts. Keep up the good work.
August 17, 2010 - 4:17 pm
Hello!
I’m new to the world of UDK, with a slight bit of knowledge of mapping for Source games and UT3. Great tutorials so far! Awesome job! Just hope you can get part 3 for the M16 import done to get the gun used in FP and TP views soon! Really looking forward to it!
Again, great tutorials! Keep ‘em up!
Kieran
August 19, 2010 - 8:02 am
Wow those are useful tutorials! Thanks a lot!
August 25, 2010 - 11:20 am
pretty good tuts considering how often the betas get outdated, can you please update the scripts to functioning versions whenever possible.
also a zip with the entire up-to-date project would be fantastic, as it would make following dated videos that much easier.
a few bugs:
UDKGame class alreaddy exists:
i went through and renamed everything to UDKGameB, fixed that problem
AmmoCount alreaddy defined in UDKWeapon:
???
class missing from sub/object definition (line 22):
[HTWP_M16.uc]
21-// Pickup staticmesh
22-Begin Object Class=ObjectClass Name=PickupMesh
23-SkeletalMesh=SkeletalMesh’Brae_M16.SkeletalMesh.SK_WP_M16_3P’
24-End Objetc
any help with these would be greatly appreciated.
Keep up the good work <3