CptDezusa 31 Posted July 2, 2016 Good morning, i have making my first retexter of units and vest in arma 3 this days and i have follow some good steps how to get this to work, i'm almost done with my first marines, but i can't get the vest to show armor in the virtual arsenal in game, can some on help me with this. class VestItem; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class Custom_Vest1: Vest_Camo_Base { scope = 2; displayName = "IVS Marin Platecarrier"; picture = "\Custom_Uniform\UI\custom_patch_co.paa"; model = "A3\Characters_F\BLUFOR\equip_b_Vest01"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\custom_vest_co.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_Vest01.p3d"; containerClass = "Supply120"; mass = 100; hiddenSelections[] = {"camo"}; }; class HitpointsProtectionInfo { class Chest { HitpointName="HitChest"; armor=20; PassThrough=0.2; }; class Diaphragm { HitpointName="HitDiaphragm"; armor=20; PassThrough=0.2; }; class Abdomen { hitpointName="HitAbdomen"; armor=20; passThrough=0.2; }; class Body { hitpointName="HitBody"; passThrough=0.2; }; }; }; Share this post Link to post Share on other sites
Jackal326 1181 Posted July 2, 2016 The reason it doesn't work is because you have closed off the ItemInfo section with a }; before you've defined the armour values (which need to be within the ItemInfo section) like so: class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_Vest01.p3d"; containerClass = "Supply120"; mass = 100; hiddenSelections[] = {"camo"}; class HitpointsProtectionInfo { class Chest { HitpointName="HitChest"; armor=20; PassThrough=0.2; }; class Diaphragm { HitpointName="HitDiaphragm"; armor=20; PassThrough=0.2; }; class Abdomen { hitpointName="HitAbdomen"; armor=20; passThrough=0.2; }; class Body { hitpointName="HitBody"; passThrough=0.2; }; }; }; Share this post Link to post Share on other sites
CptDezusa 31 Posted July 2, 2016 Thank you it work now, its looks like this now :dancehead: class VestItem; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class Custom_Vest1: Vest_Camo_Base { scope=2; displayName="[IVS] Marin Platecarrier"; picture="\A3\characters_f\Data\UI\icon_v_tacvest_blk_ca.paa"; model="A3\Characters_F\BLUFOR\equip_b_Vest01"; descriptionShort="$STR_A3_SP_AL_IV"; hiddenSelections[]= {"camo"}; hiddenSelectionsTextures[]= {"Custom_Uniform\Data\custom_vest_co.paa"}; class ItemInfo: VestItem { uniformModel="A3\Characters_F\BLUFOR\equip_b_Vest01"; containerClass="Supply120"; mass=100; hiddenSelections[]= {"camo"}; class HitpointsProtectionInfo { class Chest { HitpointName="HitChest"; armor=20; PassThrough=0.2; }; class Diaphragm { HitpointName="HitDiaphragm"; armor=20; PassThrough=0.2; }; class Abdomen { hitpointName="HitAbdomen"; armor=20; passThrough=0.2; }; class Body { hitpointName="HitBody"; passThrough=0.2; }; }; }; }; Share this post Link to post Share on other sites
Bjorvik 0 Posted July 3, 2016 Hey, i'm new on the forum so i'm not able to make a new forum post just yet. I'm also having issues with the vest config, recently did a reskin of some uniforms and vest There are 3 separate skins that i'm trying to put on the same type of vest, but when i try to do the same with the vest i just get "undefined base class" error. I've never tried anything like this before so i'm guessing this is a rookie mistake. //************************************************************************************************************************************************************************************************ //***** Vests ********************************************************************************************************************************************************* //************************************************************************************************************************************************************************************************ class VestItem; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class V_PlateCarrierSpec_rgr: Vest_Camo_Base { scope = 2; displayName = "VIKINGS Plate Carrier Multi-Camo"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\MULTICAMO_VEST.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; containerClass = "Supply120"; mass = 80; armor = "100"; passThrough = 0.1; hiddenSelections[] = {"camo"}; }; }; }; class V_PlateCarrierSpec_rgr: Vest_Camo_Base { scope = 2; displayName = "VIKINGS Plate Carrier Jeitai"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\Jeitai_VEST.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; containerClass = "Supply120"; mass = 80; armor = "100"; passThrough = 0.1; hiddenSelections[] = {"camo"}; }; }; }; class V_PlateCarrierSpec_rgr: Vest_Camo_Base { scope = 2; displayName = "VIKINGS Plate Carrier M98"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\M98_VEST.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; containerClass = "Supply120"; mass = 80; armor = "100"; passThrough = 0.1; hiddenSelections[] = {"camo"}; }; }; }; Share this post Link to post Share on other sites
Jackal326 1181 Posted July 3, 2016 Hey, i'm new on the forum so i'm not able to make a new forum post just yet. I'm also having issues with the vest config, recently did a reskin of some uniforms and vest There are 3 separate skins that i'm trying to put on the same type of vest, but when i try to do the same with the vest i just get "undefined base class" error. I've never tried anything like this before so i'm guessing this is a rookie mistake. //************************************************************************************************************************************************************************************************ //***** Vests ********************************************************************************************************************************************************* //************************************************************************************************************************************************************************************************ class VestItem; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class V_PlateCarrierSpec_rgr: Vest_Camo_Base { scope = 2; displayName = "VIKINGS Plate Carrier Multi-Camo"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\MULTICAMO_VEST.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; containerClass = "Supply120"; mass = 80; armor = "100"; passThrough = 0.1; hiddenSelections[] = {"camo"}; }; }; }; class V_PlateCarrierSpec_rgr: Vest_Camo_Base { scope = 2; displayName = "VIKINGS Plate Carrier Jeitai"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\Jeitai_VEST.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; containerClass = "Supply120"; mass = 80; armor = "100"; passThrough = 0.1; hiddenSelections[] = {"camo"}; }; }; }; class V_PlateCarrierSpec_rgr: Vest_Camo_Base { scope = 2; displayName = "VIKINGS Plate Carrier M98"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\M98_VEST.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_vest02.p3d"; containerClass = "Supply120"; mass = 80; armor = "100"; passThrough = 0.1; hiddenSelections[] = {"camo"}; }; }; }; Your config is outdated as you use the old-fashioned (and now deprecated) "armor=X" parameter instead of the new hitpoint-based protection values. Without seeing the rest of the config (and getting the FULL error message) there isn't much that we can do to help. Share this post Link to post Share on other sites
CptDezusa 31 Posted July 3, 2016 @Bjorvik Take my script and add your names on it. class VestItem; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class V_PlateCarrierSpec_rgr: Vest_Camo_Base { scope=2; displayName="VIKINGS Plate Carrier Multi-Camo"; picture="\A3\characters_f\Data\UI\icon_v_tacvest_blk_ca.paa"; model="A3\Characters_F\BLUFOR\equip_b_vest02.p3d" descriptionShort="$STR_A3_SP_AL_IV"; hiddenSelections[]= {"camo"}; hiddenSelectionsTextures[]= {"Custom_Uniform\Data\M98_VEST.paa"}; class ItemInfo: VestItem { uniformModel="A3\Characters_F\BLUFOR\equip_b_Vest02"; containerClass="Supply120"; mass=100; hiddenSelections[]= {"camo"}; class HitpointsProtectionInfo { class Chest { HitpointName="HitChest"; armor=20; PassThrough=0.2; }; class Diaphragm { HitpointName="HitDiaphragm"; armor=20; PassThrough=0.2; }; class Abdomen { hitpointName="HitAbdomen"; armor=20; passThrough=0.2; }; class Body { hitpointName="HitBody"; passThrough=0.2; }; }; }; }; Share this post Link to post Share on other sites