Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | DayZInfectedAttackType |
Enumerations | |
enum | DayZInfectedAttackGroupType |
Functions | |
enum DayZInfectedAttackGroupType | RegisterHitComponentsForAI () |
register hit components for AI melee (used by attacking AI) More... | |
void | RegisterAttacks () |
DayZInfectedAttackType | ChooseAttack (DayZInfectedAttackGroupType pAttackGroupType, float pDistance, int pPitch) |
string | GetHitComponentForAI () |
string | GetDefaultHitComponent () |
string | GetDefaultHitPositionComponent () |
array< string > | GetSuitableFinisherHitComponents () |
protected void | RegisterAttack (DayZInfectedAttackGroupType pAttackGroupType, float pDistance, int pPitch, int pType, float pSubtype, string pAmmoType, int pIsHeavy, float pCooldown, float pProbability) |
protected float | ComputeAttackUtility (DayZInfectedAttackType pAttackType, float pTargetDistance, int pPitch, float pProbability) |
protected array< ref DayZInfectedAttackType > | GetAttackGroup (DayZInfectedAttackGroupType pType) |
Variables | |
CHASE | |
FIGHT | |
private ref array< ref DayZInfectedAttackType > | m_ChaseAttacksGroup |
selected & sorted targets by utility function More... | |
private ref array< ref DayZInfectedAttackType > | m_FightAttacksGroup |
protected ref array< ref DayZAIHitComponent > | m_HitComponentsForAI |
Melee hit components (AI targeting) More... | |
protected string | m_DefaultHitComponent |
protected string | m_DefaultHitPositionComponent |
protected ref array< string > | m_SuitableFinisherHitComponents |
Definition at line 13 of file dayzinfectedtype.c.
DayZInfectedAttackType ChooseAttack | ( | DayZInfectedAttackGroupType | pAttackGroupType, |
float | pDistance, | ||
int | pPitch | ||
) |
Definition at line 96 of file dayzinfectedtype.c.
protected float ComputeAttackUtility | ( | DayZInfectedAttackType | pAttackType, |
float | pTargetDistance, | ||
int | pPitch, | ||
float | pProbability | ||
) |
Definition at line 171 of file dayzinfectedtype.c.
protected array<ref DayZInfectedAttackType> GetAttackGroup | ( | DayZInfectedAttackGroupType | pType | ) |
Definition at line 199 of file dayzinfectedtype.c.
string GetDefaultHitComponent | ( | ) |
Definition at line 136 of file dayzinfectedtype.c.
string GetDefaultHitPositionComponent | ( | ) |
Definition at line 141 of file dayzinfectedtype.c.
string GetHitComponentForAI | ( | ) |
Definition at line 124 of file dayzinfectedtype.c.
Definition at line 146 of file dayzinfectedtype.c.
protected void RegisterAttack | ( | DayZInfectedAttackGroupType | pAttackGroupType, |
float | pDistance, | ||
int | pPitch, | ||
int | pType, | ||
float | pSubtype, | ||
string | pAmmoType, | ||
int | pIsHeavy, | ||
float | pCooldown, | ||
float | pProbability | ||
) |
Definition at line 155 of file dayzinfectedtype.c.
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
Definition at line 49 of file dayzinfectedtype.c.
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
Definition at line 25 of file dayzinfectedtype.c.
CHASE |
Definition at line 2 of file dayzinfectedtype.c.
FIGHT |
Definition at line 4 of file dayzinfectedtype.c.
private ref array<ref DayZInfectedAttackType> m_ChaseAttacksGroup |
selected & sorted targets by utility function
Definition at line 218 of file dayzinfectedtype.c.
protected string m_DefaultHitComponent |
Definition at line 223 of file dayzinfectedtype.c.
protected string m_DefaultHitPositionComponent |
Definition at line 224 of file dayzinfectedtype.c.
private ref array<ref DayZInfectedAttackType> m_FightAttacksGroup |
Definition at line 219 of file dayzinfectedtype.c.
protected ref array<ref DayZAIHitComponent> m_HitComponentsForAI |
Melee hit components (AI targeting)
Definition at line 222 of file dayzinfectedtype.c.
Definition at line 225 of file dayzinfectedtype.c.