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