Home   Help Search Login Register  

Author Topic: Base: "$CDG_05"  (Read 686 times)

0 Members and 1 Guest are viewing this topic.

Barak

  • Guest
Base: "$CDG_05"
« on: 19 Dec 2002, 01:42:23 »
I'm just getting into having the radio actually make noise, instead of just using chat to print text.

I've looked at the tutorials, and set up a conversation the way they tell me to--I think.

When I execute this statement in my script:

[west, "Base"] sideRadio "CDG_05";

I get the proper sound from the speakers, but what shows up in cyan letters at the bottom of the screen is:

Base: "$CDG_05"

when I intend it to be:

Base: "Alpha One, repeat, unable at this time.  You have your orders.  Papa Bear out."

My description.ext file looks (in part) like this:

[stuff stuff stuff]
class CfgRadio
{
   sounds[] = {
[stuff stuff stuff],
      CDG_05
   };
[stuff stuff stuff]
   class CDG_05
   {
      name = "CDG_05";
      sound[] = {"CDG_05.ogg", db-40, 1.0};
      title = $CDG_05;
   };
};


The relevant parts of my stringtable.csv file look like this:

LANGUAGE,English,Comment
CDG_05,"Alpha One, repeat, unable at this time.  You have your orders.  Papa Bear out.",comment


Can anyone tell what I'm doing wrong?

Thanks,
Barak

major asshole

  • Guest
Re:Base: "$CDG_05"
« Reply #1 on: 29 Dec 2002, 03:52:19 »

G'day

I think you have a prob in the title line

title = $CDG_05;

try,

title = $STRM_CDG_05;

hope this helps

L8R

Josef

  • Guest
Re:Base: "$CDG_05"
« Reply #2 on: 06 Jan 2003, 18:27:47 »
Hey i know this may be a bit n00by, but how do you make triggers use team radio instead of white text in the first place?

 ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D