Home   Help Search Login Register  

Author Topic: Adding Music.  (Read 445 times)

0 Members and 1 Guest are viewing this topic.

Olphy

  • Guest
Adding Music.
« on: 14 Jan 2004, 00:11:16 »
Sup boys.

Im trying to get some custom files of music onto my mission on flashy but these are in MP3 format and I've just downloaded an ogg converter gismo, but it does'nt seem to affect it. Am I doing something wrong? Can an MP3 be converted straight to a .ogg file or have I got to convert it to wav first?

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Adding Music.
« Reply #1 on: 14 Jan 2004, 00:51:05 »
wrong board, m8, but WTF  ::) ;) [moved from general editing]

here's what:

go visit "GOOGLE" and search for "DB PowerAmp music converter" or alike...
then you can convert yer mp3's to either .wav or .ogg (both work)  :-*


later baby!

 Tombster  


 :o oh, and here's how to get the crap into yer mission:  :D


Make a "description.ext" file using NOETPAD.

copy/paste the following stuff into the file:


================


class CfgMusic
{
     Â Â Â tracks[]={MyMusicFile};

     Â Â Â class MyMusicFile
     Â Â Â {
     Â Â Â Â Â Â name = "Combat Action";
          sound[] = {\music\action.wav, db+2, 1.0};
     Â Â Â };
};


============================


 :) now, here are the details, matey:

to play a track like that, you could create a trigger; once yer music has been defined in the .ext file, you can simply select the track (displayName is the "Combat Action"), so ya can just choose from the music list in the trigger window!  ;)

Or (in scripts) you could setup this code :


PlayMusic "MyMusicFile"

note that this was the CLASS NAME, not the displayName!  :o :-X

 - always use classNames when calling stuff from scripts!


================

OK. The last info is the PATH to yer music:

note that the music file is located here:

                     sound[] = {\music\action.wav, db+2, 1.0};

this means that inside yer "MISSION_Name.abel" folder, you have another folder named "Music"

and in there U have the actual soundFile (action.wav)

The "db+2, 1.0"  simply means  volume & pitch control, so "db+40, 0.85" would mean that
your music wuz turned up LOUD and will play SLOWER than default (which is 1.00)


would that do, master?!  ??? ;D


« Last Edit: 14 Jan 2004, 17:30:36 by Tomb »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Adding Music.
« Reply #2 on: 14 Jan 2004, 01:33:57 »
Or you could try Goldwave i find it easier than poweramp. Make sure you get the latest version.

With two options you should have no trouble monkeeing with your sound files.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Olphy

  • Guest
Re:Adding Music.
« Reply #3 on: 14 Jan 2004, 18:00:07 »
Cheers Bud.

Nice one. ;)