Home   Help Search Login Register  

Author Topic: Radio Chatter  (Read 775 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
Radio Chatter
« on: 21 May 2003, 21:16:21 »
hi
well i was bad and stole this from a des.ext
unfortunatly i dont know how to get guys saying this ingame.
They are both diferent people on the same side by the way.
Here it is:

class CfgRadio
{   
   class Radio1
   {
      name = "Radio1";
      title = HQ Incoming Choppers from the east!;
   };
        class Radio2
   {
      name = "Radio2";
      title = Rodger that, get to your battle stations;
   };



 ???
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Knut Erik

  • Guest
Re:Radio Chatter
« Reply #1 on: 21 May 2003, 22:19:58 »
Use:
NameOfUnit sideRadio "RadioMessage"
The radio message is deffined in the description file.
As in your file; Radio1 and Radio2


Offline punisher

  • Members
  • *
Re:Radio Chatter
« Reply #2 on: 22 May 2003, 20:08:04 »
Well i got it ingame BUT
i get a nasty error saying no sound for "radio1"in the des.ext

does anyting look wrong in the snippet?
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Knut Erik

  • Guest
Re:Radio Chatter
« Reply #3 on: 23 May 2003, 14:13:42 »
class CfgRadio
{   
   class Radio1
   {
      name = "Radio1";
      title = HQ Incoming Choppers from the east!;
   };
        class Radio2
   {
      name = "Radio2";
      title = Rodger that, get to your battle stations;
   };


Erm  ::)
You have forgot to define where your sound file is. Your description should look like this:


Code: [Select]
class CfgRadio
{
   sounds[] = { Radio1,Radio2 };
   
   class Radio1
   {
      name = "Radio1";
      sound[] = {"Radio1.ogg", db-40, 1.0};
      title = HQ Incoming Choppers from the east!;
   };
   class Radio2
   {
      name = "Radio2";
      sound[] = {"Radio2.ogg", db-40, 1.0};
      title = Rodger that, get to your battle stations;
   };
};

Does it work now ???

Offline punisher

  • Members
  • *
Re:Radio Chatter
« Reply #4 on: 24 May 2003, 17:28:05 »
it works now
cheers!
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat