TacBacon 4 Posted May 7, 2016 I have made uniform addon that just retexture it but when I try it on virtual arsenal it's texture is the default one There's no error popping out config.cpp enum { // = 2, // Error parsing: Empty enum name DESTRUCTENGINE = 2, DESTRUCTDEFAULT = 6, DESTRUCTWRECK = 7, DESTRUCTTREE = 3, DESTRUCTTENT = 4, STABILIZEDINAXISX = 1, STABILIZEDINAXESXYZ = 4, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, DESTRUCTNO = 0, STABILIZEDINAXESNONE = 0, DESTRUCTMAN = 5, DESTRUCTBUILDING = 1, }; class CfgPatches { class RTAF_Uniform { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class CfgVehicles { class B_Soldier_base_F; class Example_Soldier_F : B_Soldier_base_F { _generalMacro = "B_Soldier_F"; //unsure what this does scope = 2; displayName = "RTA Rifleman"; nakedUniform = "U_BasicBody"; //class for "naked" body uniformClass = "RTAF_CombatUniform_wdl"; //e.g. "Example_Soldier_F" hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\RTAF\data\RTAF_CombatUniform_digiwdl_f.paa"}; }; }; class cfgWeapons { class Uniform_Base; class UniformItem; class RTAF_CombatUniform_wdl : Uniform_Base { scope = 2; displayName = "RTA Uniform"; picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver"; }; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "Example_Soldier_F"; //would be same as our made soldier class containerClass = "Supply20"; //how much it can carry mass = 80; //how much it weights }; }; Share this post Link to post Share on other sites
Locklear 214 Posted May 7, 2016 Please try adding scope = 1; to your Example_Soldier_F class. Or eve 2, if you want the soldier in the editor. It doesn't work with scope 0, which is inherited to your soldier class from B_Soldier_base_F. 1 Share this post Link to post Share on other sites
TacBacon 4 Posted May 8, 2016 Please try adding scope = 1; to your Example_Soldier_F class. Or eve 2, if you want the soldier in the editor. It doesn't work with scope 0, which is inherited to your soldier class from B_Soldier_base_F. I think It's already 2 or am I understand something wrong? Share this post Link to post Share on other sites
Locklear 214 Posted May 8, 2016 Indeed, sorry for overlooking that. A bit of a random idea: please try Characters_F instead of Characters_F_BLUFOR in the requiredAddons[] property of CfgPatches. (You also should add the soldier into CfgPatches' units[] property and the uniform into weapons[] one, even though the absence of thereof shouldn't be much of a deal ATM.) 1 Share this post Link to post Share on other sites
kbbw123 115 Posted May 8, 2016 the problem is is that your class itemInfo is supposed to be inside you uniform class but it aint. class cfgWeapons { class Uniform_Base; class UniformItem; class RTAF_CombatUniform_wdl : Uniform_Base { scope = 2; displayName = "RTA Uniform"; picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver"; }; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "Example_Soldier_F"; //would be same as our made soldier class containerClass = "Supply20"; //how much it can carry mass = 80; //how much it weights }; }; should be: class cfgWeapons { class Uniform_Base; class UniformItem; class RTAF_CombatUniform_wdl : Uniform_Base { scope = 2; displayName = "RTA Uniform"; picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver"; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "Example_Soldier_F"; //would be same as our made soldier class containerClass = "Supply20"; //how much it can carry mass = 80; //how much it weights }; }; }; 2 Share this post Link to post Share on other sites