Jump to content
Sign in to follow this  
mcnools

unit health/armour

Recommended Posts

Well, in ofp you could configure units armour values, and I'm thinking of doing a "super"-unit that can take lots of bullets etc. just for playing around with some, and I was wondering if anyone knows if it can be done in ArmA?

(and if your'e going to post something in the lines of "it's supposed to be realistic you noob" you can just be quiet instead).

Edit: I mean soldiers, not tanks etc.

Share this post


Link to post
Share on other sites

I believe you would add the armor values to the units config, just as you would in OFP... huh.gif I do not have ARMA yet, so I am not entirely sure.

Share this post


Link to post
Share on other sites

oh, also, I can't remember how you do that ^^

Share this post


Link to post
Share on other sites

Actually I just found out how to do it thanks to NEM's zombies-config.

you just put

armor=40;

armorhead=4;

armorbody=9;

armorhands=15;

armorlegs=15;

(and change the values to what you want)

somewhere under where you put the weapons the unit should have etc. (can't explain it properly, damn language barriers)

Share this post


Link to post
Share on other sites

Mcnools thats wrong, its done like that in OFP and i didnt config it properly for those zombies. tounge2.gif

Its like this: (thanks to charonos for noticing)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> armor=38;

class HitHead {

armor = 0.05;

material = -1;

name = "head_hit";

passThrough = true;

};

class HitBody {

armor = 80;

material = -1;

name = "body";

passThrough = true;

};

class HitHands {

armor = 120;

material = -1;

name = "hands";

passThrough = true;

};

class HitLegs {

armor = 100;

material = -1;

name = "legs";

passThrough = true;

};

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  

×