Jump to content
gingerlikeme

Replacing Gun Names Help

Recommended Posts

I'm trying to make a mod that replacews the gun names with their real life counterparts.

 

Spoiler

Config.cpp

 

class CfgPatches {
  class VGN_Names {
    units[] = {};
    weapons[] = {};
    requiredVersion = 0.01;
    requiredAddons[] = {"A3_Characters_F","A3_Weapons_F"};
    author[] = {"Catraz"};
  };
};

 
class Mode_SemiAuto;
class Mode_FullAuto;


class CfgWeapons
{

  class arifle_MXC_F;
  class arifle_MX_F;
  class arifle_MX_GL_F;
  class arifle_MX_SW_F;
  class arifle_MXM_F;
  class arifle_SDAR_F;
  class arifle_TRG21_GL_F;
  class arifle_TRG20_F;
  class arifle_TRG21_F;
  class arifle_SPAR_01_blk_F;
  class arifle_SPAR_01_khk_F;
  class arifle_SPAR_01_snd_F;


//MX SERIES//

  class VGN_ACR_C : arifle_MXC_F
  {
    displayName = "Bushmaster ACR Carbine";
    scope = 2;
  };

  class VGN_ACR : arifle_MX_F
  {
    displayName = "Bushmaster ACR";
    scope = 2;
  };

  class VGN_ACR_GL : arifle_MX_GL_F
  {
    displayName = "Bushmaster ACR - Grenade Launcher";
    scope = 2;
  };

  class VGN_ACR_LMG : arifle_MX_SW_F
  {
    displayName = "Bushmaster ACR - LMG";
    scope = 2;
  };

  class VGN_ACR_LB : arifle_MXM_F
  {
    displayName = "Bushmaster ACR - Long Barrel";
    scope = 2;
  };


//SDAR//
  class VGN_RFB : arifle_SDAR_F
  {
    displayName = "Kel-Tec RFB";
    scope = 2;
  };

//TRG SERIES//

  class VGN_TAR : arifle_TRG21_F
  {
    displayName = "TAR-21";
    scope = 2;
  };

  class VGN_CTAR : arifle_TRG20_F 
  {
    displayName = "CTAR-21";
    scope = 2;
  };

  class VGN_TAR_GL : arifle_TRG21_GL_F
  {
    displayName = "TAR-21 - Grenade Launcher";
    scope = 2;
  };

//SPAR SERIES//

  class VGN_HK416_BLK : arifle_SPAR_01_blk_F
  {
    displayName = "HK416A5 - Black";
    scope = 2;
  };

  class VGN_HK416_SND : arifle_SPAR_01_snd_F
  {
    displayName = "HK416A5 - Sand";
    scope = 2;
  };

  class VGN_HK416_KHK : arifle_SPAR_01_khk_F
  {
    displayName = "HK416A5 - Khaki";
    scope = 2;
  };
};

 

 

 

I get in game and they aren't in the editor. Any ideas

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

×