ents_methods

S
103 functions

📄 lua/starfall/libs_sv/acf.lua

Functions

Sort by:

aceSetArmorProperties

SNeeds Review

No description available.

function ents_methods.aceSetArmorProperties(thickness, ductility, material)
3 params0 views

acfAmmoCount

SVerified

Returns the number of rounds in active ammo crates linked to an ACF weapon

function ents_methods.acfAmmoCount()
0 params1 return1 views

acfAmmoType

SVerified

Returns the type of ammo in a crate or gun

function ents_methods.acfAmmoType()
0 params1 return1 views

acfBlastRadius

SVerified

Returns the blast radius of an HE, APHE, or HEAT round

function ents_methods.acfBlastRadius()
0 params1 return0 views

acfBrake

SVerified

Sets the brakes for an ACF gearbox

function ents_methods.acfBrake(brake)
1 params0 views

acfBrakeLeft

SVerified

Sets the left brakes for an ACF gearbox

function ents_methods.acfBrakeLeft(brake)
1 params0 views

acfBrakeRight

SVerified

Sets the right brakes for an ACF gearbox

function ents_methods.acfBrakeRight(brake)
1 params0 views

acfCVTRatio

SVerified

Sets the gear ratio of a CVT, set to 0 to use built-in algorithm

function ents_methods.acfCVTRatio(ratio)
1 params0 views

acfCaliber

SVerified

Returns the caliber of an ammo or gun

function ents_methods.acfCaliber()
0 params1 return0 views

acfCapacity

SVerified

Returns the maximum capacity of an acf ammo crate or fuel tank

function ents_methods.acfCapacity()
0 params1 return0 views

acfClutch

SVerified

Sets the clutch for an ACF gearbox

function ents_methods.acfClutch(clutch)
1 params0 views

acfClutchLeft

SVerified

Sets the left clutch for an ACF gearbox

function ents_methods.acfClutchLeft(clutch)
1 params0 views

acfClutchRight

SVerified

Sets the right clutch for an ACF gearbox

function ents_methods.acfClutchRight(clutch)
1 params0 views

acfDragCoef

SVerified

Returns the drag coef of the ammo in a crate or gun

function ents_methods.acfDragCoef()
0 params1 return0 views

acfFLSpikeMass

SVerified

Returns the mass of a single spike in a FL round in a crate or gun

function ents_methods.acfFLSpikeMass()
0 params1 return0 views

acfFLSpikeRadius

SVerified

Returns the radius of the spikes in a flechette round in mm

function ents_methods.acfFLSpikeRadius()
0 params1 return0 views

acfFLSpikes

SVerified

Returns the number of projectiles in a flechette round

function ents_methods.acfFLSpikes()
0 params1 return0 views

acfFinalRatio

SVerified

Returns the final drive ratio for an ACF gearbox

function ents_methods.acfFinalRatio()
0 params1 return0 views

acfFire

SVerified

Sets the firing state of an ACF weapon

function ents_methods.acfFire(fire)
1 params0 views

acfFireRate

SVerified

Returns the rate of fire of an acf gun

function ents_methods.acfFireRate()
0 params1 return0 views

acfFlyInertia

SVerified

Returns the inertia of an ACF engine's flywheel

function ents_methods.acfFlyInertia()
0 params1 return0 views

acfFlyMass

SVerified

Returns the mass of an ACF engine's flywheel

function ents_methods.acfFlyMass()
0 params1 return0 views

acfFuel

SVerified

Returns the remaining liters or kilowatt hours of fuel in an ACF fuel tank or engine

function ents_methods.acfFuel()
0 params1 return0 views

acfFuelLevel

SVerified

Returns the amount of fuel in an ACF fuel tank or linked to engine as a percentage of capacity

function ents_methods.acfFuelLevel()
0 params1 return0 views

acfFuelRemaining

SVerified

Gets the fuel remaining for an ACF engine

function ents_methods.acfFuelRemaining()
0 params1 return0 views

acfFuelRequired

SVerified

(DEPRECATED) Returns true if the current engine requires fuel to run

function ents_methods.acfFuelRequired()
0 params1 return0 views

acfFuelUse

SVerified

Returns the current fuel consumption in liters or kilowatts per minute of an engine

function ents_methods.acfFuelUse()
0 params1 return0 views

acfGear

SVerified

Returns the current gear for an ACF gearbox

function ents_methods.acfGear()
0 params1 return0 views

acfGearRatio

SVerified

Returns the ratio for a specified gear of an ACF gearbox

function ents_methods.acfGearRatio(gear)
1 params0 views

acfGetActive

SVerified

Returns true if the acf engine, fuel tank, or ammo crate is active

function ents_methods.acfGetActive()
0 params1 return0 views

acfGetCrew

SVerified

Returns all crewseats linked to an acf entity

function ents_methods.acfGetCrew()
0 params1 return0 views

acfGetLinkedWheels

SVerified

Returns any wheels linked to this engine/gearbox or child gearboxes

function ents_methods.acfGetLinkedWheels()
0 params1 return0 views

acfGetThrottle

SVerified

Returns the throttle value

function ents_methods.acfGetThrottle()
0 params1 return0 views

acfHeat

SVerified

Returns the heat of an ACF entity

function ents_methods.acfHeat()
0 params1 return0 views

acfHitClip

SVerified

Returns true if hitpos is on a clipped part of prop

function ents_methods.acfHitClip(hitpos)
1 params1 return0 views

acfHoldGear

SVerified

Applies gear hold for an automatic ACF gearbox

function ents_methods.acfHoldGear(hold)
1 params0 views

acfIdleRPM

SVerified

Returns the idle rpm of an ACF engine

function ents_methods.acfIdleRPM()
0 params1 return0 views

acfInGear

SVerified

Returns true if an ACF gearbox is in gear

function ents_methods.acfInGear()
0 params1 return0 views

acfInPowerband

SVerified

Returns true if the RPM of an ACF engine is inside the powerband

function ents_methods.acfInPowerband()
0 params1 return0 views

acfIsAmmo

SVerified

Returns true if the entity is an ACF ammo crate

function ents_methods.acfIsAmmo()
0 params1 return0 views

acfIsDual

SVerified

Returns whether an ACF gearbox is dual clutch

function ents_methods.acfIsDual()
0 params1 return0 views

acfIsElectric

SVerified

Returns true if an ACF engine is electric

function ents_methods.acfIsElectric()
0 params1 return0 views

acfIsEngine

SVerified

Returns true if the entity is an ACF engine

function ents_methods.acfIsEngine()
0 params1 return0 views

acfIsFuel

SVerified

Returns true if the entity is an ACF fuel tank

function ents_methods.acfIsFuel()
0 params1 return0 views

acfIsGearbox

SVerified

Returns true if the entity is an ACF gearbox

function ents_methods.acfIsGearbox()
0 params1 return0 views

acfIsGun

SVerified

Returns true if the entity is an ACF gun

function ents_methods.acfIsGun()
0 params1 return0 views

acfIsInfoRestricted

SVerified

Returns true if this entity contains sensitive info and is not accessable to us

function ents_methods.acfIsInfoRestricted()
0 params1 return0 views

acfIsReloading

SVerified

Returns true if an ACF gun is reloading

function ents_methods.acfIsReloading()
0 params1 return0 views

acfLinkTo

SVerified

Perform ACF links

function ents_methods.acfLinkTo(target, notify)
2 params2 returns0 views

acfLinks

SVerified

Returns the ACF links associated with the entity

function ents_methods.acfLinks()
0 params1 return0 views

Showing 150 of 103 functions