PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
AITargetCallbacksPlayer Class Reference

Private Member Functions

void AITargetCallbacksPlayer (PlayerBase pPlayer)
 
override vector GetHeadPositionWS ()
 
override vector GetVisionPointPositionWS (EntityAI pApplicant)
 
override float GetMaxVisionRangeModifier (EntityAI pApplicant)
 

Static Private Member Functions

static int StanceToMovementIdxTranslation (HumanMovementState pState)
 

Private Attributes

private int m_iChestBoneIndex
 
private PlayerBase m_Player
 
private int m_iHeadBoneIndex
 DEPRECATED.
 

Constructor & Destructor Documentation

◆ AITargetCallbacksPlayer()

void AITargetCallbacksPlayer ( PlayerBase  pPlayer)
inlineprivate

References m_iChestBoneIndex, and m_Player.

Member Function Documentation

◆ GetHeadPositionWS()

override vector GetHeadPositionWS ( )
inlineprivate

References m_Player.

Referenced by GetVisionPointPositionWS().

◆ GetMaxVisionRangeModifier()

◆ GetVisionPointPositionWS()

override vector GetVisionPointPositionWS ( EntityAI  pApplicant)
inlineprivate

◆ StanceToMovementIdxTranslation()

static int StanceToMovementIdxTranslation ( HumanMovementState  pState)
inlinestaticprivate

Translates players speed (idx) and corrects it by current stance used mainly for visibility/audibility of player to AI

References HumanMovementState::m_iMovement, and HumanMovementState::m_iStanceIdx.

Referenced by GetMaxVisionRangeModifier(), GetMovementSpeedVisualCoef(), and NoiseAIEvaluate::GetNoiseMultiplierByPlayerSpeed().

Field Documentation

◆ m_iChestBoneIndex

private int m_iChestBoneIndex
private

◆ m_iHeadBoneIndex

private int m_iHeadBoneIndex
private

DEPRECATED.

◆ m_Player


The documentation for this class was generated from the following file: