CO Folk ARPS Platoons

From F2 EN
Jump to: navigation, search

Description

The Folk Platoons preplaced infantry platoons. You may want to read About the Folk ARPS 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):

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:

Infantry platoon

GroupGroup NameUnit DescriptionsUnit NamesCO Folk ARPS Assign Gear Script Calls
CommanderGrpXX_CO

Commander
Medic

UnitXX_CO
UnitXX_CO_M

nul = ["co",this] call f_fnc_assignGear;
nul = ["m",this] call f_fnc_assignGear;

Deputy CommanderGrpXX_DC

Deputy Commander
Medic

UnitXX_DC
UnitXX_DC_M

nul = ["dc",this] call f_fnc_assignGear;
nul = ["m",this] call f_fnc_assignGear;

Alpha Squad LeaderGrpXX_ASL

Alpha Squad Leader
Alpha Medic

UnitXX_ASL_SL
UnitXX_ASL_M

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["m",this] call f_fnc_assignGear;

Alpha 1 FireteamGrpXX_A1

Alpha 1 Fireteam Leader
Alpha 1 Automatic Rifleman
Alpha 1 Assistant Automatic Rifleman
Alpha 1 Rifleman (AT) / (RPG)

UnitXX_A1_FTL
UnitXX_A1_AR
UnitXX_A1_AAR
UnitXX_A1_AT / UnitXX_A1_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Alpha 2 FireteamGrpXX_A2

Alpha 2 Fireteam Leader
Alpha 2 Automatic Rifleman
Alpha 2 Assistant Automatic Rifleman
Alpha 2 Rifleman (AT) / (RPG)

UnitXX_A2_FTL
UnitXX_A2_AR
UnitXX_A2_AAR
UnitXX_A2_AT / UnitXX_A2_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Alpha 3 FireteamGrpXX_A3

Alpha 3 Fireteam Leader
Alpha 3 Automatic Rifleman
Alpha 3 Assistant Automatic Rifleman
Alpha 3 Rifleman (AT) / (RPG)

UnitXX_A3_FTL
UnitXX_A3_AR
UnitXX_A3_AAR
UnitXX_A3_AT / UnitXX_A3_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Bravo Squad LeaderGrpXX_BSL

Bravo Squad Leader
Bravo Medic

UnitXX_BSL_SL
UnitXX_BSL_M

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["m",this] call f_fnc_assignGear;

Bravo 1 FireteamGrpXX_B1

Bravo 1 Fireteam Leader
Bravo 1 Automatic Rifleman
Bravo 1 Assistant Automatic Rifleman
Bravo 1 Rifleman (AT) / (RPG)

UnitXX_B1_FTL
UnitXX_B1_AR
UnitXX_B1_AAR
UnitXX_B1_AT / UnitXX_B1_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Bravo 2 FireteamGrpXX_B2

Bravo 2 Fireteam Leader
Bravo 2 Automatic Rifleman
Bravo 2 Assistant Automatic Rifleman
Bravo 2 Rifleman (AT) / (RPG)

UnitXX_B2_FTL
UnitXX_B2_AR
UnitXX_B2_AAR
UnitXX_B2_AT / UnitXX_B2_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Bravo 3 FireteamGrpXX_B3

Bravo 3 Fireteam Leader
Bravo 3 Automatic Rifleman
Bravo 3 Assistant Automatic Rifleman
Bravo 3 Rifleman (AT) / (RPG)

UnitXX_B3_FTL
UnitXX_B3_AR
UnitXX_B3_AAR
UnitXX_B3_AT / UnitXX_B3_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Charlie Squad LeaderGrpXX_CSL

Charlie Squad Leader
Charlie Medic

UnitXX_CSL_SL
UnitXX_CSL_M

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["m",this] call f_fnc_assignGear;

Charlie 1 FireteamGrpXX_C1

Charlie 1 Fireteam Leader
Charlie 1 Automatic Rifleman
Charlie 1 Assistant Automatic Rifleman
Charlie 1 Rifleman (AT) / (RPG)

UnitXX_C1_FTL
UnitXX_C1_AR
UnitXX_C1_AAR
UnitXX_C1_AT / UnitXX_C1_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Charlie 2 FireteamGrpXX_C2

Charlie 2 Fireteam Leader
Charlie 2 Automatic Rifleman
Charlie 2 Assistant Automatic Rifleman
Charlie 2 Rifleman (AT) / (RPG)

UnitXX_C2_FTL
UnitXX_C2_AR
UnitXX_C2_AAR
UnitXX_C2_AT / UnitXX_C2_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

Charlie 3 FireteamGrpXX_C3

Charlie 3 Fireteam Leader
Charlie 3 Automatic Rifleman
Charlie 3 Assistant Automatic Rifleman
Charlie 3 Rifleman (AT) / (RPG)

UnitXX_C3_FTL
UnitXX_C3_AR
UnitXX_C3_AAR
UnitXX_C3_AT / UnitXX_C3_RRPG

nul = ["ftl",this] call f_fnc_assignGear;
nul = ["ar",this] call f_fnc_assignGear;
nul = ["aar",this] call f_fnc_assignGear;
nul = ["rat",this] call f_fnc_assignGear;

N/AGrpXX_JIP

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


Attachments

GroupGroup NameUnit DescriptionsUnit NamesCO Folk ARPS Assign Gear Script Calls
Medium MG Team 1GrpXX_MMG1

Medium MG Team 1 Gunner
Medium MG Team 1 Assistant Gunner

UnitXX_MMG1_G
UnitXX_MMG1_AG

nul = ["mmgg",this] call f_fnc_assignGear;
nul = ["mmgag",this] call f_fnc_assignGear;

Heavy MG Team 1GrpXX_HMG1

Heavy MG Team 1 Gunner
Heavy MG Team 1 Assistant Gunner

UnitXX_HMG1_G
UnitXX_HMG1_AG

nul = ["hmgg",this] call f_fnc_assignGear;
nul = ["hmgag",this] call f_fnc_assignGear;

Medium AT Team 1GrpXX_MAT1

Medium AT Team 1 Gunner
Medium AT Team 1 Assistant Gunner

UnitXX_MAT1_G
UnitXX_MAT1_AG

nul = ["matg",this] call f_fnc_assignGear;
nul = ["matag",this] call f_fnc_assignGear;

Heavy AT Team 1GrpXX_HAT1

Heavy AT Team 1 Gunner
Heavy AT Team 1 Assistant Gunner

UnitXX_HAT1_G
UnitXX_HAT1_AG

nul = ["hatg",this] call f_fnc_assignGear;
nul = ["hatag",this] call f_fnc_assignGear;

SAM Team 1GrpXX_SAM1

SAM Team 1 Gunner
SAM Team 1 Assistant Gunner

UnitXX_SAM1_G
UnitXX_SAM1_AG

nul = ["samg",this] call f_fnc_assignGear;
nul = ["samag",this] call f_fnc_assignGear;

Mortar Team 1GrpXX_MTR1

Mortar Team 1 Gunner
Mortar Team 1 Assistant Gunner

UnitXX_MTR1_G
UnitXX_MTR1_AG

nul = ["mtrg",this] call f_fnc_assignGear;
nul = ["mtrag",this] call f_fnc_assignGear;

Engineer Team 1GrpXX_ENG1

Engineer Team 1 Leader
Engineer Team 1 Assistant

UnitXX_ENG1_FTL
UnitXX_ENG1_A

nul = ["eng",this] call f_fnc_assignGear;
nul = ["eng",this] call f_fnc_assignGear;

Sniper Team 1GrpXX_ST1

Sniper Team 1 Sniper
Sniper Team 1 Spotter

UnitXX_ST1_SN
UnitXX_ST1_SP

nul = ["sn",this] call f_fnc_assignGear;
nul = ["sp",this] call f_fnc_assignGear;

Vehicle crews

GroupGroup NameUnit DescriptionsUnit NamesCO Folk ARPS Assign Gear Script Calls
Infantry Fighting Vehicle 1GrpXX_IFV1

Infantry Fighting Vehicle 1 Commander
Infantry Fighting Vehicle 1 Driver
Infantry Fighting Vehicle 1 Gunner

UnitXX_IFV1_C
UnitXX_IFV1_D
UnitXX_IFV1_G

nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;

Infantry Fighting Vehicle 2GrpXX_IFV2

Infantry Fighting Vehicle 2 Commander
Infantry Fighting Vehicle 2 Driver
Infantry Fighting Vehicle 2 Gunner

UnitXX_IFV2_C
UnitXX_IFV2_D
UnitXX_IFV2_G

nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;

Infantry Fighting Vehicle 3GrpXX_IFV3

Infantry Fighting Vehicle 3 Commander
Infantry Fighting Vehicle 3 Driver
Infantry Fighting Vehicle 3 Gunner

UnitXX_IFV3_C
UnitXX_IFV3_D
UnitXX_IFV3_G

nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;

Tank 1GrpXX_TNK1

Tank 1 Commander
Tank 1 Driver
Tank 1 Gunner

UnitXX_TNK1_C
UnitXX_TNK1_D
UnitXX_TNK1_G

nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;
nul = ["c",this] call f_fnc_assignGear;

Transport Helo 1GrpXX_TH1

Transport Helo 1 Pilot
Transport Helo 1 Crewman

UnitXX_TH2_P
UnitXX_TH2_CM

nul = ["p",this] call f_fnc_assignGear;
nul = ["p",this] call f_fnc_assignGear;

Transport Helo 2GrpXX_TH2

Transport Helo 2 Pilot
Transport Helo 2 Crewman

UnitXX_TH1_P
UnitXX_TH1_CM

nul = ["p",this] call f_fnc_assignGear;
nul = ["p",this] call f_fnc_assignGear;

Attack Helo 1GrpXX_AH1

Attack Helo 1 Pilot
Attack Helo 1 Crewman

UnitXX_AH2_P
UnitXX_AH2_CM

nul = ["p",this] call f_fnc_assignGear;
nul = ["p",this] call f_fnc_assignGear;


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

FactionValue of XX
British Armed ForcesBAF
CDFCDF
ChDKZA2Ins
NAPAA2Gue
RussiaRU
Takistani ArmyTK
Takistani MilitiaIns
Takistani Locals (Independent)Gue
UNUN
US ArmyUS
US Marine CorpsUSMC


Exchange units

For some factions certain unit types are not available in the game (e.g. the UN faction does not have medics). In these cases 'exchange' units have been used (from factions on the same side). Exchange units are always labelled, but by default have the following issues:

  • Players in exchange unit roles will not see markers for their platoon
  • Players in exchange unit roles will not see the briefing for their platoon

Note: You can address both issues by editing the CO Folk ARPS Group Markers and CO Briefing Template components.

Pre-placed vehicles

Each faction has pre-placed vehicles. For crewed vehicles (e.g. IFVs) the crew-members start inside their respective vehicles.

FactionIFVTankHelo (Transport)Helo (Attack)Transport
British Armed ForcesWarrior 2 (x3)M1A1 (x1)Merlin (x2)Apache AH1(x1)Off-road (x5)
MTVR (x3)
CDFBMP-2 (x3)T-72 (x1)Mi-17 (x2)Mi-24D (x1)UAZ (x5)
Ural (open) (x3)
ChDKZBMP-2 (x3)T-72 (x1)Mi-8MT (x2)Mi-24D (x1)UAZ (x5)
Ural (open) (x3)
NAPABMP-2 (x3)T-72 (x1)Mi-17 (x2)Ka-60 (x1)UAZ (x5)
VS3 (x3)
RussiaBMP-3 (x3)T-72 (x1)Mi-8MTV-3 (x2)Mi-24P (x1)UAZ (x5)
Utility truck (x3)
Takistani ArmyBMP-2 (x3)T-72 (x1)Mi-8 (x2)Mi-24D (x1)UAZ (x5)
V3S (open) (x3)
Takistani MilitiaBRDM-2 (x3)T-55 (x1)Mi-8 (x2)Mi-24D (x1)BTR-40 (x5)
V3S (open) (x3)
Takistani Locals (Independent)BRDM-2 (x3)T-55 (x1)UH-1H (x2)Ka-60 (M32) (x1)BTR-40 (x5)
V3S (open) (x3)
UNBMP-2 (x3)T-72 (x1)Mi-8 (x2)Ka-60 (M32) (x1)UAZ (x5)
Ural (open) (x3)
US ArmyM2A2 Bradley (x3)M1A1 (x1)CH-47F (x2)AH-64D (x1)HMMWV (x5)
MTVR (x3)
US Marine CorpsLAV-25 (x3)M1A2 TUSK (x1)MH-60S (x2)AH-1Z (x1)HMMWV (x5)
MTVR (x3)


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
  • Nullkigan
  • Harakka
  • Fer
  • Wolfenswan