Jump to content

Category:Editing Music and Sound Effects: Difference between revisions

From EDukeWiki
Hank (talk | contribs)
Hank (talk | contribs)
 
(7 intermediate revisions by 2 users not shown)
Line 33: Line 33:
Custom sounds and music can be added to Duke Nukem 3D. For the original Build engine, background music must be in .mid (Musical Instrument Digital Interface) format. Sound effects are to be either in .voc (Creative Voice) or .wav (WAVE) formats.
Custom sounds and music can be added to Duke Nukem 3D. For the original Build engine, background music must be in .mid (Musical Instrument Digital Interface) format. Sound effects are to be either in .voc (Creative Voice) or .wav (WAVE) formats.


The Eduke32 engine supports all of the above formats and the .ogg (Ogg) format; for background music as well as for Sound effects.
The Eduke32 engine supports all of the above formats, as well as .flac (FLAC) and the .ogg (Ogg) format; for background music as well as for Sound effects.


Sounds can be added either by replacing existing sound files or introducing new one's and list them in the con files. The latter is beyond the scope of Mapster32 and may be found on the scripting section in the wiki. To replace a sound file simply rename the custom music or sound effect to the exact same filename of an existing music or sound effect file and place this file in the main directory (file folder )where the executive file of the game resides.
Sounds can be added either by replacing existing sound files or introducing new one's and list them in the con files. The latter is beyond the scope of Mapster32 and may be found on the scripting section in the wiki. To replace a sound file simply rename the custom music or sound effect to the exact same filename of an existing music or sound effect file and place this file in the main directory (file folder )where the executive file of the game resides.


Note: If you plan to use WAVE files, the file needs to be recorded in 8bit and multiples of 11025 Hz to be audible in the game.
Note: If you plan to use WAVE files, the file should be recorded in 8/16bit PCM with a sampling rate in multiples of 11025 Hz.


==Sector Activated Sounds==
==Sector Activated Sounds==
''Map Name: [[Media:Tutorial.map|TUTORIAL.MAP]] (ROOM 6-F)''
This sound technique allows you to trigger a sound when Duke walks into a certain sector.  An example of this would be from Episode 1, Level 3 where Duke enters the revolving room and hears : "Too late Nukem.  We're in control now!".
To make a sector activated sound, simply give the sector you want to be the "trigger" sector, a lotag of 10+++.  +++ is the sound number that will be played.  The sound number for Duke saying "Damn!" is 214, so the sector would have a lotag of 10214 if you wanted to play this sound.  Note that these types of sounds only play once.


==Making Phones Ring==
==Making Phones Ring==
''Map Name: [[Media:Tutorial.map|TUTORIAL.MAP]] (ROOM 6-G)''
Making telephones ring can be a trick, but it's pretty easy to do.
STEP 1: Make your telephone sector. This effect works best when the telephone is a sector and not a sprite.
STEP 2: Place a sprite on the front of the telephone. Change this sprite into a switch (#132 works just fine) and resize the switch to match the size of the front of the phone. In 3D mode, press the [1] key while the mouse pointer is over this switch sprite. Then rotate the switch sprite (with the [<] and [>] keys) so that you cannot see the sprite (the angle should face the back of the phone).
 
STEP 3: Give the switch a unique lotag value.  The hitag value of this switch is the sound number that you want to play upon activating the phone (by pressing the space bar). The sound for a busy phone signal is a hitag value of 174, but you can use any sound you wish to use.
NOTE: Dipswitch sprites don't seem to work, so use the SLOTDOOR type switches.


==The Sound Effects Listing==
==The Sound Effects Listing==
A listing of sound effects is available for download at [http://dukeworld.duke4.net/classic%20dukeworld/other/docsfaqs/sfxlst20.zip Dukeworld] or read it on-line at [http://pastie.org/3574181 Duke 3D Sound List at Pastie]
A detailed study of the sound effects was conducted and the results are available here: http://forums.duke4.net/topic/2454-exploring-duke-nukem-3ds-sounds/

Latest revision as of 06:30, 3 January 2013

This category currently contains no pages or media.