Forum Jump :

Author Message


Posts: 106
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2020-01-20 01:45        
     
Hello, long time no see!

I was pretty heavily into a personal mod about 3 years ago and am poking around at it again. Everything used to work, but now parts don't and I don't seem to be able to figure a couple of them out.

The one bothering me at the moment is some custom ammo and mags I created. All of the custom mags used to show up for the intended weapons. Now some don't.

Here's an example. In the following excerpt, note that the custom "CSU" magazines show up for the MXC, but not for the MX 3GL or the Mk200 listed above and below it respectively.

Excerpt from my config.cpp cfgWeapons secton:
	class arifle_MX_GL_F: arifle_MX_Base_F
	{
		initSpeed=0;
		magazines[]=
		{
			"CSU_30Rnd_65x39_Caseless_TracerGreen_Mag",
			"CSU_30Rnd_65x39_Caseless_TracerIR_Mag",
			"30Rnd_65x39_caseless_mag",
			"30Rnd_65x39_caseless_mag_Tracer"
		};
	};
	class arifle_MXC_F: arifle_MX_Base_F
	{
		initSpeed=0;
		magazines[]=
		{
			"CSU_30Rnd_65x39_Caseless_TracerGreen_Mag",
			"CSU_30Rnd_65x39_Caseless_TracerIR_Mag",
			"30Rnd_65x39_caseless_mag",
			"30Rnd_65x39_caseless_mag_Tracer"
		};
	};
	class LMG_Mk200_F: Rifle_Long_Base_F
	{
		initSpeed=0;
		magazines[]=
		{
			"CSU_200Rnd_65x39_Cased_Box_TracerGreen_Mag",
			"CSU_200Rnd_65x39_Cased_Box_TracerIR_Mag",
			"200Rnd_65x39_cased_Box",
			"200Rnd_65x39_cased_Box_Tracer"
		};
	};

I've verified the class names and there are no other mods running. Any ideas on why this might be happening? Again, when I first created this in 2017 it all worked perfectly.

UPDATE
I removed the non-CSU mags from the arrays and now the mags show up for the MX GL. However, that did not resolve the issue with the Mk200.

And to be clear: All the custom mags show up in the arsenal. Some, like the Mk200, aren't showing as compatible for the intended weapon. (used to work fine.)

Another clue: The mags show up as compatible for the base MX 3GL, but not the "black" or "khaki" version.
It's got to do with A3 addons that have installed since I had all this working... it's like the class tree changed a bit or something.

Thanks!

-Doc

Added 45 minutes later:

Ah ha. I guess I need to redo it using this:
https://community.bistudio.com/wiki/Arma_3_Weapon_Config_Guidelines#Magazine_compatibility_groups

This post was edited by doc. caliban (2020-01-20 04:56, 37 days ago)