AIWeaponData

Inherits from GameAIWeaponData

Summary

Constructors

AIWeaponData()
AIWeaponData(guid: Guid)
AIWeaponData(other: GameAIWeaponData)
AIWeaponData(other: Asset)
AIWeaponData(other: DataContainer)

Properties

Name Type
strengths Strengths
maxBurstCoolDownTime float
lostTargetBurstCoolDownModifier float
finalAccuracyPercentage float
aimTransitionFireDelay float
minRange float
maxRange float
optimalRangePercentage float
reloadBehavior ReloadBehavior
minExtraReloadTime float
maxExtraReloadTime float
minBurstCoolDownTime float
aimAngularVelocity float
innerInaccurateDistance float
angleToTargetSnap float
sweepDistance float
sweepTime float
waitTimeBeforeFire float
burstLimitNear BurstLimit
burstLimitFar BurstLimit
startAccuracyPercentage float
minimumAccuracyBeforeFiring float
outerInaccurateDistance float
additionalMinimumAccuracyAtMinRange float
gravityModifier float
sweepType SweepSelectionType
aimOrigin AimOrigin
useZoom bool
allowedAgainstImmortals bool
aimWhileReloading bool
aimHighIndirectPath bool
indirect bool
isMelee bool
sweepFirstAttack bool
isBlindFireAllowed bool
canAltAttack bool
isStandStill bool
canSuppress bool
useFromCover bool
inaccuracyFollowsTarget bool
useInaccuracyAtCloseRange bool
disableWeaponSway bool
isAiAllowed bool

Static members

Name Type
AIWeaponData.typeInfo TypeInformation

Constructors

AIWeaponData

AIWeaponData()

Creates a new AIWeaponData frostbite instance.

AIWeaponData

AIWeaponData(guid: Guid)

Creates a new AIWeaponData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

AIWeaponData

AIWeaponData(other: GameAIWeaponData)

Casts an instance of type GameAIWeaponData to AIWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameAIWeaponData The instance to cast to AIWeaponData.

AIWeaponData

AIWeaponData(other: Asset)

Casts an instance of type Asset to AIWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to AIWeaponData.

AIWeaponData

AIWeaponData(other: DataContainer)

Casts an instance of type DataContainer to AIWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to AIWeaponData.

Properties

strengths

Strengths

maxBurstCoolDownTime

float

lostTargetBurstCoolDownModifier

float

finalAccuracyPercentage

float

aimTransitionFireDelay

float

minRange

float

maxRange

float

optimalRangePercentage

float

reloadBehavior

ReloadBehavior

minExtraReloadTime

float

maxExtraReloadTime

float

minBurstCoolDownTime

float

aimAngularVelocity

float

innerInaccurateDistance

float

angleToTargetSnap

float

sweepDistance

float

sweepTime

float

waitTimeBeforeFire

float

burstLimitNear

BurstLimit

burstLimitFar

BurstLimit

startAccuracyPercentage

float

minimumAccuracyBeforeFiring

float

outerInaccurateDistance

float

additionalMinimumAccuracyAtMinRange

float

gravityModifier

float

sweepType

SweepSelectionType

aimOrigin

AimOrigin

useZoom

bool

allowedAgainstImmortals

bool

aimWhileReloading

bool

aimHighIndirectPath

bool

indirect

bool

isMelee

bool

sweepFirstAttack

bool

isBlindFireAllowed

bool

canAltAttack

bool

isStandStill

bool

canSuppress

bool

useFromCover

bool

inaccuracyFollowsTarget

bool

useInaccuracyAtCloseRange

bool

disableWeaponSway

bool

isAiAllowed

bool

Static members

typeInfo

TypeInformation

The type information for the AIWeaponData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)