BioWare Atari
BioWare Info BioWare Games Support Forums Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

Adding Custom Sounds: Wave Files

Intended Audience: For Builders      [Printer Friendly Version]
By Robin Mayne and Jonathan Epp

This tutorial will show you how to add a custom .wav sound file to your module using a hak pak. The example below shows how we added the background dance music in the Dance Club Example module.

Steps for Adding Sound

The process we will use is as follows:

  1. Take your .wav file and add it to a hak pak
  2. Add you hak pak to your module
  3. Add the sound to your module by creating a custom blueprint

 

Adding a Wave to a Hak Pak

The first thing you will need to do is add your .wav file(s) to a Hak Pak, which can then be used with your module, and distributed so others can enjoy your creations.

1. The Hak Pak Editor is the 'nwhak.exe' program located in the 'utils' directory where you have installed Neverwinter Nights (The default location is C: \NeverwinterNights \NWN \utils). Double-click the 'nwhak.exe' to start the editor.

2. Add the new .wav sounds to the Hak Pak Editor by selecting 'Resource' -> 'Add'. Browse to the location of the .wav file. Select it and click 'Open'.

3. You will now see the sound file listed as a resource in the Hak Pak. Add a title and description to your Hak Pak, and save it to your 'hak' folder where you have installed Neverwinter Nights (The default location is C: \NeverwinterNights \NWN \hak).

 

Adding a Hak Pak to a Module

1. Now that the Hak Pak is in your 'hak' directory, we can add it to a module. Open an existing or new module in the Toolset. Under the 'Edit' menu select 'module properties', then select the 'Advanced' tab. In the 'HAK File' drop-down select your hak pak.

Note: This is how Hak Paks are added to a module. Remember that if you use a Hak Pak in your module, Players must place the same Hak Pak in their 'hak' directory to play the module, so be sure to bundle the Hak Pak with your module when offering it for download!

 

Adding the Sound to a Module

Now that the Hak Pak with the new sound has been added, we can add that sound to the module.

1. In the top menu of the Toolset, select 'Wizards' -> 'Sound Wizard'.

2. Assign Pallette Category. Choose the category you want your sound blueprint to appear under. In our example, we placed it under 'Special' -> 'Custom 1'.

3. Choose the Timing for your sound (Seamlessly looping or Single-Shots). Since we are creating background music, select Seamlessly looping.

4. Choose the Positioning for your sound. Again, since we are creating background music, select Area-wide.

5. Click the 'Add Sounds...' button to bring up the list of .wav files in the game and in your hak pak. Select 'Hak Pak Resources Only' to list the .wav files you have added to your hak pak. Select the sound you wish to use, and click OK. Click 'Next' to proceed.

6. Enter the name for your blueprint (our example is named 'Moozik'), and uncheck the 'Launch Properties Dialog' box. Click 'Finish'.

7. The sound now appears under 'Paint Sounds' -> 'Custom' -> 'Special' -> 'Custom 1'. Select your sound and paint it in your module. In our example, we selected and Area-wide sound, so it does not matter where it is placed.

Using the above steps as a guideline, you can add .wav files to your module to spice up your areas with interesting sounds.

 

 

BioWare Store
Neverwinter Nights 2 Forums
Hide/Show

English
Deutsch
Français
Español
Italiano

Hide/Show

View Latest Screenshots 

View Latest Screenshots
Hide/Show

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



Current time is: (set time)
Sat, 21 November 2009 11:56AM

Hide/Show

Buy Premium Modules

Top NWN: HotU Modules:
1. Good vs Evil III
2. More...

Top NWN: SoU Modules:
1. Good vs Evil III
2. More...

Top CEP Modules:
1. The Lord of Terror The Diablo Campa...
2. More...

Top Modules - NWVault:
1. Hall of Fame
2. More...

Total Modules: 4423

Hide/Show

5,039,715 BioWare Users:
  38 Logged In
  2 Hidden
  163 Guests

781 Playing Online
  100% NWN
  101% NWN: SoU
  100% NWN: HotU

446 Registered Guilds

8,767,809 posts in forums

Newest Forum Topics:
1. Using Get and Set LocalObject on... (NWN 1: Scripting)

2. Spawn door OnEnter / Despawn doo... (NWN 1: Scripting)

3. ***Theory on Scars + Ashley/Kaid... (Mass Effect 2 General Discussion (No Spoilers Allowed))

4. Sword of Truth module (NWN 1: Modules Discussion)

5. PRC level 9 spells (NWN 1: Custom Content)