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

35 lines
701 B
Ucode

class KFLAWCorona extends Effects;
auto state Start
{
simulated function Tick(float dt)
{
SetDrawScale(FMin(DrawScale + dt*12.0, 1.5));
if (DrawScale >= 1.5)
GotoState('End');
}
}
state End
{
simulated function Tick(float dt)
{
SetDrawScale(FMax(DrawScale - dt*12.0, 0.9));
if (DrawScale <= 0.9)
GotoState('');
}
}
defaultproperties
{
bTrailerSameRotation=True
Physics=PHYS_Trailer
Texture=Texture'KillingFloorLabTextures.LabCommon.KFCorona'
DrawScale=1.200000
DrawScale3D=(X=0.700000,Y=0.350000,Z=0.350000)
Skins(0)=Texture'KillingFloorLabTextures.LabCommon.KFCorona'
Style=STY_Normal
Mass=13.000000
}