Skip to content

Mission Setup

ConnorAU edited this page Nov 7, 2020 · 9 revisions

If using CfgRemoteExec function whitelisting, add the following lines

class CAU_xChat_fnc_sendMessage {allowedTargets=0;};
class CAU_xChat_fnc_log {allowedTargets=2;};
class CAU_xChat_fnc_radioChannelCustom {allowedTargets=2;};

Mission settings (optional)

Add the following properties to the description.ext of your mission and configure them to your liking.

// Enables the extended chat mod
CAU_xChat_enabled = 1; // 0 - disabled, 1 - enabled (default)

// Enables the use of emojis in chat. Automatically disabled if no emojis are found on the client
CAU_xChat_emojis = 1; // 0 - disabled, 1 - enabled (default)

// Toggle "<Name> connected" logs when a player loads into mission
CAU_xChat_connectMessages = 1; // 0 - disabled, 1 - enabled (default)

// Toggle "<Name> disconnected" logs when a player leaves the mission
CAU_xChat_disconnectMessages = 1; // 0 - disabled, 1 - enabled (default)

// Toggle "<Name1> was killed by <Name2>" and "<Name> was killed" when a player dies
CAU_xChat_deathMessages = 1; // 0 - disabled, 1 - enabled (default)

// Enables mentioning groups
CAU_xChat_mentionGroups = 1; // 0 - disabled, 1 - enabled (groups of player's side, default), 2 - enabled (all groups)

// System logs printed to chat when the player loads into the mission
CAU_xChat_MOTD[]={
//  {delay before printing,message}
    {0,"This message printed immediately"},
    {2,"This message printed after a 2 second delay"}
};

Scripted version setup (mod users can ignore this section)

  1. Download the script version of this mod from the releases page
  2. Drag and drop the cau folder into your mission root
  3. Open your description.ext
  4. Add the following line inside class CfgFunctions
#include "cau\extendedchat\CfgFunctions.cpp"
  1. Add the following line inside class RscTitles
#include "cau\extendedchat\RscTitles.cpp"
  1. Merge the stringtable.xml from the script release with your mission stringtable.xml, ensuring the CAU_xChat package is inside the <Project></Project> tags
  2. Install User Input Menus dependency: https://github.com/ConnorAU/A3UserInputMenus/wiki/Mission-Setup

An example description.ext can be found inside the script release files if you are confused by any of the instructions above.

Clone this wiki locally