Jump to content
Vuldemar

Type 115 (problem with ammo in config (50BW))

Recommended Posts

Hello everyone.

I make a mod and easily switched standart ammo (B_65x39_Caseless) into a custom ammo in Type 115, but i have some troubles with second ammo (50BW)

I looked through a lot of forums, lines in the ARMA 3 configurator and even converted BI Config, but I didn't see a single class responsible for using Type 115 50BW.

I already have ready config for the magazines, but they only replace the basic magazines on the Type 115.

Thanks for any help and sorry for grammatical mistakes.

 

// here only ammo and rifle, because the configuration has 1000 lines, but I can throw off the entire config.
class CfgAmmo
{
    class BulletBase;
    class V_20_Ball_Corp_F: BulletBase
    {
        airLock=1;
        hit=22;
        indirectHit=0;
        indirectHitRange=0;
        typicalSpeed=550;
        airFriction=-0.0020000001;
        caliber=4.1999998;
        cartridge="";
        model="\A3\Weapons_f\Data\bullettracer\tracer_green";
        tracerScale=1;
        tracerStartTime=0.050000001;
        tracerEndTime=1;
        nvgOnly=0;
        dangerRadiusBulletClose=12;
        dangerRadiusHit=16;
        suppressionRadiusBulletClose=8;
        suppressionRadiusHit=12;
    };
    class V_20HE_Ball_Corp_F: BulletBase
    {
        airLock=1;
        hit=25;
        indirectHit=3;
        indirectHitRange=3;
        typicalSpeed=550;
        airFriction=-0.0020000001;
        caliber=4.1999998;
        cartridge="";
        model="\A3\Weapons_f\Data\bullettracer\tracer_green";
        tracerScale=1;
        tracerStartTime=0.050000001;
        tracerEndTime=1;
        nvgOnly=0;
        dangerRadiusBulletClose=12;
        dangerRadiusHit=16;
        suppressionRadiusBulletClose=8;
        suppressionRadiusHit=12;
    };    
    class V_55x50_Standart: BulletBase
    {
        hit=13;
        indirectHit=0;
        indirectHitRange=0;
        cartridge="";
        aiAmmoUsageFlags=64;
        dangerRadiusBulletClose=3;
        dangerRadiusHit=4;
        suppressionRadiusBulletClose=1;
        suppressionRadiusHit=2;
        cost=1.2;
        airLock=1;
        typicalSpeed=1100;
        caliber=1,5;
        model="\A3\Weapons_f\Data\bullettracer\tracer_red";
        tracerScale=1;
        tracerStartTime=0.050000001;
        tracerEndTime=1;
        airFriction=-0.00089999998;
    };    
    class V_55x50_HE: BulletBase
    {
        hit=16;
        indirectHit=1;
        indirectHitRange=1;
        cartridge="";
        aiAmmoUsageFlags=64;        
        dangerRadiusBulletClose=3;
        dangerRadiusHit=4;
        suppressionRadiusBulletClose=1;
        suppressionRadiusHit=2;
        cost=1.2;
        airLock=1;
        typicalSpeed=1100;
        caliber=1,5;
        model="\A3\Weapons_f\Data\bullettracer\tracer_red";
        tracerScale=1;
        tracerStartTime=0.050000001;
        tracerEndTime=1;
        airFriction=-0.00089999998;
    };            
};        

class CfgMagazines
{
    class Default;
    class CA_Magazine;
    class CA_LauncherMagazine;
    class 5Rnd_20_Mag_Corp_F: CA_LauncherMagazine
    {
        author="$STR_A3_Bohemia_Interactive";
        scope=2;
        displayName="5 патр. 20мм";
        descriptionShort="$STR_A3_CfgMagazines_10Rnd_50BW_Mag_F1";
        ammo="V_20_Ball_Corp_F";
        count=5;
        initSpeed=580;
        picture="\A3\Weapons_F_Exp\Data\UI\icon_10Rnd_50BW_Mag_F_ca.paa";
        tracersEvery=0;
        lastRoundsTracer=0;
        mass=12;
    };
    class 5Rnd_20HE_Mag_Corp_F: CA_LauncherMagazine
    {
        author="$STR_A3_Bohemia_Interactive";
        scope=2;
        displayName="5 патр. 20мм (Гранаты)";
        descriptionShort="$STR_A3_CfgMagazines_10Rnd_50BW_Mag_F1";
        ammo="V_20HE_Ball_Corp_F";
        count=5;
        initSpeed=580;
        picture="\A3\Weapons_F_Exp\Data\UI\icon_10Rnd_50BW_Mag_F_ca.paa";
        tracersEvery=0;
        lastRoundsTracer=0;
        mass=12;
    };        
};

class CfgMagazineWells
{   
    class VAR20Mags
    {        
        VAR_Magazines[]=
        {
            "5Rnd_20HE_Mag_Corp_F",
            "5Rnd_20_Mag_Corp_F",
        };        
    };
};




	class arifle_ARX_blk_F;
	class arifle_ARX_V_F: arifle_ARX_blk_F                             // Type 115
	{
		author= "Vuldemar";
		_generalMacro= "arifle_ARX_V_F"; 
		baseWeapon= "arifle_ARX_V_F";
		displayName = "VAR-520";
		scope = 2;	
		scopeCurator = 2;
        scopeArsenal = 2;	
		picture= "\V_weapons\Data\VAR-520\UI\VAR-520_icon.paa";
		hiddenSelections[]=
		{
			"camo1",
			"camo2"
		};
		hiddenSelectionsTextures[]=
		{
			"\V_weapons\Data\VAR-520\arifle_ARX_blk_01_F_co.paa",
			"\V_weapons\Data\VAR-520\arifle_ARX_blk_02_F_co.paa"
		};
		magazines[]={"40Rnd_55VAR_mag"};
        magazineWell[] = {VAR55Mags,VAR20Mags};   //VAR20Mags in this line, replace main magazines
	};
};

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×