Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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.

eBook
€8.99 €25.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Unreal Development Kit Beginner's Guide

Chapter 2. Hello UDK

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.

In this chapter, we will learn the following:

  • Setup, where to save the file, what to name it

  • The builder brush and our first cube

  • Geometry editing tool

  • Building our first room

  • Placing lights and a player start

  • Creating a hallway and a second room

  • Applying materials to CSG surfaces

  • Test map and add bots

This is where the fun really starts. We will begin the first stages of creating our map by creating a small room, and then move onto adding features like lighting, materials, textures, and static meshes. This will be followed by adding a player start and testing our map with bots.

Your first map


You will build your first level using the unreal in-editor modeling system, Constructive Solid Geometry (CSG), also referred to as BSP.

Time for action – setup, where to save the file, what to name it


  1. Go to File | New, a window will pop up asking what geometry style you want, select Additive. Not only is it more appropriate for most level designs, but also I've seen some weird bugs with Subtractive mode in UDK.

  2. Before we begin working, let's pick a name and save our file. For the purposes of this test, we'll use DM-CSGTest01.udk. Unreal figures out what game type you're making based on the map name. So by choosing DM-, we'll get a Deathmatch map, and all of the associated gameplay that comes with it as default lead-out. Go to File | Save. Unreal works best if you put your map in a specific folder, which you may have to create as follows:

    C:\UDK\UDK-VersionRelease\UDKGame\Content\Maps and name it DM-CSGTest01.udk.

  3. Let's also do some viewport configuration to make editing easier. Click on View | Viewport Configuration | 1x2 Split. This will put your perspective view on the left and your top, and side 2D views on the right.

  4. Click...

Why CSG?


We're going to use CSG geometry to rough out our level. It's the in-editor 3D modeling tool. While you could rough out the level in a 3D application such as Maya, Max, or even AutoCad, CSG gives you an incredibly fast turnaround when you begin working out the gameplay of your level. It's much easier than going back-and-forth between the different software packages.

That said, CSG isn't good for anything very detailed. It's expensive, it's hard to work with, and is prone to errors if the geometry gets too complicated. For this reason, it's great for prototyping since you don't want to add much detail in the early stages. It's also suitable for some simple geometry in the final level, as you can see in some of the epic's maps.

Time for action – the builder brush and our first cube


At the center of your empty level is a red wireframe cube. This is the builder brush. Think of it as a rubber stamp. Whatever shape and size it is, that's the shape and size of the geometry that you're going to stamp down.

  1. Select the builder brush, then click on the CSG : Add button.

  2. This stamps a cube down into the world, as shown in the following screenshot:

  3. If you move the builder brush out of the way, you see that the cube stays in the 2D views. It appears as a blue wireframe box.

  4. Now select the blue additive brush in one of the 2D views and move it to the side.

  5. The checkerboard cube didn't move with it. When you modify existing the CSG, unreal requires you to rebuild for a simple cube move, which is pretty fast. But when you've got a whole level roughed-out in CSG, you wouldn't want unreal to pause and re-calculate all the time. Click on Build Geometry for Current Level, towards the top-right of the screen. You'll get some warnings,...

Subtractive


So say you wanted to create a room. You could place six additive cubes making up the walls, floor, and ceiling, but there's a better way to do it. In addition to additive, unreal has subtractive, and it does just what you'd think—it carves a hole in additive. Select the builder brush, move it so that it's partially intersecting with your additive brush, and click CSG : Subtract.

If you move the builder brush out of the way, you'll see that there's now a chunk taken out of your cube, and there's a yellow subtractive cube in the 2D view.

Try moving the subtractive brush around. You will again need to rebuild geometry in order for the changes to update in the 3D view.

Also, you can clone your additive or subtractive brushes by copying-and-pasting them (ctrl+c, ctrl+v), or by alt+dragging one of the movement handles. Play around a little more, intersect some more shapes, and rebuild. Get a feeling for the tools.

Brush Order


You may notice that sometimes a subtractive brush cuts into one additive brush, but not another.

This is because brushes are order dependent, they're like a set of commands such as Build this, Now cut into it, Now build on top of that, which are shown in the following screenshot:

If we want the subtractive brush to cut into both the additive brushes, we can make it the last command in the list. Select the subtractive brush, right-click on it, and select Order | To Last.

Now the brushes are in the order we want.

And if we rebuild geometry, we get the results we want.

And yes, you could have also selected the #3 additive brushes and clicked on Order | To First, to get the same result.

What just happened?

So we know how to use the builder brush tool to create our first cube. Let's go ahead and look at the geometry editing mode tool.

Time for action – geometry editing tool


Let's face it; it would be tough to build a level solely out of cubes. Let's look at some more advanced geometry editing. But first, save your work, create a new file, and save it as DM-CSGTest02.udk.

  1. Create a new additive brush, then click on the Geometry Mode button at the top-left corner of the window. This opens up the Geometry Tools dialog box. You can close it again by clicking on the button to the left, Camera Mode.

  2. Working with edges is the easiest way to get started, so click on the Edge button, and select your additive cube.

  3. Make sure you're in the World mode (not Local).

  4. Then select an edge and try moving it around.

  5. Now our cube is an elongated rectangular box. Don't forget to rebuild geometry.

  6. You'll notice that when you selected the edge in the 2D view, it actually selected two edges in the 3D view—in my case, the top and bottom. This is really handy and what you want most of the time. But you can also make a ramp shape by selecting only one...

Time for action – building our first room


Time to create our first room, something we can actually run around in. Save your work, create a new file, and save it as DM-CSGTest03.udk.

We want our room to be big enough for the player to run around in. The builder brush is 256x256x256 by default, and the player is 88 units tall. That's going to feel a little cramped, so let's make our cube more like 1024x1024x512 units tall. What we're going to do is create an additive cube which is the size we want, and then hollow it out by using a slightly smaller subtractive cube. Select the builder brush and make sure you're in the Geometry mode. Yes, the geometry editing tools work on the builder brush too.

Also, resize your grid to 32 units either by using the controls in the bottom-right corner of the screen or the bracket [ ] keys. It's important to build on the grid so that we have an easier time-judging size, and so that when we expand our level later, everything lines up nicely. This is also why we...

Time for action – placing lights and a player start


In this section, we'll be placing actors, so we'll be mostly working in the 3D view. Close the Geometry tools window, click on the Camera Mode button, and save your work. First we'll place a light. It is easy—right-click on the ground, then click on Add Actor | Add Light (Point).

The light should appear where you clicked. Go to Lit mode, and you'll see your room appear with lighting now, though it looks a little strange, since the light is right on the floor.

Move the light up from the floor so it's in the middle of the room. You can also increase or decrease the light's radius using the Scale tool. Give it a try.

The last thing we need to do before we run is to Bake Lighting . Right now the light is calculated dynamically, which is expensive and unnecessary. If we bake it, it calculates texture maps for any light and shadows in the scene, which is much cheaper. Click on the Build Lighting tool that is right next to Build Geometry. The default...

Time for action – creating a hallway and a second room


At this point, you should be able to create a second room and a hallway without any more guidance, but I'll take this opportunity to show a few more tricks. Save your work, and then save it as a new file, DM-CSGTest04.udk.

We'll create the second room first, and then the hallway.

Instead of building the second room from scratch, let's select the first room and everything in it, and then clone it over. In one of the 2D views, ctrl+alt+drag a selection box around the entire room. We want the player start and the light too, which will be useful later.

Then alt+drag on the Move tool to copy the room over to the right side.

Press the Rebuild Geometry button, go to Unlit mode, and you should see both rooms in your 3D view. Remember that there are no lights outside, so the outer surfaces will show up black.

Time to create the hallway. We could clone a room again and shrink it down using the geometry editor tools, but let's build it from scratch...

Time for action – applying materials to CSG surfaces


It's time to get rid of that grey checkerboard pattern covering the walls and floor. You can apply either a material or a material instance to a surface. We'll discuss the differences later. Both types of materials show up in the generic browser with a green border.

Let's find a material that we can apply to our CSG surfaces. Open the generic browser, and in the filter list, check Material and Material Instance Constant. If you have anything else checked, like Static Mesh, uncheck it.

Click on some packages. Any of them starting with HU_ contain human environment assets, which is a good start. You'll see that a few materials show up, but not many. This is because the packages haven't been fully loaded yet.

Select a package, right-click on it, and select Fully Load. You can select multiple packages at the same time by ctrl+clicking on their names, or by shift+clicking to select a block. Select all of the HU_ packages now, and fully load them...

Surface Properties


Now let's look at how to change the alignment, rotation, or scale of your material. Select a face and go to View | Surface Properties (or hit F5).

The best way to learn the tool is to try it out for yourself.

Panning and rotating are easy; just click the button you want and the material updates on the surface. You can shift+click on a button to move or rotate in the opposite direction. Changing the scale is nearly as easy, but once you select a scale option, you need to press the Apply button just to the right of the scale. The default scale is 1, and larger numbers mean that the material will cover a larger area. The other things you can control on this menu are the surface's lighting properties, but we'll discuss that in detail when we talk about lighting.

What just happened?

So our map has a little character to it. Let's now test our map, add some bots, and get an idea of what our map will play like.

Have a go hero – adding more elements to your level

So we know how to add...

Time for action – test map and add bots


I'll cover this in much more depth later, but it would be fun at this point to add some bots to the level. Make sure your map name starts with DM- and save your work. In the editor, click the Build All button to the right of Build Lighting.

Save your game and run it. Open up the console by pressing Tab, and type addbots 1. A bot should appear, and you can kill it.

To add more bots, add more player start nodes, rebuild all, run the level, and type addbots [number] in the console. Have fun with it. Try adding some additional rooms, and make a more interesting layout. See if you can make ramps to rooms at different heights, or raised platforms inside the room.

What just happened?

So we have now tested our map with bots and have an idea of what our map will play like with these two rooms and a hallway.

Have a go hero – content browser

So we know how to add a player start, but what else can we add to our level. Open up the content browser and see if you can add...

Summary


We learned a lot in this chapter.

Specifically, we covered:

  • How to set up our level and configure viewport options and unlit settings

  • How to build a basic room

  • How to add light to our basic room

  • How to add player starts to our level

  • How to create surfaces in our room

  • How to apply a material to a surface

  • Finally, how to test our level and add bots

We know how to create a basic room and add characteristics such as light and materials to surfaces, we also know how to test our map with bots. We're now ready to look further into lighting and how to get the most out of it.

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.

Who is this book for?

Aspiring game developers who want to learn how to create their own levels, maps, game worlds and environments. You don’t need game design or game development experience and no experience of UDK is required

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.

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 26, 2011
Length: 244 pages
Edition : 1st
Language : English
ISBN-13 : 9781849690539
Tools :

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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

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

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 120.97
Unreal Development Kit Beginner's Guide
€32.99
Unreal Development Kit Game Programming with UnrealScript: Beginner's Guide
€41.99
Unreal Development Kit Game Design Cookbook
€45.99
Total 120.97 Stars icon
Banner background image

Table of Contents

9 Chapters
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

Customer reviews

Rating distribution
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
(2 Ratings)
5 star 0%
4 star 0%
3 star 50%
2 star 0%
1 star 50%
ChrisC Feb 12, 2012
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
Having no previous experience with UDK or 3D graphics in general, I thought I'd give Unreal Development Kit 3 Beginner's Guide a try. The book attempts to teach the basics, from installing UDK to constructing 3D maps complete with realistic lighting, event scripting, and AI pathing. If you've never worked with Epic Games' Unreal Engine before then there's certain plenty to get your teeth into here.Given the target audience, the book does a very good job of keeping the amount of text to a minimum. Instead, brief step-by-step instructions are provided, along with a generous supply of screenshots. Over the course of the nine chapters you'll work with each of the major tools that UDK's editor provides in order to construct a series of increasingly more complex maps. While you certainly won't become an export, you should feel fairly comfortable using many of the tools come the end of the book.However, while the content covered is appropriate for the book's intended audience, the instructions provided aren't always as clear as they perhaps should be. This seems to be for a number of reasons. Firstly, a new release of UDK is made every month, leaving areas of the book out of date very quickly. Secondly, by trying to reduce the amount of text, the author sometimes seems to skip over steps that don't always seem obvious to the beginner. Thirdly, the author on occasions seems to forget his target audience, neglecting to clearly explain some of the basics.These issues are a real shame as they can lead to you being stumped and unable to progress without a little detective work. I found myself relying on Google, or having to find answers on forums on occasions. Many of these issues could have been avoided if the author had simply stated the version of UDK he used while writing the book. Instead he makes the mistake of asking the reader to download the latest version, more or less guaranteeing that there will be differences between what's covered in the book and what UDK now offers.This is a real shame as I really did have a great time working through the book, and was surprised at just how easy UDK can be to quickly create 3D game worlds. In fact, I often found myself tinkering and experimenting for many hours after reading each chapter. If you're willing to accept its flaws then Unreal Development Kit 3 Beginner's Guide has a lot to offer and will give you the confidence to further explore and to be creative with UDK.
Amazon Verified review Amazon
Tonycstech Dec 30, 2012
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
All of this book content can be found free online if you just look hard enough.Most of it applies to UT3 and UT2004 tutorials because they are most likely to be the same.UDK was built after UT3 or even Gears of War, so if you look up tutorials on those games, you will find what to do since editors look same and scripting is same (almost)
Amazon Verified review Amazon
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.