Jump to content
Sign in to follow this  
aook002

Global Sound

Recommended Posts

Before you asked - i have searched and i didnt find anything sufficient.....

Ok then, i have 2 problems.

1) My first problem is that i'm wondering how to make a .ogg file (sorted out in descripition.ext and stringtable.csv) be heard my everyone in a multiplayer Lan game without there being a long delay for a client to hear the sound.

2) And my second problem is that when i do play some sounds the corresponding text linked from the description.ext to the stringtable.csv doesnt not show where it does on other instances.

Here are the 2 files (description and stringtable)

Description.ext

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">respawn = 3

respawndelay = 15

titleparam1 = "Respawns:";

valuesparam1[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 1000};

defvalueparam1 = 1000;

textsparam1[] = {None, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, Infinite};

onLoadMission="Saint Pierre II";

showGPS=1;

class CfgIdentities

{

                       class Alpha1

          {

                       name = "Black Op 1";

face = "Face30";

glasses="Sunglasses";

speaker = "Adam";

pitch = 1.00;

                   

           };

            class Alpha2

          {

                       name = "Black Op 2";

face = "Face4";

glasses="none";

speaker = "Greg";

pitch = 1.00;

                   

           };

      class November

          {

                       name = "November One";

face = "Face12";

glasses="Sunglasses";

speaker = "Adam";

pitch = 1.00;

                   

           };

class Hotel

          {

                       name = "Hotel 2 4";

face = "Face15";

glasses="glasses";

speaker = "Paul";

pitch = 1.00;

                   

           };

};

class CfgRadio

{

sounds[] =

{

};

class S03r01

{

name = "S03r01";

sound[] = {"S03r01.ogg", db-40, 1.0};

title = $STR_S03r01;

};

class S03r02

{

name = "S03r02";

sound[] = {"S03r02.ogg", db-40, 1.0};

title = $STR_S03r02;

};

class S03r03

{

name = "S03r03";

sound[] = {"S03r03.ogg", db-40, 1.0};

title = $STR_S03r03;

};

class S03r04

{

name = "S03r04";

sound[] = {"S03r04.ogg", db-40, 1.0};

title = $STR_S03r04;

};

class S03r05

{

name = "S03r05";

sound[] = {"S03r05.ogg", db-40, 1.0};

title = $STR_S03r05;

};

class r01r03

{

name = "r01r03";

sound[] = {"r01r03.ogg", db-40, 1.0};

title = $STR_r01r03;

};

class r05r07

{

name = "r05r07";

sound[] = {"r05r07.ogg", db-40, 1.0};

title = $STR_r05r07;

};

class r05r08

{

name = "r05r08";

sound[] = {"r05r08.ogg", db-40, 1.0};

title = $STR_r05r08;

};

class s10r02

{

name = "S10r02";

sound[] = {"S10r02.ogg", db-40, 1.0};

title = $STR_S10r02;

};

class sa02r1

{

name = "SA02r1";

sound[] = {"SA02r1.ogg", db-40, 1.0};

title = $STR_SA02r1;

};

class sa02r6

{

name = "SA02r6";

sound[] = {"SA02r6.ogg", db-40, 1.0};

title = $STR_SA02r6;

};

class b02r02

{

name = "b02r02";

sound[] = {"b02r02.ogg", db-40, 1.0};

title = $STR_b02r02;

};

class b02r03

{

name = "b02r03";

sound[] = {"b02r03.ogg", db-40, 1.0};

title = $STR_b02r03;

};

class b02r04

{

name = "b02r04";

sound[] = {"b02r04.ogg", db-40, 1.0};

title = $STR_b02r04;

};

class b02r05

{

name = "b02r05";

sound[] = {"b02r05.ogg", db-40, 1.0};

title = $STR_b02r05;

};

class b02r06

{

name = "b02r06";

sound[] = {"b02r06.ogg", db-40, 1.0};

title = $STR_b02r06;

};

class b02r07

{

name = "b02r07";

sound[] = {"b02r07.ogg", db-40, 1.0};

title = $STR_b02r07;

};

class b02r08

{

name = "b02r08";

sound[] = {"b02r08.ogg", db-40, 1.0};

title = $STR_b02r08;

};

class b02r09

{

name = "b02r09";

sound[] = {"b02r09.ogg", db-40, 1.0};

title = $STR_b02r09;

};

class s02r18

{

name = "s02r18";

sound[] = {"s02r18.ogg", db+40, 1.0};

title = $STR_s02r18;

};

class s02r19

{

name = "s02r19";

sound[] = {"s02r19.ogg", db+40, 1.0};

title = $STR_s02r19;

};

};

Stringtable.csv

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">LANGUAGE,

STR_r01r03,ALL UNITS THIS IS PAPA BEAR. THE OPERATION IS COMPLETE. WELL DONE. WE ARE SENDING CHOPPERS TO TAKE YOU OUT OF THERE. OUT.

STR_r05r07,FOXTROT THIS IS PAPA BEAR. YOU'VE GOT ABOUT 5 MINUTES. OVER.

STR_r05r08,PAPA BEAR THIS IS FOXTROT. WILCO. WE'RE GOING IN. FOXTROT OUT.

STR_S03r01,ALPHA ONE TO BRAVO. MOVE IN AND DESTROY AND WHAT YOU CAN OVER.

STR_S03r02,BRAVO HERE. RECEIVED AND UNDERSTOOD. ENGAGING. OUT.

STR_S03r03,ALPHA TO CHARLIE. YOU ARE WEAPONS FREE. KILL THEM ALL!

STR_S03r04,YES SIR! WE'RE ON THE MOVE.

STR_S03r05,THIS IS BRAVO. WE ARE APPROACHING THE BASE AND ARE READY TO RUMBLE. OUT.

STR_S10r02,THIS IS ALPHA ONE. LOOKS LIKE GOT 'EM ALL. JUST A LOAD OF DEAD RUSKIES UP HERE. OUT.

STR_SA02r1,THIS IS EAGLE-EYE-FOUR. YOU'VE GOT UNKNOWN ARIEL CONTACT. FROM THEIR SPEED THEY LOOK LIKE CHOPPERS.

STR_SA02r6,THIS IS THUNDER-ONE. RANGE TO COAST IS ABOUT 8 CLICKS.

STR_S02r18,BRAVO TO ALPHA. BRAVO TO ALPHA. WE ARE UNDER HEAVY FIRE. HELP! CAN'T MAKE RENDEVOUZ...RETREATING TO...

STR_S02r19,ALPHA TO BRAVO. ALPHA TO BRAVO. DO YOU COPY? BRAVO COME IN OVER.....DAMN BRAVO IS DOWN.

STR_B02R02,IS ANYONE RECIEVING? THIS IS HOTEL 2 4. WE ARE COMING UNDER HEAVY FIRE. WE HAVE MANY CASUALTIES. IMMEDIATE EVAC REQUIRED. CAN ANYONE ASSIST?

STR_B02R03, UNDERSTOOD 2 4 WE'LL SEND SOMEONE TO COLLECT YOU. NOVEMBER ONE CAN YOU DIVERT TO EVACUATE HOTEL SQUAD FROM VICINITY OF LE MOULE OVER?

STR_B02R04,THAT'S A ROGER PAPA BEAR. CHANGING COURSE OUT.

STR_B02R05,CHICKS TO BROOD HEN - WE'RE ALL ON BOARD. YOU CAN TAKE WING.

STR_B02R06,OK THAT'S EVERYONE IN. FLY US OUT OF THIS MESS.

STR_B02R07,NOVEMBER ONE TO PAPA BEAR. CASUALTIES ARE ON BOARD OVER.

STR_B02R09,NOVEMBER ONE - GREAT WORK.  

Aook  sad_o.gif

Share this post


Link to post
Share on other sites

1.: you have to make a script which runs on each client... a little delay (at least the ping) is there, sure.

2.: you forgot the languages in the first line.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">language, english

Share this post


Link to post
Share on other sites

Would you be able to show me how to the scripts for the client.

Thanks

Aook  

Edit:: Added the "language,english" to stringtable.csv, but text still doesnt appear sad_o.gif

Share this post


Link to post
Share on other sites

Ok, it doesnt matter about the text not showing up - i'll just do a cheap run around by just using:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unitname sidechat "message"

So, all i would like to know is how to make every one hear a sound in a multiplayer game. Please note the sound is triggered when a certain waypoint is completed, and this activated the execution of a script which goes something like this....

(there are 2 occasions so i will give both scripts)

Distresscall.sqs

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hotel24 sideradio "b02r02"

~10

[West, "HQ"] sideradio "b02r03"

~9

pilot1 sideradio "b02r04"

~4

exit

Distresscall2.sqs

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hotel24 sideradio "b02r06"

~4

pilot1 sideradio "b02r07"

~4

[West, "HQ"] sideradio "b02r09"

~5

exit

Aook  crazy_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×