//=============================================================================
// FatRing.
//=============================================================================
class FatRing expands Effects;

#exec MESH IMPORT MESH=FatRing ANIVFILE=MODELS\Ring_a.3D DATAFILE=MODELS\Ring_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=FatRing X=0 Y=0 Z=0 PITCH=64
#exec MESH SEQUENCE MESH=FatRing SEQ=All      STARTFRAME=0   NUMFRAMES=16
#exec MESH SEQUENCE MESH=FatRing SEQ=Explosion STARTFRAME=0   NUMFRAMES=11
#exec MESH SEQUENCE MESH=FatRing SEQ=SmallExp  STARTFRAME=11  NUMFRAMES=5
#exec OBJ LOAD FILE=Textures\fireeffect5.utx PACKAGE=UNREALI
#exec MESHMAP SCALE MESHMAP=FatRing X=0.5 Y=0.5 Z=1.0 
#exec MESHMAP SETTEXTURE MESHMAP=FatRing NUM=1 TEXTURE=FireEffect5

#exec AUDIO IMPORT FILE="Sounds\general\Explo4a.WAV" NAME="FatRingSound" GROUP="General"

function Timer()
{
	if (LightBrightness>60) LightBrightness-=60;
}


auto state Explode
{
Begin:
	SetTimer(0.1,True);
	PlayAnim  ( 'Explosion', 1 );
	PlaySound (EffectSound1,,3.0);	
	MakeNoise ( 1.0 );
	FinishAnim();
	Destroy   ();
}

