O'Reilly logo

UnrealScript Game Programming Cookbook by Dave Voyles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Constructing a leaking pipe prefab

Prefabs are simply a combination of multiple objects and actors within a scene. We can combine virtually any item in UDK to create one.

Getting ready

We'll begin by loading the map that contains our example prefab. This will allow you to see the various components used to create one, as well as teach you to create one of your own. Along the way you'll have to manipulate certain objects such as rotating a pipe or adjusting the scale of a waterfall, but this won't be anything overly complicated.

How to do it...

To get things started, let's open up a new map called Chapter2 under the Tutorials folder. This will have the chapter's prefab and archetype already in place for you, so that you can see the end result of your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required