class UltimaAccum expands Effects;

var UltimaProtos UP;

replication
{
	reliable if (Role == Role_Authority)
		UP;
}

simulated function Tick( float DeltaTime)
{
local vector X, Y, Z;

	GetAxes(Pawn(Owner).ViewRotation, X, Y, Z);

	PrePivot = UP.CalcDrawOffset() + 64*X + 16*Z;
	DrawScale = (Default.LifeSpan - LifeSpan) * Default.DrawScale / Default.LifeSpan;
	ScaleGlow = (Default.LifeSpan - LifeSpan) * Default.ScaleGlow / Default.LifeSpan;
}

defaultproperties
{
	DrawType=DT_Sprite
	Texture=MegaTonCorona
	LightType=LT_Steady
	LightEffect=LE_NonIncidence
	LightBrightness=100
	LightHue=0
	LightSaturation=0
	LightRadius=10
	DrawScale=1.000000
	ScaleGlow=2.000000
	LifeSpan=2.000000
	RemoteRole=ROLE_SimulatedProxy
	bUnlit=True
	Style=STY_Translucent
	Physics=PHYS_Trailer
	bTrailerSameRotation=True
	bTrailerPrePivot=True
	SpriteProjForward=4.000000
}