//=============================================================================
// BallExplosion.
//=============================================================================
class BallExplosion expands Effects;

#exec MESH IMPORT MESH=b1exp ANIVFILE=MODELS\b1exp_a.3D DATAFILE=MODELS\b1exp_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=b1exp X=0 Y=0 Z=0 YAW=-64
#exec MESH SEQUENCE MESH=b1exp SEQ=All       STARTFRAME=0   NUMFRAMES=11
#exec MESH SEQUENCE MESH=b1exp SEQ=Explo     STARTFRAME=0   NUMFRAMES=11
#exec MESHMAP SCALE MESHMAP=b1exp X=0.3 Y=0.3 Z=0.6 YAW=128
#exec OBJ LOAD FILE=Textures\fireeffect6.utx PACKAGE=UNREALI
#exec MESHMAP SETTEXTURE MESHMAP=b1exp NUM=1 TEXTURE=FireEffect6

#exec AUDIO IMPORT FILE="Sounds\flak\expl2.UFX" NAME="expl2" GROUP="flak" 


simulated function Tick( float DeltaTime )
{
	LightBrightness = Max( LightBrightness - 250*DeltaTime, 0 );
}

function PostBeginPlay()
{
	PlayAnim  ( 'Explo', 0.6 );
	PlaySound (EffectSound1);
	MakeNoise ( 1.0 );
	CallParent.PostBeginPlay();
}

function AnimEnd()
{
	Destroy();
}

