Folk Platoons
From F2 EN
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:
- Try to change individual units by editing an existing individual, since this helps to preserve the contents of the Init line.
- 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
| Group | Group Name | Unit Descriptions | Unit Names | Folk Assign Gear Script Calls |
|---|---|---|---|---|
| NAPA Commander | GrpGUE_CO |
NAPA Commander |
UnitGUE_CO |
nul = ["co",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Deputy Commander | GrpGUE_DC |
NAPA Deputy Commander |
UnitGUE_DC |
nul = ["dc",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Alpha Fireteam | GrpGUE_Alpha |
NAPA Alpha Fireteam Leader |
UnitGUE_Alpha_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Bravo Fireteam | GrpGUE_Bravo |
NAPA Bravo Fireteam Leader |
UnitGUE_Bravo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Charlie Fireteam | GrpGUE_Charlie |
NAPA Charlie Fireteam Leader |
UnitGUE_Charlie_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Delta Fireteam | GrpGUE_Delta |
NAPA Delta Fireteam Leader |
UnitGUE_Delta_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Echo Fireteam | GrpGUE_Echo |
NAPA Echo Fireteam Leader |
UnitGUE_Echo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Fox Fireteam | GrpGUE_Fox |
NAPA Fox Fireteam Leader |
UnitGUE_Fox_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| N/A | GrpGUE_JIP |
This is a special group designed to work with the Folk JIP Reinforcement Options component. | ||
NAPA attachments
| Group | Group Name | Unit Descriptions | Unit Names | Folk Assign Gear Script Calls |
|---|---|---|---|---|
| NAPA Medium MG Team 1 | GrpGUE_MMG1 |
NAPA Medium MG Team 1 Gunner |
UnitGUE_MMG1_G |
nul = ["mmgg",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Medium AT Team 1 | GrpGUE_MAT1 |
NAPA Medium AT Team 1 Gunner |
UnitGUE_MAT1_G |
nul = ["matg",this] execVM "f\common\folk_assignGear.sqf"; |
| NAPA Sniper Team 1 | GrpGUE_ST1 |
NAPA Sniper Team 1 Sniper |
UnitGUE_ST1_SN |
nul = ["sn",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
