DIFF

class FlareSimulationSource

FlareSimulation Managed

All members, including inherited

Constructors 2

void FlareSimulation()
void ~FlareSimulation()

Constants 5

const static float MAX_FARLIGHT_DIST = 40
Referenced by Simulate()
const static float MIN_FARLIGHT_DIST = 5
Referenced by Simulate()
const float NOISE_DELAY = 5

How much time between two consecutive noise pings

Referenced by CastFlareAINoise()
protected const float FLARE_SPIN_RATE = 1.15

in degrees per simul tick

Referenced by FlareParticleUpdate()
protected const float FLARE_SPIN_RADIUS = 0.18

radius of circling motion

Referenced by OnActivation()

Members 12

protected Particle m_ParMainFire
protected EffectSound m_BurningSound
protected FlareLight m_FlareLight
static ref NoiseParams m_NoisePar

Contains the noise data ( template and strength )

float m_LastNoiseTime = -1
Referenced by CastFlareAINoise()
float m_NoiseTimer = 0
Referenced by CastFlareAINoise()
protected Entity m_Flare
protected vector m_RotationPoint
protected vector m_FlarePosition
protected float m_RotationDegrees
Referenced by FlareParticleUpdate()

Methods 7

void OnTermination(Entity flare)
void OnFire(Entity flare)
void CastFlareAINoise(vector position)
void TurnOffDistantLight()
Referenced by Simulate()