Jump to content
Sign in to follow this  
FelixK44

Music addon....

Recommended Posts

NVM, Figured it out... FOR ANYONE ELSE Trying to figure it out here ya go.... simple conifg.cpp

Just replace the bolded parts with the name of your .ogg file/pbo :)

class CfgPatches {

class CfgEnvSounds {

units[] = {};

weapons[] = {};

requiredVersion = "1.08";

requiredAddons[] = {};

};

};

class CfgEnvSounds {

class Graveyard {

name = "Graveyard";

sound[] = { "\YombieAmbient\music\1.ogg", 0.056234, 1 };

soundNight[] = { "\YombieAmbient\music\1.ogg", 0.177828, 1 };

};

class Graveyard2 {

name = "Graveyard2";

sound[] = { "\YombieAmbient\music\2.ogg", 0.056234, 1 };

soundNight[] = {"\YombieAmbient\music\2.ogg", 0.177828, 1};

};

class Graveyard3 {

name = "Graveyard3";

sound[] = { "\YombieAmbient\music\3.ogg", 0.056234, 1 };

soundNight[] = { "\YombieAmbient\music\3.ogg", 0.177828, 1 };

};

class Graveyard4 {

name = "Graveyard4";

sound[] = { "\YombieAmbient\music\4.ogg", 0.056234, 1 };

soundNight[] = { "\YombieAmbient\music\4.ogg", 0.177828, 1 };

};

};

NOTE:Music WONT PLAY if your not directing the sound to your pbo\music directy example:

Example\Music\test.ogg

So if you turn a folder named Queen into a .pbo it would be Queen\music\BohemianRhapsody.ogg :)

Also name = "XXXX"; is the title in editor

Edited by FelixK44

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  

×