Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIGetAimErrorOffset Class Reference
Inheritance diagram for SCR_AIGetAimErrorOffset:
AITaskScripted

Protected Member Functions

override array< stringGetVariablesOut ()
override array< stringGetVariablesIn ()
override ENodeResult EOnTaskSimulate (AIAgent owner, float dt)
void ClearPorts ()
void GetTargetAngularBounds (IEntity shooter, AimPoint targetAimpoint, out vector sizeVectorX, out vector sizeVectorY, out float angularSize, out float distance)
 returns vectors of aimpoint volume projected onto shooter's BB center and the angular size of the target aimpoint
float GetDistanceFactor (float distance)
 returns factor of error scale based on distance to target
float GetTargetIlluminationFactor (BaseTarget tgt)
 returns 1.0 if target is well illuminated, and a bigger value if target is poorly illuminated.
float GetRandomFactor (EAISkill skill, float mu)
float GetTolerance (IEntity observer, IEntity target, float angularSize, float distance, EWeaponType weaponType)
 basic tolerance based on angular size of target in degrees
float GetAngularSpeedFactor (IEntity observer, IEntity enemy, out bool setBigTolerance)
float GetWeaponTypeFactor (EWeaponType weaponType)
float GetOffsetWeaponTypeFactor (EWeaponType weaponType)
 Scales offset depending on weapon type.
AimPoint GetAimPoint (BaseTarget target, EAimPointType aimpointTypes[3])

Static Protected Member Functions

static override bool VisibleInPalette ()
static override string GetOnHoverDescription ()

Protected Attributes

SCR_AICombatComponent m_CombatComponent
EAimingPreference m_eAimingPreference
EAimPointType m_eAimPointType
float m_fDefaultPrecisionXY

Static Protected Attributes

static ref TStringArray s_aVarsOut
static ref TStringArray s_aVarsIn

Detailed Description

Definition at line 9 of file SCR_AIGetAimErrorOffset.c.

Member Function Documentation

◆ ClearPorts()

void SCR_AIGetAimErrorOffset::ClearPorts ( )
inlineprotected

Definition at line 163 of file SCR_AIGetAimErrorOffset.c.

◆ EOnTaskSimulate()

override ENodeResult SCR_AIGetAimErrorOffset::EOnTaskSimulate ( AIAgent owner,
float dt )
inlineprotected

Definition at line 75 of file SCR_AIGetAimErrorOffset.c.

◆ GetAimPoint()

AimPoint SCR_AIGetAimErrorOffset::GetAimPoint ( BaseTarget target,
EAimPointType aimpointTypes[3] )
inlineprotected

Definition at line 375 of file SCR_AIGetAimErrorOffset.c.

◆ GetAngularSpeedFactor()

float SCR_AIGetAimErrorOffset::GetAngularSpeedFactor ( IEntity observer,
IEntity enemy,
out bool setBigTolerance )
inlineprotected

Definition at line 294 of file SCR_AIGetAimErrorOffset.c.

◆ GetDistanceFactor()

float SCR_AIGetAimErrorOffset::GetDistanceFactor ( float distance)
inlineprotected

returns factor of error scale based on distance to target

Definition at line 204 of file SCR_AIGetAimErrorOffset.c.

◆ GetOffsetWeaponTypeFactor()

float SCR_AIGetAimErrorOffset::GetOffsetWeaponTypeFactor ( EWeaponType weaponType)
inlineprotected

Scales offset depending on weapon type.

Definition at line 366 of file SCR_AIGetAimErrorOffset.c.

◆ GetOnHoverDescription()

override string SCR_AIGetAimErrorOffset::GetOnHoverDescription ( )
inlinestaticprotected

Definition at line 407 of file SCR_AIGetAimErrorOffset.c.

◆ GetRandomFactor()

float SCR_AIGetAimErrorOffset::GetRandomFactor ( EAISkill skill,
float mu )
inlineprotected

Definition at line 229 of file SCR_AIGetAimErrorOffset.c.

◆ GetTargetAngularBounds()

void SCR_AIGetAimErrorOffset::GetTargetAngularBounds ( IEntity shooter,
AimPoint targetAimpoint,
out vector sizeVectorX,
out vector sizeVectorY,
out float angularSize,
out float distance )
inlineprotected

returns vectors of aimpoint volume projected onto shooter's BB center and the angular size of the target aimpoint

Definition at line 172 of file SCR_AIGetAimErrorOffset.c.

◆ GetTargetIlluminationFactor()

float SCR_AIGetAimErrorOffset::GetTargetIlluminationFactor ( BaseTarget tgt)
inlineprotected

returns 1.0 if target is well illuminated, and a bigger value if target is poorly illuminated.

Definition at line 215 of file SCR_AIGetAimErrorOffset.c.

◆ GetTolerance()

float SCR_AIGetAimErrorOffset::GetTolerance ( IEntity observer,
IEntity target,
float angularSize,
float distance,
EWeaponType weaponType )
inlineprotected

basic tolerance based on angular size of target in degrees

Definition at line 270 of file SCR_AIGetAimErrorOffset.c.

◆ GetVariablesIn()

override array< string > SCR_AIGetAimErrorOffset::GetVariablesIn ( )
inlineprotected

Definition at line 69 of file SCR_AIGetAimErrorOffset.c.

◆ GetVariablesOut()

override array< string > SCR_AIGetAimErrorOffset::GetVariablesOut ( )
inlineprotected

Definition at line 58 of file SCR_AIGetAimErrorOffset.c.

◆ GetWeaponTypeFactor()

float SCR_AIGetAimErrorOffset::GetWeaponTypeFactor ( EWeaponType weaponType)
inlineprotected

Definition at line 328 of file SCR_AIGetAimErrorOffset.c.

◆ VisibleInPalette()

override bool SCR_AIGetAimErrorOffset::VisibleInPalette ( )
inlinestaticprotected

Definition at line 404 of file SCR_AIGetAimErrorOffset.c.

Member Data Documentation

◆ m_CombatComponent

SCR_AICombatComponent SCR_AIGetAimErrorOffset::m_CombatComponent
protected

Definition at line 26 of file SCR_AIGetAimErrorOffset.c.

◆ m_eAimingPreference

EAimingPreference SCR_AIGetAimErrorOffset::m_eAimingPreference
protected

Definition at line 33 of file SCR_AIGetAimErrorOffset.c.

◆ m_eAimPointType

EAimPointType SCR_AIGetAimErrorOffset::m_eAimPointType
protected

Definition at line 36 of file SCR_AIGetAimErrorOffset.c.

◆ m_fDefaultPrecisionXY

float SCR_AIGetAimErrorOffset::m_fDefaultPrecisionXY
protected

Definition at line 39 of file SCR_AIGetAimErrorOffset.c.

◆ s_aVarsIn

ref TStringArray SCR_AIGetAimErrorOffset::s_aVarsIn
staticprotected
Initial value:
= {
PORT_BASE_TARGET,
PORT_AIMPOINT_TYPE_0,
PORT_AIMPOINT_TYPE_1
}

Definition at line 64 of file SCR_AIGetAimErrorOffset.c.

◆ s_aVarsOut

ref TStringArray SCR_AIGetAimErrorOffset::s_aVarsOut
staticprotected
Initial value:
= {
PORT_ERROR_OFFSET,
PORT_AIM_POINT,
PORT_TOLERANCE
}

Definition at line 53 of file SCR_AIGetAimErrorOffset.c.


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