class CannonPulseExpl expands SpriteYellowE;

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

var() texture ExplSprite[4], ExplLightPal[4];
var byte Team;

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

function MakeSound()
{
    PlaySound(EffectSound1,,1.5);
}


function SetExplColor()
{
	Team = Instigator.PlayerReplicationInfo.Team;
	Texture = ExplSprite[Team];
	Skin = ExplLightPal[Team];
}

defaultproperties
{
	DrawScale=0.500000
	LightRadius=8
	EffectSound1=CannonPulseHit
	LightRadius=1
	ExplLightPal(0)=Texture'UnrealShare.Effects.PalRed'
	ExplLightPal(1)=Texture'UnrealShare.Effects.BluePal'
	ExplLightPal(2)=Texture'UnrealShare.Effects.PalGreen'
	ExplLightPal(3)=Texture'UnrealShare.Effects.PalYellow'
	ExplSprite(0)=Texture'UnrealShare.DispExpl.DseO_A00'
	ExplSprite(1)=Texture'UnrealShare.DispExpl.dseb_A00'
	ExplSprite(2)=Texture'UnrealShare.DispExpl.DISE_A00'
	ExplSprite(3)=Texture'UnrealShare.DispExpl.dseY_A00'
}
