🔍

Search Documentation

Status:
Realm:
Project:

703 results found

ACE_IsValidSound

ACE

CNeeds Review

Returns whether or not a sound actually exists, fixes client timeout issues

function ACE_IsValidSound( path )
1 params2 views

ACE.SRicochet

ACE

CNeeds Review

Handles ricochet sounds

function ACE.SRicochet( HitPos, Caliber, Velocity, HitWorld, Material )
5 params2 views

ACE.SInDistance

ACE

CNeeds Review

Used for those extremely quiet sounds, which should be heard close to the player

function ACE.SInDistance( Pos, Distance )
2 params2 views

ACE.Points.MaterialEff

ACE.Points

SNeeds Review

Returns nil for unknown materials so display code can fall back to live material data.

function ACE.Points.MaterialEff(mat)
1 params1 views

ACE_GetExplosiveMasses

ACE

SNeeds Review

Filler / casing masses from a charge volume (cu in). Filler uses the same HE density as shells (scaled by ExplosiveHEMul so a hand charge carries a few kg, not tens). Returns: fillerMass (HE), fragMass (casing, for blast frag), physMass (what the prop actually weighs - much lighter than solid steel, since a charge is mostly filler + thin casing, not a billet).

function ACE_GetExplosiveMasses(volCuIn, fillerFraction)
2 params2 views

ACE_GetAllGuidanceNamesExcept

ACE

SNeeds Review

No description available.

function ACE_GetAllGuidanceNamesExcept(list)
1 params2 views

ACE.Points.ChargeEntCost

ACE.Points

SNeeds Review

Mounted charge (scalable explosives / bombs family) -> scaled points. Prices the charge's REAL filler mass -- self.FillerMass, kg of HE, set once at spawn from the scaled charge volume -- as mounted ordnance via ACE.Points.ChargeCost. 0 for a filler-less/invalid entity.

function ACE.Points.ChargeEntCost(ent)
1 params1 views

ACE_GetGunFirepowerPointsFor

ACE

SNeeds Review

No description available.

function ACE_GetGunFirepowerPointsFor(ent, _)
2 params2 views

ACE_PenRanging

ACE

SNeeds Review

Formula from https://mathscinotes.wordpress.com/2013/10/03/parameter-determination-for-pejsa-velocity-model/ --not terribly accurate for acf, particularly small caliber (7.62mm off by 120 m/s at 800m), but is good enough for quick indicator --range in m, vel is m/s

function ACE_PenRanging(MuzzleVel, DragCoef, ProjMass, PenArea, LimitVel, Range)
6 params2 views

ACF_Spall

ACF

SNeeds Review

Handles normal spalling

function ACF_Spall( HitPos , HitVec , Filter , KE , Caliber , _ , Inflictor , Material)
8 params2 views

ACF_defineGun

ACF

SNeeds Review

Gun definition

function ACF_defineGun( id, data )
2 params3 views

E2.aceSetArmorProperties

E2

SNeeds Review

Sets the ACF armor, ductility, and material of an entity

entity:aceSetArmorProperties(number thickness, number ductility, string material)
3 params3 views

ACE.Points.SustainedRps

ACE.Points

SNeeds Review

Static sustained cadence. Magazine-aware (burst then mag reload) and loader-aware for non-auto classes. baseRps already folds in the gun's current wire ROFLimit (the adapter below applies it via ACE_GetGunConfiguredRps before calling here), so a low limit lengthens the effective cycle through this same math rather than being ignored.

function ACE.Points.SustainedRps(baseRps, magSize, magReload, gunClass, loaders)
5 params1 views

ACF_RoundImpact

ACF

SNeeds Review

Handles the impact of a round on a target

function ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
7 params1 views

E2.acfPower

E2

SNeeds Review

Returns the power output of an ACF engine, in kW

entity:acfPower()
0 params→ 1 return1 views

E2.acfTotalRatio

E2

SNeeds Review

Returns the total gear ratio (current * final) of an ACF gearbox

entity:acfTotalRatio()
0 params→ 1 return1 views

E2.acfActive

E2

SNeeds Review

Returns 1 if an ACF engine, ammo crate, fuel tank, radar, or sensor is on

entity:acfActive()
0 params→ 1 return1 views

E2.acfShiftDown

E2

SNeeds Review

Causes an ACF gearbox to shift down

entity:acfShiftDown()
0 params1 views

ACE.Points.RoundFromBullet

ACE.Points

SNeeds Review

Build the plain pricing round from a gun/crate/rack BulletData table. nil if not a table.

function ACE.Points.RoundFromBullet(bdata)
1 params1 views

ACF_defineGunClass

ACF

SNeeds Review

some factory functions for defining ents Be patient. There are alot of functions here Gun class definition

function ACF_defineGunClass( id, data )
2 params1 views

E2.acfIsEngine

E2

SNeeds Review

Returns 1 if the entity is an ACF engine

entity:acfIsEngine()
0 params→ 1 return1 views

ACF_PenRanging

ACF

SNeeds Review

Formula from https://mathscinotes.wordpress.com/2013/10/03/parameter-determination-for-pejsa-velocity-model/ --not terribly accurate for acf, particularly small caliber (7.62mm off by 120 m/s at 800m), but is good enough for quick indicator --range in m, vel is m/s

function ACF_PenRanging(MuzzleVel, DragCoef, ProjMass, PenArea, LimitVel, Range)
6 params1 views

ACE_Missile_ApplyCountermeasure

ACE

SNeeds Review

No description available.

function ACE_Missile_ApplyCountermeasure(missile, guidance, measure)
3 params2 views

ACE_UpdateCrewseatAnglePenalty

ACE

SNeeds Review

No description available.

function ACE_UpdateCrewseatAnglePenalty(ent)
1 params1 views
Page 1 of 30