Folk Group IDs

From F2 EN

Jump to: navigation, search

Contents

Description

When players use side chat, the name of their squad / group appears at the start of each message. The default ArmA group names (or IDs) follow the format "1-1-A", "1-1-B" etc. This is not very helpful to players in a mission which uses the standard Folk platoon structure, in which formations have names like "Alpha" or "Charlie".

The Folk Group IDs component automatically applies meaningful names to all standard groups in the Folk Platoons (including attachments). This means that when players use side chat, their messages will start with "Deputy Commander" or "Charlie" etc. This makes in-game text communications much clearer.

Required files

All the code associated with this component is found in:

  • init.sqf.folk
  • f\common\folk_setGroupIDs.sqf

How to use

What players see in side chat

When players use side chat, their comments will be prefixed by the following strings:

GroupWhat is displayed in SideChat
CommanderXXXX CO
Deputy CommanderXXXX DC
Alpha FireteamXXXX Alpha FT
Bravo FireteamXXXX Bravo FT
Charlie FireteamXXXX Charlie FT
Delta FireteamXXXX Delta FT
Echo FireteamXXXX Echo FT
Fox FireteamXXXX Fox FT
Medium MG Team 1XXXX MMG1
Medium AT Team 1XXXX MAT1
Sniper Team 1XXXX ST1

The value of XXXX in the table above depends on the group's faction:

FactionValue of XXXX
USMCUSMC
CDFCDF
RURussian
INSChDKZ
GUENAPA

Tips

  • To edit the way this component works you'll need to learn how to use #define in scripts.

How to disable

Open the file init.sqf and look for the code segment entitled:

// F2 - Folk Group IDs

Edit the line below, adding // to the start:

[] execVM "f\common\folk_setGroupIDs.sqf";

Credits

  • Fer
Personal tools