ACE
CArmored Combat Extended API — the ACE additions on top of ACF, covering crew, sustainability, networking, and gameplay systems. Includes ACE.* methods and ACE_* globals.
📄 lua/acf/client/cl_acemenu_gui.lua
Sub-namespaces
Functions
ACE_APKill
Creates a debris related to kinetic destruction.
function ACE_APKill( Entity , HitVector , Power )ACE_AcquireBullet
No description available.
function ACE_AcquireBullet(BulletData)ACE_Activate
Creates or updates the ACF entity data in a passive way. Meaning this entity wont be updated unless it really requires it (like a shot, damage, looking it using armor tool, etc)
function ACE_Activate( Entity , Recalc )ACE_ApplyBodySubgroup
No description available.
function ACE_ApplyBodySubgroup(missile, group, targetname)ACE_AssignMissileUniqueID
Assigns a unique ID to a missile
function ACE_AssignMissileUniqueID(Missile)ACE_BuildScalableConfig
No description available.
function ACE_BuildScalableConfig(Table, statsFn)ACE_BulletClient
No description available.
function ACE_BulletClient( Index, Bullet, Type, Hit, HitPos )ACE_BulletDataMath
Jank terrible bad hardcoded function to copy bullet data over so it can be spawned by the missle. Has variables to convert every type of round data. There has to be a better way.
function ACE_BulletDataMath(self)ACE_CLGUICreate
No description available.
function ACE_CLGUICreate()ACE_CVarChangeCallback
No description available.
function ACE_CVarChangeCallback(CVar, _, New)ACE_CalcArmor
changes here will be automatically reflected in the armor properties tool
function ACE_CalcArmor( Area, Ductility, Mass )ACE_CalcBulletFlight
No description available.
function ACE_CalcBulletFlight( Index, Bullet, BackTraceOverride )ACE_CalcCrateStats
=====================[ DEPRECATED FUNCTION ]=====================-- --This function is not used by ACE anymore, but i´ll keep it just for those acf2 custom ammos dont break
function ACE_CalcCrateStats()ACE_CalcCurve
Calculates a position along a catmull-rom spline (as defined on https://www.mvps.org/directx/articles/catmull/) This is used for calculating engine torque curves
function ACE_CalcCurve(Points, Pos)ACE_CalcDamage
No description available.
function ACE_CalcDamage( Entity , Energy , FrArea , Angle , Type)ACE_CalcEnginePerformanceData
Calculates the performance characteristics of an engine, given a torque curve, max torque (in nm), idle, and redline rpm
function ACE_CalcEnginePerformanceData(curve, maxTq, idle, redline)ACE_CalcEntityGForce
Returns: gMag: number (includes gravity, so resting ~= 1) gVec: Vector (local-space felt acceleration in Gs; resting ~= (0,0,1))
function ACE_CalcEntityGForce(ent)ACE_CalcMassRatio
Global Ratio Setting Function
function ACE_CalcMassRatio( obj, pwr )ACE_CalcPenetration
Convert kinetic penetration energy and projectile area to RHA penetration in mm.
function ACE_CalcPenetration(Energy, PenArea, PenMul)ACE_CanLinkRack
No description available.
function ACE_CanLinkRack(rackId, ammoId, bdata, rack)ACE_ChangelogHTTPCallBack
No description available.
function ACE_ChangelogHTTPCallBack(contents)ACE_ChatMessageGlobal
Like ACE_ChatMessagePly but it just goes to everyone.
function ACE_ChatMessageGlobal( message, color)ACE_ChatMessagePly
Sends a colored message to a specified player.
function ACE_ChatMessagePly( ply , message, color)ACE_Check
No description available.
function ACE_Check( Entity )ACE_CheckClips
No description available.
function ACE_CheckClips( Ent, HitPos )ACE_CheckLegal
TODO: remove unused functions
function ACE_CheckLegal(Ent, Model, MinMass, MinInertia, _, CanVisclip )ACE_CheckShadowZoneObscured
Checks if noise can reach the given area. Likely will be reworked.
function ACE_CheckShadowZoneObscured(StartDepth, EndDepth, Elevation)ACE_ClearArmorPointCache
No description available.
function ACE_ClearArmorPointCache(ent)ACE_ConVarHelp
============================================================ ACE points/cost helpers ============================================================ Build a consistent description for ACE convars.
function ACE_ConVarHelp(desc)ACE_ContactGUICreate
No description available.
function ACE_ContactGUICreate()ACE_CreateBullet
No description available.
function ACE_CreateBullet( BulletData )ACE_CrewMenuGUICreate
No description available.
function ACE_CrewMenuGUICreate(Table)ACE_CrewseatApplyDupeModel
Apply dupe model data with a fallback model type and optional legacy override.
function ACE_CrewseatApplyDupeModel(ent, info, defaultModelType, legacyForceSitting)ACE_CrewseatDamage
Shared damage function
function ACE_CrewseatDamage(ent, Entity, Energy, FrArea, Inflictor)ACE_CrewseatDeathSound
Play death sound
function ACE_CrewseatDeathSound(ent)ACE_CrewseatDebugEnabled
Check whether crewseat model debugging is enabled.
function ACE_CrewseatDebugEnabled()ACE_CrewseatDebugLog
Print a crewseat debug line when enabled.
function ACE_CrewseatDebugLog(ent, stage, info, extra)ACE_CrewseatDeferredModelSync
Defer model sync so the duplicator can finish applying model data.
function ACE_CrewseatDeferredModelSync(ent, info)ACE_CrewseatLegalCheck
Crewseat-specific legal check (includes model validation)
function ACE_CrewseatLegalCheck(ent)ACE_CrewseatOnRemove
Shared OnRemove
function ACE_CrewseatOnRemove(ent)ACE_CrewseatResolveModelType
Resolve a crewseat model type from dupe data or the current model path.
function ACE_CrewseatResolveModelType(ent, info)ACE_Damage
No description available.
function ACE_Damage( Entity , Energy , FrArea , Angle , Inflictor , Bone, Gun, Type )ACE_DefineCrewseat
Crewseat definition
function ACE_DefineCrewseat( id, data )ACE_DefineEngine
Engine definition
function ACE_DefineEngine( id, data )ACE_DefineEntity
Generic entity-definition entry point retained for shared metadata files.
function ACE_DefineEntity( id, data )ACE_DefineExplosive
Explosive charge definition
function ACE_DefineExplosive( id, data )ACE_DefineExtras
Extras definition (wind sensor, gforce meter, etc.)
function ACE_DefineExtras( id, data )ACE_DefineFuelTank
fueltank definition
function ACE_DefineFuelTank( id, data )ACE_DefineFuelTankSize
fueltank size definition
function ACE_DefineFuelTankSize( id, data )ACE_DefineGearbox
Gearbox definition
function ACE_DefineGearbox( id, data )Showing 1–50 of 438 functions