Author Topic: Music in Maps  (Read 1911 times)

XxInsaneAsylumxX

  • Guest
Music in Maps
« on: October 01, 2012, 12:04:25 am »
So, making a map, blah blah blah, and I want music in it. Only, I dont know how. When I put music into the Music folder in Feralheart>Media, I go onto the game, enter the music name, and everything goes silent. No music, whatso ever. I know Im doing it wrong.

Offline ZeSethis

  • Forum Newcomer
  • *
  • Posts: 2
  • Floof-O-Meter: 0
  • I'm just the networking fairy, don't mind me.
    • View Profile
Re: Music in Maps
« Reply #1 on: October 01, 2012, 02:24:55 am »
You have your music in the wrong file.
It seams right to put it in the music folder however the correct location for a custom map's audio is actually FeralHeart->media->sounds (It will still work if placed under music the recommended spot is sounds)
Even with the music for your map in the correct file the game still will not be able to find it.
You have to tell Feral Heart what the map is called and specify the music that will play in that map.
You can do so by finding a file called 'music.cfg'
The music.cfg is the music configuration for the game ( cfg=Configuration )
Chances are your computer will complain that it has nothing to open a cfg with but programs such as Notepad(windows) or TextEdit(mac) is all you need to open any cfg.
when you open it chances are it will look like this:

[Title] is the music for the title screen [Plains] is the music for plains area and [Caves] is the music for the cave areas.
To get the game to recognize your song(s) you'll have to define them here.
Now I have a map that has custom music so I'll use it as an example.
My map is called Elema valley so I will tell the game that the name of the group of music for this map is 'Elema'.
Just under  the Caves music i'll put [Elema]
The name you put in the brackets is very important later so be sure you can remember it.
Now that you have the name of the song group you need to tell it where the music is and what it's called.
Since the music for my map is in sounds I'll type media/sounds/Elema1.mp3 under [Elema]
Each song must have a different name and you can have as many songs as you want.
Songs can be .mp3 or .wav
Now that I have defined the music I need to actually link the music to my map.
In the map maker type the name you defined in 'music.cfg' where it says 'Music (Group or Filename)'
(I find making groups a lot more effective and less confusing in the long run.)

Be sure you don't include the brackets you typed as that is only there to define the name of the music group.
Now save the map and give it a test, you should be able to hear your custom music!

From now on be sure whenever you download a map with custom music, instead of replacing your music.cfg like most readmes will say you will have to copy the music group from that music.cfg to yours in order to prevent your map from going silent again.

I hope that fixes your issue! ;D