class RoadflareSource
Roadflare › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 1
void Roadflare()References EntityAI.RegisterNetSyncVariableInt()
Constants 19
static protected const string BURNING_SOUND = "roadflareLoop_SoundSet"Referenced by OnWorkStart()
static protected const string IGNITE_SOUND = "roadflareTurnOn_SoundSet"Referenced by OnWorkStart()
static protected const int BURNING_NOISE_RANGE = 30static const string STANDS_FOLDED = "Sticks_Flare_Folded"static const string STANDS_UNFOLDED = "Sticks_Flare_Unfolded"static const string FLARE_CAP = "Flare_cap"Referenced by UpdateModelSelections()
static const string UNIGNITED_TIP = "Pristine"Referenced by UpdateModelSelections()
static const string IGNITED_TIP = "Burning"Referenced by UpdateModelSelections()
static const string EXTINGUISHED_TIP = "Burned_out"Referenced by UpdateModelSelections()
static const int SELECTION_Burning = 0static const int SELECTION_Burned_out = 1Referenced by UpdateModelSelections()
static const int SELECTION_Pristine = 2Referenced by UpdateModelSelections()
static const int SELECTION_All = 3static const string DEFAULT_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_co.paa"Referenced by UpdateModelSelections()
static const string BURNING_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_e_co.paa"static const string DEFAULT_MATERIAL = "dz\\gear\\consumables\\data\\road_flare.rvmat"Referenced by UpdateModelSelections()
static const string BURNING_MATERIAL = "dz\\gear\\consumables\\data\\road_flare_on.rvmat"Members 17
static protected vector m_FlameLocalPos = "0 0.285 0"Referenced by UpdateActiveParticles()
private int m_BurningState = RoadflareBurningState.NOT_BURNINGReferenced by CanPutInCargo(), OnInventoryExit(), OnWork()
Show 3 more
, SetBurningState(), SetBurningStateSynchronized(), and UpdateActiveParticles()RoadflareLight m_Lightprotected Particle m_ParInitialFireprotected Particle m_ParMainFireprotected Particle m_ParFinalFireprotected Particle m_ParJustSmokestatic protected int PARTICLE_INIT_FIRE = ParticleList.ROADFLARE_BURNING_INITReferenced by UpdateActiveParticles()
static protected int PARTICLE_MAIN_FIRE = ParticleList.ROADFLARE_BURNING_MAINReferenced by UpdateActiveParticles()
static protected int PARTICLE_FINAL_FIRE = ParticleList.ROADFLARE_BURNING_ENDINGReferenced by UpdateActiveParticles()
static protected int PARTICLE_FINAL_SMOKE = ParticleList.ROADFLARE_BURNING_SMOKEReferenced by UpdateActiveParticles()
protected EffectSound m_BurningSoundprotected EffectSound m_IgniteSoundref Timer m_FinalSmokeTimerprivate int m_ModelState = RoadflareModelStates.DEFAULTref NoiseParams m_NoiseParprivate float m_NoiseTimerMethods 22
void SetModelState(int enum_state)Referenced by ActionTurnOnWhileInHands.OnStartClient(), ActionTurnOnWhileInHands.OnStartServer(), OnStoreLoad()
Show 2 more
, OnWorkStart(), and OnWorkStop()override void EEDelete(EntityAI parent)References DestroyAllParticles(), SEffectManager.DestroyEffect(), ItemBase.EEDelete()
Show 5 more
, ScriptedLightBase.FadeOut(), m_BurningSound, m_FinalSmokeTimer, m_IgniteSound, and m_Lightoverride void OnStoreSave(ParamsWriteContext ctx)override bool OnStoreLoad(ParamsReadContext ctx, int version)void UpdateModelSelections()Referenced by SetModelState()
override void OnWorkStart()void SetBurningState(int state_number)References m_BurningState
void SetBurningStateSynchronized(int state_number)override void OnWork(float consumed_energy)override void OnWorkStop()void UpdateActiveParticles()References DestroyAllParticles(), DestroyParticleEx(), ParticleManager.GetInstance()
Show 16 more
, CGame.IsDedicatedServer(), ParticleManager.PlayOnObject(), Particle.SetWiggle(), Particle.SetWiggle(), Particle.SetWiggle(), Particle.SetWiggle(), m_BurningState, m_FlameLocalPos, m_ParFinalFire, m_ParInitialFire, m_ParJustSmoke, m_ParMainFire, PARTICLE_FINAL_FIRE, PARTICLE_FINAL_SMOKE, PARTICLE_INIT_FIRE, and PARTICLE_MAIN_FIREvoid DestroyParticle(Particle p)Referenced by DestroyParticleEx()
void DestroyParticleEx(out Particle p)References DestroyParticle()
void DestroyAllParticles()References DestroyParticleEx(), m_ParFinalFire, m_ParInitialFire
Show 2 more
, m_ParJustSmoke, and m_ParMainFirevoid StopSmoking()override void OnInventoryExit(Man player)References Object.GetOrientation(), EntityAI.HideSelection(), ItemBase.OnInventoryExit()
Show 6 more
, Object.SetOrientation(), EntityAI.ShowSelection(), Vector(), m_BurningState, STANDS_FOLDED, and STANDS_UNFOLDEDoverride void OnInventoryEnter(Man player)References EntityAI.HideSelection(), ItemBase.OnInventoryEnter(), EntityAI.ShowSelection()
Show 2 more
, STANDS_FOLDED, and STANDS_UNFOLDEDoverride void OnActivatedByItem(notnull ItemBase item)override void OnVariablesSynchronized()override void SetActions()