Summary
Category tabs and pagination for the vanilla arsenal. Loads only the items on the current page, for fast arsenals with huge catalogs.
Description
TFO Arsenal Categories & Lazy Loading
Discord: https://discord.gg/wq4N8NwWfx
Website: https://taskforceorange.eu/
Large arsenals with hundreds of items can take a long time to open in vanilla Arma Reforger, because every item in the catalog is spawned as a preview and given a slot at once. This mod changes the arsenal so that it only loads what you are actually looking at.
FEATURES
- Category tabs: Rifles, Snipers, MGs, Pistols, Launchers, Mortars, Ammo, Attachments, Grenades, Smoke/Flash, Explosives, Headwear, Uniforms, Pants, Boots, Gloves, Vests, Backpacks, Radios, Medical, Equipment, Other, plus All.
- Smart tabs: only categories that the opened arsenal actually contains are shown. A weapons crate shows weapon tabs, an equipment crate shows gear tabs.
- Pagination with a clean pager bar (category, item range, page x / y).
- Lazy loading: item previews are only created for the page you open, not for the whole catalog.
- Background prefetch: the next page and the first page of every other tab are loaded in the background with a strict per-frame time budget, so browsing feels instant without frame drops.
- Cached catalog per arsenal: filtering is done once and reused, also when you reopen the arsenal.
- Modern, minimal UI that fits the vanilla inventory style.
COMPATIBILITY
- Works with vanilla arsenals and with modded arsenals/entity catalogs. Categories are based on the existing arsenal item types, so no catalog changes are needed.
- Uses modded classes only, no vanilla files are overwritten.
- Buying, refunding and supply costs still go through the vanilla arsenal logic. Nothing server-side is changed.
- Mods that completely replace the inventory arsenal UI may conflict.
CONFIGURATION (for modders / server owners)
Configs/TFO/TFO_ArsenalLazyLoading.conf:
- Categories: names, item types and modes per tab
- Grid size, max items per page, tabs per row
- Hide empty categories, background prefetch on/off, prefetch time budget per frame
- Debug logging for load times
Made by TFO.
License
Arma Public License (APL)