Jump to content
Sign in to follow this  
erc

Custom Music crashing game?

Recommended Posts

Hi guys,

I'm having problems including custom music into my missions. I convert a song from .mp3 to .ogg using DBPowerAmp Music Converter + ogg Codec and then place the converted file in:

Flashpoiint/Users/Mission/music

I then use Chris' OFP Description wizard to put in the custom soundtrack. I go into mission wizard, and then I load up the mission. I make a trigger and select to play the song in the effects menu. I then preview the mission and the game crashes.

Does anyone know how to fix this problem?

Share this post


Link to post
Share on other sites

Moving as this has nothing to do with OFP troubleshooting.

Please make sure you post in the correct forum.

Share this post


Link to post
Share on other sites

hi,

U need to convert ur track to .ogg, mono, low quality, it's ok it work well without problem of sound quality.

It's possible that a bad configuration of a description.ext crash the game. Maybe it should be better to send the error message when u crash to the deskstop to be sure.

I fu want to add a custom music in ur mission (track.ogg)

-open notepad and copy this lines in it:

class CfgMusic

{

// List of music tracks (.ogg files without the .ogg extension)

tracks[] = {title_of_ur_track};

       // Class definition needed for each music track

class title_of_ur_track

{

// Name to display in mission editor

name = "title_of_ur_track";

// Music path, volume, pitch

sound[] = {\sound\title_of_ur_track.ogg, db + 1000, 1.0};

        };

-Save the file and name it description.ext

-Now put this description.ext in ur unpbo mission folder in flashpoint/user/name_of_ur_mission.

-Be sure that the folder where is ur music track is named "sound". I named "sound" in my example but u can name it "qeen_Elizabeth" if u want.

-Open ur mission in editor.

-Create one trigger for example activated by west or what side u want, sellect effect and select the track.

-Preview ur mission i think it should work.

If not that's maybe one other stuff who's going wrong then u need to 've a look in ur track convertion.

cu and good luck.

Nikiller.

Share this post


Link to post
Share on other sites

Nope, it still crashes. i Even tried naming it to 'title_of_ur_track'...

What do you use to convert your music files?

Share this post


Link to post
Share on other sites

hi,

=)

'title_of_ur_track' is the name of ur track for example "RATM_bullet_in da head" or what title u want. U just need to have the same title in ur "Music" folder and in ur description.ext or ofp 'll not understand. But i don't think it's a cause of crash ofp 'll not play the music nothing more.

Have u really copy exactly the lines that i send in last post and replace the 'title_of_ur_track' by the real name of ur track? "RATM_bullet_in da_head" of what title u want. For example u can name it "Sorry_my_dog_humped_your_leg_He feels_terrible_about_it" and put exactly the same name in ur description.ext.

In ur description.ext is there something else. i duno spectacting script or something like that?

When exactly the crash hapened? When u play the music?

If it's happened when u launch the mission it's not the music it's something else.

Morover, can u send the error message when u crash to desktop and can u send exactly ur description.ext to the forum plz, it can help to gain time.

To convert .wave or .mp3 in .ogg have a look to this link:

http://www.nakedsquid.com/index.p....d&cid=3

And dl vorbis ogg file. It's a little soft who's really easy to use.

I hope it'll help u.

Nikiller.

Share this post


Link to post
Share on other sites

Do you get an error message and what does it say?

Music should be stereo and sounds mono. Try using a different ogg converter.

The folder you put it in is the mission folder, the same folder where you put the description.ext (you need to save the mission first):

Flashpoint/Users/<your name>/missions/<mission name>/

Share this post


Link to post
Share on other sites

Thanks guys,

Turns out, I just bought GOTY Edition and now it works. Also, Nikiller, I know that title_of_ur_track thing, I just tried it to make sure it wasn't a typo.

Thanks for all the help. biggrin_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×