Page MenuHomeFeedback Tracker

Config property 'magazineGroup' has no effect.
Closed, ResolvedPublic


The new 'magazineGroup' property introduced in 1.42 does not seem to work.
Magazines added only via the magazineGroup will not work in the gun.


Legacy ID
Steps To Reproduce

Compile the Sample "Test_Weapon_01" and load it.

The weapon will only accept tracer magazines (added directly to it's Magazines[] array). The 'non tracer' magazine that should be added via magazineGroup does not work in the gun.

Event Timeline

ImperialAlex set Category to Config.
ImperialAlex set Reproducibility to Always.
ImperialAlex set Severity to None.
ImperialAlex set Resolution to Open.
ImperialAlex set Legacy ID to 74984551.May 8 2016, 12:18 PM
zGuba added a subscriber: zGuba.Jul 12 2016, 10:16 AM

Please note magazineGroup config attribute is documented in - as such I believe this issue should be given more attention. Lack of common magazine interface is rather serious limitation of 3rd party mods.

Bek added a subscriber: Bek.Jul 12 2016, 10:29 AM
oukej added a subscriber: oukej.EditedJul 13 2016, 1:45 PM

Can you please re-upload the sample? Edit: disregard, found out u mean our own sample ;) (shame)

macchky added a subscriber: macchky.EditedJul 20 2016, 6:55 AM

I confirmed this probrem.

'magazineGroup' not work ar all. And BI self not used in ARMA3 config !

I want to use 'magazineGroup' so much !

dedmen added a subscriber: dedmen.Oct 21 2017, 7:46 PM

Just tested it. magazineGroup is working just fine in the backend.

If you try to drag a incompatible magazine into the weapon ammo slot in inventory it is red.
For a magazineGroup magazine the slot is white. but when you drop the magazine onto it nothing happens.
addPrimaryWeaponItem works just fine. The magazine is in there and you can shoot fine.
If you take the weapon out and drop it into inventory you get the mouse wheel menu option to reload it again. It loads just fine and you can shoot again.
But you can only load the magazine you last used via mouse wheel menu. Or any non-magazineGroup compatible magazines.
So I take drop the magazineGroup mag into inventory. I can now reload the magGroup and the normal magazine via mouse wheel menu.
But if I load the normal one the magGroup one disappears from mouse wheel menu.
That could be fixed with scripting. Just add a mousewheel action that removes mag from inventory and calls addPrimaryWeaponItem
The inventory knows it's compatible and the weapon knows it's compatible.
Just mousewheel action and drag-drop into magazine slot is not working

dedmen added a comment.EditedOct 21 2017, 11:40 PM

I fixed it:
Have a BI dev contact me and I'll walk him through the necessary changes. It's really very easy. It is not as performance friendly as I'd like (Only work is being done once at game start. no runtime difference)
but that's because of the decision to put the groups into the magazines array which wasn't mine.


@dedmen That's awesome!! Now let's hope BI gets around to this at some point :)

BI is currently working on magazineWells.
Let's hope it turns out good.

zGuba added a comment.Sep 14 2020, 2:04 PM

This task can be closed now.

zGuba removed a subscriber: zGuba.Sep 14 2020, 2:04 PM
dedmen closed this task as Resolved.Sep 14 2020, 2:22 PM
dedmen claimed this task.