forked from Ballistic-Weapons-Community/BallisticWeapons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMDKFlashEmitter.uc
79 lines (74 loc) · 3.13 KB
/
MDKFlashEmitter.uc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
//=============================================================================
// XK2FlashEmitter.
//
// by Nolan "Dark Carnivour" Richert.
// Copyright(c) 2005 RuneStorm. All Rights Reserved.
//=============================================================================
class MDKFlashEmitter extends BallisticEmitter;
simulated event PostBeginPlay()
{
Super.PostBeginPlay();
if (Weapon(Owner) == None)
Emitters[1].ZTest = true;
}
defaultproperties
{
Begin Object Class=MeshEmitter Name=MeshEmitter4
StaticMesh=StaticMesh'BW_Core_WeaponStatic.R78.RifleMuzzleFlash'
UseMeshBlendMode=False
RenderTwoSided=True
UseParticleColor=True
UseColorScale=True
FadeOut=True
RespawnDeadParticles=False
SpinParticles=True
UseSizeScale=True
UseRegularSizeScale=False
AutomaticInitialSpawning=False
TriggerDisabled=False
ColorScale(0)=(Color=(B=255,G=255,R=255,A=255))
ColorScale(1)=(RelativeTime=0.100000,Color=(B=255,G=255,R=255,A=255))
ColorScale(2)=(RelativeTime=0.200000,Color=(B=64,G=64,R=64,A=255))
ColorScale(3)=(RelativeTime=1.000000,Color=(A=255))
Opacity=0.250000
FadeOutStartTime=0.037500
CoordinateSystem=PTCS_Relative
MaxParticles=1
StartSpinRange=(Z=(Max=1.000000))
SizeScale(0)=(RelativeSize=0.500000)
SizeScale(1)=(RelativeTime=0.170000,RelativeSize=1.000000)
SizeScale(2)=(RelativeTime=1.000000,RelativeSize=1.200000)
StartSizeRange=(Y=(Min=0.7500000,Max=0.7500000),Z=(Min=0.7500000,Max=0.7500000))
SecondsBeforeInactive=0.000000
LifetimeRange=(Min=0.10000,Max=0.10000)
SpawnOnTriggerRange=(Min=1.000000,Max=1.000000)
SpawnOnTriggerPPS=500000.000000
StartVelocityRange=(X=(Min=20.000000,Max=20.000000))
End Object
Emitters(0)=MeshEmitter'BWBP_SWC_Pro.MDKFlashEmitter.MeshEmitter4'
Begin Object Class=SpriteEmitter Name=SpriteEmitter5
UseColorScale=True
FadeOut=True
RespawnDeadParticles=False
UniformSize=True
AutomaticInitialSpawning=False
TriggerDisabled=False
ColorScale(0)=(Color=(B=192,G=224,R=255,A=255))
ColorScale(1)=(RelativeTime=0.100000,Color=(B=64,G=192,R=255,A=255))
ColorScale(2)=(RelativeTime=0.200000,Color=(B=64,G=64,R=64,A=255))
ColorScale(3)=(RelativeTime=1.000000,Color=(A=255))
ColorMultiplierRange=(Y=(Min=0.800000,Max=0.800000),Z=(Min=0.500000,Max=0.500000))
FadeOutStartTime=0.020000
CoordinateSystem=PTCS_Relative
MaxParticles=1
Opacity=0.375
StartLocationOffset=(X=20.000000)
StartSizeRange=(X=(Min=40.000000,Max=40.000000),Y=(Min=40.000000,Max=40.000000),Z=(Min=40.000000,Max=40.000000))
Texture=Texture'BW_Core_WeaponTex.Particles.FlareB1'
SecondsBeforeInactive=0.000000
LifetimeRange=(Min=0.10000,Max=0.10000)
SpawnOnTriggerRange=(Min=1.000000,Max=1.000000)
SpawnOnTriggerPPS=500000.000000
End Object
Emitters(1)=SpriteEmitter'BWBP_SWC_Pro.MDKFlashEmitter.SpriteEmitter5'
}