Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Unreal Development Kit Beginner's Guide
Unreal Development Kit Beginner's Guide

Unreal Development Kit Beginner's Guide: A fun, quick, step by step guide to level design and creating your own game world.

By Richard Moore
NZ$‎51.99 NZ$‎35.99
Book Aug 2011 244 pages 1st Edition
eBook
NZ$‎51.99 NZ$‎35.99
Print
NZ$‎64.99
Subscription
Free Trial
eBook
NZ$‎51.99 NZ$‎35.99
Print
NZ$‎64.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Aug 26, 2011
Length 244 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781849690522
Category :
Table of content icon View table of contents Preview book icon Preview Book

Unreal Development Kit Beginner's Guide

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:

    Note

    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.

Autosave


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.

Navigation

Buttons used to navigate around UDK.

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.

BSP


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.

Additive

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.

Subtractive

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.

Tip

[ ] 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)

  • LMB+RMB

  • WASD

Summary


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.

Left arrow icon Right arrow icon

Key benefits

  • Full of illustrations, diagrams, and tips for creating your first level and game environment.
  • Clear step-by-step instructions and fun practical examples.
  • Master the essentials of level design and environment creation

Description

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.

What you will learn

Installing the software and navigating around the editor. Build your first map. Add cool particle effects like fog, foliage and water. Create fun physics. Create real world terrain. Use the kismet to spawn characters and toggle lighting. Cutting edge UDK High level scripting. Item placement and AI bot navigation.

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Aug 26, 2011
Length 244 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781849690522
Category :

Table of Contents

17 Chapters
Unreal Development Kit 3 Chevron down icon Chevron up icon
Credits Chevron down icon Chevron up icon
About the Author Chevron down icon Chevron up icon
About the Reviewers Chevron down icon Chevron up icon
www.PacktPub.com Chevron down icon Chevron up icon
Preface Chevron down icon Chevron up icon
Pop Quiz Answers Chevron down icon Chevron up icon
Level Design HQ Chevron down icon Chevron up icon
Hello UDK Chevron down icon Chevron up icon
Applying Lighting Effects Chevron down icon Chevron up icon
Battling the Elements Chevron down icon Chevron up icon
Movement with Movers Chevron down icon Chevron up icon
Terrain Chevron down icon Chevron up icon
Adding Gameplay Elements into your Map Chevron down icon Chevron up icon
Complex Event Sequences Chevron down icon Chevron up icon
Materials Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.