Function; setAccuracyFalloff - HWRM/KarosGraveyard GitHub Wiki

setAccuracyFalloff(<rWeaponTable>,<fFalloff/fRange>,<fPercentageStart>)

Description

  • Controls accuracy falloff of a bullet over its distance traveled.

Example

setAccuracyFalloff(NewWeaponType, 0.15/2000.0, 0.1);

Arguments

<rWeaponTable>: Reference to the weapon; this should be NewWeaponType.
<fFalloff/fRange>:
<fPercentageStart>:

Scope

Related Pages

Comments

  • For Homeworld 2 style bullet steering, it acts as a multiplier against the weapon accuracy against its target, reducing the chance the bullet will steer into its target. For ballistics enabled weapons it acts as a multiplier against the weapon accuracy against its target, reducing the chance the bullet will be considered an aimed shot if it strikes its target.
  • https://forums.gearboxsoftware.com/t/2-0s-new-weapon-tweakables/1553231

Page Status

Updated Formatting? Yes
Updated for HWRM? Yes