Jump to content
Purzel

Radiochat / Sidechat / HQ-name

Recommended Posts

Hi there,

I´m getting crazy with this:
Problem 1:
I want to get a nice radiochat-dialogue on a multiplayer-server:

if (isServer) then {
[[WEST,"HQ"],"rogerbeep"] remoteExec ["sideRadio",WEST,false];
[[[west,"HQ"],"Here comes the message!"], "sidechat",west,false,false] call BIS_fnc_MP;

};

An accoustic sound called "rogerbeep" draws the players attention to the sidechat-message.
The sound will be played correctly ingame (if player has an assigned radio in inventory), but the sidechat is not displayed and I don´t know why...???
The message has to be broadcasted to all players using the call BIS_fnc_MP,

because there ist some more stuff in that script which has to be executed in an "if (isServer) then { code here };" -loop...

but on my dedicated server the message is not transmitted. But why? Maybe I´m to blind to see...

 

Problem 2:

I thought I´ve read (long time ago) the possibility to define ONE sound in description.ext and
the use of an placeholder in sideRADIO´s title field.

class CfgRadio
{
	sounds[] = {rogerbeep};
        class rogerbeep
	{
		name = "rogerbeep";
		sound[] = {"sounds\rogerbeep.ogg", db, 1.0};
		title = "Incoming message from HQ   or  Numbered variable here to display different text-messages";		
	};
};

Maybe that would solve my sidechat-problem too?

 

Problem 3:
The HQ is defined in the init.sqf:
PAPABEAR=[West,"HQ"];

 

How can I change the callsign PAPABEAR to another name?
I´ve read about a stringtable.csv, but I don´t know where to put and the correct code.

 

Maybe someone could give me a quick hint with that stuff...?

 

Thanks for your help...  :don12:
Greets Purzel

 

Share this post


Link to post
Share on other sites

Hi

to change callsign of group use :

 

_group setGroupID ["ICEMAN"];

 

 

Share this post


Link to post
Share on other sites

@gc8:

"

_group setGroupID ["ICEMAN"];

"
does not work... chat is still displayed as "CROSSROADS"...

I placed a gamelogic named "OPZ" and put all the following stuff into the init-field.

OPZ=[West,"HQ"];

this setGroupID ["OPZ"];

Share this post


Link to post
Share on other sites
10 minutes ago, purzel said:

does not work... chat is still displayed as "CROSSROADS"...

 

that's strange it works for me. do you have -showScriptErrors enabled so you see if the script failed?

 

Share this post


Link to post
Share on other sites

yes. it´s enabled... but no error-message


 

Share this post


Link to post
Share on other sites

Does anybody have an idea about the three problems from above?

Share this post


Link to post
Share on other sites

Interesting:
If I´m alone on our dedicated server, the sidechat will not work...
If there are two or more players online, it is working...

Strange...

Share this post


Link to post
Share on other sites

Simple basic solution to get rid of the Alpha1-1  & have squad name is;  Put in players init (all playable is best) eg;   Raven=group this;group this setgroupId ["Raven"]  then in the trigger init for a message   (leader Raven) sideChat "Whatever your message is here.";So instead of Alpha-1-1 stuff you should get    Raven & then the message.  

If you say put in the init of the AI pilot that you have scripted for a pick up Taxi=group this;group this setgroupId ["Taxi"];  then a radio message scripted in a waypoint init say  (leader Taxi) sidechat "HAVE YOU IN SIGHT STAND BY TO BOARD";     should say Taxi then the "Have you in sight" etc message. If you want sound try using the Waypoint effects sounds with the trigger, RHS have English & Russian radio voices.

Tested on Dedicated & it works. :smile_o:

  • Like 1

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

×