class ExplosivesBaseSource
ExplosivesBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
View all 22 descendants
All members, including inherited
Constructors 1
void ExplosivesBase()Constants 2
protected const string DEFAULT_AMMO_TYPE = "Explosion_NonLethal"Referenced by ExplosivesBase()
protected const string ANIM_PHASE_VISIBILITY = "Visibility"Referenced by ImprovisedExplosive.OnActivatedByItem()
Members 11
protected bool m_Armedprotected bool m_DefusedReferenced by ClaymoreMine.DrawDamageZone(), ExplosivesBase(), InitiateExplosion()
Show 2 more
, SetAmmoTypes(), and Grenade_Base.InitiateExplosion()protected ref Timer m_DeleteTimerprotected ref array<ParticleSource> m_ParticleExplosionArr = {}protected int m_ParticleExplosionIdprotected vector m_ParticlePositionprotected vector m_ParticleOrientationReferenced by AddExplosionEffectForSurface(), Cleanup(), GetParticleExplosionID()
Show 1 more
, Init()Methods 51
override bool IsExplosive()no effect
override void OnExplosionEffects(Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)Referenced by FlashGrenade.OnExplosionEffects()
override void EEDelete(EntityAI parent)References DestroyParticle(), ItemBase.EEDelete(), m_ParticleExplosion
Show 1 more
, m_ParticleExplosionArroverride void EEKilled(Object killer)override void OnCEUpdate()should be called only here to avoid multiple explosion calculations, call SetHealth("","",0.0) instead
override void UnpairRemote()References EntityAI.GetPairDevice(), EntityAI.GetRemotelyActivatedItemBehaviour(), RemotelyActivatedItemBehaviour.Unpair()
Show 1 more
, EntityAI.UnpairRemote()Referenced by ChainedDropAndRestrainLambda.OnSuccess(), ClaymoreMine.OnDisarmed(), EEKilled()
Show 2 more
, ImprovisedExplosive.OnDisarmed(), and Plastic_Explosive.OnDisarmed()override void OnPlacementComplete(Man player, vector position = "0 0 0", vector orientation = "0 0 0")References CGame.IsServer(), ItemBase.OnPlacementComplete(), Object.PlaceOnSurface()
Show 2 more
, Object.SetOrientation(), and Object.SetPosition()string GetArmSoundset()References string.Empty
string GetDisarmSoundset()References string.Empty
Referenced by ActionDisarmExplosive.OnEndServer(), ActionDisarmExplosive.OnStartServer(), and InitItemSounds()
string GetDisarmSoundsetUnpaired()References string.Empty
override void InitItemSounds()protected void CreateLight()Referenced by OnExplosionEffects()
protected void DestroyParticle(Particle p)References Particle.Stop()
Referenced by EEDelete(), SmokeGrenadeBase.EEDelete(), and SmokeGrenadeBase.RefreshParticlesAndSounds()
protected void InitiateExplosion()Referenced by ClaymoreMine.InitiateExplosion(), EEKilled(), and Plastic_Explosive.OnActivatedByItem()
protected void OnExplode()override void SetActions()Referenced by ClaymoreMine.SetActions(), Grenade_Base.SetActions(), ImprovisedExplosive.SetActions()
Show 1 more
, Plastic_Explosive.SetActions()override bool IsInventoryVisible()override bool IsTakeable()Referenced by ClaymoreMine.IsTakeable(), CanPutInCargo(), CanPutIntoHands()
Show 3 more
, CanRemoveFromHands(), ImprovisedExplosive.IsTakeable(), and Plastic_Explosive.IsTakeable()bool IsTimerDetonable()Referenced by ActionAttachExplosivesTrigger.ActionCondition()
void Arm()void OnArmed()bool CanBeArmed()void Disarm(bool pWithTool = false)void OnBeforeDisarm()void OnDisarmed(bool pWithTool)Referenced by ClaymoreMine.OnDisarmed(), Disarm(), ImprovisedExplosive.OnDisarmed()
Show 1 more
, Plastic_Explosive.OnDisarmed()bool CanBeDisarmed()bool GetArmed()References m_Armed
Referenced by ActionArmExplosive.ActionCondition(), ActionDisarmExplosive.ActionCondition(), ActionDisarmExplosiveWithRemoteDetonator.ActionCondition()
Show 20 more
, ActionDisarmExplosiveWithRemoteDetonatorUnpaired.ActionCondition(), ActionTriggerRemotely.ActionCondition(), ClaymoreMine.AfterStoreLoad(), ClaymoreMine.CanBeDisarmed(), ClaymoreMine.GetViewIndex(), ClaymoreMine.IsTakeable(), ClaymoreMine.OnActivatedByItem(), ClaymoreMine.UpdateVisuals(), OnCEUpdate(), ImprovisedExplosive.CanBeArmed(), ImprovisedExplosive.CanReceiveAttachment(), ImprovisedExplosive.IsDeployable(), ImprovisedExplosive.IsTakeable(), ImprovisedExplosive.OnActivatedByItem(), Plastic_Explosive.CanBeArmed(), Plastic_Explosive.CanBeDisarmed(), Plastic_Explosive.CanReceiveAttachment(), Plastic_Explosive.IsDeployable(), Plastic_Explosive.IsTakeable(), and Plastic_Explosive.OnActivatedByItem()protected void SetArmed(bool state)References IsTakeable()
protected void SetDefused(bool state)Referenced by ClaymoreMine.OnDisarmed()
void SetAmmoType(string pAmmoType)References SetAmmoTypes()
void SetParticleExplosion(int particle)References m_ParticleExplosionId
void SetParticlePosition(vector local_pos)set position for smoke particle - needs to be in Local Space
References EntityAI.GetHierarchyParent(), Object.GetPosition(), Object.WorldToModel()
Show 1 more
, m_ParticlePositionvoid SetParticleOrientation(vector local_ori)References EntityAI.GetHierarchyParent(), Object.GetOrientation(), Object.WorldToModel()
Show 1 more
, m_ParticleOrientationoverride void OnStoreSave(ParamsWriteContext ctx)override bool OnStoreLoad(ParamsReadContext ctx, int version)bool HasLockedTriggerSlots()void LockTriggerSlots()Referenced by ReplaceDetonatorItemOnArmLambda.OnAbort()
void UnlockTriggerSlots()void LockExplosivesSlots()Referenced by ReplaceDetonatorItemOnDisarmLambda.OnAbort()
void UnlockExplosivesSlots()void Init()References map.Contains(), IEntity.GetName(), InitSpecificsExplosionEffectForSurface()
Show 2 more
, map.Insert(), and m_TypeToSurfaceParticleIDMapReferenced by ExplosivesBase()
static void Cleanup()Referenced by MissionBase.~MissionBase()
void InitSpecificsExplosionEffectForSurface()Referenced by Init()
Referenced by Grenade_Base.InitSpecificsExplosionEffectForSurface()
References Find(), map.Find(), IEntity.GetName()
Show 2 more
, m_ParticleExplosionId, and m_TypeToSurfaceParticleIDMapReferenced by OnExplosionEffects()