Folk Platoons

From F2 EN

Jump to: navigation, search

Contents

Description

The Folk Platoons preplaced infantry platoons. You may want to read About the Folk Platoon.

Required files

All the code associated with this component is found in:

  • init.sqf.folk
  • mission.sqm.folk

However, the pre-placed formations are designed to work with the following components (all of which must be enabled):

How to use

How groups are named

Each pre-placed group is pre-named using lines of code in each individual unit's Init: field. For example:

GrpGUE_CO = group this;

The reason this line is present in the Init field of every individual unit is so that regardless of whether one, some or all units are used in the mission, the group is always named GrpGUE_CO (if the line is only placed in the Init field of the group leader, the group will not be named unless the leader slot is used by a human player, which is not guaranteed).

Changing group compositions

You can of course change any group's composition by selecting an individual in the editor, double-clicking, and altering the value of the Unit drop-down. There are some important rules to remember when you are configuring the group and/or individuals:

  1. Try to change individual units by editing an existing individual, since this helps to preserve the contents of the Init line.
  2. If you accidentally remove an individual and replace it, or add a new one, ensure its Init field is the same as the other group members (e.g. GrpGUE_CO = group this;).

Platoon structures

All the platoons and attachments follow the same structural and naming conventions. Full details can be found in the tables below:

NAPA infantry platoon

GroupGroup NameUnit DescriptionsUnit NamesFolk Assign Gear Script Calls
NAPA CommanderGrpGUE_CO

NAPA Commander
NAPA Medic

UnitGUE_CO
UnitGUE_CO_M

nul = ["co",this] execVM "f\common\folk_assignGear.sqf";
nul = ["m",this] execVM "f\common\folk_assignGear.sqf";

NAPA Deputy CommanderGrpGUE_DC

NAPA Deputy Commander
NAPA Medic

UnitGUE_DC
UnitGUE_DC_M

nul = ["dc",this] execVM "f\common\folk_assignGear.sqf";
nul = ["m",this] execVM "f\common\folk_assignGear.sqf";

NAPA Alpha FireteamGrpGUE_Alpha

NAPA Alpha Fireteam Leader
NAPA Alpha Automatic Rifleman
NAPA Alpha Assistant Automatic Rifleman
NAPA Alpha Rifleman (RPG)

UnitGUE_Alpha_FTL
UnitGUE_Alpha_AR
UnitGUE_Alpha_AAR
UnitGUE_Alpha_RRPG

nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf";
nul = ["ar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["aar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["rrpg",this] execVM "f\common\folk_assignGear.sqf";

NAPA Bravo FireteamGrpGUE_Bravo

NAPA Bravo Fireteam Leader
NAPA Bravo Automatic Rifleman
NAPA Bravo Assistant Automatic Rifleman
NAPA Bravo Rifleman (RPG)

UnitGUE_Bravo_FTL
UnitGUE_Bravo_AR
UnitGUE_Bravo_AAR
UnitGUE_Bravo_RRPG

nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf";
nul = ["ar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["aar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["rrpg",this] execVM "f\common\folk_assignGear.sqf";

NAPA Charlie FireteamGrpGUE_Charlie

NAPA Charlie Fireteam Leader
NAPA Charlie Automatic Rifleman
NAPA Charlie Assistant Automatic Rifleman
NAPA Charlie Rifleman (RPG)

UnitGUE_Charlie_FTL
UnitGUE_Charlie_AR
UnitGUE_Charlie_AAR
UnitGUE_Charlie_RRPG

nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf";
nul = ["ar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["aar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["rrpg",this] execVM "f\common\folk_assignGear.sqf";

NAPA Delta FireteamGrpGUE_Delta

NAPA Delta Fireteam Leader
NAPA Delta Automatic Rifleman
NAPA Delta Assistant Automatic Rifleman
NAPA Delta Rifleman (RPG)

UnitGUE_Delta_FTL
UnitGUE_Delta_AR
UnitGUE_Delta_AAR
UnitGUE_Delta_RRPG

nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf";
nul = ["ar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["aar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["rrpg",this] execVM "f\common\folk_assignGear.sqf";

NAPA Echo FireteamGrpGUE_Echo

NAPA Echo Fireteam Leader
NAPA Echo Automatic Rifleman
NAPA Echo Assistant Automatic Rifleman
NAPA Echo Rifleman (RPG)

UnitGUE_Echo_FTL
UnitGUE_Echo_AR
UnitGUE_Echo_AAR
UnitGUE_Echo_RRPG

nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf";
nul = ["ar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["aar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["rrpg",this] execVM "f\common\folk_assignGear.sqf";

NAPA Fox FireteamGrpGUE_Fox

NAPA Fox Fireteam Leader
NAPA Fox Automatic Rifleman
NAPA Fox Assistant Automatic Rifleman
NAPA Fox Rifleman (RPG)

UnitGUE_Fox_FTL
UnitGUE_Fox_AR
UnitGUE_Fox_AAR
UnitGUE_Fox_RRPG

nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf";
nul = ["ar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["aar",this] execVM "f\common\folk_assignGear.sqf";
nul = ["rrpg",this] execVM "f\common\folk_assignGear.sqf";

N/AGrpGUE_JIP

This is a special group designed to work with the Folk JIP Reinforcement Options component.

NAPA attachments

GroupGroup NameUnit DescriptionsUnit NamesFolk Assign Gear Script Calls
NAPA Medium MG Team 1GrpGUE_MMG1

NAPA Medium MG Team 1 Gunner
NAPA Medium MG Team 1 Assistant Gunner

UnitGUE_MMG1_G
UnitGUE_MMG1_AG

nul = ["mmgg",this] execVM "f\common\folk_assignGear.sqf";
nul = ["mmgag",this] execVM "f\common\folk_assignGear.sqf";

NAPA Medium AT Team 1GrpGUE_MAT1

NAPA Medium AT Team 1 Gunner
NAPA Medium AT Team 1 Assistant Gunner

UnitGUE_MAT1_G
UnitGUE_MAT1_AG

nul = ["matg",this] execVM "f\common\folk_assignGear.sqf";
nul = ["matag",this] execVM "f\common\folk_assignGear.sqf";

NAPA Sniper Team 1GrpGUE_ST1

NAPA Sniper Team 1 Sniper
NAPA Sniper Team 1 Spotter

UnitGUE_ST1_SN
UnitGUE_ST1_SP

nul = ["sn",this] execVM "f\common\folk_assignGear.sqf";
nul = ["sp",this] execVM "f\common\folk_assignGear.sqf";

Tips

  • Cutting down on pre-placed units will reduce your mission file size, which has many benefits.
  • If you add new units to the existing platoons, be sure to check (and possibly modify) other related components to account for your changes.

Credits

  • Fer
Personal tools