Some interesting things I've found while working on my mutators over the past year.
Killing Floor - Weapon Tidbits - YouTube
Tidbit #1
Yes, putting that blunt M32/M79 grenade into a specimen's head levels your sharpshooter perk. It turns out that the damage type for blunt rockets and grenades is a sub class of DamTypeKFSnipe, which has the sniper property set to true.
For the first test, I have 44038 head shots before the wave starts. After killing 12 clots with blunt head shots, I have 44050 head shots.
Files:
DamTypeRocketImpact.uc, DamTypeKFSnipe.uc
Tidbit #2
Sharpshooter's all around head shot bonus applies to blunt head shots. With the 50% extra damage at level 6, a sharpshooter can deal 600 damage with an impact head shot from the grenades or rockets, enough to 1 shot a 6 man HoE husk with a head shot.
The test shown the video only uses the grenade launcher grenade, but it applies for the L.A.W and Husk Cannon. In the hands of a level 6 sharpshooter, the husk cannon's impact damage can deal up to 1687 damage with a head shot, enough to 2 shot a 6 man HoE scrake.
Files:
KFVetSharpshooter.uc, M79GrenadeProjectile.uc, M32GrenadeProjectile, LAWProj.uc, M203GrenadeProjectile.uc, HuskGunProjectile.uc
Tidbit #3
Unfortunately, that generic head shot bonus doesn't apply to melee weapons. Misleading perk description is misleading no? The reason this is is because the base KFMonster class does not apply the head shot perk bonus if the damage type belongs to a melee weapon.
KFMonster.TakeDamage()
To see this in action, I attack a 6 man HoE husk with a machette as a commando, berserker, and sharpshooter. Quick run down of numbers:
6 man HoE Husk = 437 head hp
Machette primary head shot = 70 * 1.25 = 87
So unperked, it should take 6 head shots, as a level 6 zerker: 3 head shots, and as a level 6 sharpshooter: 4 head shots to decapitate or kill said husk. However, the sharpshooter still takes 6 head shots to decapitate the husk, same as the commando.
Files:
KFMonster.uc
Tidbit #4
Lighting up a husk with a flamethrower isn't smart, he has up to 87.5% resistance to the flamethrower on HoE. Yes, I said flamethrower because he has no resistance to the MAC10, and that includes the burn damage.
ZombieHusk.TakeDamage
KFMonster.TakeDamage()
Since the MAC10 incendiary damage type is DamTypeMAC10MPInc, the husk resistance does not apply. In the video, the husk is being hosed down with a flamethrower to no avail, but 3 lights from the MAC10 and he dies from the burn damage.
Files:
ZombieHusk.uc, KFMonster.uc
Killing Floor - Weapon Tidbits - YouTube
Tidbit #1
Yes, putting that blunt M32/M79 grenade into a specimen's head levels your sharpshooter perk. It turns out that the damage type for blunt rockets and grenades is a sub class of DamTypeKFSnipe, which has the sniper property set to true.
Code:
[COLOR=Navy]class DamTypeRocketImpact extends DamTypeKFSnipe[/COLOR]
abstract;
defaultproperties
{
HeadShotDamageMult=2.000000
WeaponClass=Class'KFMod.LAW'
DeathString="%k killed %o (LAW Impact)."
FemaleSuicide="%o shot herself in the foot."
MaleSuicide="%o shot himself in the foot."
KDamageImpulse=5000.000000
KDeathVel=200.000000
KDeathUpKick=50.000000
}
Code:
class DamTypeKFSnipe extends KFProjectileWeaponDamageType
abstract;
defaultproperties
{
[COLOR=Navy]bSniperWeapon=True[/COLOR]
bRagdollBullet=True
bBulletHit=True
FlashFog=(X=600.000000)
KDamageImpulse=2250.000000
KDeathVel=115.000000
KDeathUpKick=5.000000
VehicleDamageScaling=0.700000
}
Files:
DamTypeRocketImpact.uc, DamTypeKFSnipe.uc
Tidbit #2
Sharpshooter's all around head shot bonus applies to blunt head shots. With the 50% extra damage at level 6, a sharpshooter can deal 600 damage with an impact head shot from the grenades or rockets, enough to 1 shot a 6 man HoE husk with a head shot.
The test shown the video only uses the grenade launcher grenade, but it applies for the L.A.W and Husk Cannon. In the hands of a level 6 sharpshooter, the husk cannon's impact damage can deal up to 1687 damage with a head shot, enough to 2 shot a 6 man HoE scrake.
Files:
KFVetSharpshooter.uc, M79GrenadeProjectile.uc, M32GrenadeProjectile, LAWProj.uc, M203GrenadeProjectile.uc, HuskGunProjectile.uc
Tidbit #3
Unfortunately, that generic head shot bonus doesn't apply to melee weapons. Misleading perk description is misleading no? The reason this is is because the base KFMonster class does not apply the head shot perk bonus if the damage type belongs to a melee weapon.
KFMonster.TakeDamage()
Code:
if ( [COLOR=Navy]class<DamTypeMelee>(damageType) == none[/COLOR] && KFPRI != none &&
KFPRI.ClientVeteranSkill != none )
{
Damage = float(Damage) * KFPRI.ClientVeteranSkill.Static.GetHeadShotDamMulti(KFPRI, DamageType);
}
6 man HoE Husk = 437 head hp
Machette primary head shot = 70 * 1.25 = 87
So unperked, it should take 6 head shots, as a level 6 zerker: 3 head shots, and as a level 6 sharpshooter: 4 head shots to decapitate or kill said husk. However, the sharpshooter still takes 6 head shots to decapitate the husk, same as the commando.
Files:
KFMonster.uc
Tidbit #4
Lighting up a husk with a flamethrower isn't smart, he has up to 87.5% resistance to the flamethrower on HoE. Yes, I said flamethrower because he has no resistance to the MAC10, and that includes the burn damage.
ZombieHusk.TakeDamage
Code:
function TakeDamage( int Damage, Pawn InstigatedBy, Vector Hitlocation, Vector Momentum, class<DamageType> damageType, optional int HitIndex)
{
// Reduced damage from fire
[COLOR=Navy]if (DamageType == class 'DamTypeBurned' || DamageType == class 'DamTypeFlamethrower')[/COLOR]
{
Damage *= BurnDamageScale;
}
Super.TakeDamage(Damage,instigatedBy,hitlocation,momentum,damageType,HitIndex);
}
Code:
[COLOR=Orange][COLOR=White] if ( class<DamTypeBurned>(damageType) != none || class<DamTypeFlamethrower>(damageType) != none )
{
FireDamageClass = class'DamTypeFlamethrower';
}
else
{
FireDamageClass = class'DamTypeMAC10MPInc';
}
[/COLOR][/COLOR]
Since the MAC10 incendiary damage type is DamTypeMAC10MPInc, the husk resistance does not apply. In the video, the husk is being hosed down with a flamethrower to no avail, but 3 lights from the MAC10 and he dies from the burn damage.
Files:
ZombieHusk.uc, KFMonster.uc
Last edited: