100 lines
3.5 KiB
Ucode
100 lines
3.5 KiB
Ucode
// Zombie Monster for KF Invasion gametype
|
|
class NiceZombieFleshpoundBase extends NiceMonster
|
|
abstract;
|
|
var () float BlockDamageReduction;
|
|
var bool bChargingPlayer,bClientCharge;
|
|
var int TwoSecondDamageTotal;
|
|
var float LastDamagedTime,RageEndTime;
|
|
var() vector RotMag; // how far to rot view
|
|
var() vector RotRate; // how fast to rot view
|
|
var() float RotTime; // how much time to rot the instigator's view
|
|
var() vector OffsetMag; // max view offset vertically
|
|
var() vector OffsetRate; // how fast to offset view vertically
|
|
var() float OffsetTime; // how much time to offset view
|
|
var name ChargingAnim; // How he runs when charging the player.
|
|
//var ONSHeadlightCorona DeviceGlow; //KFTODO: Don't think this is needed, its not reffed anywhere
|
|
var() int RageDamageThreshold; // configurable.
|
|
var NiceAvoidMarkerFP AvoidArea; // Make the other AI fear this AI
|
|
var bool bFrustrated; // The fleshpound is tired of being kited and is pissed and ready to attack
|
|
replication
|
|
{
|
|
reliable if(Role == ROLE_Authority)
|
|
bChargingPlayer, bFrustrated;
|
|
}
|
|
//-------------------------------------------------------------------------------
|
|
// NOTE: All Code resides in the child class(this class was only created to
|
|
// eliminate hitching caused by loading default properties during play)
|
|
//-------------------------------------------------------------------------------
|
|
defaultproperties
|
|
{
|
|
BlockDamageReduction=0.400000
|
|
RotMag=(X=500.000000,Y=500.000000,Z=600.000000)
|
|
RotRate=(X=12500.000000,Y=12500.000000,Z=12500.000000)
|
|
RotTime=6.000000
|
|
OffsetMag=(X=5.000000,Y=10.000000,Z=5.000000)
|
|
OffsetRate=(X=300.000000,Y=300.000000,Z=300.000000)
|
|
OffsetTime=3.500000
|
|
ChargingAnim="PoundRun"
|
|
RageDamageThreshold=360
|
|
StunThreshold=4.000000
|
|
fuelRatio=0.150000
|
|
MeleeAnims(0)="PoundAttack1"
|
|
MeleeAnims(1)="PoundAttack2"
|
|
MeleeAnims(2)="PoundAttack3"
|
|
StunsRemaining=1
|
|
BleedOutDuration=7.000000
|
|
ZapThreshold=1.750000
|
|
ZappedDamageMod=1.250000
|
|
bHarpoonToBodyStuns=False
|
|
ZombieFlag=3
|
|
MeleeDamage=35
|
|
damageForce=15000
|
|
bFatAss=True
|
|
KFRagdollName="FleshPound_Trip"
|
|
SpinDamConst=20.000000
|
|
SpinDamRand=20.000000
|
|
bMeleeStunImmune=True
|
|
Intelligence=BRAINS_Mammal
|
|
bUseExtendedCollision=True
|
|
ColOffset=(Z=52.000000)
|
|
ColRadius=36.000000
|
|
ColHeight=35.000000
|
|
SeveredArmAttachScale=1.300000
|
|
SeveredLegAttachScale=1.200000
|
|
SeveredHeadAttachScale=1.500000
|
|
PlayerCountHealthScale=0.250000
|
|
OnlineHeadshotOffset=(X=22.000000,Z=68.000000)
|
|
OnlineHeadshotScale=1.100000
|
|
HeadHealth=700.000000
|
|
PlayerNumHeadHealthScale=0.300000
|
|
MotionDetectorThreat=5.000000
|
|
bBoss=True
|
|
ScoringValue=200
|
|
IdleHeavyAnim="PoundIdle"
|
|
IdleRifleAnim="PoundIdle"
|
|
RagDeathUpKick=100.000000
|
|
MeleeRange=55.000000
|
|
GroundSpeed=130.000000
|
|
WaterSpeed=120.000000
|
|
HealthMax=1650.000000
|
|
Health=1650
|
|
HeadHeight=2.500000
|
|
HeadScale=1.300000
|
|
maxStoppingEffect=0.05
|
|
minStoppingThreshold=0.68
|
|
MenuName="Nice Flesh Pound"
|
|
MovementAnims(0)="PoundWalk"
|
|
MovementAnims(1)="WalkB"
|
|
WalkAnims(0)="PoundWalk"
|
|
WalkAnims(1)="WalkB"
|
|
WalkAnims(2)="RunL"
|
|
WalkAnims(3)="RunR"
|
|
IdleCrouchAnim="PoundIdle"
|
|
IdleWeaponAnim="PoundIdle"
|
|
IdleRestAnim="PoundIdle"
|
|
PrePivot=(Z=0.000000)
|
|
Skins(1)=Shader'KFCharacters.FPAmberBloomShader'
|
|
Mass=600.000000
|
|
RotationRate=(Yaw=45000,Roll=0)
|
|
}
|