Raised This Month: $128 Target: $400
 32% 

[CS:S/CS:GO] Anti Team Flash


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr!fter
The Salt Boss
Join Date: Mar 2007
Plugin ID:
5837
Plugin Version:
0.0.1
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Anti-Team flash for CS:S and CS:GO with ability to block deafen effect.
    Old 09-20-2017 , 16:17   [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #1

    This is an anti-teamflash for both CS:S and CS:GO. It has cvars to blind spectators or teammates. The big difference between this and others is the ability to still have the flash effect without the ringing "deafen" sound.

    Requires DHooks

    CVars:
    Code:
    sm_flash_team - Whether to flash teammates or not
    sm_flash_deafen - Whether to deafen when a flash goes off (for all players)
    sm_flash_deafen_owner - Whether to deafen the thrower of the flash (ignored if sm_flash_deafen is set to 0)
    sm_flash_deafen_team - Whether to deafen the throwers team (ignored if sm_flash_deafen is set to 0)
    sm_flash_specs - Whether to flash spectators or not
    A config file will be made on first run in cfg/sourcemod called anti_teamflash.

    But WAH this has gamedata and an additional extension, the others dont. This is correct, this is a proof of concept and sort of a how-to replicate an old extension I made called Flashbang tools. In theory since it just blocks the actual blind function this is much simpler. However, due to gamedata this is more likely to break on updates. Also, to reliably block the deafen sound an extension is needed.

    Briefly tested in both CS:GO and CS:S (windows). Feel free to report any bugs/typos (I wrote the majority of this when i was bored). gl hf.

    UPDATE GAMEDATA: https://users.alliedmods.net/~drifte...lash.games.txt
    Attached Files
    File Type: zip anti-teamflash.zip (10.1 KB, 1052 views)

    Last edited by Dr!fter; 12-08-2018 at 11:53.
    Dr!fter is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 09-20-2017 , 17:46   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #2

    nice
    Bacardi is offline
    Vaggelis
    Senior Member
    Join Date: May 2017
    Old 09-20-2017 , 18:29   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #3

    https://forums.alliedmods.net/showthread.php?p=2359827
    Vaggelis is offline
    Dr!fter
    The Salt Boss
    Join Date: Mar 2007
    Old 09-20-2017 , 20:18   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #4

    Quote:
    Originally Posted by Vaggelis View Post
    Good job fucking reading
    Dr!fter is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 09-21-2017 , 08:06   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #5

    nice

    Quote:
    Originally Posted by Vaggelis View Post
    amazing
    __________________
    Github: https://github.com/Rachnus
    Steam: http://steamcommunity.com/id/rachnus
    _____________________________________________ _________
    Taking private requests
    Rachnus is offline
    Vaggelis
    Senior Member
    Join Date: May 2017
    Old 09-21-2017 , 08:11   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #6

    Quote:
    Originally Posted by Dr!fter View Post
    Good job fucking reading
    who cares about the ringing "deafen" sound
    Vaggelis is offline
    Rachnus
    Senior Member
    Join Date: Jun 2016
    Location: Funland
    Old 09-21-2017 , 08:24   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #7

    Quote:
    Originally Posted by Vaggelis View Post
    who cares about the ringing "deafen" sound
    who cares about you
    __________________
    Github: https://github.com/Rachnus
    Steam: http://steamcommunity.com/id/rachnus
    _____________________________________________ _________
    Taking private requests
    Rachnus is offline
    Dr!fter
    The Salt Boss
    Join Date: Mar 2007
    Old 09-21-2017 , 10:14   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #8

    Quote:
    Originally Posted by Vaggelis View Post
    who cares about the ringing "deafen" sound
    considering people requested a way to block it, id say people. Also good job still not reading everything.

    Last edited by Dr!fter; 09-21-2017 at 10:14.
    Dr!fter is offline
    Obyboby
    Veteran Member
    Join Date: Sep 2013
    Old 09-22-2017 , 01:25   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #9

    Quote:
    Originally Posted by Vaggelis View Post
    who cares about the ringing "deafen" sound
    Have you asked every member of the Counter Strike community before posting that?
    __________________

    Last edited by Obyboby; 09-22-2017 at 01:25.
    Obyboby is offline
    ImACow
    AlliedModders Donor
    Join Date: Feb 2015
    Old 10-01-2017 , 14:14   Re: [CS:S/CS:GO] Anti Team Flash
    Reply With Quote #10

    Thanks for this.
    __________________
    ImACow is offline
    Reply


    Thread Tools
    Display Modes

    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 16:24.


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