Other > General Game Discussion

what does it mean Threshold in Armor category

<< < (2/2)

Atom:

--- Quote from: Atom in some ancient doc ---assuming normal difficulty level

if finesse is present then finesse_mod=30, otherwise finesse_mod=0

if armor bypassed critical, and the damage type is not emp:
 dt = armor_dt/5; dr = armor_dr/5 + dr_mod // finesse is skipped in this case
if not armor bypassed critical or armor bypassed with emp, but armor piercing or weapon penetrate perk:
 dt = armor_dt/5; dr = armor_dr + dr_mod + finesse_mod
if none of above:
 dt = armor_dt; dr = armor_dr + dr_mod + finesse_mod

if dt<0 then dt=0
if dr<0 then dr=0
if dr>100 then dr=100

totaldamage=0
dmg_mul = ammo_dmg_mul*global_dmg_mul // usually global_dmg_mul=2, but can be modified by criticals; see Kanhef's entry on critical hit tables at falloutmods wiki
dmg_div = ammo_dmg_div*2

if attack is ranged, but not throwing
  bonus = 2*bonus_ranged_damage_level
otherwise
  bonus = 0

for every bullet that hit:
 rawdamage=Rnd(weapon_dmg_min, weapon_dmg_min) + bonus
 rawdamage*=dmg_mul;
 rawdamage/=dmg_div;
 rawdamage-=dt
 rawdamage-=(rawdamage*dr)/100
 if rawdamage > 0 then totaldamage+=rawdamage

if living anatomy is present, and the target is neither robot nor alien
 totaldamage+=5
if pyromaniac, and weapon damage type is fire
 totaldamage+=5

--- End quote ---

It's kind of a pseudocode for FO2 combat algorithm. armor_dt and armor_dr are Damage Threshold and Damage Resistance respectively, gained from base stats, perks/traits and armour. ammo_dmg_mul, ammo_dmg_div and dr_mod are ammo properties. The rest is either obvious, or declared in the pseudocode.

The FOnline code is pretty much identical, with one addition - some ammo types have "armor piercing" effect, that gives the weapon the Penetrate perk (in addition to any existing weapon perk, a hidden weapon property in FO2).

Ammo properties such as DR Mod can be seen upon examining in the inventory screen.

Final note: fallout.wikia.com is horrible when it comes to the mechanics. falloutmods.wikia.com, while not perfect, is a much more reliable reference source.

Diegtariew:
Atom, really usefull info, thank you very much :)

bipboy:
one thing need to be clearified:

is the bonus ranged fire broken for miniguns?

Sarakin:
What do you mean ? Bonus rate of fire OR Bonus ranged damage ?

bipboy:
sorry, bonus ranged damage

Navigation

[0] Message Index

[*] Previous page

Go to full version