View unanswered posts | View active topics It is currently Tue Jun 18, 2019 12:10 am



Reply to topic  [ 5 posts ] 
 Armor 
Author Message

Joined: Tue Oct 20, 2015 2:56 am
Posts: 62
Location: Under a bridge.
Reply with quote
Post Armor
I want to make mods and I am just learning how to, one of the things I havent touched on is armor and I was wondering if anyone knew how that worked. I have a vague idea about the mass of the armor changing how heavy a bullet it can block, but i am not sure.


Sat Dec 26, 2015 4:04 am
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2071
Reply with quote
Post Re: Armor
You can add armor plates to actors/crabs/craft/weapons by using attachables.
Look at the coalition heavy and dummy dreadnought code for reference.

Strength of the armor is depending on the material it is made of.
The stronger the material, the less chances the armor is penetrated (entry wound).
Strong materials like "Mega Metal" will cause low velocity/low sharpness particles to bounce off it, causing no damage.
High velocity/high sharpness particles can penetrate armor all the way (entry wound + exit wound), hitting your actor.

Again, see coalition heavy and dummy dreadnought for better understanding.
Also you can check my MDC mod, I used plenty of attachable armor on actors, craft, crabs, turrets - basically everything.


Sat Dec 26, 2015 1:58 pm
Profile

Joined: Mon Dec 21, 2015 9:30 am
Posts: 82
Reply with quote
Post Re: Armor
Also something to note is that unlike the health bar, armor works on how many times it's hit - unless you set the gibimpulselimit low, in which case a strong bullet or a firm gust of wind will gib your armor. I generally set the impulse limit high enough so no conventional bullet can take it off in one shot. The gibwoundlimit is the amount of times it can be shot, by a bullet of any strength (again, if you set the impulselimit high enough), before it breaks.


Sat Dec 26, 2015 2:55 pm
Profile

Joined: Tue Oct 20, 2015 2:56 am
Posts: 62
Location: Under a bridge.
Reply with quote
Post Re: Armor
Ok, so it has nthing to do with the mass of the attachable?


Mon Dec 28, 2015 1:12 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2071
Reply with quote
Post Re: Armor
johiah wrote:
Ok, so it has nthing to do with the mass of the attachable?

Absolutely nothing.
It has everything to do with the "StructuralIntegrity" variable of the material you are using.

Best way to learn how everything works is to mess around with variables and seeing how they behave ingame.
It's all trial and error. Worst case scenario is your game crashing without telling you why.


Mon Dec 28, 2015 5:43 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.016s | 16 Queries | GZIP : Off ]