134 string visualAlertLevel;
135 string noiseAlertLevel;
160 visualAlertLevel =
"";
163 visualAlertLevel +=
"!";
168 noiseAlertLevel =
"";
171 noiseAlertLevel +=
"!";
210 float visualMean = 0;
237 float speedCoef = 1.0;
259 float stanceCoef = 1.0;
static int StanceToMovementIdxTranslation(HumanMovementState pState)
Translates players speed (idx) and corrects it by current stance used mainly for visibility/audibilit...
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 GetNoiseReduction(Weather weather)
static float GetNoiseMultiplierByPlayerSpeed(DayZPlayerImplement playerImplement)
static float GetNoiseMultiplierByShoes(DayZPlayerImplement playerImplement)
static float GetNoiseMultiplierBySurface(DayZPlayerImplement playerImplement)
Class PluginMessageManager provides some basic Message Distribution mechanics, if you get instance of...
void PresenceNotifierNoiseEvents()
void ProcessEvent(EPresenceNotifierNoiseEventType pEventType)
ref Timer m_CooldownTimer
static ref map< EPresenceNotifierNoiseEventType, ref PresenceNotifierNoiseEvent > m_PresenceNotifierNotifierEvents
void RegisterEvent(EPresenceNotifierNoiseEventType pEventType, int pValue, float pLength)
DayZPlayerConstants
defined in C++
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'.
class PresenceNotifierNoiseEvents windowPosX
dbgUI settings
const int SURFACE_NOISE_LVL1
void ProcessEvent(EPresenceNotifierNoiseEventType pEventType)
processing of external one-time events (land, fire, etc.)
const int NOISE_LEVEL_MAX
enum EPresenceNotifierNoiseEventType m_TimerLength
void PluginPresenceNotifier()
void PresenceNotifierNoiseEvent(float pValue, float pLength)
const float SURFACE_LVL1_THRESHOLD
void ShowCoefsDbg(bool pEnabled)
float GetMovementSpeedVisualCoef()
Visibility.
int GetExternalNoiseEventsComponent()
DEPRECATED.
int GetSurfaceNoiseComponent()
DEPRECATED.
int GetMovementSpeedNoiseComponent()
Noise related.
float GetMovementStanceVisualCoef()
int ProcessVisualComponents()
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
const int NOISE_LEVEL_MIN
noise limits
int ProcessNoiseComponents()
void EnableDebug(bool pEnabled)
ref PresenceNotifierNoiseEvents m_PresenceNotifierNoiseEvents
int GetNoisePresence()
returns actual noise presence of player
int GetBootsNoiseComponent()
noise component of presence based on player's shoes DEPRECATED