Skip to content

Mission Setup

Connor edited this page Mar 1, 2019 · 9 revisions
  1. 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

// 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

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

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

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

// 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"}
};
  1. If using function whitelisting in CfgRemoteExec, 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;};

Additional Setup (Script version only)

  1. Download the script version of this mod from the releases page
  2. Drag and drop the ExtendedChat folder into your mission root
  3. Open your description.ext
  4. Add the following line inside class CfgFunctions
#include "ExtendedChat\CfgFunctions.cpp"
  1. Add the following line inside class RscTitles
#include "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

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