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

39 lines
1.9 KiB
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFSM_PlayerFleshpound_Melee
//=============================================================================
// Player controlled fleshpound attacks
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
//=============================================================================
class KFSM_PlayerFleshpound_Melee extends KFSM_PlayerMeleeBase;
/** Can be overridden in subclasses to determine if special attacks are used over defaults */
static function bool IsInSpecialMode( KFPawn P )
{
local KFPawn_ZedFleshPound_Versus MyFPPawn;
MyFPPawn = KFPawn_ZedFleshPound_Versus( P );
if( MyFPPawn != none )
{
return MyFPPawn.bIsEnraged;
}
return false;
}
defaultproperties
{
SoundStopEvent=AkEvent'ww_zed_fleshpound_2.Play_FleshPound_Righ_Arm_LP_Stop'
Attacks.Add((Type=PZA_Default, Stance=EAS_FullBody, Anims=(Player_Light_Atk)))
Attacks.Add((Type=PZA_Sprinting, Stance=EAS_FullBody, Anims=(Player_Sprint_Light_Atk, Player_Light_Atk)))
Attacks.Add((Type=PZA_Backwards, Stance=EAS_FullBody, Anims=(Player_Kick), bCannotBeParried=true))
Attacks.Add((Type=PZA_Jumping, Stance=EAS_FullBody, Anims=(Player_Jump_Atk), bForceDisableRootMotion=true), bCannotBeParried=true)
Attacks.Add((Type=PZA_Headless, Stance=EAS_UpperBody, Anims=(Player_Headless_Atk_V1, Player_Headless_Atk_V2)))
// Rage attacks
Attacks.Add((Type=PZA_SpecialDefault, Stance=EAS_FullBody, Anims=(Player_Rage_Light, Player_Rsprint_Light), bCannotBeParried=true))
Attacks.Add((Type=PZA_SpecialSprinting, Stance=EAS_FullBody, Anims=(Player_Rsprint_Light, Player_Rage_Light), bCannotBeParried=true))
Attacks.Add((Type=PZA_SpecialBackwards, Stance=EAS_FullBody, Anims=(Player_360_Spin), bCannotBeParried=true))
}