Post Tue Jun 17, 2003 12:07 pm

Adding/Modifying sounds and music in FL

This short tutorial shows how to modify and create new sound and music files for Freelancer.

Before you start:
a) Make sure all your sound and music files and in .wav format.
b) Extract DATA/AUDIO/sounds.ini and DATA/AUDIO/music.ini using the ini uncompressor.


To modify existing sounds:
> Place the sound you want to replace with in the relevant subfolder of DATA/AUDIO/SOUNDS

> Find the name of the sound you want to alter in sounds.ini . For this example I will change the sound of the main guns on capital ships to something more meaty. The entry should look like this:
[Sound
nickname = fire_capship
file = audio\sounds\weapons\fire_capship.wav
attenuation = -7
crv_pitch = 10
range = 200, 1000
persistent = space

Change the file = field to the name of your new file, for example

file = audio\sounds\weapons\big_bang.wav
> That's it!

To modify existing music:
> Place the music you want to replace with in DATA/AUDIO/MUSIC

> Find the name of the music you want to alter in music.ini . For this example I will change the Bretonian battle music to something more interesting... The entry should look like this:
[Sound
nickname = music_br_battle
type = music
file = audio\music\music_br_battle.wav
attenuation = -6
streamer = true

Change the file = field to the name of your new file, for example

file = audio\music\starwars_theme.wav
> That's it!

To create new sounds:
> Place the sound file you want to add in the relevant subfolder of DATA/AUDIO/SOUNDS

> Copy the following entry into sounds.ini, replacing the file name and nickname with one of your choice. Use this new entry:
[Sound
nickname = ??? ;<------------ CHANGE
file = audio\sounds\weapons\???.wav <------------ CHANGE
attenuation = -7
crv_pitch = 10
range = 200, 1000
persistent = space

> That's it!

To create new music:
> Place the music file you want to add in DATA/AUDIO/MUSIC

> Copy the following entry into music.ini, replacing the file name and nickname with one of your choice. Use this new entry:
[Sound
nickname = ??? <------------ CHANGE
type = music
file = audio\music\???.wav <--------- CHANGE
attenuation = -6
streamer = true

> That's it!

One final note: If you want to alter the volume of your sounds/music in-game change the attenuation = field. Higher numbers equal higher volume, obviously.