DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ProcessNoiseComponents()

int ProcessNoiseComponents ( )
protected

См. определение в файле PluginPresenceNotifier.c строка 223

224 {
225 float noise = 0;
226 float reduction = 0;
227 if (m_pPlayer)
228 {
229 // weather dampening is applied engine-side now, so this HUD shows only the player noise multiplier
231 noise = Math.Round(noise * NOISE_LEVEL_MAX);
232 }
233
235 }
const int NOISE_LEVEL_MAX
Определения PluginPresenceNotifier.c:86
const int NOISE_LEVEL_MIN
noise limits
Определения PluginPresenceNotifier.c:85
Определения EnMath.c:7
static float GetNoiseMultiplier(DayZPlayerImplement playerImplement)
Определения SensesAIEvaluate.c:5
DayZPlayer m_pPlayer
data
Определения dayzplayer.c:135
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'.

Перекрестные ссылки Math::Clamp(), NoiseAIEvaluate::GetNoiseMultiplier(), m_pPlayer, NOISE_LEVEL_MAX, NOISE_LEVEL_MIN и Math::Round().

Используется в GetNoisePresence().