DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | PresenceNotifierNoiseEvents |
Enumerations | |
enum | EPresenceNotifierNoiseEventType { LAND_LIGHT , LAND_HEAVY } |
Functions | |
void | PresenceNotifierNoiseEvent (float pValue, float pLength) |
float | GetTimerLength () |
int | GetValue () |
void | PluginPresenceNotifier () |
void | ~PluginPresenceNotifier () |
void | Init (PlayerBase player) |
void | EnableDebug (bool pEnabled) |
void | ShowCoefsDbg (bool pEnabled) |
int | GetNoisePresence () |
returns actual noise presence of player | |
int | GetVisualPresence () |
returns actual visibility presence of player | |
void | ProcessEvent (EPresenceNotifierNoiseEventType pEventType) |
processing of external one-time events (land, fire, etc.) | |
int | ProcessVisualComponents () |
int | ProcessNoiseComponents () |
float | GetMovementSpeedVisualCoef () |
Visibility. | |
float | GetMovementStanceVisualCoef () |
int | GetMovementSpeedNoiseComponent () |
int | GetBootsNoiseComponent () |
int | GetSurfaceNoiseComponent () |
DEPRECATED. | |
int | GetExternalNoiseEventsComponent () |
DEPRECATED. | |
Variables | |
enum EPresenceNotifierNoiseEventType | m_TimerLength |
int | m_Value |
class PresenceNotifierNoiseEvents | windowPosX = 0 |
dbgUI settings | |
const int | windowPosY = 10 |
const int | mainPanelSizeX = 200 |
const int | mainPanelSizeY = 1 |
const int | margin = 10 |
const int | NOISE_LEVEL_MIN = 0 |
noise limits | |
const int | NOISE_LEVEL_MAX = 5 |
const int | SURFACE_NOISE_LVL0 = 0 |
noise component from surfaces | |
const int | SURFACE_NOISE_LVL1 = 1 |
const int | SURFACE_NOISE_LVL2 = 2 |
const float | SURFACE_LVL2_THRESHOLD = 1.0 |
const float | SURFACE_LVL1_THRESHOLD = 0.5 |
const int | LAND_NOISE_LVL1 = 2 |
land noise | |
const int | LAND_NOISE_LVL2 = 3 |
PlayerBase | m_pPlayer |
ref PresenceNotifierNoiseEvents | m_PresenceNotifierNoiseEvents |
Enumerator | |
---|---|
LAND_LIGHT | |
LAND_HEAVY |
Definition at line 1 of file PluginPresenceNotifier.c.
Definition at line 120 of file PluginPresenceNotifier.c.
References ShowCoefsDbg().
|
protected |
noise component of presence based on player's shoes DEPRECATED
|
protected |
DEPRECATED.
|
protected |
Noise related noise component of presence based on player's speed DEPRECATED
|
protected |
Visibility.
Definition at line 222 of file PluginPresenceNotifier.c.
References m_pPlayer, and AITargetCallbacksPlayer::StanceToMovementIdxTranslation().
Referenced by ProcessVisualComponents(), and ShowCoefsDbg().
|
protected |
Definition at line 244 of file PluginPresenceNotifier.c.
References m_pPlayer.
Referenced by ProcessVisualComponents(), and ShowCoefsDbg().
|
protected |
returns actual noise presence of player
Definition at line 182 of file PluginPresenceNotifier.c.
References ProcessNoiseComponents().
Referenced by ShowCoefsDbg().
|
protected |
DEPRECATED.
|
protected |
Definition at line 18 of file PluginPresenceNotifier.c.
References m_TimerLength.
|
protected |
Definition at line 23 of file PluginPresenceNotifier.c.
References m_Value.
|
protected |
returns actual visibility presence of player
Definition at line 188 of file PluginPresenceNotifier.c.
References ProcessVisualComponents().
Referenced by ShowCoefsDbg().
|
protected |
Definition at line 115 of file PluginPresenceNotifier.c.
References m_pPlayer.
|
protected |
Definition at line 106 of file PluginPresenceNotifier.c.
References LAND_NOISE_LVL1, LAND_NOISE_LVL2, and m_PresenceNotifierNoiseEvents.
Referenced by ManBase::OnSelectPlayer().
Definition at line 12 of file PluginPresenceNotifier.c.
References m_TimerLength, and m_Value.
Referenced by PresenceNotifierNoiseEvents::ProcessEvent(), and PresenceNotifierNoiseEvents::RegisterEvent().
|
protected |
processing of external one-time events (land, fire, etc.)
Definition at line 194 of file PluginPresenceNotifier.c.
References m_PresenceNotifierNoiseEvents.
|
protected |
Definition at line 208 of file PluginPresenceNotifier.c.
References Math::Clamp(), NoiseAIEvaluate::GetNoiseMultiplier(), m_pPlayer, NOISE_LEVEL_MAX, NOISE_LEVEL_MIN, and Math::Round().
Referenced by GetNoisePresence().
|
protected |
Definition at line 199 of file PluginPresenceNotifier.c.
References GetMovementSpeedVisualCoef(), GetMovementStanceVisualCoef(), and m_pPlayer.
Referenced by GetVisualPresence().
HumanMovementState content
Definition at line 125 of file PluginPresenceNotifier.c.
References DbgUI::Begin(), DbgUI::BeginCleanupScope(), DbgUI::End(), DbgUI::EndCleanupScope(), GetMovementSpeedVisualCoef(), GetMovementStanceVisualCoef(), NoiseAIEvaluate::GetNoiseMultiplierByPlayerSpeed(), NoiseAIEvaluate::GetNoiseMultiplierByShoes(), NoiseAIEvaluate::GetNoiseMultiplierBySurface(), GetNoisePresence(), GetVisualPresence(), m_pPlayer, mainPanelSizeX, mainPanelSizeY, DbgUI::Panel(), DbgUI::Spacer(), DbgUI::Text(), windowPosX, and windowPosY.
Referenced by EnableDebug().
|
protected |
Definition at line 113 of file PluginPresenceNotifier.c.
land noise
Definition at line 97 of file PluginPresenceNotifier.c.
Referenced by PluginPresenceNotifier().
Definition at line 98 of file PluginPresenceNotifier.c.
Referenced by PluginPresenceNotifier().
|
protected |
Definition at line 102 of file PluginPresenceNotifier.c.
|
protected |
Definition at line 104 of file PluginPresenceNotifier.c.
Referenced by PluginPresenceNotifier(), and ProcessEvent().
enum EPresenceNotifierNoiseEventType m_TimerLength |
Referenced by GetTimerLength(), and PresenceNotifierNoiseEvent().
|
protected |
Definition at line 10 of file PluginPresenceNotifier.c.
Definition at line 79 of file PluginPresenceNotifier.c.
Referenced by OnGUI(), and ShowCoefsDbg().
Definition at line 80 of file PluginPresenceNotifier.c.
Referenced by OnGUI(), and ShowCoefsDbg().
Definition at line 81 of file PluginPresenceNotifier.c.
Referenced by OnGUI().
Definition at line 86 of file PluginPresenceNotifier.c.
Referenced by ProcessNoiseComponents().
noise limits
Definition at line 85 of file PluginPresenceNotifier.c.
Referenced by ProcessNoiseComponents().
Definition at line 94 of file PluginPresenceNotifier.c.
Definition at line 93 of file PluginPresenceNotifier.c.
noise component from surfaces
Definition at line 89 of file PluginPresenceNotifier.c.
Definition at line 90 of file PluginPresenceNotifier.c.
Definition at line 91 of file PluginPresenceNotifier.c.
|
protected |
dbgUI settings
Referenced by OnGUI(), and ShowCoefsDbg().
Definition at line 78 of file PluginPresenceNotifier.c.
Referenced by OnGUI(), and ShowCoefsDbg().