Home   Help Search Login Register  

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

0 Members and 3 Guests 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.

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #15 on: 11 Apr 2003, 13:08:30 »
What the Hell??????????????//

all of the examples that i have looked at have no commas ion the stringtable.csv file so what the hell am i trying to do............

I've tried it with evrything i can think off but still the f****ng text string doesnt come up.............

Sorry but im to confused.......... ???...i'll keep trying so plz can someone help me with something that actually works coz i cant gett any bas***d thing to work..................

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 #16 on: 11 Apr 2003, 21:39:59 »
Try this:

Start up Notepad

Type in your data......i.e.
STRM_Alpharadio1,"Alpha 1 here... reading you loud and clear"

Go to Notepads File Menu and choose Save As

Make sure you switch to  All Files [.*.] in the 'Save as type' gadget.

In the 'File name' gadget, type in the name you wish to give your .csv file......for example......If you wish to call it Stringtable, then type 'Stringtable.csv'.

Navigate to where you wish to save it, then press the Save button.

The file must have the .csv extension and not a .txt extension.

Hope this will fix it for you.


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

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #17 on: 12 Apr 2003, 15:33:17 »
THX Planck...it works.......

then i thought to just put in the text string u want to come up for the Radio Chatter in the "title =" part of the description.ext file.....i don tknow if its right but it works so im glad......

Howeva......u any good wiv triggers Planck ? coz when ui put unitname sideRadio "Alpharadio1" in the On Activation feiild of a trigger (by the way i allready have "1" objstatus "done" in there) nothing happens i dont now why is it becoz i allready have the objStatus thingy in there ???????   coz it don work........i thought of just copying the trigger ,,, placing it in axactly the same place wiv all the same properties but deleting "1" ogjStatus "done" and putting unitname sideRadio "Alpharadio1" in there instead................is there another way around this ????????? plz dont say Scripts coz i aint good wiv 'em...........

THX for reading ////////////......RHYS ;D
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 #18 on: 12 Apr 2003, 16:03:33 »
Sorry, I'm no expert with triggers or indeed scripts.

Maybe someone else can help you with that bit.

I'll maybe learn these skills at some time, but for the moment I can't advise you .


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

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #19 on: 12 Apr 2003, 20:34:42 »
OK thx fo rthe replies ill let u know how the mission gets on  

have to figure out the Overview Pic first

C ya all
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 #20 on: 23 May 2003, 16:06:58 »
I was wondering if any one was still watching this as i think the mission is finished and i need a final BETA tester....?

Let me know if any1 is still watching.....CYA
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 #21 on: 25 May 2003, 14:41:42 »
Is any1 still watching this or not ?????

Some1 take alook ta this plz....

_cam = "camera" camcreate [0, 0, 0]
titlecut [" The enemy ","Black in",3]
_cam cameraeffect ["internal", "white"]
_cam camsettarget fire
_cam camsetrelpos [2, 2, 2]
_cam camcommit 1
~5
_cam camsettarget car1
_cam camsetrelpos [0, 1.5, 2]
_cam camcommit 12
@camcommitted _cam
~1.5
camdestroy _cam
exit

i dont knoiw if theres anything wron gwith it but it sure as hell dont work ....

PS : its for a cutscene ..............

RHYS
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 #22 on: 25 May 2003, 23:06:26 »
The rpoblem is that i have created a cutscene with a script and when the trigger is tripped to enter camera mode ( if ya know what i mean ) all i can see is the ruddy sea....

I know this has been asked b4 but i cant find the topic anywhere....

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

Pride and Joy 1 (HW100-T)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Big trouble wiv Radio
« Reply #23 on: 25 May 2003, 23:24:11 »
If all you can see is sea then that usually means the camera has been created at 0,0,0 which is sea but it doesn't understand the next command.

This line looks odd
_cam cameraeffect ["internal", "white"]


Try this:-

; camera script

titlecut [" ","BLACK IN",3]

enableradio false

_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]

_cam camsettarget fire
_cam camsetrelpos [2,2,2]
_cam camcommit 0
@camcommitted _cam

~8

titlecut ["","BLACK OUT",2]

~2

_cam cameraeffect ["terminate", "back"]
camdestroy _cam

enableRadio true
exit



When the mission is ready post it in the beta forum.  There's a sticky at the top of that board with some tips.
Plenty of reviewed ArmA missions for you to play

Offline rhysduk

  • Former Staff
  • ****
Re:Big trouble wiv Radio
« Reply #24 on: 26 May 2003, 12:29:56 »
Thanks MAcguba .....

Very much appreciated.....

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

Pride and Joy 1 (HW100-T)