NicePack/sources/Zeds/Nice/NiceZombieCrawlerBase.uc
2022-01-23 00:29:31 +04:00

99 lines
3.1 KiB
Ucode

// Zombie Monster for KF Invasion gametype
class NiceZombieCrawlerBase extends NiceMonster
abstract;
// #exec OBJ LOAD FILE=
var() float PounceSpeed;
var bool bPouncing;
var(Anims) name MeleeAirAnims[3]; // Attack anims for when flying through the air
//-------------------------------------------------------------------------------
// NOTE: All Code resides in the child class(this class was only created to
// eliminate hitching caused by loading default properties during play)
//-------------------------------------------------------------------------------
defaultproperties
{
PounceSpeed=330.000000
MeleeAirAnims(0)="InAir_Attack1"
MeleeAirAnims(1)="InAir_Attack2"
StunThreshold=2.000000
fuelRatio=0.800000
bWeakHead=True
clientHeadshotScale=1.350000
MeleeAnims(0)="ZombieLeapAttack"
MeleeAnims(1)="ZombieLeapAttack2"
HitAnims(1)="HitF"
HitAnims(2)="HitF"
KFHitFront="HitF"
KFHitBack="HitF"
KFHitLeft="HitF"
KFHitRight="HitF"
bStunImmune=True
bCannibal=True
ZombieFlag=2
MeleeDamage=6
damageForce=5000
KFRagdollName="Crawler_Trip"
CrispUpThreshhold=10
Intelligence=BRAINS_Mammal
SeveredArmAttachScale=0.800000
SeveredLegAttachScale=0.850000
SeveredHeadAttachScale=1.100000
OnlineHeadshotOffset=(X=28.000000,Z=7.000000)
OnlineHeadshotScale=1.200000
MotionDetectorThreat=0.340000
ScoringValue=10
IdleHeavyAnim="ZombieLeapIdle"
IdleRifleAnim="ZombieLeapIdle"
bCrawler=True
GroundSpeed=140.000000
WaterSpeed=130.000000
JumpZ=350.000000
HealthMax=70.000000
Health=70
HeadHeight=2.500000
HeadScale=1.050000
MenuName="Nice Crawler"
bDoTorsoTwist=False
MovementAnims(0)="ZombieScuttle"
MovementAnims(1)="ZombieScuttleB"
MovementAnims(2)="ZombieScuttleL"
MovementAnims(3)="ZombieScuttleR"
WalkAnims(0)="ZombieScuttle"
WalkAnims(1)="ZombieScuttleB"
WalkAnims(2)="ZombieScuttleL"
WalkAnims(3)="ZombieScuttleR"
// steves dont have "jump" animation
// https://github.com/poosh/KF-ScrnZedPack/blob/master/Classes/ZedBaseCrawler.uc
AirAnims(0)="ZombieLeapIdle"
AirAnims(1)="ZombieLeapIdle"
AirAnims(2)="ZombieLeapIdle"
AirAnims(3)="ZombieLeapIdle"
TakeoffAnims(0)="ZombieSpring"
TakeoffAnims(1)="ZombieSpring"
TakeoffAnims(2)="ZombieSpring"
TakeoffAnims(3)="ZombieSpring"
LandAnims(0)="Landed"
LandAnims(1)="Landed"
LandAnims(2)="Landed"
LandAnims(3)="Landed"
// these should not use but just in case
DoubleJumpAnims(0)="ZombieSpring"
DoubleJumpAnims(1)="ZombieSpring"
DoubleJumpAnims(2)="ZombieSpring"
DoubleJumpAnims(3)="ZombieSpring"
DodgeAnims(0)="ZombieSpring"
DodgeAnims(1)="ZombieSpring"
DodgeAnims(2)="ZombieSpring"
DodgeAnims(3)="ZombieSpring"
AirStillAnim="Jump2"
TakeoffStillAnim="ZombieSpring"
IdleCrouchAnim="ZombieLeapIdle"
IdleWeaponAnim="ZombieLeapIdle"
IdleRestAnim="ZombieLeapIdle"
bOrientOnSlope=True
DrawScale=1.100000
PrePivot=(Z=0.000000)
CollisionHeight=25.000000
BleedOutDuration=2.0
}