When inheriting from the SPAR-16 the inherited weapon does not appear in the Virtual Arsenal.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Virtual Arsenal
Steps To Reproduce
Create a custom mod and add a CfgWeapons entry containing the following code.
// this works class arifle_MX_F; class My_Test2: arifle_MX_F { displayName = "MY_TEST2"; scope = 2; }; // this doesn't work class arifle_SPAR_01_blk_F; class My_Test: arifle_SPAR_01_blk_F { displayName = "MY_TEST"; scope = 2; };
Add both custom class names to the mod's weapons array in CfgPatches.
Start the game
Observe that only "MY_TEST2" is visible in the Virtual Arsenal.