ACF_Kinetic

S

Part of _G (Global) namespace

function ACF_Kinetic( Speed , Mass, LimitVel )
View on GitHub|lua/acf/shared/sh_ace_functions.lua:185-198
👁️ 0 viewsUpdated 2 hours ago
⚠️

Verification Needed

This function has no documentation yet.

Description

No description available.

Parameters

NameTypeDescription
Speedany
Massany
LimitVelany

Returns

No return values documented.

Examples

No examples available.

Used In(50 locations)

📄lua/acf/server/sv_acfdamage.lua
3 usages
L258local FragKE = ACF_Kinetic( FragVel , FragWeight * FragHit, 1500 )
L404local SpallEnergy = ACF_Kinetic(SpallVel, SpallWeight, Max_Spall_Vel)
L607local SpallEnergy = ACF_Kinetic(SpallVel, SpallWeight, Max_Spall_Vel)
📄lua/acf/shared/rounds/ace_roundfunctions.lua
1 usage
L76local Pen = (ACF_Kinetic(Vel, ProjMass, LimitVel).Penetration / PenArea) * ACF.KEtoRHA
📄lua/acf/shared/rounds/roundap.lua
3 usages
L63local Energy = ACF_Kinetic(Data.MuzzleVel * 39.37, Data.ProjMass, Data.LimitVel)
L103local Energy = ACF_Kinetic( Speed , Bullet.ProjMass, Bullet.LimitVel )
L129local Energy = ACF_Kinetic( Bullet.Flight:Length() / ACF.VelScale, Bullet.ProjMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundapds.lua
3 usages
L124local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L165local Energy = ACF_Kinetic( Speed , Bullet.ProjMass, Bullet.LimitVel )
L193local Energy = ACF_Kinetic( Bullet.Flight:Length() / ACF.VelScale, Bullet.ProjMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundapfsds.lua
3 usages
L103local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L144local Energy = ACF_Kinetic( Speed , Bullet.ProjMass, Bullet.LimitVel )
L171local Energy = ACF_Kinetic( Bullet.Flight:Length() / ACF.VelScale, Bullet.ProjMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundaphe.lua
4 usages
L41local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L80local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L132local Energy = ACF_Kinetic( Speed , Bullet.ProjMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundchaff.lua
1 usage
L63local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
📄lua/acf/shared/rounds/roundclusterap.lua
1 usage
L111local Energy = ACF_Kinetic( Speed , Bullet.ProjMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundclusterhe.lua
2 usages
L38local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L133local Energy = ACF_Kinetic( Speed , Bullet.ProjMass - Bullet.FillerMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundclusterheat.lua
2 usages
L53local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L186local Energy = ACF_Kinetic( Speed , Bullet.ProjMass - Bullet.FillerMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundfl.lua
3 usages
L138local Energy = ACF_Kinetic( Data["MuzzleVel"] * 39.37 , Data["FlechetteMass"], Data["LimitVel"] )
L193local Energy = ACF_Kinetic( Speed , Bullet["ProjMass"], Bullet["LimitVel"] )
L217local Energy = ACF_Kinetic( Bullet.Flight:Length() / ACF.VelScale, Bullet.ProjMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundflare.lua
1 usage
L62local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
📄lua/acf/shared/rounds/roundglgm.lua
9 usages
L119local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L187local SlugEnergy = ACF_Kinetic(Data.SlugMV * 39.37, Data.SlugMass, 999999)
L265local Energy = ACF_Kinetic( Speed , Bullet.ProjMass, 999999 )
📄lua/acf/shared/rounds/roundglgmhe.lua
2 usages
L102local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L186local Energy = ACF_Kinetic( Speed , Bullet.ProjMass - Bullet.FillerMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundhe.lua
2 usages
L42local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L126local Energy = ACF_Kinetic( Speed , Bullet.ProjMass - Bullet.FillerMass, Bullet.LimitVel )
📄lua/acf/shared/rounds/roundheat.lua
9 usages
L60local Energy = ACF_Kinetic( Data.MuzzleVel * 39.37 , Data.ProjMass, Data.LimitVel )
L134local SlugEnergy = ACF_Kinetic( Data.SlugMV * 39.37 , Data.SlugMass, 999999 )
L241local Energy = ACF_Kinetic( Speed, Bullet.ProjMass, 999999 )
📄lua/acf/shared/rounds/roundheatfs.lua
1 usage
L63local Energy = ACF_Kinetic(Data.MuzzleVel * 39.37, Data.ProjMass, Data.LimitVel)