AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   FRC v12.0 [Team Flash, Detector, Tool] (https://forums.alliedmods.net/showthread.php?t=74091)

ot_207 07-12-2008 02:54

FRC v12.0 [Team Flash, Detector, Tool]
 
5 Attachment(s)
Flashbang Remote Control v12.0

Includes:
<amxmodx>
<cstrike>
<fakemeta>


Description:
This plugin offers control over the flashbang kaboom behavior (especially when team flashed). This plugin is an all in one plugin from all the ones that have been made in amxx.

Features:
1. Multilanguage support. For translations please click here.
2. Announce (Idea from "Team Flash Snitch"). This plugin announces the moment you have been flashed by a teammate, and the moment you team flashed.
Ex: [Team Flash Control] You flashed a teammate (John)
[Team Flash Control] You have been flashed by John
The name John will appear in team color.
3. Admin announce (Idea from "Team Flash Snitch"). This plugin announces the admins when a player has teamflashed, and the moment the teamflasher is punished.
4. Sound (Idea from "Team Flash Snitch"). The teamflasher hears in his radio "I'm blind!!!" when he flashes just one team mate. If he flashes more than 1 the sound will overlap.
5. Block self flash. It will block the moment when you flash yourself.
6. Block team flash. It will block the moment when you flash your team members.
7. Punish sistem. It includes a sistem that punishes the teamflasher (if set) The player that has been punished isn't allowed to throw flashbangs anymore, even if he has some.
8. Bug fixer (Thanks to MPNumB). It fixes the exploit. There are moments when people throw flash grenades in certain areas of a map and it totally blinds you, even when you are no where near it.
9. Precision. It shows with precision the person who flashed you.
10. Dinamic flash timing support. This means that if another plugin makes the flash explode sooner or later this plugin will detect it! So no more team flash escapes :P.
11. Special flash block (the new feature as requested by Maurice). The plugin blocks the flash for all players if a teammate is flashed.
12. Dynamic flash light -> add a touch of realism to the moment a player is flashed
13. Color flash -> color of the flash screen effect ( the color and the dynamic flash light are sincronized so the color flash cvars are affecting the dynamic light)
14. Control Pannel -> you can customize all the settings of the plugin exept the colors of the flash
14. API interface, gives you control over almost every plugin feature/function!

Sub Plugins/Extentions:
Reality/Bug fixes
FRC FOV Bugfix
FRC Glass Flashbang
FRC Water Flashbang
Punishments
FRC Can't Buy
FRC Money Punish
Others
FRC Admin LOG
FRC Team Colors

Request an extension!

Commands:
amx_flash_control_menu (ADMIN_CFG flag) Shows settings menu for flashbang remote control
amx_fcm (ADMIN_CFG flag) Shows settings menu for flashbang remote control

Cvars:
frc_enable 1 // enable the plugin, the API forwards will work!!!
frc_sound 1 // the sound that is sent to the flasher
frc_adminchat 1 // the admin message
frc_block_team_flash 0 // block the moment when you flash your teammates
frc_block_self_flash 0 // block the moment when you flash yourself
frc_block_special_flash 0 // special flash block the explanation is under the cvars
frc_flasher_punish 1 // punish the player that flashed too much
frc_flasher_counter 1 // set to 0 count only the full teamflashes, 1 count all the teamflashes
frc_flasher_mistake_allow 10 // the times that a player is allowed to flash his teammates before being punished
frc_flasher_warn 0 // warn the player
frc_flasher_punish_mode 2 // punish mode: 0 -> until map end, 1 -> number of rounds 2 -> by time
frc_flasher_punish_type 0 // punish type: 0 -> block throw, 1 -> kill when he teamflashes, 2 -> flash himself when he teamflashes
frc_flasher_punish_control (default 2) - punish mode control controls how many rounds/minutes the player will have problems (doesn't work with punish mode 0)
frc_bug_fix 1 // bug fix control toggle
frc_color_mode 2 // 0 - off, 1 - specified color, 2 - random color chose(for all players), 3 - random color for every player
frc_red_color 100 // the red color cvar
frc_green_color 100 // the green color cvar
frc_blue_color 255 // the blue color cvar
frc_dynamic_light 1 // dynamic light

Note! All cvars exept "frc_flasher_mistake_allow" and "frc_color_mode" work on this system: When = 0 they disable the feature that coresponds to them, if not = 0 then the feature works!
Note! tfc_ppl_mistake_allow must be pozitive (>0) becouse if tfc_punish in this case is not equal with 0 the plugin will punish everyone.

Punish system information:
The punish system detects counts how many teammates you have flashed.
If you reach the limit that is held in the cvar frc_flasher_mistake_allow
you will be punished.
The punish can be set how long it takes through the frc_flasher_punish_mode cvar
0 -> until map end
1 -> a number of rounds
2 -> x minutes
The number of rounds/minutes can be set through this cvar frc_flasher_punish_control. It won't work if the frc_flasher_punish_mode is set to 0.
The punish has 3 effects that can be set through the frc_flasher_punish_type cvar
0 -> blocks the ability to throw grenades
1 -> when you teamflash you will be killed
2 -> when you teamflash you will be flashed

Usefull links:
Servers using this plugin
Translation thread
FRC.inc file description. Read this if you are interested in the API functions of the plugin!

Changelog:
PHP Code:

12.0 remade some forwardsmade the plugin more efficientadded cvar for chat messagesmade the dynamic light hookable
11.0  added more forwards and natives for the pluginsome isues fixed!
10.0  api interface, the plugin can be controled by other plugins, or can offer extra inforemade some small parts for better efficiency.
*  
9.5  - new method of remembering the ownerLow on memory usage and no need to modify plugin code for more entities!
*  
9.1  last improvements the plugin can now be seen on servers + new cvar for punish system.
*  
9.0  control pannel last improvements
*  8.5  - new punish system
*  8.1  cvar bug fixflashlight bug fix
*  8.0  - new feature -> color flashbangs, + new name Flashbang Remote Control
*  7.0  updated all the featuresnow work 100% + new dynamic light feature
*  6.5  improvement to the player originnow the plugin gets the players head
*  6    major improvement to all the blocks (including the new feature)
*  
5.5  small improvement to the moment a player is flashed (when a player is flashed for a long time the flash will count)
*  
5.3  big improvement to the bug detection
*  5    improvement to the new feature
*  5.0b - new feature added -> block flash when you flashed a teammate and a enemy together
*  4.5  bugfix feature added 
*  4    multilang
*  3.5  added more featuresthe plugin has a new name "Team Flash Control"
*  3    optimized plugin (pcvars + new forwards) -> now works 100% (2008-07-11)
*  
2    optimized plugin -> now works 70% (2008-07-08)
*  
1.1  fixed bugmore than one player can get a message from the same teamflash event
*         new cvartfc_adminchat (2007-11-04)
*  
1.0  sound on/off cvartfc_sound 1/(2006-04-14)
*  
0.3  fixed bugdead spectators will nog get message about teamflash (2006-03-16)
*  
0.2  changed flash owner codea timer is added"[Team Flash Snitch]" in green text (2006-03-12)
*  
0.1  initial release (2006-01-25

Credits:
Tender for "Team Flash Snitch"
MPNumB for "Anti Flashbang Bug"
v3x for Colored Flashbangs
XxAvalanchexX for Flashbang Dynamic Light
Translators
Testers

anakin_cstrike 07-12-2008 03:00

Re: Team Flash Control
 
Niice:up:

ot_207 07-12-2008 03:17

Re: Team Flash Control
 
Quote:

Originally Posted by anakin_cstrike (Post 651449)
Niice:up:

If you are testing it ... waiting for a good report! :up:
Please try to test all the features!

bmann_420 07-12-2008 16:31

Re: Team Flash Control
 
Interesting, I would call the .zip file cstrike and just add the txt file in the proper file, same with the sound folder. If you want to upload a .amxx, you need to as an admin for approval, and will do it for you.

Good job tho, and your asking if it works? I thought plugin creators were supposed to test their work? lol

ot_207 07-13-2008 01:16

Re: Team Flash Control
 
Quote:

Originally Posted by bmann_420 (Post 651759)
Good job tho, and your asking if it works? I thought plugin creators were supposed to test their work? lol

Thanks! I've tested the plugin and the precision is good. The other day I didn't had time for it ...

[EDIT] The thing that you said with the cstrike zip archive is a thing that I will do after the translation text file has at least 10 languages. [/EDIT]

v3x 07-13-2008 01:38

Re: Team Flash Control
 
Nice job.

Waiting for more good feedback before I approve :)

IneedHelp 07-13-2008 20:18

Re: Team Flash Control
 
I Like the plugin, I Test it and seems good, I can't test all the features but more later i'm going to do it, be patient :P

And..this:
Quote:

8. Bug fixer (Thanks to MPNumB). It fixes the exploit. There are moments when people throw flash grenades in certain areas of a map and it totally blinds you, even when you are no where near it.
ALL the places that i know are fixed? I test in Dust2 and worked fine..I think.

ot_207 07-14-2008 00:44

Re: Team Flash Control
 
Quote:

Originally Posted by IneedHelp (Post 652379)
ALL the places that i know are fixed? I test in Dust2 and worked fine..I think.

Yes, normally they should be fixed ... and not only on de_dust2, on all maps that have this kind of problems

Here is a video that shows the places where a player can use the flash exploit in de_dust2. You can test them ;).
Flash Exploit Video
The video shows more bugs and even tricks ...
But the flash bugs are also ;)

And waiting for a good report :up:!

Maurice 07-15-2008 04:25

Re: Team Flash Control
 
If i'm understanding it correct the option tfc_block_team_flash (default 0) - block the moment when you flash your teammates will make this request possible, when a teammate is full flashed the hole flashbang effect is removed from the game so noone get flashed?

ot_207 07-15-2008 12:08

Re: Team Flash Control
 
Quote:

Originally Posted by Maurice (Post 653026)
If i'm understanding it correct the option tfc_block_team_flash (default 0) - block the moment when you flash your teammates will make this request possible, when a teammate is full flashed the hole flashbang effect is removed from the game so noone get flashed?

Nope ... that's not it. It only removes the team flash ( when you flash your team mate )

If you want I can add this feature to the plugin but I don't know how much precision it will have ...


All times are GMT -4. The time now is 12:56.

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