Faction addons
Warning
This mechanism is intended to side-load additional content to factions included in other mods. If you are integrating a faction addon, the content should be defined within the faction config directly. See modding factions.
Faction addons allow to add or remove vehicles and items to specific factions. You can specify multiple faction keys literally to target specific factions (i.e. AFRF), regardless of their FF role (enemy, supporting faction, etc.). You can also target faction roles, for example selecting AMBIENT will cause the prefabs to be added to whatever faction is currently used in the civilians role. You can target multiple roles at once, multiple faction keys, or any mix of those.
In the example below, this is used to add food and drink items, which are not faction specific, but should be always available in civilian stores.
Adding items and vehicles not only makes them appear in relevant shops and stores, but also affects the undercover and appearance mechanics. Loadout items added to the civilian faction will not make you appear as a combatant, and items added to the enemy faction will allow you to go undercover.
Info
Faction addons do not modify actual base game entity catalogs. Assignments configured here apply only to the logic within Freedom Fighters, and do not affect which assets are visible in the Game Master, or their faction affiliations on the entity level.
