Raised This Month: $51 Target: $400
 12% 

[StrikerMod][dHooks] Disable Explosion Ringing (HL2DM)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Plugin ID:
5123
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Half-Life 2 Deathmatch
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    First of the StrikerMod series of plugins. Properly gets rid of the tinnitus/deafening effect when hit by explosions, without affecting damage.
    Old 04-09-2016 , 15:01   [StrikerMod][dHooks] Disable Explosion Ringing (HL2DM)
    Reply With Quote #1

    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
    Attached Files
    File Type: txt dsphook.games.txt (383 Bytes, 303 views)
    File Type: smx StrikerMod_AntiDeaf.smx (5.7 KB, 510 views)
    File Type: sp Get Plugin or Get Source (StrikerMod_AntiDeaf.sp - 440 views - 2.7 KB)

    Last edited by StrikerMan780; 04-12-2016 at 04:51.
    StrikerMan780 is offline
    Alienmario
    Senior Member
    Join Date: Aug 2013
    Old 11-09-2022 , 14:55   Re: [StrikerMod][dHooks] Disable Explosion Ringing (HL2DM)
    Reply With Quote #2

    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))
    ?
    Attached Files
    File Type: sp Get Plugin or Get Source (StrikerMod_AntiDeaf.sp - 43 views - 2.7 KB)
    File Type: smx StrikerMod_AntiDeaf.smx (4.6 KB, 49 views)

    Last edited by Alienmario; 11-13-2022 at 11:43. Reason: Added the fix, should not block unrelated effects anymore.
    Alienmario is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 11-09-2022 , 19:41   Re: [StrikerMod][dHooks] Disable Explosion Ringing (HL2DM)
    Reply With Quote #3

    ...Yes
    Bacardi is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:42.


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