Attachment Swapping
Automatically swap attachments after loading a magazine.
1. Configuration
1.1 Weapon Config
class CfgWeapons {
class TAG_yourDC17M {
ls_weapons_attachmentSwapEnabled = 1; // (0-Disabled, 1-Enabled)
ls_weapons_attachments[] = {
// Array of config property in magazine, weapon item to add
// If the newly loaded magazine has <property> = 1 in config,
// the given weapon item will be added
{"TAG_weapons_isBlasterMag", "ls_muzzle_dc17m_blaster"},
{"TAG_weapons_isATMag", "ls_muzzle_dc17m_antiArmor"},
{"TAG_weapons_isSniperMag", "ls_muzzle_dc17m_sniper"}
};
};
};1.2 Magazine Config
Last updated