1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFWeap_Blunt_ChainBat.uc
2023-05-11 18:55:04 +03:00

81 lines
3.4 KiB
Ucode

//=============================================================================
// KFWeap_Blunt_ChainBat
//=============================================================================
//
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// - Zane Gholson
//=============================================================================
class KFWeap_Blunt_ChainBat extends KFWeap_MeleeBase;
defaultproperties
{
// Zooming/Position
PlayerViewOffset=(X=2,Y=0,Z=0)
// Content
PackageKey="ChainBat"
FirstPersonMeshName="WEP_1P_ChainBat_MESH.Wep_1stP_ChainBat_Rig"
FirstPersonAnimSetNames(0)="Wep_1P_ChainBat_ANIM.Wep_1stP_ChainBat_Anim"
PickupMeshName="WEP_3P_ChainBat_MESH.Wep_ChainBat_Pickup"
AttachmentArchetypeName="WEP_ChainBat_ARCH.Wep_ChainBat_3P"
Begin Object Name=MeleeHelper_0
MaxHitRange=190
// Override automatic hitbox creation (advanced)
HitboxChain.Add((BoneOffset=(X=+3,Z=190)))
HitboxChain.Add((BoneOffset=(X=-3,Z=170)))
HitboxChain.Add((BoneOffset=(X=+3,Z=150)))
HitboxChain.Add((BoneOffset=(X=-3,Z=130)))
HitboxChain.Add((BoneOffset=(X=+3,Z=110)))
HitboxChain.Add((BoneOffset=(X=-3,Z=90)))
HitboxChain.Add((BoneOffset=(X=+3,Z=70)))
HitboxChain.Add((BoneOffset=(X=-3,Z=50)))
HitboxChain.Add((BoneOffset=(X=+3,Z=30)))
HitboxChain.Add((BoneOffset=(Z=10)))
WorldImpactEffects=KFImpactEffectInfo'FX_Impacts_ARCH.Blunted_melee_impact'
MeleeImpactCamShakeScale=0.03f //0.3
// modified combo sequences
ChainSequence_F=(DIR_Left, DIR_ForwardRight, DIR_ForwardLeft, DIR_ForwardRight, DIR_ForwardLeft)
ChainSequence_B=(DIR_BackwardRight, DIR_ForwardLeft, DIR_BackwardLeft, DIR_ForwardRight, DIR_Left, DIR_Right, DIR_Left)
ChainSequence_L=(DIR_Right, DIR_Left, DIR_ForwardRight, DIR_ForwardLeft, DIR_Right, DIR_Left)
ChainSequence_R=(DIR_Left, DIR_Right, DIR_ForwardLeft, DIR_ForwardRight, DIR_Left, DIR_Right)
End Object
InstantHitDamageTypes(DEFAULT_FIREMODE)=class'KFDT_Bludgeon_ChainBat'
InstantHitDamage(DEFAULT_FIREMODE)=75// 34
InstantHitDamageTypes(HEAVY_ATK_FIREMODE)=class'KFDT_Bludgeon_ChainBatHeavy'
InstantHitDamage(HEAVY_ATK_FIREMODE)=100 //68
InstantHitDamageTypes(BASH_FIREMODE)=class'KFDT_Bludgeon_ChainBatBash'
InstantHitDamage(BASH_FIREMODE)=75
// Inventory
GroupPriority=50
InventorySize=5
WeaponSelectTexture=Texture2D'Wep_UI_ChainBat_TEX.UI_WeaponSelect_RRChainbat'
AssociatedPerkClasses(0)=class'KFPerk_Berserker'
// Block Sounds
BlockSound=AkEvent'WW_WEP_Bullet_Impacts.Play_Block_MEL_Katana'
ParrySound=AkEvent'WW_WEP_Bullet_Impacts.Play_Parry_Metal'
ParryDamageMitigationPercent=0.50
BlockDamageMitigation=0.60
ParryStrength=4
// Weapon Upgrade stat boosts
//WeaponUpgrades[1]=(IncrementDamage=1.2f,IncrementWeight=1)
//WeaponUpgrades[2]=(IncrementDamage=1.4f,IncrementWeight=2)
//WeaponUpgrades[3]=(IncrementDamage=1.6f,IncrementWeight=3)
WeaponUpgrades[1]=(Stats=((Stat=EWUS_Damage0, Scale=1.2f), (Stat=EWUS_Damage1, Scale=1.2f), (Stat=EWUS_Damage2, Scale=1.2f), (Stat=EWUS_Weight, Add=1)))
WeaponUpgrades[2]=(Stats=((Stat=EWUS_Damage0, Scale=1.4f), (Stat=EWUS_Damage1, Scale=1.4f), (Stat=EWUS_Damage2, Scale=1.4f), (Stat=EWUS_Weight, Add=2)))
WeaponUpgrades[3]=(Stats=((Stat=EWUS_Damage0, Scale=1.6f), (Stat=EWUS_Damage1, Scale=1.6f), (Stat=EWUS_Damage2, Scale=1.6f), (Stat=EWUS_Weight, Add=3)))
}