Arma 3 Version: 1.85.145075 (dev)
CBA Version: 3.8.0 (stable)
ACE3 Version: 3.12.3 (stable)
Mods:
- CBA_A3
- ace
Description:
Steps to reproduce:
Where did the issue occur?
Placed Modules:
RPT log file:
That is intentional. The NLAW (which is the real name for the PCML) is a single-use launcher. There's no ammo for it.
@bux - the bug occurred while only the following components were loaded, IIRC none of them turn the PCML into a 1-shot weapon.
zeus
weaponselect
ui
tracers
thermals
quickmount
overpressure
optionsmenu
nouniformrestrictions
noream
noradio
noidle
nightvision
movement
modules
missionmmodules
main
magazinerepack
interaction
interact_menu
hitreactions
frag
explosives
dragging
common
ballistics
arsenal
aircraft
ai
advanced_throwing
advanced_fatiuge
This is kinda missing in the description ¯\_(ツ)_/¯
@bux - Reopen?
Could someone confirm if this is indeed an ACE issue? I'm not familiar with the PCML launcher.
As far as I can tell, this is caused by line 145 of fnc_scanConfig.sqf in the arsenal module.
https://github.com/acemod/ACE3/blob/d3727d7c27d7a0f95ff71eee3ec1d3203a393be7/addons/arsenal/functions/fnc_scanConfig.sqf#L145
It seems to me that this is where ACE Arsenal creates it's master list of magazines so that it can be displayed more quickly later on. It's looking for the type value for the magazine to be in the following list: [256, 512, 1536, 16].
The default value for the PCML magazine seems to be 768, or 3 * 256. Which seems to exclude it from the master magazine list.
In addition (though I know it's not something with ACE itself), this seems to affect the CUP NLAW as well, since I imagine it uses the same value as the vanilla PCML.
As far as I can tell, this is caused by line 145 of fnc_scanConfig.sqf in the arsenal module.
https://github.com/acemod/ACE3/blob/d3727d7c27d7a0f95ff71eee3ec1d3203a393be7/addons/arsenal/functions/fnc_scanConfig.sqf#L145It seems to me that this is where ACE Arsenal creates it's master list of magazines so that it can be displayed more quickly later on. It's looking for the
typevalue for the magazine to be in the following list:[256, 512, 1536, 16].
The default value for the PCML magazine seems to be768, or3 * 256. Which seems to exclude it from the master magazine list.In addition (though I know it's not something with ACE itself), this seems to affect the CUP NLAW as well, since I imagine it uses the same value as the vanilla PCML.
Would you like to PR a fix?