class DayZAnimalSource
DayZAnimal › DayZCreatureAI › DayZCreature › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
All members, including inherited
Constructors 1
void DayZAnimal()References GetDefaultHitPositionComponent(), RegisterHitComponentsForAI(), SetDefaultHitPosition()
Show 3 more
, IEntity.SetEventMask(), m_DefaultHitPosition, and m_HitComponentsForAIMembers 7
protected ref array<ref DayZAIHitComponent> m_HitComponentsForAIMelee hit components (AI targeting)
Referenced by Animal_BosTaurus.RegisterHitComponentsForAI(), Animal_CanisLupus.RegisterHitComponentsForAI(), Animal_CapraHircus.RegisterHitComponentsForAI()
Show 13 more
, Animal_CapreolusCapreolus.RegisterHitComponentsForAI(), Animal_CervusElaphus.RegisterHitComponentsForAI(), Animal_GallusGallusDomesticus.RegisterHitComponentsForAI(), Animal_LepusEuropaeus.RegisterHitComponentsForAI(), Animal_OvisAries.RegisterHitComponentsForAI(), Animal_RangiferTarandus.RegisterHitComponentsForAI(), Animal_SusDomesticus.RegisterHitComponentsForAI(), Animal_SusScrofa.RegisterHitComponentsForAI(), Animal_UrsusArctos.RegisterHitComponentsForAI(), Animal_VulpesVulpes.RegisterHitComponentsForAI(), DayZAnimal(), GetHitComponentForAI(), and RegisterHitComponentsForAI()protected string m_DefaultHitComponentReferenced by Animal_BosTaurus.RegisterHitComponentsForAI(), Animal_CanisLupus.RegisterHitComponentsForAI(), Animal_CapraHircus.RegisterHitComponentsForAI()
Show 12 more
, Animal_CapreolusCapreolus.RegisterHitComponentsForAI(), Animal_CervusElaphus.RegisterHitComponentsForAI(), Animal_GallusGallusDomesticus.RegisterHitComponentsForAI(), Animal_LepusEuropaeus.RegisterHitComponentsForAI(), Animal_OvisAries.RegisterHitComponentsForAI(), Animal_RangiferTarandus.RegisterHitComponentsForAI(), Animal_SusDomesticus.RegisterHitComponentsForAI(), Animal_SusScrofa.RegisterHitComponentsForAI(), Animal_UrsusArctos.RegisterHitComponentsForAI(), Animal_VulpesVulpes.RegisterHitComponentsForAI(), GetDefaultHitComponent(), and RegisterHitComponentsForAI()protected string m_DefaultHitPositionComponentReferenced by Animal_BosTaurus.RegisterHitComponentsForAI(), Animal_CanisLupus.RegisterHitComponentsForAI(), Animal_CapraHircus.RegisterHitComponentsForAI()
Show 12 more
, Animal_CapreolusCapreolus.RegisterHitComponentsForAI(), Animal_CervusElaphus.RegisterHitComponentsForAI(), Animal_GallusGallusDomesticus.RegisterHitComponentsForAI(), Animal_LepusEuropaeus.RegisterHitComponentsForAI(), Animal_OvisAries.RegisterHitComponentsForAI(), Animal_RangiferTarandus.RegisterHitComponentsForAI(), Animal_SusDomesticus.RegisterHitComponentsForAI(), Animal_SusScrofa.RegisterHitComponentsForAI(), Animal_UrsusArctos.RegisterHitComponentsForAI(), Animal_VulpesVulpes.RegisterHitComponentsForAI(), GetDefaultHitPositionComponent(), and RegisterHitComponentsForAI()protected vector m_DefaultHitPositionbool m_DamageHitToProcess = falseint m_DamageHitType = 0int m_DamageHitDirection = 0Methods 32
proto native DayZAnimalInputController GetInputController()Referenced by CommandHandler()
Referenced by HandleDeath()
proto native void StartCommand_Move()Referenced by CommandHandler()
proto native void StartCommand_Jump()Referenced by CommandHandler()
proto native void StartCommand_Attack()Referenced by CommandHandler()
Referenced by HandleDamageHit()
proto native DayZAnimalCommandScript StartCommand_Script(DayZAnimalCommandScript pInfectedCommand)scripted commands
proto native DayZAnimalCommandScript StartCommand_ScriptInst(typename pCallbackClass)proto native DayZAnimalCommandScript GetCommand_Script()proto native void SignalAIAttackStarted()Referenced by CommandHandler()
proto native void SignalAIAttackEnded()Referenced by CommandHandler()
override bool IsHealthVisible()sets default hit position and cache it here (mainly for impact particles)
override bool IsAnimal()override bool IsInventoryVisible()override int GetHideIconMask()References GetInputController(), HandleDamageHit(), HandleDeath()
Show 10 more
, DayZAnimalInputController.IsAttack(), DayZCreatureAIInputController.IsJump(), DayZCreature.ModCommandHandlerAfter(), DayZCreatureAI.ModCommandHandlerBefore(), DayZCreature.ModCommandHandlerInside(), SignalAIAttackEnded(), SignalAIAttackStarted(), StartCommand_Attack(), StartCommand_Jump(), and StartCommand_Move()bool HandleDeath(int currentCommandID, DayZAnimalInputController inputController)References DayZAnimalInputController.IsDead(), StartCommand_Death(), m_DamageHitDirection
Show 2 more
, m_DamageHitToProcess, and m_DamageHitTypeReferenced by CommandHandler()
References StartCommand_Hit(), m_DamageHitDirection, m_DamageHitToProcess
Show 1 more
, m_DamageHitTypeReferenced by CommandHandler()
override void EEHitBy(TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef)Referenced by EEHitBy()
bool ComputeDamageHitParams(EntityAI source, string dmgZone, string ammo, out int type, out int direction)References ComputeHitDirectionAngleDeg(), FindComponentDirectionOffset(), and TranslateHitAngleDegToDirectionIndex()
Referenced by EEHitBy()
References Math.Acos(), vector.Dot(), Object.GetDirection()
Show 5 more
, Object.GetPosition(), Object.GetPosition(), vector.Normalize(), vector.Normalize(), and Math.RAD2DEGReferenced by ComputeDamageHitParams()
Referenced by ComputeDamageHitParams()
References string.Length()
Referenced by ComputeDamageHitParams()
Phx contact event
References Class.Cast(), Object.IsAlive(), CGame.IsServer()
Show 1 more
, EntityAI.RegisterTransportHit()void RegisterHitComponentsForAI()register hit components for AI melee (used by attacking AI)
References DayZAIHitComponentHelpers.RegisterHitComponent(), m_DefaultHitComponent, m_DefaultHitPositionComponent
Show 1 more
, m_HitComponentsForAIReferenced by DayZAnimal()
override string GetHitComponentForAI()register hit components that are selected by probability
override string GetDefaultHitComponent()References m_DefaultHitComponent
Referenced by GetHitComponentForAI()
override string GetDefaultHitPositionComponent()References m_DefaultHitPositionComponent
Referenced by DayZAnimal()
override vector GetDefaultHitPosition()References m_DefaultHitPosition
References Object.GetSelectionPositionMS()
Referenced by DayZAnimal()
override protected float ConvertNonlethalDamage(float damage, DamageType damageType)References EntityAI.ConvertNonlethalDamage(), GameConstants.NL_DAMAGE_CLOSECOMBAT_CONVERSION_ANIMALS, and GameConstants.NL_DAMAGE_FIREARM_CONVERSION_ANIMALS
Referenced by EEHitBy()