General > Discussion

Armor Formula, Base Detection

<< < (2/3) > >>

Soandso:
What is happening with head shots then?  Is that multiplying a small damage to make a one hit kill?  Many weapons seem useless due to low damage, especially the auto pistol.  Right now I'm using assault rifle, shotgun, flamer, rocket, sniper rifle on the ground; Stilletos with only missiles and 2 targeting computers in the air.

Noordung:
pistols are good in start when aliens dont have armours. later you will have to research laser/plasma/beam pistols. still useful for some fast RF and for medics or granadeers. also one shot from pistol wont trigger alien RF.

DarkRain:
Head shots? I know nothing about any head shots.

Soandso:
I killed a Taman in one hit aimed at the head with assault rifle.

I counted the damage from a plasma rifle hit on nanocomposite.  It did exactly 50 damage, which means it bypassed the armor entirely.


--- Code: ---int G_ApplyProtection (const Edict* target, const byte dmgWeight, int damage)
{
  const int naturalProtection = target->chr.teamDef->resistance[dmgWeight];
  if (target->getArmour()) {
    const objDef_t* armourDef = target->getArmour()->def();
    const short armourProtection = armourDef->protection[dmgWeight];
    const short totalProtection = armourProtection + naturalProtection;
    damage = std::min(std::max(0, damage - armourProtection), std::max(1, damage - totalProtection));
  } else {
    damage = std::max(1, damage - naturalProtection);
  }
  return damage;
}
--- End code ---

I just found the code.  According to this it should be basically 50 - 40 = 10 for plasma rifle hit.  So I'm confused about why every hit would not be 10.

DarkRain:
Re: Head shots: While you can technically aim to the head it won't do any extra damage, but there are other possible explanations: difficulty level silently multiplies the damage dealt, in crash sites there's a low chance for an alien to spawn heavily injured (with 5% - 50% HP)...

About plasma rifle: It has a base damage of 80 with a variance of 10 (ie it can do 70 - 90 damage), nano armour has 30 protection against plasma_medium (the damage weight of the rifle) so 50 damage is perfectly fine with the specs, I don't know where you got your "50 - 40 = 10" calculation from...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version