rott/kf_sources/KFMod/Classes/ExtendedZCollision.uc
2026-07-14 20:27:09 +07:00

36 lines
834 B
Ucode

// A very stupid hack for large zombies.
class ExtendedZCollision extends Actor
NotPlaceable
Transient;
// Damage the player this is attached to
function TakeDamage( int Damage, Pawn EventInstigator, Vector Hitlocation, Vector Momentum, class<DamageType> damageType, optional int HitIndex)
{
if( Owner!=None )
Owner.TakeDamage(Damage,EventInstigator,HitLocation,Momentum,DamageType,HitIndex);
}
defaultproperties
{
RemoteRole=ROLE_None
bHidden=False
bCollideActors=True
bProjTarget=True
SurfaceType=EST_Flesh
DrawType=DT_None
// Debug draw
// DrawType=DT_Sprite
// Texture=S_Actor
//// DrawScale=+00001.000000
// DrawScale=+00000.0100000
// DrawScale3D=(X=1,Y=1,Z=1)
bCollideWorld=False
bBlockKarma=False
bIgnoreEncroachers=True
bUseCylinderCollision=true
bBlockActors=False
}