-
Notifications
You must be signed in to change notification settings - Fork 0
Default Gear Template Content Catalog
Source-verified 2026-06-21 against master 0139a346. Paths relative to Missions/[55-2hc]warfarev2_073v48co.chernarus/ unless noted. Arma 2 OA 1.64.
This page catalogs the shipped Template tab seed content for the buy-gear menu. It is not a weapon-price catalog and it is not the player profile-template bug tracker; the weapon and magazine registries live in the loadout files plus Config_Weapons.sqf / Config_Magazines.sqf, while the profile-template defects stay on Gear template profile filter (Common/Config/readme.txt:34-42).
The important source fact: current master ships one empty predefined template row in every Common/Config/Loadout/Loadout_*.sqf file. There are no prebuilt rifleman, AT, sniper, medic or backpack kit templates in the checked Chernarus source; the complete loadout-file table below cites all ten seed blocks (Common/Config/Loadout/Loadout_BAF.sqf:83-86; Common/Config/Loadout/Loadout_CDF.sqf:80-82; Common/Config/Loadout/Loadout_GUE.sqf:80-83; Common/Config/Loadout/Loadout_INS.sqf:80-83; Common/Config/Loadout/Loadout_PMC.sqf:152-155; Common/Config/Loadout/Loadout_RU.sqf:113-116; Common/Config/Loadout/Loadout_TKA.sqf:135-138; Common/Config/Loadout/Loadout_TKGUE.sqf:118-121; Common/Config/Loadout/Loadout_US.sqf:139-142; Common/Config/Loadout/Loadout_USMC.sqf:106-110).
| Runtime step | Source-backed behavior |
|---|---|
| Loadout files define Template-tab seed arrays. | The config readme says loadout files define gear-menu loadouts and templates, and Config_SetTemplates.sqf consumes those template arrays (Common/Config/readme.txt:34-42). |
| Only one template block per side is used by default. |
_skiponexist defaults to true, and the compiler exits if WFBE_%1_Template already exists (Common/Config/Config_SetTemplates.sqf:11-17). |
The compiler initializes each template with no picture, no label, price 0, and upgrade level 0. |
_u_picture, _u_label, _u_price, and _u_upgrade are initialized before item scans (Common/Config/Config_SetTemplates.sqf:25-31). |
The stored template layout is [picture, label, price, upgrade, weapons, magazines, backpackContent]. |
Fields 0 through 6 are written in that order (Common/Config/Config_SetTemplates.sqf:113-119). |
The template array is stored as WFBE_%SIDE_Template. |
New arrays are set or existing arrays are appended at the end of Config_SetTemplates.sqf (Common/Config/Config_SetTemplates.sqf:128-132). |
The buy-gear menu reads WFBE_%SIDE_Template when the selected tab is Template. |
GUI_BuyGearMenu.sqf defines the tab labels and fills tab 0 from WFBE_%1_Template (Client/GUI/GUI_BuyGearMenu.sqf:8-12,122-130). |
| Visible template rows are gated by current Gear upgrade level. |
Client_UI_Gear_FillTemplates.sqf reads side upgrades and displays a template only when stored field 3 is <= WFBE_UP_GEAR (Client/Functions/Client_UI_Gear_FillTemplates.sqf:12-22). |
| Selecting a template loads stored weapons, magazine/count pairs and backpack content. | The menu reads fields 4, 5, and 6; magazine/count pairs are expanded by Client_UI_Gear_ParseTemplateContent.sqf (Client/GUI/GUI_BuyGearMenu.sqf:296-310; Client/Functions/Client_UI_Gear_ParseTemplateContent.sqf:10-17). |
WF_A2_CombinedOps starts false and is set true only when the COMBINEDOPS macro is defined (initJIPCompatible.sqf:105-108). IS_chernarus_map_dependent follows the IS_CHERNARUS_MAP_DEPENDENT macro (initJIPCompatible.sqf:115-117). In that Chernarus Combined Operations branch, faction arrays select WEST index 2 (USMC), EAST index 1 (RU) and GUER index 0 (GUE) (Common/Init/Init_CommonConstants.sqf:613-621). Those indices are resolved into _grpWest, _grpEast, and _grpRes; the imported roots on Chernarus are _grpRes for resistance, _team_west = 'US_Camo', and _team_east = 'RU' (Common/Init/Init_Common.sqf:265-302).
| Side route | Root and loadout calls | Template effect |
|---|---|---|
| WEST gear menu route |
Init_Common.sqf uses _team_west = 'US_Camo' on Chernarus, then imports Root_US_Camo.sqf (Common/Init/Init_Common.sqf:265-267,299-302). Root_US_Camo.sqf calls Loadout_US.sqf, Loadout_USMC.sqf, then Loadout_BAF.sqf on local clients (Common/Config/Core_Root/Root_US_Camo.sqf:129-137). |
Loadout_US.sqf is first and sets the empty template seed; later USMC/BAF template blocks hit the default skip-on-existing path unless called with the third false parameter (Common/Config/Loadout/Loadout_US.sqf:139-142; Common/Config/Config_SetTemplates.sqf:11-17; Common/Config/readme.txt:40-42). |
| EAST gear menu route |
Init_Common.sqf uses _team_east = 'RU' on Chernarus and imports that root (Common/Init/Init_Common.sqf:265-267,299-302). Root_RU.sqf calls Loadout_RU.sqf, then Loadout_TKA.sqf when WF_A2_CombinedOps is true (Common/Config/Core_Root/Root_RU.sqf:126-135). |
Loadout_RU.sqf is first and sets the empty template seed; the optional TKA block is also an empty seed and is skipped by default after RU creates WFBE_%SIDE_Template (Common/Config/Loadout/Loadout_RU.sqf:113-116; Common/Config/Loadout/Loadout_TKA.sqf:135-138; Common/Config/Config_SetTemplates.sqf:11-17). |
| GUER/resistance gear menu route |
Init_Common.sqf resolves _grpRes from the GUER faction array and imports Root_GUE.sqf for Chernarus (Common/Init/Init_CommonConstants.sqf:613-621; Common/Init/Init_Common.sqf:273-302). Root_GUE.sqf calls Loadout_GUE.sqf, then Loadout_TKGUE.sqf when WF_A2_CombinedOps is true (Common/Config/Core_Root/Root_GUE.sqf:116-126). |
Loadout_GUE.sqf is first and sets the empty template seed; the optional TKGUE block is also an empty seed and is skipped by default after GUE creates WFBE_%SIDE_Template (Common/Config/Loadout/Loadout_GUE.sqf:80-83; Common/Config/Loadout/Loadout_TKGUE.sqf:118-121; Common/Config/Config_SetTemplates.sqf:11-17). |
Each row below is the complete predefined template content for that loadout file. [[[],[[],[]]]] means: an empty weapon array, an empty magazine classname array and an empty magazine-count array. Because no third element is supplied, Config_SetTemplates.sqf defaults backpack content to [] (Common/Config/Config_SetTemplates.sqf:21-23).
| Loadout file | Template seed | Compiler call | Source |
|---|---|---|---|
Loadout_BAF.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_BAF.sqf:83-86 |
Loadout_CDF.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_CDF.sqf:80-82 |
Loadout_GUE.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_GUE.sqf:80-83 |
Loadout_INS.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_INS.sqf:80-83 |
Loadout_PMC.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_PMC.sqf:152-155 |
Loadout_RU.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_RU.sqf:113-116 |
Loadout_TKA.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_TKA.sqf:135-138 |
Loadout_TKGUE.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_TKGUE.sqf:118-121 |
Loadout_US.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_US.sqf:139-142 |
Loadout_USMC.sqf |
[[[],[[],[]]]] |
[_u, _side] Call Compile preprocessFile "Common\Config\Config_SetTemplates.sqf" |
Common/Config/Loadout/Loadout_USMC.sqf:106-110 |
For the shipped seed rows above, the compiler sees no weapons, no magazines and no backpack element. The resulting predefined template therefore remains:
| Stored field | Derived value | Source |
|---|---|---|
0 picture |
"" |
Common/Config/Config_SetTemplates.sqf:29,113 |
1 label |
"" |
Common/Config/Config_SetTemplates.sqf:28,114 |
2 price |
0 |
Common/Config/Config_SetTemplates.sqf:27,115 |
3 upgrade level |
0 |
Common/Config/Config_SetTemplates.sqf:26,116 |
4 weapons |
[] |
Seed rows in all loadout files; compiler writes _u_weap to field 4 (Common/Config/Config_SetTemplates.sqf:21,117). |
5 magazines/counts |
[[],[]] |
Seed rows in all loadout files; compiler writes [_mags,_counts] to field 5 (Common/Config/Config_SetTemplates.sqf:22,54-73,118). |
6 backpack content |
[] |
No seed row supplies a third element, so _u_back defaults to [] and field 6 stores _u_back (Common/Config/Config_SetTemplates.sqf:23,119). |
This means the default Template tab can have a visible zero-cost blank row if its empty label is rendered, because the list row formats field 2 as price text and field 1 as the visible label (Client/Functions/Client_UI_Gear_FillTemplates.sqf:17-18). Meaningful player-created templates are added later by the UI path and saved through profile logic (Client/GUI/GUI_BuyGearMenu.sqf:469-524; Client/Functions/Client_UI_Gear_AddTemplate.sqf:145-147; Client/Functions/Client_UI_Gear_SaveTemplateProfile.sqf:9,103-104).
| Surface | What it is | Source |
|---|---|---|
| Gear item catalog | Weapon, magazine and backpack class pools used by the buy-gear menu. |
Common/Config/readme.txt:34-39; Common/Config/Config_Weapons.sqf:34-42; Common/Config/Config_Magazines.sqf:24-32; Common/Config/Config_Backpack.sqf:24-65
|
| Soldier default gear | Default spawn/AI role loadout records under WFBE_%SIDE_DefaultGear and WFBE_%SIDE_AI_Loadout_*. |
Common/Config/Core_Root/Root_US_Camo.sqf:92-126, Common/Config/Core_Root/Root_US_Camo.sqf:140-145; Common/Config/Core_Root/Root_RU.sqf:89-123, Common/Config/Core_Root/Root_RU.sqf:138-143; Common/Config/Core_Root/Root_GUE.sqf:79-113, Common/Config/Core_Root/Root_GUE.sqf:135-139
|
| Player-created templates | Runtime templates created from the current gear selection and saved to profile namespace. |
Client/GUI/GUI_BuyGearMenu.sqf:469-524; Client/Functions/Client_UI_Gear_AddTemplate.sqf:145-147; Client/Functions/Client_UI_Gear_SaveTemplateProfile.sqf:9,103-104
|
Home | Agent Guide | Current live state | Release 1.2.2 (B91) | Quickstart | Progress | Lifecycle wait-chain | Join/disconnect | Parameters/build | Assets/config | SQF atlas | PV index | Modules | Support/specials | Commander/HQ | Commander vote/reassign | Construction/CoIn | Construction cleanup | WDDM compositions | Factory/purchase | Upgrades/research | Towns/camps/capture | Victory/endgame | Markers/cleanup | Server runtime | AI runtime/HC | AI commander audit | HC delegation | Town AI safety | Commander reassignment | Resistance supply | Player UI workflow | UI atlas | Respawn/death | Gear template filter | Vehicle cargo loop | Service guards | UI IDD repair | UI design inspiration | WASP overlay | Feature status | Source propagation | release readiness | Tooling readiness | Integration trust | AntiStack DB | Owner decisions | Shelved registry | Abandoned feature revival | Hardening roadmap | PVF dispatch | Server authority | ICBM authority | Attack-wave authority | Telemetry families | AICOM V2 cutover | Consumer port map | Testing workflow | Server ops | Web tools | Ecosystem repos | Arma 2 OA refs | A2 traps | OA compatibility audit | Coverage ledger | Navigation inventory | Pruning ledger | Knowledge roadmap | Agent context | Collab protocol | Worklog | Audit archive 2026-07 | Briefing reference | Utes invasion concept
- Shelved AICOM concepts - revivable someday ideas (owner-shelved 2026-07-03)
Docs rule: source-backed claims only; Arma 2 OA scripting docs only; gameplay edits start in Missions/[55-2hc]warfarev2_073v48co.chernarus.
- Getting started
- Status and coordination
- Agent context
- Agent collaboration protocol
- Agent worklog
- Agent worklog archive
- Progress dashboard
- PR cleanup and integration lab
- Shelved PR #169: gear price double-count
- Shelved PR #194: Chernarus no-trees
- Coordination board
- Codebase coverage ledger
- Bottleneck removal queue
- Current source status
- Wiki mirror reconciliation
- Navigation inventory
- Registers
- Agent orchestration
- Architecture
- Architecture overview
- Mission entrypoints and lifecycle
- Lifecycle wait chain
- Player join/disconnect and AntiStack lifecycle
- Mission parameters/localization/build inputs
- Stringtable localization key-family catalog
- Source inventory
- Content structure and maps
- Assets/config/localization/parameters
- Mission start parameters index
- Code and networking
- Gameplay systems
- Core systems index
- Gameplay systems atlas
- Commander/HQ lifecycle atlas
- Economy, towns and supply
- Economy system reference
- Balance asymmetries
- Anti-stack skill-balance mechanic
- Empty-side supply income stagnation
- Towns, camps and capture atlas
- Victory and endgame atlas
- Victory conditions reference
- Territorial victory reference
- Marker cleanup and restoration
- Marker loop engine and registries
- Map marker families content catalog
- Marker subsystem function reference
- Client marker FSM updater map
- Support specials and tactical modules
- SCUD TEL tactical munitions
- Naval HVT objectives (carriers/SCUD)
- SCUD saturation strike mechanic
- Takistan airfield FPV drone design
- Construction and CoIn systems
- Structure damage reduction & friendly-fire
- Construction logic list cleanup
- Flak tower & WDDM anchor compositions
- Resistance supply scaffold
- GUER Insurgents faction overview
- GUER Insurgents branch audit
- GUER insurgent player economy
- GUER Commissar Panel
- GUER air-defense loop (Ka-137/Mi-24)
- Upgrades and research atlas
- Supply mission architecture
- Supply mission authority cleanup
- Current supply helicopters PR1
- Respawn and death-loop lifecycle
- Vehicle theft economy pitch
- GUER tunnel network pitch
- Content, reference and catalogs
- Faction unit/vehicle roster catalog
- Auxiliary/SF/civilian unit catalog
- Gear store loadout route catalog
- Upgrade research (cross-faction)
- Gear store price and upgrade catalog
- Gear store catalog (complete, per faction)
- Defense structures catalog
- Artillery reference per faction
- AI squad team templates catalog
- Town AI lifecycle reference
- Town AI group composition catalog
- Class-skill system reference
- Player skill abilities reference
- Default gear template content catalog
- Chernarus map content reference
- Takistan map content reference
- Takistan features
- Takistan parity reference
- Takistan oilfields objective reference
- IRS IR-smoke countermeasure
- Arty module special munitions
- Zeta cargo sling-load reference
- Spawn primitive function reference
- Kill and score pipeline
- Waypoint helper function reference
- Position and proximity function reference
- Side/team state function reference
- Player AI watchdog and recovery
- AICOM stuck-recovery v2
- LoadoutManager data-model contributor guide
- Discord status bot setup and reference
- GLOBALGAMESTATS extension reference
- New player quickstart (player guide)
- Optional client mods (player guide)
- Earning funds and score (player guide)
- Vehicle service and logistics (player guide)
- Commander's handbook (player guide)
- Tactical support menu
- Paradrop player experience
- Supply missions (player guide)
- In-game briefing & Diary field manual
- Playable maps catalog
- Faction root variables reference
- Faction base structures catalog
- Counter-battery radar system
- Bank, Reserve and Artillery Radar structures
- Map ruleset model and object config
- Countermeasures module reference
- Vehicle countermeasure (flares/spoofing)
- UAV terminal and spotter system
- Artillery firing function reference
- Service Point pricing model
- Medic redeployment truck (forward spawn)
- Side-patrol runtime and convoy mechanics
- Day/night cycle and weather system
- Config lookup helper reference
- CIPHER sort utilities reference
- Modded maps status and content
- BattlEye filter setup and OA taxonomy
- Player squad/group join protocol
- AutoFlip vehicle recovery
- Engine stealth fuel toggle
- Valhalla vehicle climbing-assist
- Missile and ordnance Fired-EH reference
- Vehicle equip and rearm reference
- Array and collection utilities
- Server composition spawner reference
- Upgrade queue server loop
- Map boundaries and off-map enforcement
- Namespace/profile/diagnostic utilities
- Group bool getVariable A2-OA trap
- Vehicle weapon balance init
- View distance auto-throttle
- Camp & respawn-camp getters
- Performance audit writer
- Site clearance (bulldozer)
- Factory queue cancel & refund
- AI commander tunable constants
- Experimental feature-flag constants
- Flag system quick reference
- Mission tunable constants catalog
- Gear parsing & cargo capacity
- Structure dressing function
- Paradrop delivery functions
- ICBM nuke client VFX & radiation
- Server HandleSpecial router
- LocalizeMessage chat router
- Gear buy-menu render & price functions
- Server broadcast & telemetry loops
- Per-unit client init pipeline
- Vehicle marking & texture pipeline
- Defense category & budget
- Legacy AI order primitives
- Commander-team driver
- AICOM command verbs
- AICOM behavior fix taxonomy
- AI commander wildcard deck reference
- AICOM aircraft and airfield system
- Static-defense manning
- End-of-game stats screen
- AI commander execution loop
- Deployable bipod / weapon resting
- Town-economy getters
- Server-init deadspawn & airfield probe
- GUER VBIED detonate action
- Resource income-tick engine
- AI commander treasury accessors
- PVF send-helper contracts
- AICOM logging & AICOMSTAT telemetry
- AICOMSTAT v2 event census
- WASPSCALE v2 telemetry
- WASPSCALE v2-ext coverage audit
- Telemetry families reference
- Group lifecycle & entity reaping
- Batch AI spawner orchestrator
- Client funds/income HUD readout
- Server group GC & cap warning
- Town runtime tuning constants
- Client input/hotkey handler
- WASP base-repair system
- WASP DropRPG launcher/ordnance
- CoIn construction-interface client engine
- Town-capture garrison & airfield rebuild
- Map-control & minimap templates
- Client FPS & state telemetry
- Client service-proximity getters
- Airfield-exclusive roster & unit hints
- Unit-camera spectator system
- Town-garrison patrol/defense worker
- RequestTeamUpdate squad-discipline
- Arma2Warfare GPT assistant
- LoadoutManager build configs & defines
- GLOBALGAMESTATS extension logging
- Discord bot instrumented logging
- Eden/Everon & Taviana map content
- Cruise missile strike asset
- AI / HC
- AI headless and performance
- AI mods and pathfinding reference
- Headless client scaling and topology
- AI runtime/HC loop map
- Headless client init and stat loop
- HC delegation target selection
- Player AI caps and role balance
- Old WarfareBE FPS comparison
- AI commander autonomy audit
- Upstream BE 2073 AICOM delta
- Parent 2.073 divergence audit
- AI commander capture & fun plan
- AI commander B69 improvement roadmap
- AI commander B69 implementation sketches
- AICOM V2 cutover status
- Headless delegation and failover
- Commander reassignment call shape
- GUER Director living-resistance pitch
- Quality and operations
- Foundation perf findings & Tier-3 dead-ends
- Dead/stale code register
- Commander vote/reassignment
- Attack-wave authority
- Server runtime and operations
- Server ops runbook
- JIP enrollment & client data delivery (b74.2 lessons)
- Server gameplay runtime atlas
- PerformanceAuditAnalyzer
- Performance opportunity sweep
- Documentation plan
- Knowledge platform roadmap
- Wiki quality audit
- Wiki pruning and relevance ledger
- Audit findings queue (2026-06-03)
- Deep review findings
- Client UI / server-loop perf findings
- Performance gain simulation
- Self-host testing field notes
- Cleanup and work lanes
- Hardening and authority
- UI / player workflows
- Client UI, HUD and menus
- UI HUD and dialogs
- Player UI workflow map
- Client UI systems atlas
- UI IDD collision repair
- UI control class library reference
- UI theme palette and style macros
- UI design inspiration 2026-07
- Available-actions client gate FSM
- Gear/loadout/EASA atlas
- Gear template profile filter
- Vehicle cargo equip loop bounds
- Factory and purchase systems atlas
- Service menu affordability guards
- WASP overlay
- Class-skill system reference
- Skin selector and class swap
- Earplugs audio toggle
- Mission audio catalog
- HQ radio knowledge-base catalog
- QoL trio player hints
- Player vehicle/travel actions
- Tooling / release / integrations
- Tools and build workflow
- Warfare web tools
- Ecosystem & companion repos
- Zargabad tooling parity
- July 2026 release readiness
- Operator monitor and CPU affinity tools
- Tooling release readiness audit
- Source fix propagation queue
- Agent release readiness ledger
- Release source intake map
- Testing/debugging/release workflow
- Current RPT release gate
- RPT telemetry consumer port map
- External integrations
- Integration trust boundary audit
- AntiStack database extension audit
- Community & Dev
- Community & Dev
- Miksuu upstream wiki import / archive index
- Upstream changelog feature leads
- Developer history and upstream lessons
- Upstream Miksuu commit intel
- Upstream mining ledger
- Archive script mining v2
- Upstream BE 2073 AICOM delta
- Parent 2.073 divergence audit
- PR8 and Drone upstream lesson match
- Development lessons learned
- External research reports
- Audit archive 2026-07
- Briefing reference
- Utes invasion concept
- Miksuu archive: Home
- Miksuu archive: Welcome
- Miksuu archive: Big announcements
- Miksuu archive: Changelog
- Miksuu archive: Development process
- Miksuu archive: Discord bot
- Miksuu archive: Gameplay videos
- Miksuu archive: LoadoutManager
- Miksuu archive: Chernarus script architecture
- Base-game visual catalogs
- Compatibility and references
- HC upstream history and lessons
- Player stats branch audit
- BuyMenu EASA QoL branch audit
- Perf quick wins branch audit
- Commander positions branch audit
- Zargabad branch audit
- Quad AI Commander concept
- Arma 2 OA external reference guide
- Base-game config & image reference
- Arma 2 OA compatibility audit
- Arma 2 OA agent traps reference
- Arma 2 OA command versions
- Wiki source consistency
- External Arma 2 OA reference index