Starfall
SThe Starfall acf library and entity methods ACE registers for the Starfall processor. Accessed in Starfall as acf.getGunSpecs(...) and Entity:acfName().
📄 lua/starfall/libs_sv/acf.lua
Functions
aceSetArmorProperties
No description available.
Entity:aceSetArmorProperties(thickness, ductility, material)acfAmmoCount
Returns the number of rounds in active ammo crates linked to an ACF weapon
Entity:acfAmmoCount()acfAmmoType
Returns the type of ammo in a crate or gun
Entity:acfAmmoType()acfBlastRadius
Returns the blast radius of an HE, APHE, or HEAT round
Entity:acfBlastRadius()acfBrake
Sets the brakes for an ACF gearbox
Entity:acfBrake(brake)acfBrakeLeft
Sets the left brakes for an ACF gearbox
Entity:acfBrakeLeft(brake)acfBrakeRight
Sets the right brakes for an ACF gearbox
Entity:acfBrakeRight(brake)acfCVTRatio
Sets the gear ratio of a CVT, set to 0 to use built-in algorithm
Entity:acfCVTRatio(ratio)acfCaliber
Returns the caliber of an ammo or gun
Entity:acfCaliber()acfCapacity
Returns the maximum capacity of an acf ammo crate or fuel tank
Entity:acfCapacity()acfClutch
Sets the clutch for an ACF gearbox
Entity:acfClutch(clutch)acfClutchLeft
Sets the left clutch for an ACF gearbox
Entity:acfClutchLeft(clutch)acfClutchRight
Sets the right clutch for an ACF gearbox
Entity:acfClutchRight(clutch)acfDragCoef
Returns the drag coef of the ammo in a crate or gun
Entity:acfDragCoef()acfFLSpikeMass
Returns the mass of a single spike in a FL round in a crate or gun
Entity:acfFLSpikeMass()acfFLSpikeRadius
Returns the radius of the spikes in a flechette round in mm
Entity:acfFLSpikeRadius()acfFLSpikes
Returns the number of projectiles in a flechette round
Entity:acfFLSpikes()acfFinalRatio
Returns the final drive ratio for an ACF gearbox
Entity:acfFinalRatio()acfFire
Sets the firing state of an ACF weapon
Entity:acfFire(fire)acfFireRate
Returns the rate of fire of an acf gun
Entity:acfFireRate()acfFlyInertia
Returns the inertia of an ACF engine's flywheel
Entity:acfFlyInertia()acfFlyMass
Returns the mass of an ACF engine's flywheel
Entity:acfFlyMass()acfFuel
Returns the remaining liters or kilowatt hours of fuel in an ACF fuel tank or engine
Entity:acfFuel()acfFuelLevel
Returns the amount of fuel in an ACF fuel tank or linked to engine as a percentage of capacity
Entity:acfFuelLevel()acfFuelRemaining
Gets the fuel remaining for an ACF engine
Entity:acfFuelRemaining()acfFuelRequired
(DEPRECATED) Returns true if the current engine requires fuel to run
Entity:acfFuelRequired()acfFuelUse
Returns the current fuel consumption in liters or kilowatts per minute of an engine
Entity:acfFuelUse()acfGear
Returns the current gear for an ACF gearbox
Entity:acfGear()acfGearRatio
Returns the ratio for a specified gear of an ACF gearbox
Entity:acfGearRatio(gear)acfGetActive
Returns true if the acf engine, fuel tank, ammo crate, radar, or sensor is active
Entity:acfGetActive()acfGetCrew
Returns all crewseats linked to an acf entity
Entity:acfGetCrew()acfGetLinkedWheels
Returns any wheels linked to this engine/gearbox or child gearboxes
Entity:acfGetLinkedWheels()acfGetThrottle
Returns the throttle value
Entity:acfGetThrottle()acfHeat
Returns the heat of an ACF entity
Entity:acfHeat()acfHitClip
Returns true if hitpos is on a clipped part of prop
Entity:acfHitClip(hitpos)acfHoldGear
Applies gear hold for an automatic ACF gearbox
Entity:acfHoldGear(hold)acfIdleRPM
Returns the idle rpm of an ACF engine
Entity:acfIdleRPM()acfInGear
Returns true if an ACF gearbox is in gear
Entity:acfInGear()acfInPowerband
Returns true if the RPM of an ACF engine is inside the powerband
Entity:acfInPowerband()acfIsAmmo
Returns true if the entity is an ACF ammo crate
Entity:acfIsAmmo()acfIsDual
Returns whether an ACF gearbox is dual clutch
Entity:acfIsDual()acfIsElectric
Returns true if an ACF engine is electric
Entity:acfIsElectric()acfIsEngine
Returns true if the entity is an ACF engine
Entity:acfIsEngine()acfIsFuel
Returns true if the entity is an ACF fuel tank
Entity:acfIsFuel()acfIsGearbox
Returns true if the entity is an ACF gearbox
Entity:acfIsGearbox()acfIsGun
Returns true if the entity is an ACF gun
Entity:acfIsGun()acfIsInfoRestricted
Returns true if this entity contains sensitive info and is not accessable to us
Entity:acfIsInfoRestricted()acfIsReloading
Returns true if an ACF gun is reloading
Entity:acfIsReloading()acfLinkTo
Perform ACF links
Entity:acfLinkTo(target, notify)acfLinks
Returns the ACF links associated with the entity
Entity:acfLinks()Showing 1–50 of 117 functions