Difference between revisions of "Weapon Damage Formula"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
(Weapon damage formula for gun and melee weapons, unarmed TBD)
 
imported>SnakeChomp
m (Minor formatting)
Line 32: Line 32:


=== Gun Formula ===
=== Gun Formula ===
<tt>Gun Damage = PerkModifiers(DM * (GunCB + (GunCM * C)) * (D * SB + S * SM))</tt>
Gun Damage = PerkModifiers(DM * (GunCB + (GunCM * C)) * (D * SB + S * SM))


=== Melee Formula ===
=== Melee Formula ===
<tt>Melee Damage = PerkModifiers((StrM * (Str + StrB)) + DM * (MeleeCB + (MeleeCM * C)) * (D * SB + S * SM))</tt>
Melee Damage = PerkModifiers((StrM * (Str + StrB)) + DM * (MeleeCB + (MeleeCM * C)) * (D * SB + S * SM))


=== Unarmed Formula ===
=== Unarmed Formula ===
To be determined
To be determined

Revision as of 17:35, 21 December 2008

Variables

Weapon damage listed on the weapon form = D
fDamageWeaponMult = DM
fDamageSkillBase = SB
fDamageSkillMult = SM
Actor skill with the given weapon = S
This value is 10 with 100 skill, 9 with 90 skill, and etc
Weapon condition = C
100% condition gives a value of 1, 90% a value of 0.9, etc
fDamageGunWeapCondMult = GunCM
fDamageGunWeapCondBase = GunCB
fDamageMeleeWeapCondMult = MeleeCM
fDamageMeleeWeapCondBase = MeleeCB
fAVDMeleeDamageStrengthMult = StrM
fAVDMeleeDamageStrengthOffset = StrB
Actor strength value = Str
All perks with a "Calculate weapon damage" entry point = PerkModifiers(x) => y
Note that consumables which increase damage, such as the Yao Guai Meat, are implemented by adding a perk to the actor which has a "Calculate weapon damage" entry point for the duration of the effect.

Gun Formula

Gun Damage = PerkModifiers(DM * (GunCB + (GunCM * C)) * (D * SB + S * SM))

Melee Formula

Melee Damage = PerkModifiers((StrM * (Str + StrB)) + DM * (MeleeCB + (MeleeCM * C)) * (D * SB + S * SM))

Unarmed Formula

To be determined