Forum Jump :

Author Message


Posts: 6
Rank:


Level: Member

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

 
#1 Posted at 2014-03-14 20:42        
     
So, I was basically wondering if it is even possible to make a weapons addon compatible with the tracer variant of the ammo. (EX) I downloaded an mk18 weapon addon, but the problem is that it only supports 5.56x45 stanag and not the tracer variant of it. Would it be hard to make changes to this or even possible?


Author Message


Posts: 2
Rank:


Level: Member

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

 
#2 Posted at 2014-06-25 12:01        
     
To add a compatible magazine you simply need to add that classname to the magazines part of the weapons config file.
This is an example from a Edit of RHARD Mk18 pack.
class CfgWeapons
{
	class Rifle;
	class Rifle_Base_F
        class RHARD_MK18_base_F: Rifle_Base_F
	{
		magazines[] = {"30rnd_556x45_STANAG","30Rnd_556x45_Mk318_Stanag","30Rnd_556x45_Mk262_Stanag","30Rnd_556x45_Stanag_Tracer_Red","30Rnd_556x45_Stanag_Tracer_Green","30Rnd_556x45_Stanag_Tracer_Yellow","RH_30Rnd_556x45_Mk262","BTC_M855A1_EPR_30Rnd","BTC_MK318_mod_0_SOST_30Rnd","BTC_MK262_mod_1_SPR_30Rnd","ADF_30Rnd_556x45_Stanag_Tracer_IR","ADF_30Rnd_556x45_Stanag_Tracer_Yellow","ADF_30Rnd_556x45_Stanag_Tracer_Red","ADF_30Rnd_556x45_Stanag_Tracer_Green"};
        };
};