slatts 1978 Posted March 14, 2011 can anyone see where i went wrong here? binpbo says the M9 is a undefined base class class CfgPatches { class AUG_A1 { Units[] = {}; weapons[]= { "AUG_A1", "USP", }; requiredVersion = 1.000000; requiredAddons[]= {}; }; }; class CfgWeapons { class M4a1; class M9; class AUG_A1 : M4a1 { displayName = "AUG A1"; model = "\MIDFAUGA1\aug.p3d"; picture = "\Test_Weapon\Equip\gui.paa"; handAnim[] = {"OFP2_ManSkeleton","\MIDFAUGA1\data\anim\F88_a1.rtm"}; }; }; class USP : M9 { displayName = "USP"; model = "\MIDFAUGA1\vil_usp.p3d"; Picture = "\Test_Weapon\Equip\gui.paa"; }; }; class cfgVehicles { class ReammoBox; //Extended class IrishBox : ReammoBox { scope = 2; accuracy = 1000; displayName = "IrishDF Weapon Box"; model = "\ca\weapons\AmmoBoxes\USBasicWeapons.p3d"; class TransportMagazines { class 20Rnd_556x45_Stanag { magazine = "20Rnd_556x45_Stanag"; count = 200; }; }; class TransportWeapons { class AUG_A1 { weapon = "AUG_A1"; count = 12; }; }; Class USP { weapon = "USP"; count = 12; }; }; }; }; Share this post Link to post Share on other sites
.kju 3245 Posted March 14, 2011 (edited) class CfgPatches { class YourTag_AUG_A1 { units[] = {"YourTag_IrishBox"}; weapons[]= {"YourTag_AUG_A1","YourTag_USP"}; requiredVersion = 0.1; requiredAddons[]= {"CAWeapons"}; }; }; class CfgWeapons { class M4a1; class M9; class YourTag_AUG_A1: M4a1 { displayName = "AUG A1"; model = "\MIDFAUGA1\aug.p3d"; picture = "\Test_Weapon\Equip\gui.paa"; handAnim[] = {"OFP2_ManSkeleton","\MIDFAUGA1\data\anim\F88_a1.rtm"}; }; class YourTag_USP: M9 { displayName = "USP"; model = "\MIDFAUGA1\vil_usp.p3d"; Picture = "\Test_Weapon\Equip\gui.paa"; }; }; class cfgVehicles { class ReammoBox; class YourTag_IrishBox: ReammoBox { scope = 2; accuracy = 1000; displayName = "IrishDF Weapon Box"; model = "\ca\weapons\AmmoBoxes\USBasicWeapons.p3d"; class TransportMagazines { class 20Rnd_556x45_Stanag { magazine = "20Rnd_556x45_Stanag"; count = 200; }; }; class TransportWeapons { class YourTag_AUG_A1 { weapon = "YourTag_AUG_A1"; count = 12; }; class YourTag_USP { weapon = "USP"; count = 12; }; }; }; }; + get notepad++. Edited March 15, 2011 by .kju [PvPscene] Share this post Link to post Share on other sites
PuFu 4600 Posted March 15, 2011 your problem blink is that although you used m4a1 and m9 as external reference, you haven't specify where it should read those values from requiredAddons[]= {"CAWeapons"}; Share this post Link to post Share on other sites
.kju 3245 Posted March 15, 2011 (he has a couple of bracket issues too) Share this post Link to post Share on other sites
PuFu 4600 Posted March 15, 2011 (he has a couple of bracket issues too) seen those, and i am sure he will use your config, just though i would jump in and tell him where his real issue was - inheritance Share this post Link to post Share on other sites