DayZ 1.26
DayZ Explorer by KGB
|
Структуры данных | |
class | DayZInfectedAttackType |
Перечисления | |
enum | DayZInfectedAttackGroupType |
Функции | |
enum DayZInfectedAttackGroupType | RegisterHitComponentsForAI () |
register hit components for AI melee (used by attacking AI) | |
void | RegisterAttacks () |
DayZInfectedAttackType | ChooseAttack (DayZInfectedAttackGroupType pAttackGroupType, float pDistance, int pPitch) |
string | GetHitComponentForAI () |
string | GetDefaultHitComponent () |
string | GetDefaultHitPositionComponent () |
array< string > | GetSuitableFinisherHitComponents () |
void | RegisterAttack (DayZInfectedAttackGroupType pAttackGroupType, float pDistance, int pPitch, int pType, float pSubtype, string pAmmoType, int pIsHeavy, float pCooldown, float pProbability) |
float | ComputeAttackUtility (DayZInfectedAttackType pAttackType, float pTargetDistance, int pPitch, float pProbability) |
array< ref DayZInfectedAttackType > | GetAttackGroup (DayZInfectedAttackGroupType pType) |
Переменные | |
CHASE | |
FIGHT | |
ref array< ref DayZInfectedAttackType > | m_ChaseAttacksGroup |
selected & sorted targets by utility function | |
ref array< ref DayZInfectedAttackType > | m_FightAttacksGroup |
ref array< ref DayZAIHitComponent > | m_HitComponentsForAI |
Melee hit components (AI targeting) | |
string | m_DefaultHitComponent |
string | m_DefaultHitPositionComponent |
ref array< string > | m_SuitableFinisherHitComponents |
DayZInfectedAttackType ChooseAttack | ( | DayZInfectedAttackGroupType | pAttackGroupType, |
float | pDistance, | ||
int | pPitch ) |
Перекрестные ссылки ComputeAttackUtility(), GetAttackGroup(), GetWorldTime(), Math::RandomFloat01() и Math::Randomize().
|
protected |
Используется в ChooseAttack().
|
protected |
Перекрестные ссылки m_ChaseAttacksGroup и m_FightAttacksGroup.
Используется в ChooseAttack() и RegisterAttack().
string GetDefaultHitComponent | ( | ) |
Перекрестные ссылки m_DefaultHitComponent.
string GetDefaultHitPositionComponent | ( | ) |
Перекрестные ссылки m_DefaultHitPositionComponent.
string GetHitComponentForAI | ( | ) |
Перекрестные ссылки GetDefaultHitComponent(), m_HitComponentsForAI и DayZAIHitComponentHelpers::SelectMostProbableHitComponent().
Перекрестные ссылки m_SuitableFinisherHitComponents.
|
protected |
void RegisterAttacks | ( | ) |
RegisterAttack(Group Type, Distance, Pitch, Type, Subtype, AmmoType, heavyFlag, Cooldown, Probability);
chase group
center attack
fight group
up attack
center attack
down attack
Перекрестные ссылки GetGame(), GetName(), m_ChaseAttacksGroup, m_FightAttacksGroup и RegisterAttack().
enum DayZInfectedAttackGroupType RegisterHitComponentsForAI | ( | ) |
register hit components for AI melee (used by attacking AI)
registers default hit compoent for the entity
registers default hit position component for entity
list of components suitable for melee finisher attacks (used in fight logic)
register hit components that are selected by probability
CHASE |
FIGHT |
|
private |
selected & sorted targets by utility function
Используется в GetAttackGroup() и RegisterAttacks().
|
protected |
|
protected |
|
private |
Используется в GetAttackGroup() и RegisterAttacks().
|
protected |
Melee hit components (AI targeting)