![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| void | FlashbangEffect (PlayerBase player, bool visual=true) |
| void | ~FlashbangEffect () |
| void | ClearVisual () |
| void | PlaySound () |
| void | ResetAttenuationFilter () |
| void | SetAttenuationFilter () |
| void | SetupFlashbangValues (float progress_mult=1.0, float visual_value_max=1.0, float sound_value_max=1.0) |
| void | SetVisual (float val) |
| void | Stop () |
| void | StopSound () |
| void | Update (float deltatime) |
Protected Attributes | |
| const float | ALPHA_MAX = 1.0 |
| const float | ALPHA_MIN = 0.0 |
| float | m_AlphaMaxActual |
| float | m_BreakPoint |
| float | m_DayTimeToggle |
| ref Timer | m_DeferAttenuation |
| EffectSound | m_FlashbangEffectSound |
| float | m_HitDuration |
| SFX will be played ~0.5s AFTER VFX. | |
| bool | m_Initialized |
| PlayerBase | m_Player |
| float | m_ProgressMultiplier |
| PPERequester_FlashbangEffects | m_Requester |
| float | m_SoundMaxActual |
| float | m_SoundStopTime |
| float | m_TimeActive |
| bool | m_Visual |
| const float | SOUND_DEFER_TIME = 0.4 |
Definition at line 1 of file flashbangeffect.c.
|
inlineprotected |
naive time of the day selector
-1: night; 1: day
Definition at line 28 of file flashbangeffect.c.
References ALPHA_MAX, Class::CastTo(), g_Game, m_AlphaMaxActual, m_BreakPoint, m_DayTimeToggle, m_DeferAttenuation, m_FlashbangEffectSound, m_HitDuration, m_Initialized, m_Player, m_ProgressMultiplier, m_Requester, m_SoundMaxActual, m_Visual, and SOUND_DEFER_TIME.
|
inlineprotected |
Definition at line 59 of file flashbangeffect.c.
References ClearVisual(), SEffectManager::DestroyEffect(), m_DeferAttenuation, m_FlashbangEffectSound, m_Player, and m_Visual.
|
inlineprotected |
Definition at line 149 of file flashbangeffect.c.
References m_Requester.
Referenced by ~FlashbangEffect().
|
inlineprotected |
Definition at line 94 of file flashbangeffect.c.
References Math::Clamp(), SEffectManager::CreateSound(), Error(), m_FlashbangEffectSound, m_Initialized, m_Player, m_ProgressMultiplier, m_SoundMaxActual, m_SoundStopTime, and SetAttenuationFilter().
|
inlineprotected |
|
inlineprotected |
Definition at line 127 of file flashbangeffect.c.
References m_DeferAttenuation, and m_Player.
Referenced by PlaySound().
|
inlineprotected |
Definition at line 80 of file flashbangeffect.c.
References m_AlphaMaxActual, m_BreakPoint, m_HitDuration, m_Initialized, m_ProgressMultiplier, and m_SoundMaxActual.
|
inlineprotected |
Definition at line 157 of file flashbangeffect.c.
References m_DayTimeToggle, and m_Requester.
Referenced by Update().
|
inlineprotected |
Definition at line 165 of file flashbangeffect.c.
References StopSound().
|
inlineprotected |
Definition at line 140 of file flashbangeffect.c.
References SEffectManager::DestroyEffect(), and m_FlashbangEffectSound.
|
inlineprotected |
Definition at line 170 of file flashbangeffect.c.
References Math::Clamp(), Error(), Math::InverseLerp(), m_AlphaMaxActual, m_BreakPoint, m_HitDuration, m_Initialized, m_SoundStopTime, m_TimeActive, m_Visual, ResetAttenuationFilter(), SetVisual(), and StopSound().
|
protected |
Definition at line 4 of file flashbangeffect.c.
Referenced by FlashbangEffect().
|
protected |
Definition at line 3 of file flashbangeffect.c.
|
protected |
Definition at line 13 of file flashbangeffect.c.
Referenced by FlashbangEffect(), SetupFlashbangValues(), and Update().
|
protected |
Definition at line 9 of file flashbangeffect.c.
Referenced by FlashbangEffect(), SetupFlashbangValues(), and Update().
|
protected |
Definition at line 11 of file flashbangeffect.c.
Referenced by FlashbangEffect(), and SetVisual().
|
protected |
Definition at line 24 of file flashbangeffect.c.
Referenced by FlashbangEffect(), ~FlashbangEffect(), and SetAttenuationFilter().
|
protected |
Definition at line 21 of file flashbangeffect.c.
Referenced by FlashbangEffect(), ~FlashbangEffect(), PlaySound(), and StopSound().
|
protected |
SFX will be played ~0.5s AFTER VFX.
Definition at line 8 of file flashbangeffect.c.
Referenced by FlashbangEffect(), SetupFlashbangValues(), and Update().
|
protected |
Definition at line 18 of file flashbangeffect.c.
Referenced by FlashbangEffect(), PlaySound(), SetupFlashbangValues(), and Update().
|
protected |
Definition at line 20 of file flashbangeffect.c.
Referenced by FlashbangEffect(), ~FlashbangEffect(), PlaySound(), ResetAttenuationFilter(), and SetAttenuationFilter().
|
protected |
Definition at line 15 of file flashbangeffect.c.
Referenced by FlashbangEffect(), PlaySound(), and SetupFlashbangValues().
|
protected |
Definition at line 26 of file flashbangeffect.c.
Referenced by FlashbangEffect(), ClearVisual(), and SetVisual().
|
protected |
Definition at line 14 of file flashbangeffect.c.
Referenced by FlashbangEffect(), PlaySound(), and SetupFlashbangValues().
|
protected |
Definition at line 22 of file flashbangeffect.c.
Referenced by PlaySound(), and Update().
|
protected |
Definition at line 10 of file flashbangeffect.c.
Referenced by Update().
|
protected |
Definition at line 17 of file flashbangeffect.c.
Referenced by FlashbangEffect(), ~FlashbangEffect(), and Update().
|
protected |
Definition at line 6 of file flashbangeffect.c.
Referenced by FlashbangEffect().