[?] How to change menu music?

Making or wanting help making your own asset? Check in here
Post Reply
hardcore_pig
Posts: 19
Joined: 2010-05-04 20:36

[?] How to change menu music?

Post by hardcore_pig »

I'm making a small mod at the moment and I want to change the menu music from vBF2.
BUT, I can can't figure out how to do it. I have found the menu_music.ogg file, but when i replace it with my own file (convertet to ogg) i doesn't play ingame.
Can any of you guys help me? I would appreciate it.

Thanks :)
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: How to change menu music?

Post by J.F.Leusch69 »

look into

yourmod/Mod.desc

open it with a text editor

it contains this in the vBF2 mod
<mod>
<title> MODDESC_BF2_TITLE </title>
<desc> MODDESC_TEXT </desc>
<url> Battlefield 2 Complete Collection: BF2 for PC - EA Games </url>
<logo> mod.png </logo>
<icon> mod_icon.png </icon>
<music> common/sound/menu/music/menu_music.ogg </music>
<version> BF2 1.5 </version>
</mod>
how to convert music to get played in BF2, just google it and you will find a answer pretty quick
hardcore_pig
Posts: 19
Joined: 2010-05-04 20:36

Re: How to change menu music?

Post by hardcore_pig »

I HAVE located the menu_music.ogg file
But I don't know how to convert my music to the right format, just converting to .ogg doesn't seem to work.
Do you know how convert to the right format?
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: How to change menu music?

Post by Amok@ndy »

you need a 44kHz .wav file and then use a OGG Converter

Converting .oog files - Official BF Editor Forums
Image
hardcore_pig
Posts: 19
Joined: 2010-05-04 20:36

Re: How to change menu music?

Post by hardcore_pig »

I'm afraid I'm a little retarded...

I can't get it to play ingame.

"I" made the music in audacity and all sound channels are on 44100 Hz, then I save it as .Wav and then use the blaze converter to convert it to .ogg ...
Post Reply

Return to “PR:BF2 Community Modding”