-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various HEAT changes, new wrapped library for debugoverlay
Modified HEAT to simply cut off after a certain distance dependent on the breakup distance, to help cull the absolutely ridiculous jet distances; also penetration amount is modified by the jet mass percentage Removed the filter being passed along to createExplosions when a HEAT round detonates; was causing issues regarding close explosions ignoring the entirety of the source gun's barrel filter (meaning potentially the entire front of a turret), it was also not consistent with HE Stopped HEAT from instantly detonating whatever was able to detonate, leave that to normal damage! It was also completely bypassing damage perms New debug library accessed with ACF.Debug, exactly the same as normal debugoverlay except it requires an extra convar, acf_developer, to be on. This should allow someone to debug certain things while using ACF while allowing them to not also see every single line drawn from ballistics or what have you
- Loading branch information
1 parent
bc37168
commit 10c0199
Showing
10 changed files
with
61 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
local ACF = ACF | ||
ACF.Debug = {} | ||
|
||
local CVar = CreateConVar("acf_developer", 0, FCVAR_REPLICATED, "Extra wrapper convar for debugoverlay, requires 'developer 1' as well. Only applies to ACF", 0, 1) | ||
|
||
for k in pairs(debugoverlay) do | ||
ACF.Debug[k] = function(...) | ||
if CVar:GetBool() == false then return end | ||
|
||
debugoverlay[k](...) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters