class FlareSimulationSource
FlareSimulation › Managed
Derived classes
All members, including inherited
Constructors 2
void FlareSimulation()void ~FlareSimulation()References ScriptedLightBase.FadeOut(), EffectSound.SoundStop(), Particle.Stop()
Show 3 more
, m_BurningSound, m_FlareLight, and m_ParMainFireConstants 5
const static float MAX_FARLIGHT_DIST = 40Referenced by Simulate()
const static float MIN_FARLIGHT_DIST = 5Referenced by Simulate()
const float NOISE_DELAY = 5How much time between two consecutive noise pings
Referenced by CastFlareAINoise()
protected const float FLARE_SPIN_RATE = 1.15in degrees per simul tick
Referenced by FlareParticleUpdate()
protected const float FLARE_SPIN_RADIUS = 0.18radius of circling motion
Referenced by OnActivation()
Members 12
protected Particle m_ParMainFireReferenced by ~FlareSimulation(), FlareParticleUpdate(), OnActivation()
Show 2 more
, Simulate(), and TurnOffDistantLight()protected EffectSound m_BurningSoundprotected FlareLight m_FlareLightstatic ref NoiseParams m_NoiseParContains the noise data ( template and strength )
float m_LastNoiseTime = -1Referenced by CastFlareAINoise()
float m_NoiseTimer = 0Referenced by CastFlareAINoise()
protected Entity m_Flareprotected vector m_RotationPointprotected vector m_FlarePositionprotected float m_RotationDegreesReferenced by FlareParticleUpdate()
static protected typename m_ScriptedLightstatic protected int m_ParticleIdMethods 7
void OnActivation(Entity flare)References ScriptedLightBase.AttachOnObject(), Class.Cast(), ScriptedLightBase.CreateLight()
Show 20 more
, ParticleManager.GetInstance(), IEntity.GetOrigin(), CGame.IsMultiplayer(), CGame.IsServer(), NoiseParams.LoadFromPath(), new NoiseParams(), ParticleManager.PlayInWorld(), Object.PlaySoundSetLoop(), Particle.Stop(), Vector(), FLARE_SPIN_RADIUS, m_BurningSound, m_Flare, m_FlareLight, m_FlarePosition, m_NoisePar, m_ParMainFire, m_ParticleId, m_RotationPoint, and m_ScriptedLightvoid OnTermination(Entity flare)void OnFire(Entity flare)void Simulate(Entity flare)protected void FlareParticleUpdate()References Math.Cos(), IEntity.GetOrigin(), IEntity.GetOrigin()
Show 11 more
, Object.SetPosition(), Math.Sin(), CGame.SurfaceY(), Vector(), Math.DEG2RAD, FLARE_SPIN_RATE, m_Flare, m_FlarePosition, m_ParMainFire, m_RotationDegrees, and m_RotationPointReferenced by Simulate()
void CastFlareAINoise(vector position)References MiscGameplayFunctions.GenerateAINoiseAtPosition(), CGame.GetTime(), m_LastNoiseTime
Show 3 more
, m_NoisePar, m_NoiseTimer, and NOISE_DELAYvoid TurnOffDistantLight()Referenced by Simulate()