acf_library
S📄 lua/starfall/libs_sv/acf.lua
Functions
dragDivisor
Returns current ACF drag divisor
function acf_library.dragDivisor()effectiveArmor
Returns the effective armor given an armor value and hit angle
function acf_library.effectiveArmor(armor, angle)getAllEngines
Returns a list of all engines
function acf_library.getAllEngines()getAllGearboxes
Returns a list of all gearboxes
function acf_library.getAllGearboxes()getAllGuns
Returns a list of all guns
function acf_library.getAllGuns()getAllMobility
Returns a list of all mobility components
function acf_library.getAllMobility()getBulletDataByIndex
Returns the bullet data related to the index Needs acf.trackBullets privilege to work.
function acf_library.getBulletDataByIndex( index )getCurrentVersion
Returns server version of acf
function acf_library.getCurrentVersion()getGunSpecs
Returns the specs of a specified gun
function acf_library.getGunSpecs(id)getHEATAirGapFactor
Returns velocity loss for every meter traveled. 0.2x means HEAT loses 20% of its energy every 2m traveled. 1m is about typical for the sideskirt spaced armor of most tanks.
function acf_library.getHEATAirGapFactor()getMobilitySpecs
Returns the specs of an engine or gearbox
function acf_library.getMobilitySpecs(id)getVersion
Returns latest version of ACF
function acf_library.getVersion()getWindVector
Returns ACF wind direction
function acf_library.getWindVector()infoRestricted
Returns true if functions returning sensitive info are restricted to owned props
function acf_library.infoRestricted()