![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | SoundTypeMine { DISARMING = 0 } |
Functions | |
| void | ~LandMineTrap () |
| override bool | CanBeDisarmed () |
| override bool | CanExplodeInFire () |
| void | DeleteThis () |
| override void | EEKilled (Object killer) |
| override void | Explode (int damageType, string ammoType="") |
| override string | GetLoopDeploySoundset () |
| override bool | IsDeployable () |
| void | LandMineTrap () |
| override void | OnActivate () |
| override void | OnActivatedByItem (notnull ItemBase item) |
| Called when this item is activated by other. | |
| override void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
| override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
| void | OnServerSteppedOn (Object obj, string damageZone) |
| override void | OnSteppedOn (EntityAI victim) |
| override void | OnSteppedOut (EntityAI victim) |
| override void | OnUpdate (EntityAI victim) |
| void | PlayDisarmingLoopSound () |
| void | PlaySoundActivate () |
| override void | SetActions () |
| override void | StartActivate (PlayerBase player) |
| void | StopDisarmingLoopSound () |
Variables | |
| const int | BLEED_SOURCE_PROB = 50 |
| const int | BROKEN_LEG_PROB = 90 |
| ref Timer | m_DeleteTimer |
| ref EffectSound | m_DisarmingLoopSound |
| ref EffectSound | m_SafetyPinSound |
| enum SoundTypeMine | m_TimerLoopSound |
| const int | MAX_BLEED_SOURCE = 1 |
| enum SoundTypeMine |
| Enumerator | |
|---|---|
| DISARMING | |
Definition at line 1 of file trap_landmine.c.
|
private |
Definition at line 38 of file trap_landmine.c.
References SEffectManager::DestroyEffect(), m_DisarmingLoopSound, and m_TimerLoopSound.
|
protected |
Definition at line 241 of file trap_landmine.c.
|
private |
Definition at line 84 of file trap_landmine.c.
|
protected |
Definition at line 193 of file trap_landmine.c.
References CALL_CATEGORY_SYSTEM, and m_DeleteTimer.
Referenced by Explode(), OnActivatedByItem(), and OnSteppedOn().
|
protected |
Definition at line 204 of file trap_landmine.c.
References Explode().
Definition at line 220 of file trap_landmine.c.
References DeleteThis(), g_Game, GetPosition(), and Vector().
Referenced by EEKilled(), FuelStation::EEKilled(), InventoryItem::EEKilled(), ExplodeNow(), Grenade_Base::InitiateExplosion(), InitiateExplosion(), OnServerSteppedOn(), and OnSteppedOn().
|
protected |
Definition at line 301 of file trap_landmine.c.
|
protected |
Definition at line 296 of file trap_landmine.c.
|
private |
Definition at line 17 of file trap_landmine.c.
References m_AddDeactivationDefect, m_ClothingDmg, m_DamagePlayers, m_DefectRate, m_InfoActivationTime, and m_InitWaitTime.
Referenced by ActionCondition(), OnEndAnimationLoop(), OnExecute(), OnFinishProgressServer(), and OnStartAnimationLoop().
|
private |
Definition at line 67 of file trap_landmine.c.
References g_Game, m_TimerLoopSound, and PlaySoundActivate().
Referenced by Activate(), AntibioticsMdfr::OnReconnect(), CharcoalMdfr::OnReconnect(), ChelationMdfr::OnReconnect(), DisinfectionMdfr::OnReconnect(), DrowningMdfr::OnReconnect(), EpinephrineMdfr::OnReconnect(), FatigueMdfr::OnReconnect(), FeverMdfr::OnReconnect(), FliesMdfr::OnReconnect(), HemolyticReactionMdfr::OnReconnect(), ImmunityBoost::OnReconnect(), MaskMdfr::OnReconnect(), MorphineMdfr::OnReconnect(), PainKillersMdfr::OnReconnect(), PoisoningMdfr::OnReconnect(), SalineMdfr::OnReconnect(), and WetMdfr::OnReconnect().
|
private |
Called when this item is activated by other.
Definition at line 61 of file trap_landmine.c.
References DeleteThis().
Definition at line 199 of file trap_landmine.c.
|
protected |
Definition at line 285 of file trap_landmine.c.
References g_Game, and StartActivate().
|
protected |
Definition at line 246 of file trap_landmine.c.
References PlayDisarmingLoopSound(), Serializer::Read(), and StopDisarmingLoopSound().
Definition at line 177 of file trap_landmine.c.
References Explode(), m_UpdateTimer, SetInactive(), and Synch().
|
private |
CarScript specific reaction on LandMineTrap
Definition at line 101 of file trap_landmine.c.
References BLEED_SOURCE_PROB, BROKEN_LEG_PROB, DAMAGE_TRIGGER_MINE, DamageClothing(), DeleteThis(), Explode(), g_Game, m_UpdateTimer, MAX_BLEED_SOURCE, Math::RandomInt(), Math::RandomIntInclusive(), and UPDATE_TIMER_INTERVAL.
|
private |
Definition at line 166 of file trap_landmine.c.
References m_UpdateTimer.
|
private |
Definition at line 89 of file trap_landmine.c.
References GetClosestCarWheel(), and TrapBase::OnServerSteppedOn().
|
protected |
Definition at line 268 of file trap_landmine.c.
References GetPosition(), m_DisarmingLoopSound, and SEffectManager::PlaySound().
Referenced by OnRPC().
|
protected |
Definition at line 211 of file trap_landmine.c.
References g_Game, GetPosition(), SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Referenced by OnActivate().
|
protected |
Definition at line 306 of file trap_landmine.c.
References ActionAttach(), ActionDeployObject(), ActionDetach(), and AddAction().
|
private |
Definition at line 44 of file trap_landmine.c.
References g_Game, GetPosition(), m_SafetyPinSound, m_TimerLoopSound, and SEffectManager::PlaySound().
|
protected |
Definition at line 276 of file trap_landmine.c.
References m_DisarmingLoopSound.
Referenced by OnRPC().
|
private |
Definition at line 14 of file trap_landmine.c.
Referenced by OnSteppedOn().
|
private |
Definition at line 13 of file trap_landmine.c.
Referenced by OnSteppedOn().
|
protected |
Definition at line 11 of file trap_landmine.c.
|
protected |
Definition at line 10 of file trap_landmine.c.
Referenced by ~LandMineTrap(), PlayDisarmingLoopSound(), and StopDisarmingLoopSound().
|
protected |
Definition at line 9 of file trap_landmine.c.
Referenced by StartActivate().
| enum SoundTypeMine m_TimerLoopSound |
Referenced by ~LandMineTrap(), OnActivate(), and StartActivate().
|
private |
Definition at line 15 of file trap_landmine.c.
Referenced by OnSteppedOn().