Jump to content

DontPanic1987

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About DontPanic1987

  • Rank
    Newbie
  1. Hi there, I am new to the modding space and looking to set up a compatibility mod between Greenmag and SOG. I feel like this is 98% of the way done i just need to tweak a file, having checked other compats for greenmag and have my files set up exactly the same yet it fails at the first hurdle in my CfgWeapons. The error happens on the first EGVAR, assuming I likely have something set up incorrectly. config.cpp contains the following: class CfgPatches { class ADDON { name="GreenMag SOG Compat Full"; units[]={}; weapons[]={}; requiredVersion=1.9400001; requiredAddons[]= { "greenmag_main" }; author="DontPanic"; version=1.4; versionStr="1.4.3.68"; versionAr[]={1,4,3,68}; }; }; #include "CfgEventhandlers.hpp" #include "CfgWeapons.hpp" CfgWeapons .hpp contains the following: class CfgWeapons { /*extern*/ class CBA_MiscItem; /*extern*/ class CBA_MiscItem_ItemInfo; //Core Items /*extern*/ class EGVAR(core,1Rnd); /*extern*/ class EGVAR(core,10Rnd); /*extern*/ class EGVAR(core,20Rnd); /*extern*/ class EGVAR(core,30Rnd); /*extern*/ class EGVAR(core,40Rnd); /*extern*/ class EGVAR(core,50Rnd); /*extern*/ class EGVAR(core,60Rnd); //regular ammo #include "cfg\ammo\762x33_basic.hpp" #include "cfg\ammo\762x33_tracer.hpp" #include "cfg\ammo\762x25_basic.hpp" #include "cfg\ammo\762x25_tracer.hpp" #include "cfg\ammo\12g_basic.hpp" //MG belt #include "cfg\belts\belts_762x39_basic.hpp" #include "cfg\belts\belts_762x39_tracer.hpp" }; the error I get back is here: https://imgur.com/a/Gz3H89K
×