Jump to content
Sign in to follow this  
loosebruce

OA Music config, override bis pbo?

Recommended Posts

Hey all,

I have been trying to create an add-on that over rides OA's music and replace it with some remixes and old OFP music. I am wanting my music to play during OA missions. However no matter how I lay out the config or folder the OA music seems to take priority. The only way I can get it to work is by deleting the BIS pbo and placing my own one in OA's addons folder.

Here is the location of BIS's music_e.pbo (i want to overwrite):

steamapps\arma 2\expansions\addons\music_e.pbo

Here is the addon @arrowbent (my music addon):

steamapps\arma 2\@arrowbent\expansions\addons\music_e.pbo

The RPT file shows no errors with the addon:

=====================================================================
== C:\Program Files (x86)\Steam\steamapps\common\arma 2\arma2OA.exe
== "C:\Program Files (x86)\Steam\steamapps\common\arma 2\arma2OA.exe" -mod=@arrowbent
=====================================================================
Exe timestamp: 2010/07/03 18:18:45
Current time: 2010/07/04 12:53:11

Item str_disp_server_control listed twice
Updating base class ->RscText, by ca\ui\config.bin/RscSplashText/
Added texture headers from file "ca\air_e\texheaders.bin"
Added texture headers from file "ca\animals_e\texheaders.bin"
Added texture headers from file "ca\ca_e\texheaders.bin"
Added texture headers from file "ca\characters_e\texheaders.bin"
Added texture headers from file "ca\desert_e\texheaders.bin"
Added texture headers from file "ca\l39\texheaders.bin"
Added texture headers from file "ca\misc_e\texheaders.bin"
Added texture headers from file "ca\missions_e\texheaders.bin"
Added texture headers from file "ca\modules_e\texheaders.bin"
Added texture headers from file "ca\plants_e\texheaders.bin"
Added texture headers from file "ca\roads_e\texheaders.bin"
Added texture headers from file "ca\rocks_e\texheaders.bin"
Added texture headers from file "ca\signs_e\texheaders.bin"
Added texture headers from file "ca\structures_e\texheaders.bin"
Added texture headers from file "ca\takistan\data\texheaders.bin"
Added texture headers from file "ca\takistan\data\layers\texheaders.bin"
Added texture headers from file "ca\tracked_e\texheaders.bin"
Added texture headers from file "ca\weapons_e\texheaders.bin"
Added texture headers from file "ca\wheeled_e\texheaders.bin"
Added texture headers from file "ca\zargabad\texheaders.bin"
Checking texture headers done - ok = 5591, failed = 0, patched = 0.
Exe version: 1.52.71816
Warning: looped for animation: ca\wheeled\data\anim\uaz_cargo01_v0.rtm differs (looped now 1)! MoveName: uaz_cargo02
[/Code]

[b]This is my config, it is basically the same config as in the BIS music pbo[/b]

[Code]class CfgPatches
{
class arrowbent
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1000;
requiredAddons[] = {"CASounds"};
};
};
class CfgMusic
{
class EP1_Track01
{
name = "$STR_EP1_Track01";
sound[] = {"\arrowbent\music\EP1_Track01_Arrowhead.ogg",1.0,1.0};
duration = 280;
};

class EP1_Track01D
{
name = "$STR_EP1_Track01D";
sound[] = {"\arrowbent\music\EP1_Track01_Arrowhead_D.ogg",1.0,1.0};
duration = 48;
};

class EP1_Track02
{
name = "$STR_EP1_Track02";
sound[] = {"\arrowbent\music\EP1_Track02_GoodmorningTstan.ogg",1.0,1.0};
duration = 181;
};

class EP1_Track03
{
name = "$STR_EP1_Track03";
sound[] = {"\arrowbent\music\EP1_Track03_Airborne.ogg",1.0,1.0};
duration = 152;
};

class EP1_Track03D
{
name = "$STR_EP1_Track03D";
sound[] = {"\arrowbent\music\EP1_Track03_Airborne_D.ogg",1.0,1.0};
duration = 166;
};

class EP1_Track04
{
name = "$STR_EP1_Track04";
sound[] = {"\arrowbent\music\EP1_Track04_Arrival.ogg",1.0,1.0};
duration = 227;
};

class EP1_Track05
{
name = "$STR_EP1_Track05";
sound[] = {"\arrowbent\music\EP1_Track05_ZargabadMarket.ogg",1.0,1.0};
duration = 307;
};

class EP1_Track06
{
name = "$STR_EP1_Track06";
sound[] = {"\arrowbent\music\EP1_Track06_Nightlife.ogg",1.0,1.0};
duration = 46;
};

class EP1_Track07
{
name = "$STR_EP1_Track07";
sound[] = {"\arrowbent\music\EP1_Track07_ColtanBlues.ogg",1.0,1.0};
duration = 253;
};

class EP1_Track07D
{
name = "$STR_EP1_Track07D";
sound[] = {"\arrowbent\music\EP1_Track07_ColtanBlues_D.ogg",1.0,1.0};
duration = 170;
};

class EP1_Track08
{
name = "$STR_EP1_Track08";
sound[] = {"\arrowbent\music\EP1_Track08_RevolverJam.ogg",1.0,1.0};
duration = 90;
};

class EP1_Track09
{
name = "$STR_EP1_Track09";
sound[] = {"\arrowbent\music\EP1_Track09_DancingScimitar.ogg",1.0,1.0};
duration = 100;
};

class EP1_Track10
{
name = "$STR_EP1_Track10";
sound[] = {"\arrowbent\Music\EP1_Track10_DeathFromAbove.ogg",1.0,1.0};
duration = 111;
};

class EP1_Track11
{
name = "$STR_EP1_Track11";
sound[] = {"\arrowbent\music\EP1_Track11_NightVisions.ogg",1.0,1.0};
duration = 84;
};

class EP1_Track12
{
name = "$STR_EP1_Track12";
sound[] = {"\arrowbent\music\EP1_Track12_CrudeOil.ogg",1.0,1.0};
duration = 195;
};

class EP1_Track13
{
name = "$STR_EP1_Track13";
sound[] = {"\arrowbent\music\EP1_Track13_IronMountain.ogg",1.0,1.0};
duration = 189;
};

class EP1_Track13D1
{
name = "$STR_EP1_Track13D1";
sound[] = {"\arrowbent\music\EP1_Track13_IronMountain_D1.ogg",1.0,1.0};
duration = 41;
};

class EP1_Track13D2
{
name = "$STR_EP1_Track13D2";
sound[] = {"\arrowbent\music\EP1_Track13_IronMountain_D2.ogg",1.0,1.0};
duration = 122;
};

class EP1_Track13V
{
name = "$STR_EP1_Track13V";
sound[] = {"\arrowbent\music\EP1_Track13_IronMountain_V.ogg",1.0,1.0};
duration = 100;
};

class EP1_Track14
{
name = "$STR_EP1_Track14";
sound[] = {"\arrowbent\music\EP1_Track14_ConcreteCell.ogg",1.0,1.0};
duration = 209;
};

class EP1_Track15
{
name = "$STR_EP1_Track15";
sound[] = {"\arrowbent\music\EP1_Track15_Warmongers.ogg",1.0,1.0};
duration = 174;
};
};

class CfgSFX

{
class FunMusicSfx
{
sounds[] = {"music1"};
name = "Music";
music1[] = {"\arrowbent\music\EP1_Track07_ColtanBlues.ogg",0.0032,1,30,1,0,0,0};
empty[] = {"",0,0,0,0,0,0,0};
};
};
};
[/Code]

[size=3]So what I am needing is a way to over ride the ArmA 2 OA "music_e.pbo" and just use my own one. I have seen for some sound addons e.g. CSM there is a way for them to override other sounds pbo's e.g. ACEX_SM. So could this same method be implemented for this and how is it done?[/size]

Thanks!

Share this post


Link to post
Share on other sites
class CfgPatches
{
class arrowbent
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1000;
	requiredAddons[] = {"[color="Red"]CAMusic_E[/color]"};
};
};
class CfgMusic
{
class EP1_Track01
{
	name = "$STR_EP1_Track01";
	sound[] = {"\arrowbent\music\EP1_Track01_Arrowhead.ogg",1.0,1.0};
	duration = 280;
};

class EP1_Track01D
{
	name = "$STR_EP1_Track01D";
	sound[] = {"\arrowbent\music\EP1_Track01_Arrowhead_D.ogg",1.0,1.0};
	duration = 48;
};

class EP1_Track02
{
	name = "$STR_EP1_Track02";
	sound[] = {"\arrowbent\music\EP1_Track02_GoodmorningTstan.ogg",1.0,1.0};
	duration = 181;
};

class EP1_Track03
{	
	name = "$STR_EP1_Track03";
	sound[] = {"\arrowbent\music\EP1_Track03_Airborne.ogg",1.0,1.0};
	duration = 152;
};

class EP1_Track03D
{
	name = "$STR_EP1_Track03D";
	sound[] = {"\arrowbent\music\EP1_Track03_Airborne_D.ogg",1.0,1.0};
	duration = 166;
};

class EP1_Track04
{
	name = "$STR_EP1_Track04";
	sound[] = {"\arrowbent\music\EP1_Track04_Arrival.ogg",1.0,1.0};
	duration = 227;
};

class EP1_Track05
{		
	name = "$STR_EP1_Track05";
	sound[] = {"\arrowbent\music\EP1_Track05_ZargabadMarket.ogg",1.0,1.0};
	duration = 307;
};

class EP1_Track06
{
	name = "$STR_EP1_Track06";
	sound[] = {"\arrowbent\music\EP1_Track06_Nightlife.ogg",1.0,1.0};
	duration = 46;
};

class EP1_Track07
{
	name = "$STR_EP1_Track07";
	sound[] = {"\arrowbent\music\EP1_Track07_ColtanBlues.ogg",1.0,1.0};
	duration = 253;
};

class EP1_Track07D
{
	name = "$STR_EP1_Track07D";
	sound[] = {"\arrowbent\music\EP1_Track07_ColtanBlues_D.ogg",1.0,1.0};
	duration = 170;
};

class EP1_Track08
{
	name = "$STR_EP1_Track08";
	sound[] = {"\arrowbent\music\EP1_Track08_RevolverJam.ogg",1.0,1.0};
	duration = 90;
};

class EP1_Track09
{
	name = "$STR_EP1_Track09";
	sound[] = {"\arrowbent\music\EP1_Track09_DancingScimitar.ogg",1.0,1.0};
	duration = 100;
};

class EP1_Track10
{
	name = "$STR_EP1_Track10";
	sound[] = {"\arrowbent\Music\EP1_Track10_DeathFromAbove.ogg",1.0,1.0};
	duration = 111;
};

class EP1_Track11
{
	name = "$STR_EP1_Track11";
	sound[] = {"\arrowbent\music\EP1_Track11_NightVisions.ogg",1.0,1.0};
	duration = 84;
};

class EP1_Track12
{
	name = "$STR_EP1_Track12";
	sound[] = {"\arrowbent\music\EP1_Track12_CrudeOil.ogg",1.0,1.0};
	duration = 195;
};

class EP1_Track13
{
	name = "$STR_EP1_Track13";
	sound[] = {"\arrowbent\music\EP1_Track13_IronMountain.ogg",1.0,1.0};
	duration = 189;
};

class EP1_Track13D1
{
	name = "$STR_EP1_Track13D1";
	sound[] = {"\arrowbent\music\EP1_Track13_IronMountain_D1.ogg",1.0,1.0};
	duration = 41;
};

class EP1_Track13D2
{
	name = "$STR_EP1_Track13D2";
	sound[] = {"\arrowbent\music\EP1_Track13_IronMountain_D2.ogg",1.0,1.0};
	duration = 122;
};

class EP1_Track13V
{
	name = "$STR_EP1_Track13V";
	sound[] = {"\arrowbent\music\EP1_Track13_IronMountain_V.ogg",1.0,1.0};
	duration = 100;
};

class EP1_Track14
{
	name = "$STR_EP1_Track14";
	sound[] = {"\arrowbent\music\EP1_Track14_ConcreteCell.ogg",1.0,1.0};
	duration = 209;
};

class EP1_Track15
{
	name = "$STR_EP1_Track15";
	sound[] = {"\arrowbent\music\EP1_Track15_Warmongers.ogg",1.0,1.0};
	duration = 174;
};
};

class CfgSFX
{ [color="Red"]//Removed extra }; from this block[/color]
class FunMusicSfx
{
	sounds[] = {"music1"};
	name = "Music";
	music1[] = {"\arrowbent\music\EP1_Track07_ColtanBlues.ogg",0.0032,1,30,1,0,0,0};
	empty[] = {"",0,0,0,0,0,0,0};
};
};

Edited by Deadfast

Share this post


Link to post
Share on other sites

Cheers Deadfast you are a saint!

-

Edited by loosebruce

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  

×