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

Adding audio effects to our prefab

Our prefab is nearly complete! We've got all of the visual aesthetics for our prefab in place, but it's still not very believable within the game because we don't hear any sound coming from it. Let's change that.

Getting ready

We only need to open up the prefab we just made, as we'll be building off of that.

How to do it...

The changes here will be minor, but similar to what we've done with the particles in the previous recipe. UDK offers extensive audio capabilities, but those are over the scope of this tutorial, so we won't cover them here, but you can find a number of resources at the Unreal Development Network site, http://udn.epicgames.com/Three/AudioHome.html.

  1. Head back to the Content Browser tab and search ...

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