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

Camera properties and archetypes

With our Camera class in place, we now need to create a class for our publicly exposed properties, as well as the archetype that we'll physically interact with, inside the UDK editor.

Getting ready

Open your IDE and prepare to create a new class.

How to do it...

Exposing properties to the editor can be a far easier way to make tweaks and changes to actors like our camera. Without this archetype we are about to build, we'd have to manually change the variable within our IDE, compile the project, then view our results in the editor. We plan on making the life of your level designer much easier with this simple fix.

In the following recipe we'll need to create a new class, in addition to an archetype within the UDK ...

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