Home   Help Search Login Register  

Author Topic: Cannot find sound...  (Read 2767 times)

0 Members and 1 Guest are viewing this topic.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Cannot find sound...
« Reply #15 on: 12 Jan 2006, 13:53:42 »
I don't think the sounds[]= {}; list is really needed, I certainly didn't use one in my experiments.

And BIS didn't use one either in the game config.bin: cfgSounds section.


Planck
I know a little about a lot, and a lot about a little.

Offline RichUK

  • OFPEC Patron
  • ****
  • Have fun!
Re:Cannot find sound...
« Reply #16 on: 12 Jan 2006, 17:54:19 »
... well Planck, you seem to be *partly* correct above  :-\

From my (Resistance) ...\OperationFlashpoint\Res\bin\CONFIG.BIN file (viewed as text under binview)...

Code: [Select]
class CfgSounds
   {
   access=1;

   class Rus1
      {
      name="$STR_CFG_SOUNDS_RUS1";
      sound[]={"voices\rus_amerikanskije",0.1,1.0};
      titles[]={};
      };

   class Rus2
      {
      name="$STR_CFG_SOUNDS_RUS2";
      sound[]={"voices\rus_begite",0.1,1.0};
      titles[]={};
      };
.
.
. ...etc.

(i.e. this section does NOT have a sounds[]= as you have stated)

BUT, from my (Classic Flashpoint)...\OperationFlashpoint\bin\CONFIG.BIN file (viewed as text under binview)...

Code: [Select]
class CfgSounds
   {
   access=1;
   sounds[]={"Eng1","Eng2","Eng3","Eng4","Eng5","Eng6","Eng7","Eng8","Eng9","Eng10","Eng11","Eng12","Eng13","Eng14",
"Eng15","Eng16","Eng17","Eng18","Eng19","Eng20","Eng21","Eng22","Eng23","Eng24","Eng25","Eng26","Eng27",
"Eng28","Eng29","Eng30","Eng31","Eng32","Eng33","Eng34","Eng35","Eng36","Eng37","Eng38","Eng39","Eng40",
"Eng41","Rus1","Rus2","Rus3","Rus4","Rus5","Rus6","Rus7","Rus8","Rus9","Rus10","Rus11","Rus12","Rus13",
"Rus14","Rus15","Rus16","Rus17","Rus18","Rus19","Rus20","Alarm"};

   class Rus1
      {
      name="$STR_CFG_SOUNDS_RUS1";
      sound[]={"voices\rus_amerikanskije",0.1,1.0};
      titles[]={};
      };

   class Rus2
      {
      name="$STR_CFG_SOUNDS_RUS2";
      sound[]={"voices\rus_begite",0.1,1.0};
      titles[]={};
      };
.
.
. ...etc.

(i.e. this section does have a have a sounds[]= as you can see)

Don't you just love the mysteries of OFP... I do!  ;)



Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Cannot find sound...
« Reply #17 on: 12 Jan 2006, 19:15:57 »
Yes yes, but.........

If you are running Resistance the standard config.bin is not used.
The Resistance config.bin is used.

Presumably code changes between CWC and Resistance obviated the need for that particular section.   :P


Planck
I know a little about a lot, and a lot about a little.

Offline RichUK

  • OFPEC Patron
  • ****
  • Have fun!
Re:Cannot find sound...
« Reply #18 on: 18 Jan 2006, 06:00:19 »
Re:
If you are running Resistance the standard config.bin is not used.
The Resistance config.bin is used.

Presumably code changes between CWC and Resistance obviated the need for that particular section.   :P

Yes, I entirely agree.  I was just trying to make the point that IF someone is still making a mission that can be played under OFP CWC, as well as Resistance, it may be necessary to include the sounds[]= section (although I have not tested this).  

I still have OFP "Classic" v1.46, OFP "Resistance" v1.91 as well as v1.96 on my main machine (along with LOTS of shortcuts for calling the relevant version with different mods), although I have others with just the GOTY edition, upgraded to v1.96.

It may no longer be worthwhile producing missions that will work under CWC, as you can by a brand new GOTY edition for $10 from Codemasters online store  ;D

« Last Edit: 18 Jan 2006, 06:01:02 by RichUK »