Back to ACF

ACF_RoundImpact

S

Part of ACF namespace

function ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
View on GitHub|lua/acf/server/sv_acfdamage.lua:765-1140
👁️ 0 viewsUpdated 4 months ago

Description

Handles the impact of a round on a target

Parameters

NameTypeDescription
Bulletany
Speedany
Energyany
Targetany
HitPosany
HitNormalany
Boneany

Returns

No return values documented.

Examples

No examples available.

Used In(20 locations)

📄lua/acf/shared/rounds/roundap.lua
1 usage
L104local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundapds.lua
1 usage
L166local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundapfsds.lua
1 usage
L145local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundaphe.lua
1 usage
L133local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundclusterap.lua
1 usage
L112local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundclusterhe.lua
1 usage
L134local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundclusterheat.lua
1 usage
L187local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundfl.lua
1 usage
L194local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundglgm.lua
2 usages
L266local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
L282local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundglgmhe.lua
1 usage
L187local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundhe.lua
1 usage
L127local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundheat.lua
1 usage
L242local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundheatfs.lua
1 usage
L222local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundhefs.lua
1 usage
L128local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundhesh.lua
1 usage
L136ACF_RoundImpact(Bullet, Bullet.FillerMass * 250, Energy, Target, HitPos, -Bullet.Flight:GetNormalized(), Bone) --( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundhvap.lua
1 usage
L141local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundsmoke.lua
1 usage
L179local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundtheat.lua
1 usage
L305local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )
📄lua/acf/shared/rounds/roundtheatfs.lua
1 usage
L270local HitRes = ACF_RoundImpact( Bullet, Speed, Energy, Target, HitPos, HitNormal , Bone )