AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S/CS:GO] Anti Team Flash (https://forums.alliedmods.net/showthread.php?t=301429)

Dr!fter 09-20-2017 15:17

[CS:S/CS:GO] Anti Team Flash
 
1 Attachment(s)
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

Bacardi 09-20-2017 16:46

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

Vaggelis 09-20-2017 17:29

Re: [CS:S/CS:GO] Anti Team Flash
 
https://forums.alliedmods.net/showthread.php?p=2359827

Dr!fter 09-20-2017 19:18

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

Originally Posted by Vaggelis (Post 2549970)

Good job fucking reading

Rachnus 09-21-2017 07:06

Re: [CS:S/CS:GO] Anti Team Flash
 
nice :bacon!:

Quote:

Originally Posted by Vaggelis (Post 2549970)

amazing

Vaggelis 09-21-2017 07:11

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

Originally Posted by Dr!fter (Post 2549992)
Good job fucking reading

who cares about the ringing "deafen" sound

Rachnus 09-21-2017 07:24

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

Originally Posted by Vaggelis (Post 2550043)
who cares about the ringing "deafen" sound

who cares about you

Dr!fter 09-21-2017 09:14

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

Originally Posted by Vaggelis (Post 2550043)
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.

Obyboby 09-22-2017 00:25

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

Originally Posted by Vaggelis (Post 2550043)
who cares about the ringing "deafen" sound

Have you asked every member of the Counter Strike community before posting that? :rtfm:

ImACow 10-01-2017 13:14

Re: [CS:S/CS:GO] Anti Team Flash
 
Thanks for this.


All times are GMT -4. The time now is 17:57.

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