Jump to content
Sign in to follow this  
LordJarhead

J.S.R.S. Radio Chatter Script

Recommended Posts

Hey Guys, I need some help.

So, I want to add more MicOut sounds. If you know what I mean? The noises after the command is over. This chrg. So there are 4 diffenrent MicOuts ingame to use.

So right now it looks like this:

class RadioProtocolDefault: RadioProtocolBase

{

class Words

{

micOut[] = {"\JSRS_Radio_Chatter\Mic_Out1"};

micOut1[] = {"\JSRS_Radio_Chatter\shared\static\over01"};

micOut2[] = {"\JSRS_Radio_Chatter\shared\static\over02"};

micOut3[] = {"\JSRS_Radio_Chatter\shared\static\over03"};

loop[] = {"\JSRS_Radio_Chatter\shared\static\radionoise1"};

beepBeep[] = {"\JSRS_Radio_Chatter\beep"};

pause[] = {"\JSRS_Radio_Chatter\empty01sec"};

xmit[] = {"\JSRS_Radio_Chatter\beep"};

};

};

But now I want to add 13 or more micouts to make it as custom and random as it can get. So like this:

class CfgVoice

{

class Base

{

micOuts[] = {"micOutx1","micOutx2","micOutx3","micOutx4","micOutx5","micOutx6","micOutx7","micOutx8","micOutx9","micOutx10","micOutx12","micOutx11","micOutx13"};

loops[] = {"loopxx1","loopxx2","loopxx3","loopxx4","loopxx5","loopxx6","loopxx7","loopxx8","loopxx9","loopxx10","loopxx11","loopxx12","loopxx13"};

};

};

class RadioProtocolBase;

class RadioProtocolDefault: RadioProtocolBase

{

class Words

{

micOutx13[] = {"\JSRS_Radio_Chatter\Mic_Out1"};

micOutx1[] = {"\JSRS_Radio_Chatter\over01"};

micOutx2[] = {"\JSRS_Radio_Chatter\over02"};

micOutx3[] = {"\JSRS_Radio_Chatter\over03"};

micOutx4[] = {"\JSRS_Radio_Chatter\over04"};

micOutx5[] = {"\JSRS_Radio_Chatter\over05"};

micOutx6[] = {"\JSRS_Radio_Chatter\over06"};

micOutx7[] = {"\JSRS_Radio_Chatter\over07"};

micOutx8[] = {"\JSRS_Radio_Chatter\over08"};

micOutx9[] = {"\JSRS_Radio_Chatter\over09"};

micOutx10[] = {"\JSRS_Radio_Chatter\over10"};

micOutx11[] = {"\JSRS_Radio_Chatter\over11"};

micOutx12[] = {"\JSRS_Radio_Chatter\over12"};

loopxx[] = {"\JSRS_Radio_Chatter\radionoise1"};

loopxx1[] = {"\JSRS_Radio_Chatter\radionoise2"};

loopxx2[] = {"\JSRS_Radio_Chatter\radionoise3"};

loopxx3[] = {"\JSRS_Radio_Chatter\radionoise4"};

loopxx4[] = {"\JSRS_Radio_Chatter\radionoise5"};

loopxx5[] = {"\JSRS_Radio_Chatter\radionoise6"};

loopxx6[] = {"\JSRS_Radio_Chatter\radionoise7"};

loopxx7[] = {"\JSRS_Radio_Chatter\radionoise8"};

loopxx8[] = {"\JSRS_Radio_Chatter\radionoise9"};

loopxx9[] = {"\JSRS_Radio_Chatter\radionoise10"};

loopxx10[] = {"\JSRS_Radio_Chatter\radionoise11"};

loopxx11[] = {"\JSRS_Radio_Chatter\radionoise12"};

loopxx12[] = {"\JSRS_Radio_Chatter\radionoise"};

beepBeep[] = {"\JSRS_Radio_Chatter\beep"};

pause[] = {"\JSRS_Radio_Chatter\empty01sec"};

xmit[] = {"\JSRS_Radio_Chatter\beep"};

};

};

Of course, this is not working, but now you may understand whats my goal! I have more sounds than everthing else, but cant bring them all to use.

So, after consulting kju we think there is no other why but scripting. Could anybody help me out with that? I have sadly no idea of scripts.

Thanks guys,

Jarhead

Edited by LordJarhead

Share this post


Link to post
Share on other sites

So is this something like the radio chatter from GL4?

Share this post


Link to post
Share on other sites

No. It has nothing to do with this. Its the normal radio, like "4, move to - House - 12O´clock!" crgh.

So the background noises while the person is speaking will get reworked and the end of his command or chat. At the end is this chrhg noises.... and I just want to add more of them!

Jarhead

Share this post


Link to post
Share on other sites

no ideas ? anyone?

helping to get this thread get a little bit more noticed ;)

Share this post


Link to post
Share on other sites

Lets hope there's someone to help me... soon... thanks fo the help Pure ;)

Jarhead

Share this post


Link to post
Share on other sites

Maybe it's hardcoded in the engine so it will use only those 4 already defined sounds?

Just a wild guess...

Share this post


Link to post
Share on other sites

Ya, the game is just using the 4 micouts. But there is a way to make the engine use 10 or 20 or even more.... I hope. This will give the feeling, that each chat is different, not "beeb" and "beebeeb" all the time. I hope there is a way, at least with scriptings???

Jarhead

Share this post


Link to post
Share on other sites

i suppose it's about the sounds file .... it musn't go over 56kb or something like that, well at least that's what we must get for the custom sound working, but who said that's not the same rules for the radio message, no ?

Share this post


Link to post
Share on other sites

Ah, I guess you may not right. May actual Soundfile for radiochatter are much bigger, one is over 400 KB (backgroundloop). The way of the first Spoiler config works fine. I can simple reworked and replace the sounds. But I want the engine to use more custom sounds. At 4 is a high probability that it is repeated constantly. It comes up fast. But at 20, for example, I would not have this problem. Each message would sound accordingly different in contrast to his previous one.

Thats what I wanted to do...

Jarhead

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  

×