OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: killa144 on 13 Jul 2003, 21:12:19

Title: radio file one not found
Post by: killa144 on 13 Jul 2003, 21:12:19
i have my description.ext file right and i have the sound file in a folder named 'sounds' and i crank up the game and i activate the trigger with aP sideRadio "one" and i get the error Radio File one Not Found.

whats the deal ???

here is description.ext file



onloadintro = ""
onloadmission = "Here We Go"
debriefing =  1
showWatch =  1
showCompass =  1
showNotepad =  1
showGPS =  1
showMap =  1
onLoadIntroTime = true

class CfgRadio
{
   sounds[] = { };

   class one
   {
      name = "one";
      sound[] = {"one.ogg", db-40, 1.0};
      title = $STR_one;
   };
};

class Weapons
{
class Steyr
{
count =  1;
};
class XMS
{
count =  1;
};
class G36a
{
count =  1;
};
class Bizon
{
count =  1;
};
class M16
{
count =  1;
};
class M16GrenadeLauncher
{
count =  1;
};
class M4
{
count =  1;
};
class HK
{
count =  1;
};
class JahSG551
{
count =  1;
};
class M60
{
count =  1;
};
class LAWLauncher
{
count =  1;
};
class CarlGustavLauncher
{
count =  1;
};
class AALauncher
{
count =  1;
};
class AK74
{
count =  1;
};
class AK74SU
{
count =  1;
};
class AK74GrenadeLauncher
{
count =  1;
};
class AK47
{
count =  1;
};
class AK47CZ
{
count =  1;
};
class AK47GrenadeLauncher
{
count =  1;
};
class SVDDragunov
{
count =  1;
};
class PK
{
count =  1;
};
class RPGLauncher
{
count =  1;
};
class AT4Launcher
{
count =  1;
};
class 9K32Launcher
{
count =  1;
};
class kozlice
{
count =  1;
};
class Binocular
{
count =  1;
};
class NVGoggles
{
count =  1;
};
};



class Magazines
{
class SteyrMag
{
count = 4;
};
class G36aMag
{
count =  4;
};
class BizonMag
{
count =  4;
};
class M16
{
count =  4;
};
class Grenadelauncher
{
count =  4;
};
class M4
{
count =  4;
};
class HK
{
count =  4;
};
class JahSG551mag
{
count =  4;
};
class M60
{
count =  4;
};
class LAWLauncher
{
count =  3;
};
class CarlGustavLauncher
{
count =  1;
};
class AALauncher
{
count =  1;
};
class Ak74
{
count =  4;
};
class Ak47
{
count =  4;
};
class SVDDragunov
{
count =  4;
};
class PK
{
count =  5;
};
class RPGLauncher
{
count =  3;
};
class AT4Launcher
{
count =  1;
};
class 9K32Launcher
{
count =  1;
};
class kozliceball
{
count =  1;
};
class kozliceshell
{
count =  1;
};
class HandGrenade
{
count =  5;
};
class Pipebomb
{
count =  3;
};
class Mine
{
count =  3;
};
class Mortar
{
count =  3;
};
class Flare
{
count =  5;
};
class SmokeShell
{
count =  5;
};
class FlareRed
{
count =  5;
};
class SmokeShellRed
{
count =  5;
};
};

Title: Re:radio file one not found
Post by: cornholio on 14 Jul 2003, 02:43:49
You prolly fingered this out by now....

After you change your description.ext, You need to exit (save first of course) your mission and re-start it.  Everything should work.

I just exit my mission in the editor and load another mission in the editor. Then I exit that mission and load the one
that I changed the description.ext

hope that made sence :P

corno
Title: Re:radio file one not found
Post by: peter on 14 Jul 2003, 02:49:18
i think you have to list the files (without extensions):

sounds[] = {one};
Title: Re:radio file one not found
Post by: cornholio on 14 Jul 2003, 03:13:42
Oh my is he right....

didn't even notice that :-[
Title: Re:radio file one not found
Post by: killa144 on 14 Jul 2003, 03:18:40
tried all of that and still the same error notice... :help:
Title: Re:radio file one not found
Post by: killa144 on 14 Jul 2003, 03:32:34
affirmitive
Title: Re:radio file one not found
Post by: peter on 14 Jul 2003, 03:50:25
another idea:

shouldnÂ't the folder-name be sound ?!?

(not "sounds")

Title: Re:radio file one not found
Post by: killa144 on 14 Jul 2003, 04:01:01
still no luck...... ???
Title: Re:radio file one not found
Post by: cornholio on 14 Jul 2003, 04:41:28
When I get home from work....(in 2 hours)

I'm gonna send you the example mission I made yesterday.
The one I made after I sent you the BIS description.ext
And guess what....It works!! (YAAAYYY,WHOOPSIE FRIGGEN DOOOO!!!!). If the mission don't work...(for you) then somthing
has gone really wrong on your side ???

See ya in a few ;)
Title: Re:radio file one not found
Post by: cornholio on 14 Jul 2003, 07:46:30
Too big to post here but it's in the mail

Just ignore the other sound bytes listed in the description.ext except for the
sound bytes that are in the sound folder.
One is normal, the other two are radio. And don't forget the stringtable!!!


 :cheers:
Title: Re:radio file one not found
Post by: Sui on 14 Jul 2003, 10:39:22
After you change your description.ext, You need to exit (save first of course) your mission and re-start it.  Everything should work.

I just exit my mission in the editor and load another mission in the editor. Then I exit that mission and load the one
that I changed the description.ext...

Yikes! :o

Or you could just save your mission (which has the same effect as compiling it), which does exactly the same thing without all the exiting ;)
Title: Re:radio file one not found
Post by: cornholio on 15 Jul 2003, 01:48:24
Yikes!

What do yo expect from an old, paranoid, burned-out grunt?

(but at least I know what to do now :-* )
Title: Re:radio file one not found
Post by: killa144 on 16 Jul 2003, 05:23:30
thank you guy so much for the help and the sample mission corno.
i finally figured it out.




thanx alot,

killa