OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: SpecOpWarrior on 27 Jan 2003, 08:30:02

Title: CPP for Music Addons
Post by: SpecOpWarrior on 27 Jan 2003, 08:30:02
Hola!

I have been looking for a CPP that makes my music a addn in the editor...

Located under: "MUSIC" of course.


Would anybody happen to have this CPP in-hand?

I have many cool "Ambient, Sneaking, ETC music  think would be great for a OFP mission for Editors.
"Mostly Spec Op missions"

any help would be helpfull


(OFPEC, I hope I posted this in the correct area?)
Title: Re:CPP for Music Addons
Post by: Sefe on 27 Jan 2003, 16:56:13
Moved from cutscenes and sound.
Title: Re:CPP for Music Addons
Post by: SpecOpWarrior on 27 Jan 2003, 22:46:01
Problem solved!

For some of you who want to make your music a downloadable addon for the editor, here is the CPP to do that!

class cfgMusic
{
class IceCreamVanMusic
{
name="Ice Cream Van Music";
sound[]={"\gtamod\icecreamvan.ogg", 1, 1};
};
};



obviously you replace the "icecreamvan" with the name of your music file.


NOTE: NEVER USE SPACES! Most cmmon errors that people
           get while making addons, is they place SPACES
           in the name of the addon...

      BAD: Ice   Cream    Truck

     GOOD: Ice_cream_truck



Good if you want to give you misions, and others more of a variety!

I will place some seaking music, an other music ETC for your missions, and I shall release them!

OFPEC< it would be kind of you to place this CPP insie the Editors Depot ;)