![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | PresenceNotifierNoiseEvents |
Enumerations | |
| enum | EPresenceNotifierNoiseEventType { LAND_LIGHT , LAND_HEAVY } |
Functions | |
| void | EnableDebug (bool pEnabled) |
| int | GetBootsNoiseComponent () |
| noise component of presence based on player's shoes DEPRECATED | |
| int | GetExternalNoiseEventsComponent () |
| DEPRECATED. | |
| int | GetMovementSpeedNoiseComponent () |
| Noise related. | |
| float | GetMovementSpeedVisualCoef () |
| Visibility. | |
| float | GetMovementStanceVisualCoef () |
| int | GetNoisePresence () |
| returns actual noise presence of player | |
| int | GetSurfaceNoiseComponent () |
| DEPRECATED. | |
| float | GetTimerLength () |
| int | GetValue () |
| int | GetVisualPresence () |
| returns actual visibility presence of player | |
| void | Init (PlayerBase player) |
| void | PluginPresenceNotifier () |
| void | PresenceNotifierNoiseEvent (float pValue, float pLength) |
| void | ProcessEvent (EPresenceNotifierNoiseEventType pEventType) |
| processing of external one-time events (land, fire, etc.) | |
| int | ProcessNoiseComponents () |
| int | ProcessVisualComponents () |
| void | ShowCoefsDbg (bool pEnabled) |
Variables | |
| const int | LAND_NOISE_LVL1 = 2 |
| land noise | |
| const int | LAND_NOISE_LVL2 = 3 |
| PlayerBase | m_pPlayer |
| ref PresenceNotifierNoiseEvents | m_PresenceNotifierNoiseEvents |
| enum EPresenceNotifierNoiseEventType | m_TimerLength |
| int | m_Value |
| Weather | m_Weather |
| const int | mainPanelSizeX = 200 |
| const int | mainPanelSizeY = 1 |
| const int | margin = 10 |
| const int | NOISE_LEVEL_MAX = 5 |
| const int | NOISE_LEVEL_MIN = 0 |
| noise limits | |
| const float | SURFACE_LVL1_THRESHOLD = 0.5 |
| const float | SURFACE_LVL2_THRESHOLD = 1.0 |
| const int | SURFACE_NOISE_LVL0 = 0 |
| noise component from surfaces | |
| const int | SURFACE_NOISE_LVL1 = 1 |
| const int | SURFACE_NOISE_LVL2 = 2 |
| class PresenceNotifierNoiseEvents | windowPosX = 0 |
| dbgUI settings | |
| const int | windowPosY = 10 |
| Enumerator | |
|---|---|
| LAND_LIGHT | |
| LAND_HEAVY | |
Definition at line 1 of file pluginpresencenotifier.c.
|
protected |
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 234 of file pluginpresencenotifier.c.
References m_pPlayer, and AITargetCallbacksPlayer::StanceToMovementIdxTranslation().
Referenced by ProcessVisualComponents(), and ShowCoefsDbg().
|
protected |
Definition at line 256 of file pluginpresencenotifier.c.
References HumanMovementState::m_iStanceIdx, and m_pPlayer.
Referenced by ProcessVisualComponents(), and ShowCoefsDbg().
|
protected |
returns actual noise presence of player
Definition at line 191 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 197 of file pluginpresencenotifier.c.
References ProcessVisualComponents().
Referenced by ShowCoefsDbg().
|
protected |
Definition at line 114 of file pluginpresencenotifier.c.
|
protected |
Definition at line 107 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 203 of file pluginpresencenotifier.c.
References m_PresenceNotifierNoiseEvents.
|
protected |
Definition at line 219 of file pluginpresencenotifier.c.
References Math::Clamp(), g_Game, NoiseAIEvaluate::GetNoiseMultiplier(), NoiseAIEvaluate::GetNoiseReduction(), m_pPlayer, NOISE_LEVEL_MAX, NOISE_LEVEL_MIN, and Math::Round().
Referenced by GetNoisePresence().
|
protected |
Definition at line 208 of file pluginpresencenotifier.c.
References GetMovementSpeedVisualCoef(), GetMovementStanceVisualCoef(), and m_pPlayer.
Referenced by GetVisualPresence().
|
protected |
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(), NoiseAIEvaluate::GetNoiseReduction(), GetVisualPresence(), HumanMovementState::m_CommandTypeId, HumanMovementState::m_iMovement, HumanMovementState::m_iStanceIdx, m_pPlayer, m_Weather, mainPanelSizeX, mainPanelSizeY, DbgUI::Panel(), DbgUI::Spacer(), DbgUI::Text(), windowPosX, and windowPosY.
Referenced by EnableDebug().
|
protected |
land noise
Definition at line 97 of file pluginpresencenotifier.c.
Referenced by PluginPresenceNotifier().
|
protected |
Definition at line 98 of file pluginpresencenotifier.c.
Referenced by PluginPresenceNotifier().
|
protected |
Definition at line 102 of file pluginpresencenotifier.c.
|
protected |
Definition at line 105 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.
|
protected |
Definition at line 103 of file pluginpresencenotifier.c.
Referenced by Init(), and ShowCoefsDbg().
|
protected |
Definition at line 79 of file pluginpresencenotifier.c.
Referenced by OnGUI(), and ShowCoefsDbg().
|
protected |
Definition at line 80 of file pluginpresencenotifier.c.
Referenced by OnGUI(), and ShowCoefsDbg().
|
protected |
Definition at line 82 of file pluginpresencenotifier.c.
Referenced by OnGUI().
|
protected |
Definition at line 86 of file pluginpresencenotifier.c.
Referenced by ProcessNoiseComponents().
|
protected |
noise limits
Definition at line 85 of file pluginpresencenotifier.c.
Referenced by ProcessNoiseComponents().
|
protected |
Definition at line 94 of file pluginpresencenotifier.c.
|
protected |
Definition at line 93 of file pluginpresencenotifier.c.
|
protected |
noise component from surfaces
Definition at line 89 of file pluginpresencenotifier.c.
|
protected |
Definition at line 90 of file pluginpresencenotifier.c.
|
protected |
Definition at line 91 of file pluginpresencenotifier.c.
|
protected |
dbgUI settings
Referenced by OnGUI(), and ShowCoefsDbg().
|
protected |
Definition at line 77 of file pluginpresencenotifier.c.
Referenced by OnGUI(), and ShowCoefsDbg().