Jump to content
Sign in to follow this  
DeclaredEvol

Body Armor mod for West and East soldiers

Recommended Posts

I've had trouble getting my body armor HitPoints to work because all characters created through content off of the net already has its set values for Hit Points. Is it possible to create a Body Armor mod that sets values for not just the generic forces on ArmA 2 but the created content like Navy Seal mods etc????

I set the hitpoints specifically for all units of West, East, Guerrilla and Independant troops but only works with default content from the regular game.

Share this post


Link to post
Share on other sites

I have produced script but it doesn't seem to work for custom units :(

Can anyone help me????

// This mod is dedicated to some of the issues one of the last body armor mods had, and to ACE MOD and the..

// ... ArmA Community, thankyou for downloading my mod. I will also be adding some more features later on.

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*/////////////////////////////////////////////////////////////////

/////////EVERY SOLDIER HAS ARMOR 'CAManBase(MAN)'////////////////*/

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

class CfgVehicles

{

class All; // External class reference

class AllVehicles; // External class reference

class Land; // External class reference

class Man;

class LandVehicle; // External class reference

class Motorcycle; // External class reference

class CAManBase; // External class reference

class Static; // External class reference

class Building; // External class reference

class NonStrategic; // External class reference

class Strategic; // External class reference

class SoldierWB; // External class reference

class SoldierEB; // External class reference

class Logic; // External class reference

class CAManBase : Man

{

armor = 5;

armorStructural = 50;

class HitPoints

{

class HitHead

{

armor = .85;

passThrough = 1;

};

class HitBody

{

armor = 100;

passThrough = 0;

};

class HitHands

{

armor = .5;

passThrough = 1;

};

class HitLegs

{

armor = .5;

passThrough = 1;

};

};

};

class Civilian : CAManBase

{

armor = 3.1;

class HitPoints

{

class HitHead {};

};

};

};

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  

×