DIFF

class RoadflareSource

Roadflare ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 1

void Roadflare()

Constants 19

static protected const int INITIAL_BURNING_STATE_TIME = 5
Referenced by OnWork()
static protected const int FINAL_BURNING_STATE_TIME = 60
Referenced by OnWork()
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 = 30
static const string STANDS_FOLDED = "Sticks_Flare_Folded"
static const string STANDS_UNFOLDED = "Sticks_Flare_Unfolded"
static const string FLARE_CAP = "Flare_cap"
static const string UNIGNITED_TIP = "Pristine"
static const string IGNITED_TIP = "Burning"
static const string EXTINGUISHED_TIP = "Burned_out"
static const int SELECTION_Burning = 0
static const int SELECTION_Burned_out = 1
static const int SELECTION_Pristine = 2
static const int SELECTION_All = 3
static const string DEFAULT_TEXTURE = "dz\\gear\\consumables\\data\\road_flare_co.paa"
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"
static const string BURNING_MATERIAL = "dz\\gear\\consumables\\data\\road_flare_on.rvmat"

Members 17

static protected vector m_FlameLocalPos = "0 0.285 0"
private int m_BurningState = RoadflareBurningState.NOT_BURNING
protected Particle m_ParInitialFire
protected Particle m_ParMainFire
protected Particle m_ParFinalFire
protected Particle m_ParJustSmoke
static protected int PARTICLE_INIT_FIRE = ParticleList.ROADFLARE_BURNING_INIT
static protected int PARTICLE_MAIN_FIRE = ParticleList.ROADFLARE_BURNING_MAIN
static protected int PARTICLE_FINAL_FIRE = ParticleList.ROADFLARE_BURNING_ENDING
static protected int PARTICLE_FINAL_SMOKE = ParticleList.ROADFLARE_BURNING_SMOKE
protected EffectSound m_BurningSound
protected EffectSound m_IgniteSound
Referenced by EEDelete(), and OnWorkStart()
ref Timer m_FinalSmokeTimer
Referenced by EEDelete(), and OnWorkStop()
private int m_ModelState = RoadflareModelStates.DEFAULT
ref NoiseParams m_NoisePar
private float m_NoiseTimer

Methods 22

override void OnStoreSave(ParamsWriteContext ctx)
override bool OnStoreLoad(ParamsReadContext ctx, int version)
void SetBurningState(int state_number)
References m_BurningState
Referenced by OnWorkStart(), and OnWorkStop()
void SetBurningStateSynchronized(int state_number)
Referenced by OnWork(), OnWorkStop(), and StopSmoking()
void DestroyParticle(Particle p)
Referenced by DestroyParticleEx()
void DestroyParticleEx(out Particle p)
void DestroyAllParticles()
void StopSmoking()
override bool CanPutInCargo(EntityAI parent)
override void OnInventoryEnter(Man player)
override void OnActivatedByItem(notnull ItemBase item)
override bool CanIgniteItem(EntityAI ignite_target = NULL)
override void OnVariablesSynchronized()
override void SetActions()