Main Menu

 

DukeED.com is part of the 3D Portal network

DukeED

Sound: Generic Sound Tutorial

 

A. Give your level sound and create sound packages

  Giving your level sound

Giving your level sound is quite easy. Many objects, infact, I believe about all objects, have sound properties. Anything you want to emit a sound, just go into it's properties and there should be a sound section. There are 4 things you will always want to set for the sound properties.

AmbientSound - This is the field to enter what sound you want to play - Select the sound by loading sound packages and choosing in the Sound browser.

Soundpitch - Leave it at the default unless you want to modify the pitch of the sound, useful for making different sounding winds and such out of the same sound.

SoundRadius - How far from the object emitting the sound it will be heard. A larger radius will be heard further away.

SoundVolume - This shouldn't be that hard to figure out, it is how loud the sound will play.

Of course you might not want to stick a tree in the middle of nowhere just to have something to emit sound. If you want to put just a sound by itself, go into Classes -> Actor -> Keypoints -> AmbientSound... AmbientSound works just like the sound properties for any other object, just it is the sound by itself with no attatched object.

You can hear the sounds just as they will sound in the game by putting the 3D view into game mode or whatever the hell its called when you click the little joystick icon (enabled = black joystick, disabled = grey)

Some objects have their own specific sound properties, like movers. Movers can play different sounds upon events, like a sound when it starts, a sound while it is moving, and a sound when it stops. Mess around with Mover Properties -> MoverSounds for a mover and see how it works.

Making Sound Packages

Could this be any easier?

All you gotta do is hit the import button, select your WAV file(s), and load them up. Creating a new package would be giving a new package name while importing. Same grouping stuff applies to Sounds as does to textures, as you can create specific groups within your sound package (like different groups of sound types). Save the package when you are done.

Remember the same thing with sound packages as with texture pacakges... When you load a level it only loads the things that the level uses (sounds, textures), so re-saving the package with only those things loaded will get rid of anything not loaded... So be SURE to LOAD the actuall full package before editing/saving it. That is unless you actually just want to get rid of anything not used :)

 

You are done, check out other tutorials

 

This tutorial contains the following sections

  A. Give your level sound and create sound packages  

Related Tutorials: Sound

 

Copyright © 1998, 1999, 2000, 2001 by 3D Portal. All rights reserved.
Send questions and comments to
team@dukeed.com

If you were directed to a tutorial here from another site, be sure to visit our Main Page and tell us what you think.