Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_BaseBallisticConfig Interface Reference
Inheritance diagram for SCR_BaseBallisticConfig:
SCR_VisualisedBallisticConfig

Public Member Functions

ResourceName GetProjectilePrefab ()
 
string GetDisplayedText ()
 
int GetRangeStep ()
 
float GetProjectileInitSpeedCoef ()
 
float GetStandardDispersion ()
 
bool IsGenerated ()
 
bool IsDirectFire ()
 
ResourceName GetAmmoTypeImageSet ()
 
string GetAmmoTypeQuadName ()
 
int GetAmmoTypeImageSize ()
 
int GetBallisticDataId ()
 
SCR_EOpticsAngleUnits GetUnitType ()
 
bool GenerateBallisticData ()
 Check if such data doesnt already exist and only then it will generate values for this config.
 
bool VerifyDataExistence (inout int id=-1)
 Checks if data with provided id already exists in SCR_BallisticData.s_aBallistics.
 

Protected Member Functions

vector GenerateEdgeValues (notnull IEntitySource entitySrc, float cutoffRadAngle, bool upper=false)
 

Protected Attributes

ResourceName m_sProjectilePrefab
 
string m_sDisplayedText
 
int m_iRangeStep
 
float m_fProjectileInitSpeedCoef
 
float m_fStandardDispersion
 
string m_sUnitType
 
bool m_bDirectFireMode
 
float m_fMinFireAngle
 
float m_fMaxFireAngle
 
ResourceName m_sAmmoTypeImageSet
 
string m_sAmmoTypeQuadName
 
int m_iAmmoTypeImageSize
 
SCR_EOpticsAngleUnits m_eUnitType = -1
 
int m_iBallisticDataId = -1
 

Member Function Documentation

◆ GenerateBallisticData()

bool SCR_BaseBallisticConfig.GenerateBallisticData ( )

Check if such data doesnt already exist and only then it will generate values for this config.

Returns
if data for this config is available in SCR_BallisticData.s_aBallistics

Implemented in SCR_VisualisedBallisticConfig.

◆ GenerateEdgeValues()

vector SCR_BaseBallisticConfig.GenerateEdgeValues ( notnull IEntitySource entitySrc,
float cutoffRadAngle,
bool upper = false )
protected

◆ GetAmmoTypeImageSet()

ResourceName SCR_BaseBallisticConfig.GetAmmoTypeImageSet ( )

◆ GetAmmoTypeImageSize()

int SCR_BaseBallisticConfig.GetAmmoTypeImageSize ( )

◆ GetAmmoTypeQuadName()

string SCR_BaseBallisticConfig.GetAmmoTypeQuadName ( )

◆ GetBallisticDataId()

int SCR_BaseBallisticConfig.GetBallisticDataId ( )

◆ GetDisplayedText()

string SCR_BaseBallisticConfig.GetDisplayedText ( )

◆ GetProjectileInitSpeedCoef()

float SCR_BaseBallisticConfig.GetProjectileInitSpeedCoef ( )

◆ GetProjectilePrefab()

ResourceName SCR_BaseBallisticConfig.GetProjectilePrefab ( )

◆ GetRangeStep()

int SCR_BaseBallisticConfig.GetRangeStep ( )

◆ GetStandardDispersion()

float SCR_BaseBallisticConfig.GetStandardDispersion ( )

◆ GetUnitType()

SCR_EOpticsAngleUnits SCR_BaseBallisticConfig.GetUnitType ( )

◆ IsDirectFire()

bool SCR_BaseBallisticConfig.IsDirectFire ( )

◆ IsGenerated()

bool SCR_BaseBallisticConfig.IsGenerated ( )

◆ VerifyDataExistence()

bool SCR_BaseBallisticConfig.VerifyDataExistence ( inout int id = -1)

Checks if data with provided id already exists in SCR_BallisticData.s_aBallistics.

Parameters
[in,out]idposition in SCR_BallisticData.s_aBallistics that will be verified if it maches this config
Returns
true if such ballistic data for this config exists in SCR_BallisticData.s_aBallistics

Member Data Documentation

◆ m_bDirectFireMode

bool SCR_BaseBallisticConfig.m_bDirectFireMode
protected

◆ m_eUnitType

SCR_EOpticsAngleUnits SCR_BaseBallisticConfig.m_eUnitType = -1
protected

◆ m_fMaxFireAngle

float SCR_BaseBallisticConfig.m_fMaxFireAngle
protected

◆ m_fMinFireAngle

float SCR_BaseBallisticConfig.m_fMinFireAngle
protected

◆ m_fProjectileInitSpeedCoef

float SCR_BaseBallisticConfig.m_fProjectileInitSpeedCoef
protected

◆ m_fStandardDispersion

float SCR_BaseBallisticConfig.m_fStandardDispersion
protected

◆ m_iAmmoTypeImageSize

int SCR_BaseBallisticConfig.m_iAmmoTypeImageSize
protected

◆ m_iBallisticDataId

int SCR_BaseBallisticConfig.m_iBallisticDataId = -1
protected

◆ m_iRangeStep

int SCR_BaseBallisticConfig.m_iRangeStep
protected

◆ m_sAmmoTypeImageSet

ResourceName SCR_BaseBallisticConfig.m_sAmmoTypeImageSet
protected

◆ m_sAmmoTypeQuadName

string SCR_BaseBallisticConfig.m_sAmmoTypeQuadName
protected

◆ m_sDisplayedText

string SCR_BaseBallisticConfig.m_sDisplayedText
protected

◆ m_sProjectilePrefab

ResourceName SCR_BaseBallisticConfig.m_sProjectilePrefab
protected

◆ m_sUnitType

string SCR_BaseBallisticConfig.m_sUnitType
protected

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