KF2-Server-Extension/ServerExt/Classes/VS_ZedClotBase.uc

32 lines
851 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
class VS_ZedClotBase extends VSZombie
abstract;
simulated event PostInitAnimTree(SkeletalMeshComponent SkelComp)
{
2020-11-28 20:04:55 +00:00
Super.PostInitAnimTree(SkelComp);
2017-10-20 02:00:49 +00:00
2020-11-28 20:12:58 +00:00
if (bCanHeadTrack)
2017-10-20 02:00:49 +00:00
{
IK_Look_Head = SkelControlLookAt(Mesh.FindSkelControl('HeadLook'));
2020-11-28 19:53:57 +00:00
//IK_Look_Spine = SkelControlLookAt(Mesh.FindSkelControl('SpineLook'));
2017-10-20 02:00:49 +00:00
}
}
2020-11-28 20:04:55 +00:00
simulated function float StartAttackAnim(byte Num) // Return animation duration.
2017-10-20 02:00:49 +00:00
{
2020-11-28 20:12:58 +00:00
if (FPHandModel!=None)
2017-10-20 02:00:49 +00:00
FPHandModel.PlayHandsAnim('Atk_Combo1_V1');
return PlayBodyAnim('Atk_Combo1_V1',EAS_UpperBody);
}
defaultproperties
{
MonsterArchPath="ZED_ARCH.ZED_Clot_UnDev_Archetype"
CharacterMonsterArch=KFCharacterInfo_Monster'ZED_ARCH.ZED_Clot_UnDev_Archetype'
DoshValue=12
HitsPerAttack=2
KnockedDownBySonicWaveOdds=0.230000
Mass=50.000000
GroundSpeed=190.000000
RotationRate=(Pitch=50000,Yaw=30000,Roll=50000)
}