1. Create a folder addon named myAddon with config.cpp with the following contents:
class CfgPatches
{
class testConfig
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
version = "1.0";
};
};
class CfgFactionClasses
{
class TestFaction
{
flag = "\myAddon\testIcon.tga";
icon = "\myAddon\testIcon.tga";
displayName = "Test Faction";
primarylanguage = "EN";
priority = 100;
side = 0;
};
};
2. Add a TGA image called testIcon to the myAddon folder.
3. Open Addon Builder and build the MyAddon add-on.