Skip to content

Commit

Permalink
Export Define Text Fix
Browse files Browse the repository at this point in the history
#608

- Brings the SNIPER_ATTACHMENTS, SPOTTER_ATTACHMENTS, and PISTOL_ATTACHMENTS exported text back in-line with what is present on BWMF loadout files
  • Loading branch information
AChesheireCat committed Dec 10, 2024
1 parent 022f58f commit d2ccf6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/arsenalExport/functions/fnc_export.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ _lines pushBack format ['#define SAM_MAG %1', [GVAR(loadout_sam), GVAR(loadout_s
_lines pushBack format ["// Sniper"];
_lines pushBack format ['#define SNIPER "%1"', GVAR(loadout_sniper)];
_lines pushBack format ['#define SNIPER_MAG %1', [GVAR(loadout_sniper), GVAR(loadout_sniperMags), SNIPER_ROUNDS] call _fnc_getMags];
_lines pushBack format ['#define SNIPER_OPTIC %1', [GVAR(loadout_sniperAttachments)] call _fnc_formatList];
_lines pushBack format ['#define SNIPER_ATTACHMENTS %1', [GVAR(loadout_sniperAttachments)] call _fnc_formatList];

_lines pushBack format ["// Spotter"];
_lines pushBack format ['#define SPOTTER "%1"', GVAR(loadout_spotter)];
_lines pushBack format ['#define SPOTTER_MAG %1', [GVAR(loadout_spotter), GVAR(loadout_spotterMags), RIFLE_ROUNDS] call _fnc_getMags];
_lines pushBack format ['#define SPOTTER_OPTIC %1', [GVAR(loadout_spotterAttachments)] call _fnc_formatList];
_lines pushBack format ['#define SPOTTER_ATTACHMENTS %1', [GVAR(loadout_spotterAttachments)] call _fnc_formatList];

_lines pushBack format ["// SMG"];
_lines pushBack format ['#define SMG "%1"', GVAR(loadout_smg)];
Expand All @@ -161,7 +161,7 @@ _lines pushBack format ['#define SMG_MAG %1', [GVAR(loadout_smg), GVAR(loadout_s
_lines pushBack format ["// Pistol"];
_lines pushBack format ['#define PISTOL "%1"', GVAR(loadout_pistol)];
_lines pushBack format ['#define PISTOL_MAG %1', [GVAR(loadout_pistol), GVAR(loadout_pistolMags), PISTOL_ROUNDS] call _fnc_getMags];
_lines pushBack format ['#define PISTOL_OPTIC %1', [GVAR(loadout_pistolAttachments)] call _fnc_formatList];
_lines pushBack format ['#define PISTOL_ATTACHMENTS %1', [GVAR(loadout_pistolAttachments)] call _fnc_formatList];

_lines pushBack format ["// Grenades"];
_lines pushBack format ["#define LEADER_GRENADES BASE_FRAG,LEADER_SMOKES,SIDE_CHEM_LIGHT"];
Expand Down

0 comments on commit d2ccf6a

Please sign in to comment.