Redrumovy 20 Posted March 15, 2018 I want to give my unit BDU uniform from VSM. The problem is it seems like unit has uniform, but it actually just have a texture and no uniform item. Here's my base class and unit config. class r_tfsa_base_a: O_Soldier_F { displayName = "TFSA_Base_a"; genericnames = "TakistaniMen"; scope = 0; scopeCurator = 0; _generalMacro = "B_soldier_F"; faction = "[R] TFSA"; side = 2; vehicleClass = "R_TFSA"; icon = "iconMan"; nakedUniform = "U_BasicBody"; uniformClass = "VSM_Multicam_BDU_Camo"; camouflage = 1.5; linkedItems[] = {"V_TacChestrig_oli_F","VSM_Multicam_Cap","VSM_beard_2","ACE_fieldDressing","ACE_fieldDressing","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"V_TacChestrig_oli_F","VSM_Multicam_Cap","VSM_beard_2","ACE_fieldDressing","ACE_fieldDressing","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"rhs_weap_akms","Throw","Put"}; respawnWeapons[] = {"rhs_weap_akms","Throw","Put"}; magazines[] = {"rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","HandGrenade","SmokeShell","SmokeShell",}; respawnMagazines[] = {"rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","HandGrenade","SmokeShell","SmokeShell",}; class EventHandlers { init = "(_this select 0) setVariable [""BIS_enableRandomization"",false]; [(_this select 0),""fsa3""] call BIS_fnc_setUnitInsignia;"; }; }; class TFSA_Leader: r_tfsa_base_a //Unit Class name: Class getting info from { faction = "R_TFSA"; //Your Faction backpack = ""; //Backpack vehicleclass = "TFSA"; //Unit Group _generalMacro = "TFSA_Leader"; //Class Name icon = "iconManOfficer"; scope = 2; displayName = "TFSA Team Leader"; //In-Game Name weapons[] = {"rhs_weap_akms","binocular","Throw","Put"}; respawnWeapons[] = {"rhs_weap_akms","binocular","Throw","Put"}; magazines[] = {"rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","HandGrenade","SmokeShell","SmokeShell",}; respawnMagazines[] = {"rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","HandGrenade","SmokeShell","SmokeShell",}; linkedItems[] = {"V_TacChestrig_oli_F","VSM_Multicam_Cap","VSM_beard_2","ACE_fieldDressing","ACE_fieldDressing","ItemMap","ItemCompass","ItemWatch","ItemRadio","ItemGPS"}; respawnLinkedItems[] = {"V_TacChestrig_oli_F","VSM_Multicam_Cap","VSM_beard_2","ACE_fieldDressing","ACE_fieldDressing","ItemMap","ItemCompass","ItemWatch","ItemRadio","ItemGPS"}; uniformClass = "VSM_Multicam_BDU_Camo"; }; What's wrong with my config? It works for other uniforms like fatigues from project opfor etc. I even tried copying lines from VSM unit which has the uniform working normally model = "\A3\Characters_F_Beta\INDEP\ia_officer.p3d"; uniformClass = "VSM_Multicam_BDU_OD_Pants_Camo"; hiddenSelections[] = {"Camo1","camo2","Insignia"}; hiddenSelectionsTextures[] = {"VSM_Multicam\Data\VSM_Multicam_BDU.paa","VSM_Multicam\Data\VSM_Multicam_od_pants_1.paa"}; and it doesn't work as well. Share this post Link to post Share on other sites
Dedmen 2697 Posted March 16, 2018 Weird... Talked about the same thing 2 days ago in Arma Discord.. https://community.bistudio.com/wiki/Arma_3_Characters_And_Gear_Encoding_Guide#Character_configuration I'd guess you would have to put the uniform into linkedItems? Also just like 2 days ago.. You have ACE items in "linkedItems" although these items are not linked. They belong into the "items" list. 1 Share this post Link to post Share on other sites
Redrumovy 20 Posted March 16, 2018 Sadly adding uniform to linkeditems does nothing. Share this post Link to post Share on other sites
lordfrith 401 Posted March 16, 2018 do you have the VSM patch name listed in the 'required addons' part of config? maybe its loading your mod before VSM and this is causing the cfgWeapons entry to weird out. from the screenshots it works ok apart from the uniform item showing up in inventory right? Share this post Link to post Share on other sites
Redrumovy 20 Posted March 16, 2018 I added "VSM_Multicam" - pbo which includes uniforms I want to use to requiredaddons, but now when I'm launching the game it shows notice that my mod requires "VSM_Multicam" while VSM including that pbo is in collection too. Share this post Link to post Share on other sites
lordfrith 401 Posted March 16, 2018 (edited) well i think that should be Quote requiredAddons[]= { "VSM_Multicam_Config" }; its not the name of the PBO but the title given in cfgPatches that gets listed but i just tried making a test config and i can't get the uniform working either! hmmm Edited March 16, 2018 by lordfrith ch-ch-ch-ch-changes Share this post Link to post Share on other sites
Redrumovy 20 Posted March 16, 2018 I tried with "VSM_Multicam_Config" too, but the same result. I don't know, maybe it's something wrong with VSM, since I used uniforms from Project OPFOR and Foxfort Camo pack and there were no such issues. On the other hand VSM has its own units which use uniforms and they have it normally as an item. Share this post Link to post Share on other sites
lordfrith 401 Posted March 16, 2018 this config seems to work, its based on yours, but i created a cfgweapons entry for the uniform using original VSM uniform as inheritance: Spoiler #define private 0 #define protected 1 #define public 2 class CfgPatches { class LF_testy { author="LordFrith"; name="testy"; requiredAddons[]= { "VSM_Multicam_Config" }; requiredVersion=0.1; units[]= { "r_tfsa_base_a" }; weapons[]= { "VSM_Multicam_BDU_test" }; }; }; class CfgFactionClasses { class R_TFSA_fac { displayname = "[R] TFSA"; icon = "\a3\Data_f\cfgFactionClasses_OPF_ca.paa"; priority = 1; side = 2; }; }; class CfgVehicles { class VSM_Multicam_BDU_Uniform; class r_tfsa_base_a: VSM_Multicam_BDU_Uniform { displayName = "TFSA_Base_a"; genericnames = "TakistaniMen"; scope = public; scopeCurator = private; _generalMacro = "VSM_Multicam_BDU_Uniform"; faction = "R_TFSA_fac"; side = 2; vehicleClass = "R_TFSA"; icon = "iconMan"; nakedUniform = "U_BasicBody"; uniformClass = "VSM_Multicam_BDU_test"; camouflage = 1.5; linkedItems[] = {"V_TacChestrig_oli_F","VSM_Multicam_Cap","VSM_beard_2","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"V_TacChestrig_oli_F","VSM_Multicam_Cap","VSM_beard_2","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"rhs_weap_akms","Throw","Put"}; respawnWeapons[] = {"rhs_weap_akms","Throw","Put"}; magazines[] = {"rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","HandGrenade","SmokeShell","SmokeShell",}; respawnMagazines[] = {"rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","rhs_30Rnd_762x39mm","HandGrenade","SmokeShell","SmokeShell",}; class EventHandlers { init = "(_this select 0) setVariable [""BIS_enableRandomization"",false]; [(_this select 0),""CTRG""] call BIS_fnc_setUnitInsignia;"; }; }; }; class CfgWeapons { class InventoryItem_Base_F; class ItemCore; class UniformItem: InventoryItem_Base_F { }; class Uniform_Base: ItemCore { class ItemInfo: UniformItem { }; }; class VSM_Multicam_BDU_Camo; class VSM_Multicam_BDU_test: VSM_Multicam_BDU_Camo { scope=protected; displayName="[VSM] Battle Dress Uniform (Multicam)"; author="VanSchmoozin"; picture="\VSM_Multicam\Data\Icons\VSM_Multicam.paa"; model="\A3\Characters_F_Beta\INDEP\ia_officer.p3d"; class ItemInfo: UniformItem { uniformClass="r_tfsa_base_a"; containerClass="Supply50"; mass=50; }; }; }; this is far from ideal solution, possibly its because the cfgPatches in VSM has no list of units and weapons? Quote class VSM_Multicam_Config { units[]= { "VSM_Multicam_Mod" }; weapons[]={//shouldn't the uniforms be here?}; like i say no expert so maybe that gets done elsewhere in VSM mod. it is a huge mod so possibly i just can't find it. note! i removed ace items as i don't have that mod. i've fickered around with the faction name as i'm not sure you can put spaces in classnames. I got an error and blank faction entry when testing till i changed it it might be worth checking another mod that makes factions using VSM and see how they got it to work. 1 Share this post Link to post Share on other sites
Redrumovy 20 Posted March 16, 2018 Yeah, your config seems to work, but I will look for other mods which use VSM uniforms to see how they done it because this solution would make my config a mess since I planned to use more VSM things. Share this post Link to post Share on other sites