Unreal Development Kit Beginner's Guide

By Richard J. Moore
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Level Design HQ

About this book

Unreal Development Kit (UDK) is the free version of the award-winning Unreal Engine 3. It is used to create a wide variety of games ranging from amateur to professional standard next generation AAA titles.

This book will show you exactly how to create an enjoyable and immersive game environment using the UDK. You will learn how to implement, level design, lighting, environmental effects, movement, terrain, map creation, item placement, kismet, materials and complex event sequences.

You will work through the level design process from navigating round the editor to learning how to develop a fully playable environment. You will quickly master all of the engine’s key tools that are accessible through Unreal Engine 3. You will then start putting together your first level using step-by-step instructions. Next we will implement real world features such as dynamic lighting and shadows, particle effects, physics, terrain, item placement and advanced AI/bot pathing. Finally you will learn how to use UDK’s cutting edge high level scripting. By the end of this book you will be equipped with the skills to create an entertaining and imaginative game world.

Publication date:
August 2011


Chapter 1. Level Design HQ

In the first chapter, I'm going to explain how to download and install the Unreal Development Kit (UDK), show you how to launch the editor, how to move and rotate around the editor, and finally briefly explain Binary Space Partitioning (BSP) brushes and static meshes.

In this chapter, we will learn the following:

  • UDK download and installation

  • Launching the editor

  • Movement and rotation

  • Using BSP brushes and static meshes

So let's get on with it. We will first look at downloading the UDK, and install it on your PC.


Time for action – UDK download and installation

  1. Download the latest version of UDK.

  2. Log on to www.udk.com and download the latest version of unreal development kit beta. Once you download the UDK Installer, go ahead and install the UDK. The default directory for installing UDK is C:\UDK\UDK-VersionRelease.

    Version Release will be the month and year that the UDK you downloaded was built.


UDK folder structure

The UDK folder structure looks like the following screenshot:

The UDK folder structure consists of the following four folders:

  1. Binaries: game/binary executable.

  2. Development: source code for UDK.

  3. Engine: engine files.

  4. UTGame: game files. For level-design and environment creation, the important folder here is the content folder. The packaged environment's assets such as models, textures, materials, sounds, and such are stored here.

    For environment creation and level design, the most important folder is UTGame | Content | Environments. It contains all the files you need to create your map, as shown in the following screenshot:


    UDK extension is the UDK package's name. This is how the models and textures are stored in UDK. Think of UDK extension as folders. Inside those folders are stored all the models, animations, textures, materials, and similar assets. You can browse the UDK files through the UDK editor.

    UDK is the map file extension.


Time for action – launching the editor

  1. To launch the unreal editor, go to the Start Menu | Unreal Development Kit | UDK Version | Editor.

  2. Another way to launch the editor is to create a shortcut. To do this, go to the installation folder: \UDK\UDK-VersionRelease\Binaries, locate UDKLift.exe, right-click and select Send To | Desktop (create shortcut), as shown in the following screenshot:

  3. Once on you have created the shortcut on your desktop, right-click the shortcut and select Properties. Then, in the Target box under the Shortcut tab, add editor at the end of the text. It should look something like the following screenshot:

  4. Now double-click on the desktop icon and launch the UDK Editor.



When you first launch the editor, you will have Autosave automatically enabled. This will save your map at a chosen timed interval. You can set how often it will automatically save by clicking the Left Mouse Button (LMB) on the arrow on the bottom-right of the Autosave Interval and choosing the time you want, as shown in the following screenshot:

You will find the Autosave feature at the bottom right of the editor. If you enable Autosave, there are a few options such as Interval and Type.

Save manually by going up to File | Save As.


Content browser

Content browser is where you will find off the game's assets. Placing static meshes (models), textures, sounds, and game entities such as player starts, weapons, and so on, can all be done through the content browser. You will be using the content browser very often. To open the content browser click on the top menu bar, as shown in the following screenshot:

Packages are where you will find specific items contained within the UDK. Things such as static meshes are contained within a package. You can search for a package, or just find the package you want to use and select it as shown in the following screenshot:

The top of the content browser contains a search box as well as a filter box. This is very useful. You can sort out the content in the browser by animation sets, material instances, static meshes, sounds, and so on. This helps a lot when looking for items. The next screenshot lists full names of the items within a selected package. You can sort by clicking on the Name, Type, Tags, or Path fields, and it will re-arrange the content's preview:

The content browser is one of the most commonly used tools in UDK. Get comfortable using the content browser. Spend some time navigating around it. UDK basics covers the most essential tools and functions you need to know to get started with UDK. You'll be able to quickly jump into UDK and begin feeling comfortable using the most commonly used functions.

What just happened?

So we know how to launch the editor, how to use the Autosave function, and where to find the content browser. We are now going to look at how to move and rotate around the editor.


Time for action – movement and rotation

Time to have a look at movement, rotation, and navigating around the editor.


Buttons used to navigate around UDK.


These are your primary keys for navigating and rotating using the editor:

  • Left Mouse Button (LMB): pan right/left/forward/backward movements

  • Right Mouse Button (RMB): rotate, look around

  • LMB+RMB: up/down

WASD key navigation

The following are other forms of primary keys for navigating and rotating around the editor:

  • Click and hold RMB. As you hold it, use the WASD keyboard keys to move around as you would in a first person shooter game.

  • WASD movement is great if you are familiar with hammer source mapping.

MAYA users

If you are familiar with Maya, the following will be your primary keys for navigating and rotating around the editor.

  • Hold down the U key

  • U+ LMB: rotate, look around

  • U+ RMB: forward/backward movements

  • U+ MMB: right/left/up/down movements

What just happened?

Now that you have installed UDK and know what the content browser is, you are ready to begin. So let's get started.



The purpose of BSP is to greatly reduce the amount of work the game engine has to perform in real time—to draw polygons on the player's screen.

Why use BSP?

BSP is a great tool to block in your map with. BSP is often used to quickly create and test playable space.

Can I use static meshes to create my map without using BSP?

Yes. Although, you will need a 3D software application that supports UDK's plug-in, such as Autodesk Maya, 3Ds Max, XSI.

UDK CSG Operations for Brushes include the following:

  • CSG Add

  • CSG Subtract

  • CSG Intersect

  • CSG Deintersect

Dominance of static meshes

Static meshes are simply the models in your level. If you open up any UDK map, 90 percent of the map will be static meshes and the rest will be BSP brushes.

Brushes only, no static meshes

We can see only brushes used in the following image:

Brushes and static meshes

We can see both brushes and static meshes used in the following image:


Time for action – using BSP brushes and static meshes

The Red Builder Brush creates BSP brushes. It also acts as a template for creating BSP Geometry and does not show up in the game.

In the previous screenshot you can see that the red builder brush has taken the form of a square template for creating BSP geometry. You can create different sizes and types of BSP.

Hammer source engine still uses BSP operation to construct the main shell of the level, but the majority of next-gen engines heavily rely on static meshes. Static meshes is what you will be using to primarily define how your map looks in UDK. Static meshes are the models that make up the 90 percent of your level. Creating static meshes requires you to have a 3D application, such as XSI, Maya or 3Ds Max, and so on.

  • Red builder brush is what you will use to create BSP brushes

  • Static meshes is what you'll be using to detail the environment


Additive and subtractive

When you create a new map by going to File | New, you are presented with two options to create a map inside UDK: additive and subtractive. The most common and mostly used is the Additive mode.


Think of an empty space. In the additive method, you would be adding walls, models, and the environment assets into the empty space. A real life example of additive map creation would be constructing a building wall-by-wall.


Think of a solid rock. In the subtractive method, you would be cutting the rooms and environment out of this solid mass. Subtracting the solid rock, in order to have room, is like sculpting.

UDK basics covers the most essential tools and functions you need to know to get started with UDK. You'll be able to quickly jump into UDK and begin feeling comfortable using the most commonly used functions.


Unreal scale and proportions

The scale of a character in Unreal is 96 units.

  • 128 UU = 8 feet = 243.8 cm

  • 96 UU = 6 feet = 182.9 cm

  • 16 UU = 1 foot = 30.5 cm

  • 1 UU = 2 cm


Grid snapping

Grid snapping is extremely important. Always work with grid snaps turned on. There are three grid snap options: rotation grid, drag grid , and scale grid . The following screenshot shows the Drag grid option, the Rotation grid option, and the Scale grid option at the bottom-right corner:

Uncheck/check: turns on/off the drag/rotation/scale grids. I would recommend always having this turned on. In some cases, for fine detailed work, you may need to turn it off.


[ ] Bracket keys increase or decrease grid.


Viewport options

The most commonly used viewport is perspective. You will spend most of your time in the perspective viewport. This includes moving, placing, duplicating, and transformation of static meshes and most of your environment creation.

If you go up to View | Viewport Configuration, you have options of how you want to set up your views, which is shown in the following screenshot:

In the drop-down menu for the viewport, there are options of what you want to display. It allows you to hide/unhide specific elements in your perspective viewport, which is very useful when you are working on a specific element during your level creation:

Real Time Preview (RTP) shows the environment as it would look like in the game, complete with sound and particle effects. RTP works best when you have the Game Mode (G) enabled, which turns off the wireframe brush view. This offers the best and most accurate view of what your level will look like in the game.

Here is a list of the different viewport options you will be using when designing in UDK. Some of you will use one more than the others:

  • Brush wireframe (Alt+1): Shows wireframe brushes that will allow brush selection

  • Wireframe (Alt+2): Shows wireframe brushes that will not allow brush selection

  • Unlit (Alt+3): No lights; makes navigation inside your perspective viewport a bit faster

  • Lit (Alt+4): Full-lights preview

  • Lighting only (Alt+5): Lighting only

  • Lighting complexity (Alt+6): Your lighting complexity

  • Texture density (Alt+7): How complex are your textures

  • Shader complexity (Alt+8): Shader complexity only

  • Lightmap density (Alt+9): Lightmap density only

  • Lighting only with texel density (Alt+0): Lighting only with texel density

What just happened?

So we know about using the BSP brushes and static meshes, the additive and subtractive tools, the unreal scale and proportions, the grid snapping, and the different types of viewport options that we will be using when designing in UDK.

Have a go hero – wireframe brush

So we have light in our small room, what's next? Let's see if you can move the wireframe brush and create another surface. It is important that you understand the different uses of the translation and scaling mode options available in this editor.

Pop quiz

What do the following buttons function as?

  • Left Mouse Button (LMB)

  • Right Mouse Button (RMB)


  • WASD



So we have covered the UDK basics, which are the most essential tools and functions you need to know to get started with UDK. You'll be able to quickly jump into UDK and begin feeling comfortable using the most commonly used functions.

Specifically, we covered:

  • How to download and install UDK

  • How to launch the editor and the Autosave function

  • How to navigate around the engine and how to use the short keys

  • How to use BSP brushes and static meshes

  • How to use the add and subtract operations used in BSP brushes

  • How to scale and grid snap in UDK

  • How to use different viewport options to maximize real time

Now that we've learned about the basics of navigating around the engine and using UDK's main features, we're ready to start creating our first map, which is the topic of the next chapter.

About the Author

  • Richard J. Moore

    Richard graduated in 2009 studying video games design at Hull School of Art and Design but has expanded his creativity by working as a web designer/illustrator in Hull, East Yorkshire and London for 3 years. He is very passionate about 3D modelling, level design, concept drawing, web development and graphical illustrations. He has worked on a number of different projects with clients from different industry backgrounds. A collection of stylish web templates, logos, brochures, business cards, web banners, animated graphics and email marketing campaigns. Through the clouds lies my passion in video game development. Complete creation of 3D art including modeling, texturing and high resolution rendering. He also dazzles in game documentation and conceptual drawings. He will always take any opportunity to meet as many different people from the game development community as possible and as a result, I have attended the Games Grads career fair for one consecutive year, participated in the Game Republic 2009 student showcase in Sheffield and Platform 2010, Hulls ¬1st Digital and Gaming event where I won the award for best character and a cheque for £100. In March 2011 he was involved in Platform Expo’s 2011, Hull’s second video game expo where I entered in this year’s video game showcase and won 2nd prize for my outstanding contribution to video game design and is now involved in Platform Expo’s 2012. In July 2011 he volunteered as a marketing assistant/designer for an on-line based video games magazine assisting the editor-in-chief in designing templates for latest issues of the magazine, writing reviews on latest video game titles and talking to clients about potential advertising coverage within our magazine and online. In his spare time now focuses on more freelance design and development work with up and coming companies. As a result, Richard has had some impressive feedback from fellow designers and clients and is very much interested in starting up his very own design company focusing on all the things that he loves. He has the ideas, the drive and determination to put it together. 2011 is the start of something big for this video game designer.

    Browse publications by this author
Unreal Development Kit Beginner's Guide
Unlock this book and the full library FREE for 7 days
Start now