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
$43.99
Book Aug 2011 244 pages 1st Edition
eBook
$25.99 $17.99
Print
$43.99
Subscription
$15.99 Monthly
eBook
$25.99 $17.99
Print
$43.99
Subscription
$15.99 Monthly

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
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 Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
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

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela