class SmallClotMut extends Mutator;
function PostBeginPlay()
{
SetTimer(0.1, false);
}
function Timer()
{
local KFGameType KF;
local byte i;
KF = KFGameType(Level.Game);
KF.InitSquads.Length = 1;
KF.InitSquads[0].MSquad.Length = 8;
for( i=0; i<8; i++ )
KF.InitSquads[0].MSquad[i] = class'SmallClot';
}
defaultproperties
{
GroupName="KFSmallClotMut"
FriendlyName="Small Clots Mutator"
Description="Replaces clots with smaller version."
}
class SmallClot extends ZombieClot;
defaultproperties
{
DrawScale=0.5
Prepivot=(Z=-1.1)
CollisionHeight=19.8
CollisionRadius=11.7
ColOffset=(Z=21.6)
ColRadius=11.25
ColHeight=2.25
HeadScale=0.5
SeveredHeadAttachScale=0.355
SeveredLegAttachScale=0.355
SeveredArmAttachScale=0.355
GroundSpeed=10
MeleeRange=11.7
MeleeDamage=0
}
simulated function PlayDyingAnimation(class<DamageType> DamageType, vector HitLoc)
{
SetDrawScale(1.1);
Super.PlayDyingAnimation(DamageType, HitLoc);
}