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

Creating a subarchetype from an archetype

An archetype is a set of property values which will be assigned to a newly created object, a template. There may be a time when you want to extend from those values and create another template with similar properties. The March 2012 update of UDK Epic allowed that to happen with the addition of subarchetypes.

Getting ready

We're going to create a subarchetype from a weapon pickup factory, so the only thing you'll need to get started is to open up a fresh map within the editor.

How to do it...

Think of it as extending from a class, just as we would do with an IDE, but instead we are extending from an actor from within the editor. To do this we'll need to go back to our Actor Classes Browser, which is necessary ...

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