class ZY_ExplEffect expands SpriteYellowE;

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

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

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

	Team = Instigator.PlayerReplicationInfo.Team;

	if (Class'NWMutator'.default.bCybotID_InTeamGames && Level.Game.IsA('TeamGamePlus') && !Level.Game.IsA('MonsterHunt'))
	{
		Texture = ExplSprite[Team];
		Skin = ExplLightPal[Team];
	}
}

defaultproperties
{
	DrawScale=0.500000
	LightRadius=8
	EffectSound1=NormalCybotEnergyHit
	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'
}
