Hey,
Cool you figured it out! Although your method gives more insight into the file properties,I'll stick to my method (mixing ned music over a slienced copy of an original music file) because then I needn't think about those properties
Thanks for your tips. It is indeed imprtant to balance the volume level of the tracks you use.
As I said, it has been some time ago I was into this music thing, but I recall that the file size don't matter; Freelancer plays the entire wav you give it, then starts again. it is of course unadviseable to use very long tracks, as these would make up huge files.
To elaborate somewhat on this topic: It is also nice to use new music for the landing scenarios of your newly created planets. These should be about 20 to 25 seconds.
Suppose we create a system called Nirvana and a planet called Shangrila (don't read further if you don't know ho to create a system). We will need 3 tracks for the system (the normal background music, the bg music when there is danger, and the bg music for battles), and one for the planet. The 3 system bg tracks will be played as a loop, as long as you are in space, in danger, in battle. The planet tracks is played one time, while you are landing on the planet.
Both the system background music files and the planet music file should be in the folder
..\Freelancer\DATA\AUDIO\MUSIC and should be mentioned in the
music.ini file, whcih is in the folder
..\Freelancer\DATA\AUDIO , as follows:
(NB - of course the parameters should be closed by a closing bracket, but the forum script seems to remove these)
[Sound
nickname = music_nirvana_space
type = music
file = audio\music\music_nirvana_space.wav
attenuation = -10
streamer = true
[Sound
nickname = music_nirvana_danger
type = music
file = audio\music\music_nirvana_danger.wav
attenuation = -8
streamer = true
[Sound
nickname = music_nirvana_battle
type = music
file = audio\music\music_nirvana_battle.wav
attenuation = -8
streamer = true
[Sound
nickname = rtc_music_shangrila
type = music
file = audio\music\music_shangrila.wav
attenuation = 0
This file adds a nickname to a msic file. Of course, the nick name references should correspond to the actual filenames. I don't know what the attenuation value stands for; i just copied these from some other references.
In the file defiing the nirvana system (I suppose this would be called 'nirvana.ini') the following will have the files being played:
[Music
space = music_iw_space
danger = music_iw_danger
battle = music_iw_battleyed:
In the file describing the planetscape or cityscape of planet Shangrila (which could be called 'nirvana_shanrgila_planetscape.ini'), there is a parameter [Room_Sound which is used to specify the bg sound:
[Room_Sound
music = music_khazaddum, oneshot
ambient = ambience_cityscape_light
I guess, but haven't checked this yet, that the second line refers to a bg sound which is played in a loop as long you are at the site where your ship is docked.
(Btw, I assume everone is using the existing planetscape / citysacpe scripts, or are people already creating new ones?)
What music should you use? Well, anything you like, but to match it to what's normal in the game, you should have some ambient tracks for the systems (if possible with three different levels of stress, for space, danger and battle situations) and some excerpts of classical music for the planetscapes. But maybe you would like to break with this tradition.
On "The Pearl", by Brian Eno and Harold Budd are some nice ambient tracks, somewhat remiscent of the Kusari space music. If I'll ever finish my mod, I'll use this.
"We are a way of the Cosmos to know itself"
-- Carl Sagan
Edited by - hans olo on 18-05-2003 20:10:25
Edited by - hans olo on 18-05-2003 20:11:53
Edited by - hans olo on 18-05-2003 20:17:34