1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFDT_Ballistic_Shotgun_S12.uc

54 lines
1.2 KiB
Ucode
Raw Normal View History

2023-05-11 15:55:04 +00:00
//=============================================================================
// KFDT_Ballistic_Shotgun_S12
//=============================================================================
// Damage type class for the S12 shotgun
//=============================================================================
// Killing Floor 2
// Copyright (C) 2023 Tripwire Interactive LLC
//=============================================================================
class KFDT_Ballistic_Shotgun_S12 extends KFDT_Ballistic_Shotgun
abstract
hidedropdown;
/** Allows the damage type to customize exactly which hit zones it can dismember */
static simulated function bool CanDismemberHitZone( name InHitZoneName )
{
if( super.CanDismemberHitZone( InHitZoneName ) )
{
return true;
}
switch ( InHitZoneName )
{
case 'lupperarm':
case 'rupperarm':
case 'chest':
case 'heart':
return true;
}
return false;
}
defaultproperties
{
BloodSpread=0.4
BloodScale=0.6
KDamageImpulse=900
KDeathUpKick=-500
KDeathVel=350
//KDamageImpulse=350
//KDeathUpKick=120
//KDeathVel=10
2023-05-25 20:42:10 +00:00
StumblePower=10
2023-05-11 15:55:04 +00:00
GunHitPower=0
ModifierPerkList(0)=class'KFPerk_Support'
WeaponDef=class'KFWeapDef_Shotgun_S12'
}