Goyneyyy.ahk 0 Posted September 8, 2022 hello, I am trying to add an additional mk18 in black. I have managed to add additional mk-1's from the marksman DLC but I have only been so far able to reskin the base mk18. any info appreciated, can't understand what I am doing wrong. code below. cheers. class CfgPatches { class mk18 { author="goyney"; units[]={}; requiredAddons[] = { "A3_Weapons_F" }; requiredVersion = 0.1; weapons[]= { "srifle_EBR_F", "srifle_EBR_black_F" }; }; }; class CfgWeapons { class srifle_EBR_F; class srifle_EBR_black_F : srifle_EBR_F { displayName = "MK18 EBR 7.62 mm (Black)"; author = "goyney"; picture = "\mk18\data\ui\gear_ebr_black_X_CA.paa"; hiddenSelections[] = { "camo1", "camo2" }; hiddenSelectionsTextures[] = { "\mk18\data\M14_EBR01_black_CO.paa", "\mk18\data\M14_EBR02_black_CO.paa" }; }; }; Share this post Link to post Share on other sites
Goyneyyy.ahk 0 Posted September 8, 2022 fixed right after the post after hours of trying beforehand!!! baseWeapon is present in the class for all single variant weapons meaning any sub variants of the base class will be hidden in the virtual inventory. makes no sense why that is added when there is only 1 variant anyway? so simply adding baseWeapon " ..... " ; into the sub variant class will allow the weapon to show in the VI. class CfgWeapons { class srifle_EBR_F; class srifle_EBR_black_F : srifle_EBR_F { displayName = "MK18 EBR 7.62 mm (Black)"; author = "goyney"; baseWeapon = "srifle_EBR_black_F"; picture = "\mk18\data\ui\gear_ebr_black_X_CA.paa"; hiddenSelections[] = { "camo1", "camo2" }; hiddenSelectionsTextures[] = { "\mk18\data\M14_EBR01_black_CO.paa", "\mk18\data\M14_EBR02_black_CO.paa" }; }; }; Share this post Link to post Share on other sites