AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [StrikerMod][dHooks] Disable Explosion Ringing (HL2DM) (https://forums.alliedmods.net/showthread.php?t=281358)

StrikerMan780 04-09-2016 15:01

[StrikerMod][dHooks] Disable Explosion Ringing (HL2DM)
 
3 Attachment(s)
Requires DHooks: https://forums.alliedmods.net/showthread.php?t=180114

This is the first plugin in the StrikerMod series of plugins (A series of my own fixes and enhancements). This one properly gets rid of the tinnitus/deafening effect when hit by explosions, without affecting thrust or damage against armor. Using this method: https://forums.alliedmods.net/showpo...5&postcount=10

CVars:
  • strkmod_disable_ring [0/1] - If set to 1, it disables the ear ringing effect.
  • strkmod_debug_ring [0/1] - If set to 1, prints debug text.
Installation instructions:
Put dsphook.games.txt in addons/sourcemod/gamedata, then copy StrikerMod_AntiDeaf.smx into your plugins folder.

Known Issues:
The hook stops working after a while of playing, requiring the plugin to be reloaded frequently. I am unsure why. I need help with this.

Changelog:
v1.01 - Added debugging cvar "strkmod_debug_ring" to aid in debugging the hook.
v1.00 - Initial release

Alienmario 11-09-2022 14:55

Re: [StrikerMod][dHooks] Disable Explosion Ringing (HL2DM)
 
2 Attachment(s)
I'm sorry to ressurect this, but shouldn't it be
Quote:

if( ((dsp >= 32) && (dsp <= 37))
instead of
Quote:

if( ((dsp >= 32) || (dsp <= 37))
?

Bacardi 11-09-2022 19:41

Re: [StrikerMod][dHooks] Disable Explosion Ringing (HL2DM)
 
...Yes


All times are GMT -4. The time now is 07:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.