
All of the obtuse nature of this is because of limitations with Arma 3's Mission Parameter framework. ,\ // Either one can spawn for a Heavy car ,\ // Either one can spawn for a Light car "B_Heli_Attack_01_dynamicLoadout_F",\ // Attack HelicopterĪlternate Syntax ( SEE NOTE 4) for having multiple vehicle classes for a vehicle type section #define MY_FACTION_UNITS \ "B_T_VTOL_01_vehicle_F",\ // Cargo Aircraft
"B_Heli_Transport_01_F",\ // Transport Helicopter "B_APC_Wheeled_01_cannon_F",\ // Light Armor
I'm going to add a complete list to my vehicle array. Read note 3 to understand the array context. Start by adding an array within the table:. If you want no vehicles at all, just don't even add a vehicle array to the faction table. If you do want a vehicle to be undefined and revert to vanilla, use "" in its place in the vehicle array. Any support that uses vehicles will default to vanilla vehicles most of the time if a problem is encountered such as a vehicle being undefined. It is important to note that these vehicles are optional. Now add your infantry classnames to the list (don't forget "" marks, SEE NOTE 2):Īdding Vehicles To Your Table (OPTIONAL):. Then create an array for it as seen below: Begin by thinking of a name for your table to be used with #define SEE NOTE 1. Ideally, this file you just created is where you should place all the faction tables for the specific addon you want to support. Mine will be #include "MyFaction Unit Table.hpp"
In the Master Unit Table.hpp file, put a #include with the filename that you just created. I will refer to my file as MyFaction Unit Table.hpp. This is where you will put the information for the faction. h) file in Headers\Faction Headers\Unit Tables folder. In this hypothetical, the faction I am adding will be called MyFaction.Ĭreate a header (.hpp or.
Headers\Faction Headers\Define Factions.hpp. Headers\Faction Headers\Unit Tables\Master Unit Table.hpp. This will apply to any version below 0.8 you can still reuse any factions made in this format for the newer version, just need to copy-paste a bit.