class KrahtFFX expands xTreadVehEffects;

#exec TEXTURE IMPORT NAME=KrahtFFX FILE=Effects\KrahtFFX.bmp GROUP=Effects FLAGS=2

var vector PrePivotRel;
var() bool bFadeIn;

simulated function Tick( float DeltaTime)
{
	if (bFadeIn)
	{
		DrawScale = (Default.LifeSpan - LifeSpan) * Default.DrawScale / Default.LifeSpan;
		ScaleGlow = (Default.LifeSpan - LifeSpan) * Default.ScaleGlow / Default.LifeSpan;
	}
	else
	{
		DrawScale = LifeSpan * Default.DrawScale / Default.LifeSpan;
		ScaleGlow = LifeSpan * Default.ScaleGlow / Default.LifeSpan;
	}

	if (Owner != None)
		PrePivot = PrePivotRel >> Owner.Rotation;
}

defaultproperties
{
	Skin=None
	Texture=KrahtFFX
	DrawScale=1.350000
	ScaleGlow=1.500000
	LifeSpan=1.000000
	RemoteRole=ROLE_SimulatedProxy
	bUnlit=True
	DrawType=DT_Sprite
	Style=STY_Translucent
	SpriteProjForward=16.00000
	Physics=PHYS_Trailer
	bTrailerSameRotation=True
	bTrailerPrePivot=True
	bNetTemporary=False
	bFadeIn=True
	LightBrightness=80
	LightHue=40
	LightSaturation=240
	LightRadius=10
	LightType=LT_Steady
}