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

Закрытые статические члены

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)
 

Закрытые статические данные

static float SURFACE_NOISE_WEIGHT = 0.25
 

Подробное описание

Методы

◆ GetNoiseMultiplier()

static float GetNoiseMultiplier ( DayZPlayerImplement playerImplement)
inlinestaticprivate
6 {
10
14
15 return avgNoise;
16 }
static float GetNoiseMultiplierByPlayerSpeed(DayZPlayerImplement playerImplement)
Definition SensesAIEvaluate.c:27
static float GetNoiseMultiplierByShoes(DayZPlayerImplement playerImplement)
Definition SensesAIEvaluate.c:63
static float SURFACE_NOISE_WEIGHT
Definition SensesAIEvaluate.c:3
static float GetNoiseMultiplierBySurface(DayZPlayerImplement playerImplement)
Definition SensesAIEvaluate.c:82
Definition EntityAI.c:95

Перекрестные ссылки GetNoiseMultiplierByPlayerSpeed(), GetNoiseMultiplierByShoes(), GetNoiseMultiplierBySurface() и SURFACE_NOISE_WEIGHT.

Используется в DayZPlayer::OnStepEvent() и ProcessNoiseComponents().

◆ GetNoiseMultiplierByPlayerSpeed()

static float GetNoiseMultiplierByPlayerSpeed ( DayZPlayerImplement playerImplement)
inlinestaticprivate
28 {
30
31 playerImplement.GetMovementState(hms);
32
33 if ( playerImplement.GetCommand_Move() && playerImplement.GetCommand_Move().IsInRoll() )
34 {
35 // When rolling we are prone, so we load that Noise value, hence we multiply
37 }
38
40 {
41 case DayZPlayerConstants.MOVEMENTIDX_IDLE:
43
44 case DayZPlayerConstants.MOVEMENTIDX_WALK:
46
47 case DayZPlayerConstants.MOVEMENTIDX_CROUCH_RUN:
49
50 case DayZPlayerConstants.MOVEMENTIDX_RUN:
52
53 case DayZPlayerConstants.MOVEMENTIDX_SPRINT:
55 }
56
57 //Default return
59 }
Definition AITargetCallbacksPlayer.c:2
static int StanceToMovementIdxTranslation(HumanMovementState pState)
Definition AITargetCallbacksPlayer.c:89
Definition human.c:1139
Definition PlayerConstants.c:2
static const float AI_NOISE_IDLE
Definition PlayerConstants.c:233
static const float AI_NOISE_RUN
Definition PlayerConstants.c:230
static const float AI_NOISE_WALK
Definition PlayerConstants.c:232
static const float AI_NOISE_ROLL
Definition PlayerConstants.c:228
static const float AI_NOISE_SPRINT
Definition PlayerConstants.c:229
static const float AI_NOISE_CROUCH_RUN
Definition PlayerConstants.c:231
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602

Перекрестные ссылки PlayerConstants::AI_NOISE_CROUCH_RUN, PlayerConstants::AI_NOISE_IDLE, PlayerConstants::AI_NOISE_ROLL, PlayerConstants::AI_NOISE_RUN, PlayerConstants::AI_NOISE_SPRINT, PlayerConstants::AI_NOISE_WALK и AITargetCallbacksPlayer::StanceToMovementIdxTranslation().

Используется в GetNoiseMultiplier() и ShowCoefsDbg().

◆ GetNoiseMultiplierByShoes()

static float GetNoiseMultiplierByShoes ( DayZPlayerImplement playerImplement)
inlinestaticprivate
64 {
65 switch ( playerImplement.GetBootsType() )
66 {
67 case AnimBootsType.None:
69
70 case AnimBootsType.Sneakers:
72
73 case AnimBootsType.Boots:
75 }
76
77 //Default return
79 }
AnimBootsType
Definition DayZAnimEvents.c:98
static const float AI_NOISE_SHOES_SNEAKERS
Definition PlayerConstants.c:235
static const float AI_NOISE_SHOES_BOOTS
Definition PlayerConstants.c:234
static const float AI_NOISE_SHOES_NONE
Definition PlayerConstants.c:236

Перекрестные ссылки PlayerConstants::AI_NOISE_SHOES_BOOTS, PlayerConstants::AI_NOISE_SHOES_NONE и PlayerConstants::AI_NOISE_SHOES_SNEAKERS.

Используется в GetNoiseMultiplier() и ShowCoefsDbg().

◆ GetNoiseMultiplierBySurface()

static float GetNoiseMultiplierBySurface ( DayZPlayerImplement playerImplement)
inlinestaticprivate
83 {
84 return playerImplement.GetSurfaceNoise();
85 }

Используется в GetNoiseMultiplier() и ShowCoefsDbg().

◆ GetNoiseReduction()

Поля

◆ SURFACE_NOISE_WEIGHT

float SURFACE_NOISE_WEIGHT = 0.25
staticprivate

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


Объявления и описания членов класса находятся в файле: