3 override protected int GetExplParticleFromSequence()
18 ErrorEx(
"Incorrect explosion particle color in the sequence");
28 light.SetDiffuseColor(255,51,51);
29 light.SetAmbientColor(255,51,51);
33 light.SetDiffuseColor(0,255,128);
34 light.SetAmbientColor(0,255,128);
37 light.SetDiffuseColor(51,153,255);
38 light.SetAmbientColor(51,153,255);
41 light.SetDiffuseColor(255,255,51);
42 light.SetAmbientColor(255,255,51);
45 light.SetDiffuseColor(255,102,255);
46 light.SetAmbientColor(255,102,255);
49 ErrorEx(
"Incorrect explosion particle color in the sequence");
53 override protected void SpawnSecondaryExplosion()
55 AnniversaryFireworksLauncherClientEventSecondary evnt =
new AnniversaryFireworksLauncherClientEventSecondary(
m_Item,m_Index);
58 m_Events.Insert(evnt);
59 RequestSecondaryExplosion();
75 m_ShotDir[0] =
Math.RandomFloatInclusive(-1,1);
76 m_ShotDir[1] =
Math.RandomFloatInclusive(-1,1);
77 m_ShotDir[2] =
Math.RandomFloatInclusive(-1,1);
78 m_ShotDir.Normalize();
87 return Math.RandomFloatInclusive(10,15);
102 override protected void SetupColorSequences()
104 m_ColorSequence.Insert(
"1234512345123451234512345");
107 override protected FireworksLauncherClientEventBase SpawnEvent()
114 override bool IsTakeable()
124 override bool DisableVicinityIcon()
129 override protected int GetMaxShots()
134 override protected float GetFuseDelay()
140 override protected void OnEventServer(
int type)
152 if (m_Index + (sequence*16)> GetMaxShots())
154 m_Index = GetMaxShots();