acf_library

S
14 functions

📄 lua/starfall/libs_sv/acf.lua

Functions

Sort by:

dragDivisor

SVerified

Returns current ACF drag divisor

function acf_library.dragDivisor()
0 params1 return0 views

effectiveArmor

SVerified

Returns the effective armor given an armor value and hit angle

function acf_library.effectiveArmor(armor, angle)
2 params1 return0 views

getAllEngines

SVerified

Returns a list of all engines

function acf_library.getAllEngines()
0 params1 return0 views

getAllGearboxes

SVerified

Returns a list of all gearboxes

function acf_library.getAllGearboxes()
0 params1 return0 views

getAllGuns

SVerified

Returns a list of all guns

function acf_library.getAllGuns()
0 params1 return0 views

getAllMobility

SVerified

Returns a list of all mobility components

function acf_library.getAllMobility()
0 params1 return0 views

getBulletDataByIndex

SVerified

Returns the bullet data related to the index Needs acf.trackBullets privilege to work.

function acf_library.getBulletDataByIndex( index )
1 params1 return0 views

getCurrentVersion

SVerified

Returns server version of acf

function acf_library.getCurrentVersion()
0 params1 return0 views

getGunSpecs

SVerified

Returns the specs of a specified gun

function acf_library.getGunSpecs(id)
1 params1 return0 views

getHEATAirGapFactor

SVerified

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()
0 params1 return0 views

getMobilitySpecs

SVerified

Returns the specs of an engine or gearbox

function acf_library.getMobilitySpecs(id)
1 params1 return0 views

getVersion

SVerified

Returns latest version of ACF

function acf_library.getVersion()
0 params1 return0 views

getWindVector

SVerified

Returns ACF wind direction

function acf_library.getWindVector()
0 params1 return0 views

infoRestricted

SVerified

Returns true if functions returning sensitive info are restricted to owned props

function acf_library.infoRestricted()
0 params1 return0 views