ryan1mcq/SnowWolf

Large centre screen messages

7 posts in this topic

Hi all, long time lurker first time poster here. I wanted to ask (hopefully in the correct place) if theres a way to make the "[RADIO] your radio is picking up a signal nearby" messages to be large messages in the centre of the player screen, kinda like the infistar admin serverwide centre screen messages but only for the player getting the radio alert message ? I know there must be others somewhere in the same boat as me, who keep missing them in the chat box, especially if its busy...... is this something that is do-able?

 

Thanks in advance for any replies

 

Ryan/snow

Edited by ryan1mcq/SnowWolf

Share this post


Link to post
Share on other sites
On ‎13‎/‎07‎/‎2018 at 0:27 PM, ryan1mcq/SnowWolf said:

Hi all, long time lurker first time poster here. I wanted to ask (hopefully in the correct place) if theres a way to make the "[RADIO] your radio is picking up a signal nearby" messages to be large messages in the centre of the player screen, kinda like the infistar admin serverwide centre screen messages but only for the player getting the radio alert message ? I know there must be others somewhere in the same boat as me, who keep missing them in the chat box, especially if its busy...... is this something that is do-able?

 

Thanks in advance for any replies

 

Ryan/snow

which AI mod?

You can almost always adjust where the text appears -

 

Share this post


Link to post
Share on other sites
Advertisement

Thanks for reply Ned, i should say im not a coder/scripter and im only a player on the server, not an admin or anything ( on Razor's TG Altis)  but the server is using  A3XAI  for roaming and dynamic, thanks man :)

Edited by ryan1mcq/SnowWolf

Share this post


Link to post
Share on other sites
On ‎18‎/‎07‎/‎2018 at 4:10 PM, ryan1mcq/SnowWolf said:

Thanks for reply Ned, i should say im not a coder/scripter and im only a player on the server, not an admin or anything ( on Razor's TG Altis)  but the server is using  A3XAI  for roaming and dynamic, thanks man :)

sorry I haven't used that in years but the trick is look through the FNC - function files, you should spot messages being formed and produced so that's where you can look at changing what type off message is produced. Trouble is that A3XAI hasn't been updated/supported in ages so it could be painfuly out of date in which case you would be looking for old Arma3 toast functions.

Post whatever you find and I will try to help out as  I can - I still feel like a noob with the code even after the years trying to code it

Share this post


Link to post
Share on other sites

 

Hi 

I have been looking at the files to see if I can get a toast message as requested ryan and have found 2 files so far in a3xai that are related to messages.  

A3XAI_client_verifysettings.sqf

Spoiler

_startTime = diag_tickTime;

//Check value types
{
    _value = missionNamespace getVariable (_x select 0);
    if ((isNil "_value") or {(typeName _value) != (typeName (_x select 1))}) then {
        missionNamespace setVariable [(_x select 0),(_x select 1)];
        diag_log format ["[A3XAI] Error found in variable %1, resetting to default value.",(_x select 0)];
    };
} forEach [
    ["A3XAI_client_radio",true],
    ["A3XAI_client_radioSounds",true],
    //["A3XAI_client_deathMessages",true],
    //["A3XAI_client_deathMessageSound",true],
    ["A3XAI_client_radioMessage0","[RADIO] Your radio is picking up a signal nearby."], 
    ["A3XAI_client_radioMessage1","[RADIO] %1: %2 is in this area. Stay on alert!"],
    ["A3XAI_client_radioMessage2","[RADIO] %1: Target looks like a %2. Find them!"],
    ["A3XAI_client_radioMessage3","[RADIO] %1: Target's range is about %2 meters. Move in on that position!"],
    ["A3XAI_client_radioMessage4","[RADIO] %1: Lost contact with target. Breaking off pursuit."],
    ["A3XAI_client_radioMessage5","[RADIO] %1: Target has been eliminated."],
    ["A3XAI_client_radioMessage11","[RADIO] %1: %2 is somewhere in this location. Search the area!"],
    ["A3XAI_client_radioMessage12","[RADIO] %1: Target is a %2. Stay on alert!"],
    ["A3XAI_client_radioMessage13","[RADIO] %1: Target's distance is %2 meters. Move in to intercept!"],
    ["A3XAI_client_radioMessage14","[RADIO] %1: We've lost contact with the target. Let's move out."],
    ["A3XAI_client_radioMessage15","[RADIO] %1: The target has been killed."],
    ["A3XAI_client_radioMessage20","Warning: Hostile %1 inbound."],
    ["A3XAI_client_radioMessage31","[RADIO] %1: Target spotted below. Engaging."],
    ["A3XAI_client_radioMessage32","[RADIO] %1: We've arrived at the location. Moving in on the target."],
    ["A3XAI_client_radioMessage33","[RADIO] %1: Thats's the one we're looking for. Take him out."],
    ["A3XAI_client_radioMessage34","[RADIO] %1: Located the target. Let's take him out."],
    ["A3XAI_client_radioMessage35","[RADIO] %1: Priority target confirmed. Proceeding to engage."],
    ["A3XAI_client_radioMessage41","[RADIO] %1 %2: Targets detected. Relaying position data."],
    ["A3XAI_client_radioMessage42","[RADIO] %1 %2: Targets found at destination coordinates."],
    ["A3XAI_client_radioMessage43","[RADIO] %1 %2: Movement detected. Targets selected."],
    ["A3XAI_client_radioMessage44","[RADIO] %1 %2: Heat signatures confirmed. Designating targets."],
    ["A3XAI_client_radioMessage45","[RADIO] %1 %2: Priority target located. Redirecting armed forces to target location."],
    ["A3XAI_client_radioMessage51","[RADIO] %1 %2: Targets detected. Relaying position data."],
    ["A3XAI_client_radioMessage52","[RADIO] %1 %2: Targets found at destination coordinates."],
    ["A3XAI_client_radioMessage53","[RADIO] %1 %2: Movement detected. Targets selected."],
    ["A3XAI_client_radioMessage54","[RADIO] %1 %2: Heat signatures confirmed. Designating targets."],
    ["A3XAI_client_radioMessage55","[RADIO] %1 %2: Priority target located. Redirecting armed forces to target location."]
];

diag_log format ["[A3XAI] Verified all A3XAI settings in %1 seconds.",(diag_tickTime - _startTime)];

A3XAI_client_config.sqf

Spoiler

/*
    A3XAI Client-side Addon Configuration File
    
*/


/*    A3XAI Client Addon Settings
--------------------------------------------------------------------------------------------------------------------*/    

//Enables use of client-side radio functions. A3XAI_radioMsgs must be set 'true' in A3XAI_config.sqf.
A3XAI_client_radio = true;

//Enables sound notifications when displaying radio messages
A3XAI_client_radioSounds = true;


/*    A3XAI Text String Settings
--------------------------------------------------------------------------------------------------------------------*/    

//AI radio static message
A3XAI_client_radioMessage0 = "[RADIO] Your radio is picking up a signal nearby.";    //Message displayed when radio sound transmitted without AI dialogue.

//AI radio messages (AI-killer dialogue)
A3XAI_client_radioMessage1 = "[RADIO] %1: %2 is in this area. Stay on alert!"; //%1: AI leader name, %2: Target player name
A3XAI_client_radioMessage2 = "[RADIO] %1: Target looks like a %2. Find them!"; //%1: AI leader name, %2: Target player type
A3XAI_client_radioMessage3 = "[RADIO] %1: Target's range is about %2 meters. Move in on that position!"; //%1: AI leader name, %2: Target player distance
A3XAI_client_radioMessage4 = "[RADIO] %1: Lost contact with target. Breaking off pursuit."; //%1: AI leader name
A3XAI_client_radioMessage5 = "[RADIO] %1: Target has been eliminated."; //%1: AI leader name

//AI radio messages (Dynamic AI hunter dialogue)
A3XAI_client_radioMessage11 = "[RADIO] %1: %2 is somewhere in this location. Search the area!"; //%1: AI leader name, %2: Target player name
A3XAI_client_radioMessage12 = "[RADIO] %1: Target is a %2. Stay on alert!"; //%1: AI leader name, %2: Target player type
A3XAI_client_radioMessage13 = "[RADIO] %1: Target's distance is %2 meters. Move in to intercept!"; //%1: AI leader name, %2: Target player distance
A3XAI_client_radioMessage14 = "[RADIO] %1: We've lost contact with the target. Let's move out."; //%1: AI leader name
A3XAI_client_radioMessage15 = "[RADIO] %1: The target has been killed."; //%1: AI leader name

//AI air patrol reinforcement warning message
A3XAI_client_radioMessage20 = "Warning: Hostile %1 inbound."; //%1: Air vehicle type

//AI air patrol dialogue. Displayed when player is detected by air patrol.
A3XAI_client_radioMessage31 = "[RADIO] %1: Target spotted below. Engaging."; //%1: AI leader name
A3XAI_client_radioMessage32 = "[RADIO] %1: We've arrived at the location. Moving in on the target."; //%1: AI leader name
A3XAI_client_radioMessage33 = "[RADIO] %1: Thats's the one we're looking for. Take him out."; //%1: AI leader name
A3XAI_client_radioMessage34 = "[RADIO] %1: Located the target. Let's take him out."; //%1: AI leader name
A3XAI_client_radioMessage35 = "[RADIO] %1: Priority target confirmed. Proceeding to engage."; //%1: AI leader name

//UAV patrol dialogue. Displayed when player is detected.
A3XAI_client_radioMessage41 = "[RADIO] %1 %2: Targets detected. Relaying position data."; //%1: UAV Group, %2: UAV Type
A3XAI_client_radioMessage42 = "[RADIO] %1 %2: Targets found at destination coordinates."; //%1: UAV Group, %2: UAV Type
A3XAI_client_radioMessage43 = "[RADIO] %1 %2: Movement detected. Targets selected."; //%1: UAV Group, %2: UAV Type
A3XAI_client_radioMessage44 = "[RADIO] %1 %2: Heat signatures confirmed. Designating targets."; //%1: UAV Group, %2: UAV Type
A3XAI_client_radioMessage45 = "[RADIO] %1 %2: Priority target located. Redirecting armed forces to target location."; //%1: UAV Group, %2: UAV Type

//UGV patrol dialogue. Displayed when player is detected.
A3XAI_client_radioMessage51 = "[RADIO] %1 %2: Targets detected. Relaying position data."; //%1: UGV Group, %2: UGV Type
A3XAI_client_radioMessage52 = "[RADIO] %1 %2: Targets found at destination coordinates."; //%1: UGV Group, %2: UGV Type
A3XAI_client_radioMessage53 = "[RADIO] %1 %2: Movement detected. Targets selected."; //%1: UGV Group, %2: UGV Type
A3XAI_client_radioMessage54 = "[RADIO] %1 %2: Heat signatures confirmed. Designating targets."; ///%1: UGV Group, %2: UGV Type
A3XAI_client_radioMessage55 = "[RADIO] %1 %2: Priority target located. Redirecting armed forces to target location."; //%1: UGV Group, %2: UGV Type
 

Ideally I would like this message as a toast  "A3XAI_client_radioMessage0 = "[RADIO] Your radio is picking up a signal nearby."; and the rest still in the chat box.  Is this possible to do @red_ned

was going to try with  call ExileClient_gui_toaster_addTemplateToast;   on the end of that line but I guess it wont be as easy as that :)  

Thanks in advance

  • Like 1

Share this post


Link to post
Share on other sites

Thanks Razor, looks to be well more complicated than i thought, maybe the %2 thing is involved ( "[RADIO] %1: %2 is somewhere in this location. Search the area!"], )since its only for that player involved with the message?

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.