forked from Ballistic-Weapons-Community/BallisticWeapons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathA800MinigunChargeGlow.uc
58 lines (53 loc) · 2.19 KB
/
A800MinigunChargeGlow.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
//=============================================================================
// A800MinigunChargeGlow.
//
// by Nolan "Dark Carnivour" Richert.
// Copyright(c) 2006 RuneStorm. All Rights Reserved.
//=============================================================================
class A800MinigunChargeGlow extends BallisticEmitter;
simulated event PostBeginPlay()
{
Super.PostBeginPlay();
if (WeaponAttachment(Owner) != None)
Emitters[0].ZTest = true;
}
simulated function SetSize(float Size)
{
Emitters[0].StartSizeRange.X.Min = Lerp(60*Size, 0.4, 1.0);
Emitters[0].StartSizeRange.X.Max = 60*Size;
Emitters[0].StartSizeRange.Y.Min = Lerp(60*Size, 0.4, 1.0);
Emitters[0].StartSizeRange.Y.Max = 60*Size;
Emitters[0].StartSizeRange.Z.Min = Lerp(60*Size, 0.4, 0.0);
Emitters[0].StartSizeRange.Z.Max = 60*Size;
}
defaultproperties
{
Begin Object Class=SpriteEmitter Name=SpriteEmitter6
UseColorScale=True
FadeOut=True
FadeIn=True
UseSizeScale=True
UseRegularSizeScale=False
UniformSize=True
TriggerDisabled=False
ColorScale(0)=(Color=(B=255,G=255,R=255,A=255))
ColorScale(1)=(RelativeTime=0.607143,Color=(B=255,A=255))
ColorScale(2)=(RelativeTime=1.000000,Color=(B=255,A=255))
ColorMultiplierRange=(X=(Min=0.260000,Max=0.360000),Y=(Min=0.260000,Max=0.360000),Z=(Min=0.960000,Max=0.960000))
FadeOutStartTime=0.700000
FadeInEndTime=0.200000
CoordinateSystem=PTCS_Relative
MaxParticles=7
DetailMode=DM_High
StartLocationOffset=(X=-20.000000)
SizeScale(0)=(RelativeSize=0.500000)
SizeScale(1)=(RelativeTime=0.620000,RelativeSize=1.000000)
SizeScale(2)=(RelativeTime=1.000000,RelativeSize=2.000000)
StartSizeRange=(X=(Min=60.000000,Max=60.000000),Y=(Min=60.000000,Max=60.000000),Z=(Min=60.000000,Max=60.000000))
Texture=Texture'BW_Core_WeaponTex.Particles.AquaFlareA1'
SecondsBeforeInactive=0.000000
LifetimeRange=(Min=1.000000,Max=1.000000)
StartVelocityRange=(X=(Min=60.000000,Max=60.000000))
End Object
Emitters(0)=SpriteEmitter'BWBP_SWC_Pro.A800MinigunChargeGlow.SpriteEmitter6'
}