Jump to content
lukio

[Resolved] Extended weapon shows, works in-game but not in 3DEN

Recommended Posts

So what I've done so far in this small mod is define ammo, define magazine and define an extension weapon. - works as intended, I can pick it up form an ammobox via Arsenal or inventory, I can add it to a soldier via init / script - but it will NOT show in the list of weapons in 3DEN. What do I need to do to make it show in the 3den loadout editor? I thought scope/scopeCurator would take care of that but apparently I was wrong.

class CfgWeapons {
    class LMG_Mk200_F;
    class NATO_LMG_Mk200_F : LMG_Mk200_F
    {
        displayName = "Mk200 LMG (NATO)";
        descriptionShort = "Light Machine Gun<br />Caliber: 6.5x39mm";
        magazines[] = {"200Rnd_65x39_cased_Box","200Rnd_65x39_cased_Box_Tracer","200Rnd_65x39_cased_Box_Tracer_Red"};
        modes[] = {"manual","close","short","medium","far_optic1","far_optic2"};
        faction="BLU_F";        
        scope=2;
        scopeCurator=2;
        scopeArsenal=2;
        };
};

I'm just learning the ropes of making mods and trying to figure out where I went wrong - any help is appreciated!

Share this post


Link to post
Share on other sites

Issue was resolved by adding

 

baseWeapon = "Nato_LMG_Mk200_F";

to the inherited class's config. Scope 2 was not even necessary because that should be inherited from base class.

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

×