Summary
Filters each faction's arsenal through one config file that any addon can override. No scripting needed.
Description
Controls which items appear in each faction's arsenal. All the rules sit in one config file, and any addon can override it, so servers and mod authors set their own lists without writing code.
HOW IT WORKS
Each faction gets an entry with a pool and a mode.
Pool:
- OWN_FACTION: the faction's own catalog
- ALL_FACTIONS: every item from every loaded faction, deduplicated
Mode:
- NONE: keep the whole pool
- ALLOWLIST: keep only the listed items
- DENYLIST: keep everything except the listed items
- EXTEND: keep the whole pool and add the listed items, taken from any faction
Example: US with OWN_FACTION + EXTEND and one civilian shirt listed gives the normal US arsenal plus that shirt. The same faction with ALL_FACTIONS + ALLOWLIST and the same list gives an arsenal holding nothing but that shirt.
A faction with no entry is never touched and behaves exactly as it does without the mod.
CONFIGURING IT
Create an addon, add Faction Arsenal Filter as a dependency, then right-click "Configs/FactionArsenalFilter/FAF_FilterConfig.conf" in the Resource Browser and choose "Override to <your addon>". Edit the entries there.
An override can add and edit entries, but it cannot remove them. That is why the three entries shipped here (US, USSR, FIA) do nothing: edit them to fit your server instead of trying to delete them.
NOTES
- Covers the ITEM catalog: weapons, clothing, attachments, magazines.
- Catalogs are rebuilt on the server/authority only.
License
Arma Public License (APL)