Home   Help Search Login Register  

Author Topic: Big trouble wiv Radio  (Read 1474 times)

0 Members and 1 Guest are viewing this topic.

Offline rhysduk

  • Former Staff
  • ****
Big trouble wiv Radio
« on: 09 Apr 2003, 22:27:33 »
Hi all its me ...........

Im having major problems with trying to get the radio to work with sound in my mission.....
Heres the details :

I have a stringtable with the Language column as STRM_alpha1 and the English column as "Alpha 1 here... reading you loud and clear"
...while leaving the Comment column blank.

The .ogg file to accompany this is called;
"Alpharadio1"

Here is what i have figured out to put into the descriptoin.ext file i aint got a clue if its right or wrong so help is needed;

class CfgRadio
{
sounds[] = {Alpharadio1};
class Alpharadio1
{
name = "";
sound[] = {"\sounds\Alpharadio1.ogg", db+0, 1.0};
title = $STRM_alpha1;
};
};
 
I think that is all i have u .. yes i think so......

Any help would be really appreciated......as i am only a little over beginner editing level any replies should not be too advanced ...lol ...soryy ppl......

NOTE: i used Wavesurfer to create the wav file and then converted it using OGGConverter........just though i should say that......

THX ALL ....... RHYS.....   ..  rhysduk@yahoo.co.uk
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Big trouble wiv Radio
« Reply #1 on: 09 Apr 2003, 22:39:36 »
Copy and paste this into your description :

class CfgRadio
{
class Alpharadio1{name = "";sound[] = {"Alpharadio1.ogg", db, 1.0};title = $STRM_Alpharadio1;};
};

Then, in your stringtable :

STRM_Alpharadio1,"Alpha 1 here... reading you loud and clear",

(Make sure you've got BOTH commas).
Once you've done this, RELOAD your mission. One useful thing to know is that the description.ext file is only taken into account when you LOAD the mission : you thus won't see the changes if you don't reload the mission first.  ;)
All this should work.
« Last Edit: 09 Apr 2003, 22:40:35 by Igor Drukov »

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #2 on: 09 Apr 2003, 22:56:38 »
evrything seems fine so far....

now comes the point of how to get it actually up in the Mission.... scripts .. triggers anything?

By the way i dont know if it helps but this line is used as soon as the main mission loads....
i.e  after the Intro

THX for the reply soooooooooo soooon.......

Rhys
rhysduk@yahoo.co.uk
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Big trouble wiv Radio
« Reply #3 on: 09 Apr 2003, 23:49:10 »
use

unitname sideradio "Alpharadio1"

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #4 on: 10 Apr 2003, 13:24:08 »
Right Theres good news and bag news....

The good news: Evrything is working and the soujnd is fine......

The bad news: The text string for the radio doesnt come up only the sound.......what am i doing wrong please tell me...im getting a bit peed off coz i aint got  a clue............

THX ALL

Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Big trouble wiv Radio
« Reply #5 on: 10 Apr 2003, 16:31:27 »
Well, this sometimes happens to me as well... But after reloading the mission, for some reason the text pops up fine... I don't know why.
Just in case : you do have a stringtable.csv file in your mission directory ?

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #6 on: 10 Apr 2003, 21:27:35 »
Yep i sure do have a stringtable.csv file in me mission directory

Details.

Language.                      English.                    Comment.

STRM_Alpharadio1          Alpha 1 here... reading you loud clear

The comment feild is left blank cant be bothered to fill it in to be honest... Is that all u want to know
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Big trouble wiv Radio
« Reply #7 on: 10 Apr 2003, 21:39:23 »
Did you put a comma after STRM_Alpharadio1 ?
STRM_Alpharadio1,"blabla"
(actually the second comma is not necessary)

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #8 on: 10 Apr 2003, 21:47:23 »
As far as i know there is no commas in the whole thing....

Take a look for yourself and try it......

U got YIM?
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #9 on: 10 Apr 2003, 21:51:03 »
Theres sumfing wrong wiv the updateing thing here it is
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Big trouble wiv Radio
« Reply #10 on: 10 Apr 2003, 22:00:55 »
Where are your "," and your "" ?
Try with them !

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #11 on: 10 Apr 2003, 22:08:35 »
I dont know what the hell is wrong but nothing still comes up even wiv the "" in the text of the Stringtable.csv file.......
I dont know if this helps but here is what the description.ext file looks like:


class CfgRadio
{
class Alpharadio1{name = "";sound[] = {"Alpharadio1.ogg", db, 1.0};title = $STRM_Alpharadio1;};
};
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Big trouble wiv Radio
« Reply #12 on: 10 Apr 2003, 22:12:37 »
A .csv file is exactly that...(csv=comma separated values).

You need to separate your data with commas.


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

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #13 on: 10 Apr 2003, 22:22:26 »
What data cant u show me... i.e -- givbe me an example i have uploaded my Stringtable.csv file on this topic not long back ..... bout 2 msg i think.....

Cant you use that and modify it plz and show me.........

THX RHYS
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Big trouble wiv Radio
« Reply #14 on: 11 Apr 2003, 00:15:29 »
As Igor pointed out already, instead of:

STRM_Alpharadio1   Alpha 1 here..Reading you loud and clear.

You should make it thus:

STRM_Alpharadio1,"Alpha 1 here... reading you loud and clear"

Note: STRM_Alpharadio1   and   "Alpha 1 here... reading you loud and clear" are separated by a comma, not a space.


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