class BarrierEffect expands Effects;

#exec TEXTURE IMPORT NAME=BarrierEffect FILE=CORONAS\BarrierEffect.bmp GROUP=Palletes FLAGS=2

#exec AUDIO IMPORT NAME="BarrierInvasion" FILE=SOUNDS\BarrierInvasion.wav GROUP="Cybot"

simulated function Tick( float DeltaTime)
{
	DrawScale = LifeSpan * 2;
	ScaleGlow = LifeSpan * Default.ScaleGlow / Default.LifeSpan;
}


function MakeSound()
{
	PlaySound(EffectSound1,,80.0,,2200);
}

simulated function PostBeginPlay()
{
	Super.PostBeginPlay();
	MakeSound();
}

defaultproperties
{
	EffectSound1=BarrierInvasion
	Skin=None
	SpriteProjForward=32.000000
	Texture=BarrierEffect
	DrawScale=1.000000
	ScaleGlow=2.000000
	LifeSpan=0.500000
	RemoteRole=ROLE_SimulatedProxy
	bUnlit=True
	DrawType=DT_Sprite
	Style=STY_Translucent
}