136 string visualAlertLevel;
137 string noiseAlertLevel;
157 visualAlertLevel =
"";
160 visualAlertLevel +=
"!";
165 noiseAlertLevel =
"";
168 noiseAlertLevel +=
"!";
207 float visualMean = 0;
233 float speedCoef = 1.0;
256 float stanceCoef = 1.0;
protected float GetMovementStanceVisualCoef()
class PresenceNotifierNoiseEvents windowPosX
dbgUI settings
const int SURFACE_NOISE_LVL1
void ProcessEvent(EPresenceNotifierNoiseEventType pEventType)
processing of external one-time events (land, fire, etc.)
protected int ProcessNoiseComponents()
const int NOISE_LEVEL_MAX
enum EPresenceNotifierNoiseEventType m_TimerLength
void PluginPresenceNotifier()
void PresenceNotifierNoiseEvent(float pValue, float pLength)
protected int ProcessVisualComponents()
const float SURFACE_LVL1_THRESHOLD
protected int GetBootsNoiseComponent()
void ~PluginPresenceNotifier()
int GetVisualPresence()
returns actual visibility presence of player
EPresenceNotifierNoiseEventType
const int SURFACE_NOISE_LVL0
noise component from surfaces
const int LAND_NOISE_LVL2
const int LAND_NOISE_LVL1
land noise
const int SURFACE_NOISE_LVL2
const float SURFACE_LVL2_THRESHOLD
protected float GetMovementSpeedVisualCoef()
Visibility.
const int NOISE_LEVEL_MIN
noise limits
protected void ShowCoefsDbg(bool pEnabled)
void EnableDebug(bool pEnabled)
protected ref PresenceNotifierNoiseEvents m_PresenceNotifierNoiseEvents
protected int GetMovementSpeedNoiseComponent()
protected int GetSurfaceNoiseComponent()
DEPRECATED.
int GetNoisePresence()
returns actual noise presence of player
protected int GetExternalNoiseEventsComponent()
DEPRECATED.
static int StanceToMovementIdxTranslation(HumanMovementState pState)
int m_iStanceIdx
current command's id
int m_iMovement
current stance (DayZPlayerConstants.STANCEIDX_ERECT, ...), only if the command has a stance
static float GetNoiseMultiplier(DayZPlayerImplement playerImplement)
static float GetNoiseMultiplierByPlayerSpeed(DayZPlayerImplement playerImplement)
static float GetNoiseMultiplierByShoes(DayZPlayerImplement playerImplement)
static float GetNoiseMultiplierBySurface(DayZPlayerImplement playerImplement)
protected ref Timer m_CooldownTimer
void PresenceNotifierNoiseEvents()
void ProcessEvent(EPresenceNotifierNoiseEventType pEventType)
static protected ref map< EPresenceNotifierNoiseEventType, ref PresenceNotifierNoiseEvent > m_PresenceNotifierNotifierEvents
protected void ResetEvent()
void RegisterEvent(EPresenceNotifierNoiseEventType pEventType, int pValue, float pLength)
DayZPlayerConstants
defined in C++
protected DayZPlayer m_pPlayer
data
static proto native void Spacer(int height)
static proto native void Begin(string windowTitle, float x=0, float y=0)
static proto void BeginCleanupScope()
static proto native void Text(string label)
static proto native void EndCleanupScope()
static proto native void End()
static proto native void Panel(string label, int width, int height, int color=0xaa555555)
static proto float Round(float f)
Returns mathematical round of value.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.