class SphericalBarrier expands Cybot;

#exec MESH IMPORT MESH=SphericalBarrier ANIVFILE=MODELS\SphericalBarrier_a.3d DATAFILE=MODELS\SphericalBarrier_d.3d X=0 Y=0 Z=0
#exec MESH LODPARAMS MESH=SphericalBarrier STRENGTH=0
#exec MESH ORIGIN MESH=SphericalBarrier X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=SphericalBarrier SEQ=All STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=SphericalBarrier SEQ=Still STARTFRAME=0 NUMFRAMES=1

#exec MESHMAP NEW MESHMAP=SphericalBarrier MESH=SphericalBarrier
#exec MESHMAP SCALE MESHMAP=SphericalBarrier X=0.8 Y=0.8 Z=1.6

#exec MESHMAP SETTEXTURE MESHMAP=SphericalBarrier NUM=1 TEXTURE=ForceFieldFX

var float CountScale;

simulated function Tick( float DeltaTime)
{
	if (CountScale <= 0.5)
	{
		CountScale += DeltaTime;
		DrawScale = CountScale * 2;
		ScaleGlow = CountScale * 4;
	}
}

defaultproperties
{
	DrawType=DT_Mesh
	Mesh=SphericalBarrier
	Physics=PHYS_None
	RemoteRole=ROLE_SimulatedProxy
	Style=STY_Translucent
	bUnlit=True
	ScaleGlow=2.000000
}
