Xorellion
Member-
Content Count
4 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout Xorellion
-
Rank
Rookie
-
And what if I want to add a uniform to my addon ? Do I have to add (that I will modificate later) : /// Uniform config /// class cfgWeapons { class UniformItem; class U_B_soldier_new: Uniform_Base { author = "Splendid Modder"; scope = 2; displayName = "New Uniform"; picture = "\A3\characters_f\data\ui\icon_u_b_soldier_new_ca.paa"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\A3\Characters_F_New\BLUFOR\Data\b_soldier_new.paa"}; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = B_soldier_new; containerClass = Supply40; mass = 40; }; }; }; Can I also remove the CfgWeapons and put it from UniformItem to its end inside my last CfgWeapons? Or is it a CfgVehicles for the uniform ?
-
Thx it works ! I'm going to base my config on yours. I Just wanna know what does CfgPatches is for ?
-
So I corrected my code but the vest isn't showing itself in the arsenal. Isn't it a question of writing a CfgPatches or CfgVehicles ?
-
Xorellion started following Retexturing Vest
-
Hello everyone. I'm new in coding and I was about to create a mod to retexture a vest skin. The model I wanna retexture is the "V_PlateCarrierSpec_rgr". I inspired my code from other posts in the forum. Here is my full config.cpp : /// Vest_Camo_Base config /// class cfgWeapons { class ItemCore; class VestItem; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class LRI_Vest : Vest_Camo_Base { author = "xorellioin"; scope = public; displayName="LRI VEST"; weaponPoolAvailable = 1; allowedSlots[] = {901}; // This means the vest can be put into a backpack. picture = "\A3\Characters_F_Mark\Data\UI\icon_carrier_spec_rig_grn.paa"; model = "\A3\Characters_F\BLUFOR\equip_b_carrier_spec_rig.p3d"; hiddenSelectionsTextures[] = {"\A3\Characters_F_Mark\BLUFOR\Data\carrier_gl_rig_blk_co.paa"}; class ItemInfo: VestItem { uniformModel = "\A3\Characters_F\BLUFOR\equip_b_carrier_spec_rig.p3d"; containerClass = Supply100; mass = 120; class HitpointsProtectionInfo { class Neck { hitpointName="HitNeck"; armor=8; passThrough=0.5; }; class Arms { hitpointName="HitArms"; armor=8; passThrough=0.5; }; class Chest { hitpointName="HitChest"; armor=24; passThrough=0.1; }; class Diaphragm { hitpointName="HitDiaphragm"; armor=24; passThrough=0.1; }; class Abdomen { hitpointName="HitAbdomen"; armor=24; passThrough=0.1; }; class Body { hitpointName="HitBody"; passThrough=0.1; }; }; }; }; }; My idea was that I maybe forgot something in class ItemInfo or before the CfgWeapons class. What's wrong with it ? When I open the game a message appear : No entry 'bin\config.bin/CfgWeapons/ItemInfo.scope' and I can't find it in the arsenal. Thx for help. Apologize my English.