Jump to content
Sign in to follow this  
zikofrap

Change armor vest (RHS)

Recommended Posts

Hello. I want to change the armor for all RHS body armor, can you tell me if I can do it without affecting the entire texture code and so on, but using only "class HitpointsProtectionInfo"? At the moment, the script does not give errors, but the armor still does not change its values. (Armor set to 1 unit is just a test)
 

class cfgWeapons {
class ItemCore;	// External class reference
class InventoryItem_Base_F;	// External class reference
class HeadgearItem;
class Uniform_Base;
class UniformItem;
class Vest_Camo_Base;
class Vest_NoCamo_Base;
class VestItem;
class ItemInfo;

class rhs_6b13: Vest_Camo_Base
{
	/* other properties */
	class ItemInfo: ItemInfo
	{
		/* other properties */
		class HitpointsProtectionInfo
		{
			class Neck
			{
				hitpointName	= "HitNeck";	
				armor			= 8;	// 16
				passThrough		= 0.5;			
			};
			class Chest
			{
				hitpointName	= "HitChest";
				armor			= 1;    // 28
				passThrough		= 0.1;
			};
			class Diaphragm
			{
				hitpointName	= "HitDiaphragm";
				armor			= 1;    // 28
				passThrough		= 0.1;
			};
			class Abdomen
			{
				hitpointName	= "HitAbdomen";
				armor			= 1;   // 22
				passThrough		= 0.1;
			};
			class Body
			{
				hitpointName	= "HitBody";
				passThrough		= 0.1;
			};
		};
	};
};
};

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×