-
Notifications
You must be signed in to change notification settings - Fork 1
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;};
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"}
};
- Download the script version of this mod from the releases page
- Drag and drop the
cau
folder into your mission root - Open your
description.ext
- Add the following line inside class
CfgFunctions
#include "cau\extendedchat\CfgFunctions.cpp"
- Add the following line inside class
RscTitles
#include "cau\extendedchat\RscTitles.cpp"
- Merge the
stringtable.xml
from the script release with your missionstringtable.xml
, ensuring theCAU_xChat
package is inside the<Project></Project>
tags - 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.