Skip to content

Commit

Permalink
2021_12_17 updated
Browse files Browse the repository at this point in the history
 add l4d2_skill_detect
  • Loading branch information
fbef0102 committed Dec 16, 2021
1 parent 17f4dc8 commit 3605946
Show file tree
Hide file tree
Showing 4 changed files with 3,172 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# L4D2-Plugins by Harry Potter
L4D2 Competitive enhancement, bug/glitch fixes, general purpose and freaky-fun plugins.
>All plugins in here only apply to L4D2 (last edited:2021/12/16)
>All plugins in here only apply to L4D2 (last edited:2021/12/17)
# Appreciate my work, you can [PayPal Donate](https://paypal.me/Harry0215?locale.x=zh_TW) me.
If you want any modify or request, free to use or pay me money to do it.
# Require
Expand Down Expand Up @@ -39,6 +39,7 @@ If you want any modify or request, free to use or pay me money to do it.
* <b>l4d2_item_hint</b>: When using 'Look' in vocalize menu, print corresponding item to chat area.
* <b>l4d_flying_car</b>: Replaces getaway chopper by flying car in L4D2 C8 No Mercy
* <b>l4d2_ty_saveweapons</b>: L4D2 coop save weapon when map transition if more than 4 players
* <b>l4d2_skill_detect</b>: Detects and reports skeets, crowns, levels, highpounces, etc.
# Scripting Compiler
* [sourcemod 1.10 compiler](https://github.com/fbef0102/L4D2-Plugins/releases/download/v1.0/sourcemod_1.10_Compiler.zip): sourcemod v1.10.0.6502 scripting
# Others
Expand Down
Binary file added l4d2_skill_detect/plugins/l4d2_skill_detect.smx
Binary file not shown.
67 changes: 67 additions & 0 deletions l4d2_skill_detect/readme
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Detects and reports skeets, crowns, levels, highpounces, etc.

-Require-
1. Sm 1.10 or above
2. Left 4 DHooks Direct: https://forums.alliedmods.net/showthread.php?t=321696

-ChangeLog-
v1.1
-Without the need of ReadyUp and <left4framework>, but require left4dhooks.
-Delete high-pounce and tank-rock-skeet reports

v1.0
-Original code: https://github.com/L4D-Community/L4D2-Competitive-Framework/blob/main/addons/sourcemod/scripting/l4d2_skill_detect.sp

-Related-
1. Pounce Announce: Announces each successful pounce done by an infected hunter player to every player on the server.
https://forums.alliedmods.net/showthread.php?t=93605?t=93605

2. Tank Rock Destroyer Announce: Announces which player destroyed the rock thrown by the Tank
https://forums.alliedmods.net/showthread.php?t=315818

-Convars-
cfg\sourcemod\l4d2_skill_detect.cfg
// The minimal speed of the first jump of a bunnyhopstreak (0 to allow 'hops' from standstill).
sm_skill_bhopinitspeed "150"

// The minimal speed at which hops are considered succesful even if not speed increase is made.
sm_skill_bhopkeepspeed "300"

// The lowest bunnyhop streak that will be reported.
sm_skill_bhopstreak "3"

// How much height distance a charger must take its victim for a deathcharge to be reported.
sm_skill_deathcharge_height "400"

// How much damage a survivor must at least do in the final shot for it to count as a drawcrown.
sm_skill_drawcrown_damage "500"

// If set, any damage done that exceeds the health of a victim is hidden in reports.
sm_skill_hidefakedamage "0"

// Minimum height of hunter pounce for it to count as a DP.
sm_skill_hunterdp_height "400"

// A clear within this time (in seconds) counts as an insta-clear.
sm_skill_instaclear_time "0.75"

// How much height distance a jockey must make for his 'DP' to count as a reportable highpounce.
sm_skill_jockeydp_height "300"

// Whether to report in chat (see sm_skill_report_flags).
sm_skill_report_enable "1"

// How much damage a survivor must at least do to a smoker for him to count as self-clearing.
sm_skill_selfclear_damage "200"

// Whether to count/forward direct GL hits as skeets.
sm_skill_skeet_allowgl "1"

// Whether to count/forward melee skeets.
sm_skill_skeet_allowmelee "1"

// Whether to count/forward sniper/magnum headshots as skeets.
sm_skill_skeet_allowsniper "1"

-Commands-
None
Loading

0 comments on commit 3605946

Please sign in to comment.