[L4D] Friendly-Fire Limit (1.1.1)
3 Attachment(s)
Friendly-Fire Limit (1.1.1)
This plugin limits friendly-fire damage for Survivors and includes important features for servers. Unlike other plugins, this allows you to keep friendly-fire enabled on your server and set a FF cap per player in case someone trys to grief mid-game. Features:
Code:
l4d_ff_limit 60 // -1 = Block All Damage (full map), 0 = Block All Damage (saferoom only), any other = Player can deal this much damage to his entire Team. 1.1.1 (02-21-2009) Players will now be logged when they receive a permban warning. Fix a player who is warned instead of being banned will no longer have their damage reset. Fix admins will no longer be notified that a player has reached the FF limit while the player is being banned. 1.1.0 (02-18-2009) Expert difficulty, (if greater than 0) l4d_ff_limit will be set to 0 (saferoom only) and l4d_ff_teammate will be disabled automatically. Advanced difficulty, (if greater than 0) l4d_ff_limit and l4d_ff_teammate will be multiplied by 4.5, and l4d_ff_grenmin will be multilpied by 2. 1.0.9 (02-17-2009) Add cvars l4d_ff_permban_x and l4d_ff_permban_y, X number of bans allowed within Y days until a player is permanently banned. If ban duration is set to 0, and l4d_ff_ban is set to 1 or 2, and l4d_ff_permban_y is greater than 0 Days, a player will recieve a warning instead of being banned. The player will be permanently banned once they reach l4d_ff_permban_x warnings/bans. 1.0.8 (02-15-2009) Fix bug in 1.0.7 causing missing name in chat when player is banned. 1.0.7 (02-14-2009) Add ability to ban by IP address instead of clientID, by entering negative l4d_ff_ban values. 1.0.6 (02-14-2009) Admins are immune if they have any of the following flags "abcdfz" Fix accidentally banning admins after rewriting the code in 1.0.4. Fix grenade damage can now be dealt to a player after reaching the Teammate FF limit, as long as the damage is above grendmg_min (where damage will not be counted as FF) and below grendmg_max. 1.0.5 (02-13-2009) Add l4d_ff_grendmg_min = -1 (infinite). 1.0.4 (02-13-2009) Fix bug when l4d_ff_grendmg_min = 0 (do not count as FF). 1.0.3 (02-13-2009) Add cvar l4d_ff_grendmg_min, Grenade or Fire damage above this value will still hurt, but will not count against the player's FF limit. Add cvar l4d_ff_grendmg_max_team, a player can deal this much Grenade or Fire damage to Team before the damage is prevented. Add cvar l4d_ff_grendmg_max_teammate, a player can deal this much Grenade or Fire damage to Teammate before the damage is prevented. Damage to incapacitated players will no longer count towards FF limit, and will deal the normal damage. 1.0.2 (02-12-2009) Add cvar l4d_ff_teammate, limit max FF that can be dealt to a teammate. Add cvar l4d_ff_ban, ban method. Add: player's steamid is now logged. Improved Coop detection of player left saferoom. Fix bug when a player that has gone over the limit could sometimes heal a teammate with FF damage. 1.0.1 (02-11-2009) Add support for SourceBans. 1.0.0 (02-11-2009) initial release. Credits: Original concept by r5053 Big Thanks to Testers: Number Six Requires: SM 1.2 |
Re: [L4D] Friendly-Fire Limit
Hi and thank for the pluggin .
"any other = Limit of friendly fire damage allowed per player." Question : For the map or just the started spawn in the saferoom ? Ps: yes , need a kick option if it's for the map ^^ . UPDATE : OK its for the map complete ^^ , good idea ! Bugs report : -With pills use , strange bug graphic appear on heal hud barrel (?) -If admin over the definite limit , all tk give heal survivor lol |
Re: [L4D] Friendly-Fire Limit
It is for the map. The plugin will block all FF in the saferoom, this does not count toward the limit.
For kick, use a small ban duration of 5 minutes or less. You should do this to prevent a player from using "retry" in console to grief again. 1.0.1 Add support for SourceBans. *SourceBans should work but is untested (I don't have it installed). |
Re: [L4D] Friendly-Fire Limit
Quote:
Ip adress on my banner . update : if admin over limit give heal survivor and give god mod :D , no possibly killing survivor , strange bug . Sincerely its a really good idea , but need massive fix bugs and debugging for a final install ;) |
Re: [L4D] Friendly-Fire Limit
My example settings for "Normal" difficulties,
Anti-Grief and Noob-Friendly Server : l4d_ff_limit "60" l4d_ff_teammate "35" l4d_ff_grendmg_min "-1" l4d_ff_grendmg_max_team "40" l4d_ff_grendmg_max_teammate "15" l4d_ff_ban "0" l4d_ff_banduration "0" l4d_ff_log "0" l4d_ff_notify "1" l4d_ff_announce "1" or banning while taking into consideration the fire damage, Ban 1 (Player must do atleast 40+ damage to team using weapons) : l4d_ff_limit "60" l4d_ff_teammate "30" l4d_ff_grendmg_min "20" l4d_ff_grendmg_max_team "40" l4d_ff_grendmg_max_teammate "15" l4d_ff_ban "1" l4d_ff_banduration "60" l4d_ff_log "1" l4d_ff_notify "1" l4d_ff_announce "1" Ban 2 (Player must do atleast 40+ damage to team or 30+ damage to teammate using weapons) : l4d_ff_limit "50" l4d_ff_teammate "40" l4d_ff_grendmg_min "10" l4d_ff_grendmg_max_team "40" l4d_ff_grendmg_max_teammate "15" l4d_ff_ban "2" l4d_ff_banduration "60" l4d_ff_log "1" l4d_ff_notify "1" l4d_ff_announce "1" Edit: moved this post to the front page. |
Re: [L4D] Friendly-Fire Limit
Quote:
And additionnal pressure on players et gameplay ^^ But please look for the bug if admin over the limit , give heal and god mod is not normal ^^ , but apparently working 100% for simple player . (tested with bots) My settings server are (3/4 time avanced versus) . l4d_ff_limit 80 l4d_ff_banduration 5 l4d_ff_notify 1 l4d_ff_log 0 l4d_ff_announce 1 If over 80 (me admin) , all new tk allow give heal and give god mod if re-tk several for the survivors . Immune admin work , no banning for my all tk lol :) , but not tested with simple player if auto banned . |
Re: [L4D] Friendly-Fire Limit
l4d_ff_announce 1 // 0 = Don't Announce, 1 = Announce Active/Inactive Status (limit = 0)
I dont see any announce active/inactive , i block TK only at the beginning. |
Re: [L4D] Friendly-Fire Limit
Quote:
Edit: looks like it's a two-part bug. Quote:
|
Re: [L4D] Friendly-Fire Limit
New version 1.0.2 is released. Config updated with new cvars.
- Add cvar l4d_ff_teammate, limit max FF that can be dealt to a teammate. - Add cvar l4d_ff_ban, ban method. - Add: player's steamid is now logged. - Improved Coop detection of player left saferoom. - Fix bug where cfg's would not update the limits properly. - Fix bug when a player that has gone over the limit could sometimes heal a teammate with FF damage. |
Re: [L4D] Friendly-Fire Limit
tested ,and work finaly fine 1.0.2 ;) .
gampleplay is good with , just a suggest , with the molotov or fire ! If a player firing all others , or 1 several , HP go up too more and the player banned fast , and its not specialy faulty or intentional Tk. Possibly add cvar 1/0 fire effect damage (?) Other suggest . Sourcemod inclued funny plugin , again with css for the Tk , punishement possibly for l4D ! :mrgreen: |
All times are GMT -4. The time now is 01:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.