Enumerations | |
| enum | ESmokeGrenadeState { NO_SMOKE , LOOP = 2 , END = 3 , COUNT = 4 } |
Functions | |
| void | SetParticleSmokeCurrent (int particle) |
| void | SetParticleSmokeStart (int particle) |
| void | SetParticleSmokeLoop (int particle) |
| void | SetParticleSmokeEnd (int particle) |
| void | SetSoundSmokeStart (string sound) |
| void | SetSoundSmokeLoop (string sound) |
| void | SetSoundSmokeEnd (string sound) |
| protected void | PlaySmokeParticle () |
| protected void | SoundSmokeStart () |
| protected void | SoundSmokeLoop () |
| protected void | SoundSmokeEnd () |
| protected void | SoundSmokeStop () |
| protected void | DestroySmokeGrenade () |
| protected void | RefreshParticlesAndSounds () |
| override void | Unpin () |
| override void | OnActivateFinished () |
| override void | OnWorkStart () |
| override void | OnWork (float consumed_energy) |
| override void | OnWorkStop () |
| override bool | CanPutInCargo (EntityAI parent) |
| override void | OnActivatedByItem (notnull ItemBase item) |
| Called when this item is activated by other. | |
| override void | SetActions () |
| override void | OnVariablesSynchronized () |
| override void | OnExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType) |
| ESmokeGrenadeState | GetSmokeGrenadeState () |
| override void | EEDelete (EntityAI parent) |
| void | SetSmokeGrenadeState (ESmokeGrenadeState state) |
| void | SmokeGrenadeBase () |
| void | ~SmokeGrenadeBase () |
Variables | |
| enum ESmokeGrenadeState | m_TimerSmokeStart |
| protected ref Timer | m_TimerSmokeLoop |
| protected ref Timer | m_TimerSmokeEnd |
| protected ref Timer | m_TimerDefer |
| protected ESmokeGrenadeState | m_SmokeGrenadeState |
| protected ESmokeGrenadeState | m_LastSmokeGrenadeState |
| protected Particle | m_ParticleSmoke |
| particle | |
| protected int | m_ParticleSmokeCurrentId |
| protected int | m_ParticleSmokeStartId |
| protected int | m_ParticleSmokeLoopId |
| protected int | m_ParticleSmokeEndId |
| protected vector | m_ParticleSmokePosition |
| protected EffectSound | m_SoundSmoke |
| sounds | |
| protected string | m_SoundSmokeStartId |
| protected string | m_SoundSmokeLoopId |
| protected string | m_SoundSmokeEndId |
| ref NoiseParams | m_NoisePar |
| Noise. | |
| enum ESmokeGrenadeState |
| protected void DestroySmokeGrenade | ( | ) |
References GetGame(), and SetSmokeGrenadeState().
| override void EEDelete | ( | EntityAI | parent | ) |
References DestroyParticle(), m_ParticleSmoke, and SoundSmokeStop().
| ESmokeGrenadeState GetSmokeGrenadeState | ( | ) |
References m_SmokeGrenadeState.
Referenced by RefreshParticlesAndSounds().
| override void OnActivatedByItem | ( | notnull ItemBase | item | ) |
Called when this item is activated by other.
| override void OnActivateFinished | ( | ) |
| override void OnExplosionEffects | ( | Object | source, |
| Object | directHit, | ||
| int | componentIndex, | ||
| string | surface, | ||
| vector | pos, | ||
| vector | surfNormal, | ||
| float | energyFactor, | ||
| float | explosionFactor, | ||
| bool | isWater, | ||
| string | ammoType | ||
| ) |
| override void OnVariablesSynchronized | ( | ) |
References RefreshParticlesAndSounds().
| override void OnWork | ( | float | consumed_energy | ) |
| override void OnWorkStart | ( | ) |
| override void OnWorkStop | ( | ) |
defer timer
References m_TimerDefer, and SetSmokeGrenadeState().
| protected void PlaySmokeParticle | ( | ) |
References m_ParticlePosition, m_ParticleSmoke, m_ParticleSmokeCurrentId, ParticleManager(), and vector::Zero.
Referenced by RefreshParticlesAndSounds().
| protected void RefreshParticlesAndSounds | ( | ) |
References DestroyParticle(), GetSmokeGrenadeState(), m_LastSmokeGrenadeState, m_ParticleSmoke, m_ParticleSmokeEndId, m_ParticleSmokeLoopId, m_ParticleSmokeStartId, PlaySmokeParticle(), SetParticleSmokeCurrent(), SoundSmokeEnd(), SoundSmokeLoop(), SoundSmokeStart(), and SoundSmokeStop().
Referenced by OnVariablesSynchronized().
| override void SetActions | ( | ) |
References RemoveAction().
| void SetParticleSmokeCurrent | ( | int | particle | ) |
References m_ParticleSmokeCurrentId.
Referenced by RefreshParticlesAndSounds().
| void SetParticleSmokeEnd | ( | int | particle | ) |
| void SetParticleSmokeLoop | ( | int | particle | ) |
| void SetParticleSmokeStart | ( | int | particle | ) |
| void SetSmokeGrenadeState | ( | ESmokeGrenadeState | state | ) |
References GetGame(), and m_SmokeGrenadeState.
Referenced by DestroySmokeGrenade(), OnWorkStart(), and OnWorkStop().
| void SetSoundSmokeEnd | ( | string | sound | ) |
References m_SoundSmokeEndId.
Referenced by SmokeGrenadeBase::M18SmokeGrenade_ColorBase(), and SmokeGrenadeBase::RDG2SmokeGrenade_ColorBase().
| void SetSoundSmokeLoop | ( | string | sound | ) |
References m_SoundSmokeLoopId.
Referenced by SmokeGrenadeBase::M18SmokeGrenade_ColorBase(), and SmokeGrenadeBase::RDG2SmokeGrenade_ColorBase().
| void SetSoundSmokeStart | ( | string | sound | ) |
References m_SoundSmokeStartId.
Referenced by SmokeGrenadeBase::M18SmokeGrenade_ColorBase(), and SmokeGrenadeBase::RDG2SmokeGrenade_ColorBase().
| void SmokeGrenadeBase | ( | ) |
no effect on base
no effect on base
no effect on base
References ParticleList::INVALID, m_SmokeGrenadeState, m_TimerDefer, m_TimerSmokeLoop, SetAmmoType(), SetParticleSmokeEnd(), SetParticleSmokeLoop(), and SetParticleSmokeStart().
| protected void SoundSmokeEnd | ( | ) |
References m_SoundSmoke, and m_SoundSmokeEndId.
Referenced by RefreshParticlesAndSounds().
| protected void SoundSmokeLoop | ( | ) |
References m_SoundSmoke, and m_SoundSmokeLoopId.
Referenced by RefreshParticlesAndSounds().
| protected void SoundSmokeStart | ( | ) |
References m_SoundSmoke, and m_SoundSmokeStartId.
Referenced by RefreshParticlesAndSounds().
| protected void SoundSmokeStop | ( | ) |
References m_SoundSmoke.
Referenced by EEDelete(), and RefreshParticlesAndSounds().
| override void Unpin | ( | ) |
References Activate().
| void ~SmokeGrenadeBase | ( | ) |
| protected ESmokeGrenadeState m_LastSmokeGrenadeState |
Referenced by RefreshParticlesAndSounds().
| ref NoiseParams m_NoisePar |
Noise.
| protected Particle m_ParticleSmoke |
particle
Referenced by BuildingSuper::EEDelete(), EEDelete(), BuildingSuper::EEInit(), PlaySmokeParticle(), and RefreshParticlesAndSounds().
| protected int m_ParticleSmokeCurrentId |
Referenced by PlaySmokeParticle(), and SetParticleSmokeCurrent().
| protected int m_ParticleSmokeEndId |
Referenced by RefreshParticlesAndSounds(), and SetParticleSmokeEnd().
| protected int m_ParticleSmokeLoopId |
Referenced by RefreshParticlesAndSounds(), and SetParticleSmokeLoop().
| protected vector m_ParticleSmokePosition |
| protected int m_ParticleSmokeStartId |
Referenced by RefreshParticlesAndSounds(), and SetParticleSmokeStart().
| protected ESmokeGrenadeState m_SmokeGrenadeState |
Referenced by GetSmokeGrenadeState(), SetSmokeGrenadeState(), and SmokeGrenadeBase().
| protected EffectSound m_SoundSmoke |
sounds
Referenced by SoundSmokeEnd(), SoundSmokeLoop(), SoundSmokeStart(), and SoundSmokeStop().
| protected string m_SoundSmokeEndId |
Referenced by SetSoundSmokeEnd(), and SoundSmokeEnd().
| protected string m_SoundSmokeLoopId |
Referenced by SetSoundSmokeLoop(), and SoundSmokeLoop().
| protected string m_SoundSmokeStartId |
Referenced by SetSoundSmokeStart(), and SoundSmokeStart().
| protected ref Timer m_TimerDefer |
Referenced by OnWorkStop(), and SmokeGrenadeBase().
| protected ref Timer m_TimerSmokeEnd |
| protected ref Timer m_TimerSmokeLoop |
Referenced by OnWorkStart(), and SmokeGrenadeBase().
| enum ESmokeGrenadeState m_TimerSmokeStart |