Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

InGame Music

Do you want to start editing Freelancer, but have no clue where to begin? This is the place for you to find things and talk about getting started on Freelancer Modding

Post Tue Nov 23, 2004 9:25 am

InGame Music

Is there a way to change the Ingame music? I got a great techno tune - Yoko Kanno's Inner Universe off the Ghost in the Shell TV Soundtrack. I think its a great battle song. I just need to know how to get it ingame.

Thanks

Post Tue Nov 23, 2004 9:48 am

If you check through the thread that says it has it all, you will find that one of the links to pages has actually got a 'how to get new music into FL' included. Give it a whorl

Post Tue Nov 23, 2004 1:57 pm

I looked on it but couldnt find it, is it page 21? because that doesnt have it

My squadron is down!, im taking flak!, prepare for landing ARRRGGHHHH!!!

Post Tue Nov 23, 2004 2:11 pm

Hmm - page 18 - you were right - sorry

Here goes:
Hi there Caid! To add new sounds.......depends on what sounds you are after! First, go into the audio folder, and find the effects you are after - like music, or weapons sounds (audio folder, take a peek through - lots of effects)
Now, when you find what you are after, say the music......hold cursor over it to find out info, use properties - how is it recorded etc! Music is a WAV file (3 Layered MPEG, at 22khz frequency, and 2 channels) I used a free program called dBpoweramp music converter - which can convert your music to this format. You then have two options. Once converted, rename as an existing music file, and then use this instead of the original (works fine, am flying to ride of the valks in most systems now) or have it as totally new music. For totally new music, you need to give it a name, then declare it.
so find the music.ini file in the audio folder. THen open it up, and you will see entries like this:

[Sound
nickname = rtc_music_omicron_danger
type = music
file = audio\music\music_omicron_danger.wav
attenuation = 0

Etc - okay. Now you need to put yours in so:
[Sound
nickname = mykickass_music
type = music
file = audio\music\mykickass_music.wav
attenuation = 0

Heheehe - hmm - wonder what sort! Okay. Now save that off, make sure your music file is in THAT name and under the correct directory structure( You can have any structure you like ie, file = kiss_it\music_baby\mykickass_music.wav as long as you have it correct!!)
Now - this is music, so open up the system file you wish to hear this baby playing for and then feel free to change away!


[Music
space = music_br_space
danger = music_br_danger
battle = music_br_battle

to


[Music
space = mykickass_music
danger = music_br_danger
battle = music_br_battle

Enjoy,
If you wanted to change starting screen music, then open the intro folder in the systems folders and go to the bases, rooms folder - open one of the ini files there, and you see the following:
[Room_Info
scene = ambient, Scripts\Intro\intro_waterplanet.thn

[Room_Sound
music = music_race_start

just change the music title instead:

[Room_Info
scene = ambient, Scripts\Intro\intro_waterplanet.thn

[Room_Sound
music = mykickass_music

If you are after changing the weapons effects sounds.......then:
Firstly have yourself an effect!! (audio\sounds\weapons)
They are in PCM format?, at 22khz frequency, 1 chanel at 16 bits.
OKay, as long as you can sort that
Then: Goto the sounds.ini file, entries look like

[Sound
nickname = fire_neutron1
file = audio\sounds\weapons\fire_neutron1.wav
range = 60, 500
crv_pitch = 9
attenuation = -7


So choose your name again, then make it like this:

[Sound
nickname = my_Boomba_weapon
file = audio\sounds\weapons\my_boomba_weapon.wav
range = 60, 500 ;how far you can hear it stuffige!
crv_pitch = 9 ;no idea, leave it though!
attenuation = -7 ; same again - thought i knew, i don't!! LOL

Okay - now you have that inside, you can go to your weapon_equip.ini file and find the lines in YOUR gun for it....

ie - in the munitions area you find this line:
one_shot_sound = fire_tachyon5

change that too:
one_shot_sound = my_boomba_weapon

and it should look like this!


[Munition
nickname = special_gun10_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 1075.800049
energy_damage = 0
one_shot_sound = fire_tachyon5
munition_hit_effect = sp_distortion_01_impact
const_effect = sp_distortion_01_proj
lifetime = 1.166000
force_gun_ori = false
mass = 1
volume = 0.000100

[Munition
nickname = special_gun10_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 1075.800049
energy_damage = 0
one_shot_sound = fire_tachyon5
munition_hit_effect = sp_distortion_01_impact
const_effect = sp_distortion_01_proj
lifetime = 1.166000
force_gun_ori = false
mass = 1
volume = 0.000100

[Munition
nickname = special_gun10_ammo
hp_type = hp_gun
requires_ammo = false
hit_pts = 2
hull_damage = 1075.800049
energy_damage = 0
one_shot_sound = my_boomba_weapon
munition_hit_effect = sp_distortion_01_impact
const_effect = sp_distortion_01_proj
lifetime = 1.166000
force_gun_ori = false
mass = 1
volume = 0.000100

enjoy your new sounding gun! - don't make the gun swear as you shoot it

Return to Freelancer Modding for Beginners Forum