Jump to content
Sign in to follow this  
Ex3B

Configs for making shotgun-type submunitions

Recommended Posts

I'd like to make a modified 6.5mm minigun that doesn't have the OP'd super high penetration value and splash damage, consuming 3 ammo units per projectile, and instead fires 3 normal strenght 6.5mm projectiles in a narrow cone, so that it actually does just spit out large numbers of 6.5mm ammo.

 

The submunition documentation doesn't really have good examples.

 

Am I on the right track here, if not, what is the proper way to do it?

Quote

class CfgAmmo
{
    class B_65x39_Caseless;
    class EX3B_B_65x39_Caseless_shot: B_65x39_Caseless

    {

    }; // making a new entry for the submunition, do the submunition properties go here or on the ammo that spawns them?


    class B_65x39_Minigun_Caseless_Red_splash; //The splash damage, super penetrating ammo I don't want to use
    class EX3B_B_65x39_Minigun_Caseless_Red_splash: B_65x39_Minigun_Caseless_Red_splash
    {
        submunitionAmmo[] = {"EX3B_B_65x39_Caseless_shot",1.0};
        submunitionConeType[] = {"poissondisc", 2};
        submunitionConeAngle = 0.5; // to adjust for desired dispersion later
        submunitionInitSpeed = 0;
        submunitionParentSpeedCoef = 1; // It will just have the velocity of the "parent" round, no?
        triggerTime = 0.001; //I don't know how else to get them all to spawn at once, other than to ensure they spawn almst immediately?
        caliber=1; //so that it doesn't penetrate nearly as well as 12.7x108mm APDS
        indirectHit=0; // no splash damage
        indirectHitRange=0; // no splash damage        
    }; // Red and Yellow tracer variants to be made later

};

 

class CfgMagazines
{
    class 500Rnd_65x39_Belt_Tracer_Red_Splash;
    class EX3B_500Rnd_65x39_Belt_Tracer_Red_Splash: 500Rnd_65x39_Belt_Tracer_Red_Splash
    {
        ammo="EX3B_B_65x39_Minigun_Caseless_Red_splash";
        tracersEvery=1;
        displayName="500Rnd 6.5x39 Tracer_Red (-)";
    };
}; // more magazine types to be added later

 

class CfgWeapons
{
    class LMG_Minigun_Transport;
    class EX3B_LMG_Minigun_Transport: LMG_Minigun_Transport
    {
        magazines[]=
        {
            "EX3B_500Rnd_65x39_Belt_Tracer_Red_Splash", // more magazine types to be added later
        };
    }; // dispersion to be adjusted later to have a bit tighter cone of fire
};

 

 

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
Sign in to follow this  

×