OA 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
- mission.sqm
However, the pre-placed formations are designed to work with the following components (all of which must be enabled):
- OA Folk Group IDs
- OA Folk Group Markers
- OA Folk Assign Gear Script
- OA Folk JIP Reinforcement Options
- OA Briefing Template
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:
US Army infantry platoon
| Group | Group Name | Unit Descriptions | Unit Names | OA Folk Assign Gear Script Calls |
|---|---|---|---|---|
| US Army Commander | GrpUS_CO |
US Army Commander |
UnitUS_CO |
nul = ["co",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Deputy Commander | GrpUS_DC |
US Army Deputy Commander |
UnitUS_DC |
nul = ["dc",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Alpha Fireteam | GrpUS_Alpha |
US Army Alpha Fireteam Leader |
UnitUS_Alpha_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Bravo Fireteam | GrpUS_Bravo |
US Army Bravo Fireteam Leader |
UnitUS_Bravo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Charlie Fireteam | GrpUS_Charlie |
US Army Charlie Fireteam Leader |
UnitUS_Charlie_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Delta Fireteam | GrpUS_Delta |
US Army Delta Fireteam Leader |
UnitUS_Delta_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Echo Fireteam | GrpUS_Echo |
US Army Echo Fireteam Leader |
UnitUS_Echo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Fox Fireteam | GrpUS_Fox |
US Army Fox Fireteam Leader |
UnitUS_Fox_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| N/A | GrpUS_JIP |
This is a special group designed to work with the OA Folk JIP Reinforcement Options component. | ||
US Army attachments
| Group | Group Name | Unit Descriptions | Unit Names | OA Folk Assign Gear Script Calls |
|---|---|---|---|---|
| US Army Medium MG Team 1 | GrpUS_MMG1 |
US Army Medium MG Team 1 Gunner |
UnitUS_MMG1_G |
nul = ["mmgg",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Medium AT Team 1 | GrpUS_MAT1 |
US Army Medium AT Team 1 Gunner |
UnitUS_MAT1_G |
nul = ["matg",this] execVM "f\common\folk_assignGear.sqf"; |
| US Army Sniper Team 1 | GrpUS_ST1 |
US Army Sniper Team 1 Sniper |
UnitUS_ST1_SN |
nul = ["sn",this] execVM "f\common\folk_assignGear.sqf"; |
Takistani Army infantry platoon
| Group | Group Name | Unit Descriptions | Unit Names | OA Folk Assign Gear Script Calls |
|---|---|---|---|---|
| Takistani Army Commander | GrpTK_CO |
TK Army Commander |
UnitTK_CO |
nul = ["co",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Deputy Commander | GrpTK_DC |
TK Army Deputy Commander |
UnitTK_DC |
nul = ["dc",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Alpha Fireteam | GrpTK_Alpha |
TK Army Alpha Fireteam Leader |
UnitTK_Alpha_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Bravo Fireteam | GrpTK_Bravo |
TK Army Bravo Fireteam Leader |
UnitTK_Bravo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Charlie Fireteam | GrpTK_Charlie |
TK Army Charlie Fireteam Leader |
UnitTK_Charlie_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Delta Fireteam | GrpTK_Delta |
TK Army Delta Fireteam Leader |
UnitTK_Delta_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Echo Fireteam | GrpTK_Echo |
TK Army Echo Fireteam Leader |
UnitTK_Echo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Fox Fireteam | GrpTK_Fox |
TK Army Fox Fireteam Leader |
UnitTK_Fox_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| N/A | GrpTK_JIP |
This is a special group designed to work with the OA Folk JIP Reinforcement Options component. | ||
Takistani Army attachments
| Group | Group Name | Unit Descriptions | Unit Names | OA Folk Assign Gear Script Calls |
|---|---|---|---|---|
| Takistani Army Medium MG Team 1 | GrpTK_MMG1 |
TK Army Medium MG Team 1 Gunner |
UnitTK_MMG1_G |
nul = ["mmgg",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Medium AT Team 1 | GrpTK_MAT1 |
TK Army Medium AT Team 1 Gunner |
UnitTK_MAT1_G |
nul = ["matg",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Army Sniper Team 1 | GrpTK_ST1 |
TK Army Sniper Team 1 Sniper |
UnitTK_ST1_SN |
nul = ["sn",this] execVM "f\common\folk_assignGear.sqf"; |
Takistani Locals (Independent) infantry platoon
| Group | Group Name | Unit Descriptions | Unit Names | OA Folk Assign Gear Script Calls |
|---|---|---|---|---|
| Takistani Local Commander | GrpGUE_CO |
TK Local Commander |
UnitGUE_CO |
nul = ["co",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Deputy Commander | GrpGUE_DC |
TK Local Deputy Commander |
UnitGUE_DC |
nul = ["dc",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Alpha Fireteam | GrpGUE_Alpha |
TK Local Alpha Fireteam Leader |
UnitGUE_Alpha_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Bravo Fireteam | GrpGUE_Bravo |
TK Local Bravo Fireteam Leader |
UnitGUE_Bravo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Charlie Fireteam | GrpGUE_Charlie |
TK Local Charlie Fireteam Leader |
UnitGUE_Charlie_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Delta Fireteam | GrpGUE_Delta |
TK Local Delta Fireteam Leader |
UnitGUE_Delta_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Echo Fireteam | GrpGUE_Echo |
TK Local Echo Fireteam Leader |
UnitGUE_Echo_FTL |
nul = ["ftl",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Fox Fireteam | GrpGUE_Fox |
TK Local 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 OA Folk JIP Reinforcement Options component. | ||
Takistani Locals (Independent) attachments
| Group | Group Name | Unit Descriptions | Unit Names | OA Folk Assign Gear Script Calls |
|---|---|---|---|---|
| Takistani Local Medium MG Team 1 | GrpGUE_MMG1 |
TK Local Medium MG Team 1 Gunner |
UnitGUE_MMG1_G |
nul = ["mmgg",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Medium AT Team 1 | GrpGUE_MAT1 |
TK Local Medium AT Team 1 Gunner |
UnitGUE_MAT1_G |
nul = ["matg",this] execVM "f\common\folk_assignGear.sqf"; |
| Takistani Local Sniper Team 1 | GrpGUE_ST1 |
TK Local 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
- Tigershark
- Fer
