Home   Help Search Login Register  

Author Topic: Analyse THIS...  (Read 519 times)

0 Members and 4 Guests are viewing this topic.

Offline Burn

  • Members
  • *
Analyse THIS...
« on: 17 Jun 2003, 12:51:06 »
Hi once more ya'll :wave:
...I think I'm hawing alittle trouble with my description.ext, isn't thats usually the problem when OFP sez it can't find a sound file? ::), ANYWAYS...
Could anyone figure out what's wrong with THIS:

Code: [Select]
class CfgRadio
{
   
   sounds[] = {bakedcake, expectingus, goingnv, hooaah, ihearya, nofear, notime, partyhard, spotted};

   
   class bakedcake
   {
   
      // Name to display in mission editor
      name = "bakedcake";
      // Sound path, volume, pitch
      sound[] = {\sound\bakedcake.ogg, db + 0, 1.0};
      // Sound title text
      title = $STRM_bakedcake;
   };
   class expectingus
   {
      // Name to display in mission editor
      name = "expectingus";
      // Sound path, volume, pitch
      sound[] = {\sound\expectingus.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_expectingus;
   };
   class goingnv
   {
      // Name to display in mission editor
      name = "goingnv";
      // Sound path, volume, pitch
      sound[] = {\sound\goingnv.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_goingnv;
   };
   class hooaah
   {
      // Name to display in mission editor
      name = "hooaah";
      // Sound path, volume, pitch
      sound[] = {\sound\hooaah.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_hooaah;
   };
   class ihearya
   {
      // Name to display in mission editor
      name = "ihearya";
      // Sound path, volume, pitch
      sound[] = {\sound\ihearya.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_ihearya;
   };
   class nofear
   {
      // Name to display in mission editor
      name = "nofear";
      // Sound path, volume, pitch
      sound[] = {\sound\nofear.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_nofear;
   };
   class notime
   {
      // Name to display in mission editor
      name = "notime";
      // Sound path, volume, pitch
      sound[] = {\sound\notime.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_notime;
   };
   class partyhard
   {
      // Name to display in mission editor
      name = "partyhard";
      // Sound path, volume, pitch
      sound[] = {\sound\partyhard.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_partyhard;
   };
   class spotted
   {
      // Name to display in mission editor
      name = "spotted";
      // Sound path, volume, pitch
      sound[] = {\sound\spotted.ogg, db + 0, 1.0};
      // Sound title text (set to no text)
      title = $STRM_spotted;
   };
};

 :PAny obvious problems, faults, syntaxerrors or typos ???

 :help:Thanks a BILLIONTRILLION times in advance... :Pthat's alot of thanks :beat: :tomato:

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Analyse THIS...
« Reply #1 on: 17 Jun 2003, 22:22:12 »
Give this one a try, also make sure your .ogg's are in the sound folder not sounds


class CfgRadio
{
   
   sounds[] = {bakedcake, expectingus, goingnv, hooaah, ihearya, nofear, notime, partyhard, spotted};

   
   class bakedcake
   {

      name = "bakedcake";
      sound[] = {bakedcake.ogg, db + 0, 1.0};
      title = $STRM_bakedcake;
   };
   class expectingus
   {
      name = "expectingus";
      sound[] = {expectingus.ogg, db + 0, 1.0};
      title = $STRM_expectingus;
   };
   class goingnv
   {
      name = "goingnv";
      sound[] = {goingnv.ogg, db + 0, 1.0};
      title = $STRM_goingnv;
   };
   class hooaah
   {
      name = "hooaah";
      sound[] = {hooaah.ogg, db + 0, 1.0};
      title = $STRM_hooaah;
   };
   class ihearya
   {
      name = "ihearya";
      sound[] = {ihearya.ogg, db + 0, 1.0};
      title = $STRM_ihearya;
   };
   class nofear
   {
      name = "nofear";
      sound[] = {nofear.ogg, db + 0, 1.0};
      title = $STRM_nofear;
   };
   class notime
   {
      name = "notime";
      sound[] = {notime.ogg, db + 0, 1.0};
      title = $STRM_notime;
   };
   class partyhard
   {
      name = "partyhard";
      sound[] = {partyhard.ogg, db + 0, 1.0};
      title = $STRM_partyhard;
   };
   class spotted
   {
      name = "spotted";
      sound[] = {spotted.ogg, db + 0, 1.0};
      title = $STRM_spotted;
   };
};

Offline Burn

  • Members
  • *
Re:Analyse THIS...
« Reply #2 on: 18 Jun 2003, 09:05:50 »
Thanks for U'r fast reply Black_Feather :thumbsup:... BUT unfortunetly it didn't work :(... Could the small filesize of the radiosound be the problem ???, the soundfiles size wary between 14-20kb... If that's not the problem could it be where in the description.ext the radioclass is defined, I mean does it matter in which order U define the different classes: radio, sound, music, weapons and ammo. :-\ ???... I've successfully created .ext files before for weapons, ammo, sound n' music... but this is my first attempt at radiovoices... In other words I'm alittle lost here, nothing seems to work the way it should :P... Heres the complete description.ext:

Offline Burn

  • Members
  • *
Re:Analyse THIS...
« Reply #3 on: 19 Jun 2003, 14:21:07 »
 :oGaaaaaaaaaaaahhh!!!!!!! >:( How fucking stupid can a person be ::)????
I've FRIKKIN' used Loon SAY "sumtin" :-[... Instead of Loon GroupRadio "sumtin" >:( :-[.... I'm REAL sorry for the inconvinience :-[ :P... Just blow my brains away right now, cause I don't need em' :P ::) ;D...
                               

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Analyse THIS...
« Reply #4 on: 19 Jun 2003, 21:48:59 »
one of those days eh?  :)