Jump to content
Sign in to follow this  
Viper-SWE-

Getting an addon to work with ECP?

Recommended Posts

I've got some sounds declared in my addon's config.cpp (all having the prefix 'cmdr' not to conflict with other addons). They all work fine when playing Flashpoint Resistance, BUT I want the addon to work with the ECP-mod and when I try to play the sounds in ECP I get a "Sound cmdrSound1 not found"-dialog!

I've tried putting the pbo-file in Ofp's addon-dir, ECP's addon-dir and in both at the same time. The sound part of my config looks like this (really there are more sounds...)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgSounds

{

sounds[] = { cmdrSound1 };

class cmdrSound1

{

name = "";

sound[] = {"\cmdraddon\sound\sound1.ogg", db-0, 1.0};

titles[] = {};

};

};

How do I get it to work with ECP?

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  

×