24 lines
2.1 KiB
Ucode
24 lines
2.1 KiB
Ucode
// ScrN copy
|
|
class NiceCryoNadeCloud extends Emitter;
|
|
var bool bFlashed;
|
|
simulated function PostBeginPlay(){
|
|
super.PostBeginPlay();
|
|
NadeLight();
|
|
}
|
|
simulated function NadeLight(){
|
|
if(instigator == none) return;
|
|
if(Level.bDropDetail) return;
|
|
if( (Level.TimeSeconds - LastRenderTime < 0.2)
|
|
|| (PlayerController(instigator.controller) != none)){
|
|
bDynamicLight = true;
|
|
SetTimer(0.25, false);
|
|
}
|
|
else
|
|
Timer();
|
|
}
|
|
simulated function Timer(){
|
|
bDynamicLight = false;
|
|
}
|
|
defaultproperties
|
|
{
|
|
Begin Object Class=SpriteEmitter Name=SpriteEmitter0
|
|
UseColorScale=True
|
|
RespawnDeadParticles=False
|
|
SpinParticles=True
|
|
UseSizeScale=True
|
|
UseRegularSizeScale=False
|
|
UniformSize=True
|
|
AutomaticInitialSpawning=False
|
|
BlendBetweenSubdivisions=True
|
|
ColorScale(0)=(Color=(B=255,G=235,R=215,A=255))
|
|
ColorScale(1)=(RelativeTime=1.000000,Color=(B=245,G=225,R=205,A=255))
|
|
FadeOutFactor=(W=0.000000,X=0.000000,Y=0.000000,Z=0.000000)
|
|
FadeOutStartTime=5.000000
|
|
SpinsPerSecondRange=(Y=(Min=0.050000,Max=0.100000),Z=(Min=0.050000,Max=0.100000))
|
|
StartSpinRange=(X=(Min=-0.500000,Max=0.500000),Y=(Max=1.000000),Z=(Max=1.000000))
|
|
SizeScale(0)=(RelativeSize=1.000000)
|
|
SizeScale(1)=(RelativeTime=1.000000,RelativeSize=5.000000)
|
|
StartSizeRange=(X=(Min=40.000000,Max=40.000000),Y=(Min=40.000000,Max=40.000000),Z=(Min=40.000000,Max=40.000000))
|
|
InitialParticlesPerSecond=5000.000000
|
|
DrawStyle=PTDS_AlphaBlend
|
|
Texture=Texture'kf_fx_trip_t.Misc.smoke_animated'
|
|
TextureUSubdivisions=8
|
|
TextureVSubdivisions=8
|
|
LifetimeRange=(Min=3.000000,Max=3.000000)
|
|
StartVelocityRange=(X=(Min=-750.000000,Max=750.000000),Y=(Min=-750.000000,Max=750.000000))
|
|
VelocityLossRange=(X=(Min=10.000000,Max=10.000000),Y=(Min=10.000000,Max=10.000000),Z=(Min=10.000000,Max=10.000000))
|
|
End Object
|
|
Emitters(0)=SpriteEmitter'NicePack.NiceCryoNadeCloud.SpriteEmitter0'
|
|
|
|
AutoDestroy=True
|
|
bNoDelete=False
|
|
RemoteRole=ROLE_SimulatedProxy
|
|
bNotOnDedServer=False
|
|
}
|