Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[L4D/L4D2] IMPROVED Brutal Hunter Pounce


owner_2019
 Udostępnij

Rekomendowane odpowiedzi

Okay, I'm going to take a break after this so I can further test all my other modified plugins posted if any bugs show up so I can squash them again. Same but different title, yes? Well, this one has the same but different description too.

You all know what this plugin does already so I'm only going to talk about the modifications I added. This idea came to me when I saw my servers' logs and golly, they're flooded with brutal hunter pounce logs. Most of them came from only 3 players since they always play on my versus server.

Example:
Code:

04/01/16 08:50 PM - [SM] Detecting BIG MoMma's Pounce Distance From Given Origin.
  04/01/16 08:50 PM - [SM] Pounce Distance Exceeds 1750, Force Suiciding Player (croWBar)..
  04/01/16 08:51 PM - [SM] Updating Stats..
  04/01/16 08:51 PM - [SM] BIG MoMma Brutally Pounced croWBar From Deadly Distance. [2438 Units]
  04/01/16 08:51 PM - [SM] BIG MoMma Has Earned 10 Points For Incapacitating croWBar!
  04/01/16 08:51 PM - [SM] BIG MoMma Has Earned 20 Points For Killing croWBar!
  04/01/16 08:51 PM - [SM] BIG MoMma Has Earned 85 Points For Doing 1700 Damage To Survivors!
  04/01/16 08:51 PM - [SM] BIG MoMma Has Earned 12 Points From Pain From Above Pounce On croWBar!
  04/01/16 08:57 PM - [SM] Detecting KilerBrian's Pounce Distance From Given Origin.
  04/01/16 08:57 PM - [SM] Pounce Distance Exceeds 1750, Force Suiciding Player (shellaine)..
  04/01/16 08:57 PM - [SM] Updating Stats..
  04/01/16 08:57 PM - [SM] KilerBrian Brutally Pounced shellaine From Deadly Distance. [1859 Units]
  04/01/16 08:57 PM - [SM] croWBar Has Taken Over Bot ((1)Zoey).
  04/01/16 08:58 PM - [SM] KilerBrian Has Earned 10 Points For Incapacitating shellaine!
  04/01/16 08:58 PM - [SM] KilerBrian Has Earned 20 Points For Killing shellaine!
  04/01/16 08:58 PM - [SM] KilerBrian Has Earned 85 Points For Doing 1700 Damage To Survivors!
  04/01/16 08:58 PM - [SM] KilerBrian Has Earned 12 Points From Pain From Above Pounce On shellaine!
  04/01/16 09:00 PM - [SM] shellaine Has Taken Over Bot ((1)Nick).
  04/01/16 09:15 PM - [SM] Detecting GoDDamN's Pounce Distance From Given Origin.
  04/01/16 09:15 PM - [SM] Pounce Distance Exceeds 1750, Force Suiciding Player (Holy Grace)..
  04/01/16 09:16 PM - [SM] Updating Stats..
  04/01/16 09:16 PM - [SM] GoDDamN Brutally Pounced Holy Grace From Deadly Distance. [2010 Units]
  04/01/16 09:16 PM - [SM] GoDDamN Has Earned 10 Points For Incapacitating Holy Grace!
  04/01/16 09:16 PM - [SM] GoDDamN Has Earned 20 Points For Killing Holy Grace!
  04/01/16 09:16 PM - [SM] Holy Grace Has Taken Over Bot (Francis).
  04/01/16 09:16 PM - [SM] GoDDamN Has Earned 85 Points For Doing 1700 Damage To Survivors!
  04/01/16 09:17 PM - [SM] GoDDamN Has Earned 12 Points From Pain From Above Pounce On Holy Grace!
  04/01/16 09:20 PM - [SM] shellaine has left the server.
  04/01/16 09:20 PM - [SM] [-] shellaine. [Disconnect By User!]

And the logs just go on and on. Now, that players have reported to me about adding delays. I cleaned and cleared custom player stats, removing all stats, temporary disabling my server then modifying this plugin, re-enabled my server. And my logs are now unflooded and have about 4-8 brutal hunter pounce logs everyday. I didn't care about their complains so I just told them it's for players' sakes, goddamn it!

CVars:
  • "brutal_hunter_pounce_fatal_distance" "1750" - Distance calculated to be considered as brutal pounce.
  • "brutal_hunter_pounce_bonusdmg_incapped" "0" - Enable/Disable Bonus damage to incapacitated survivors if hunter is burning
  • "brutal_hunter_pounce_bonusdmg_hard" "5" - Damage applied to normal hp
  • "brutal_hunter_pounce_bonusdmg_temphp" "2.5" - Damage applied to temporary hp

Anyways, I added a timer delay which is about 60 seconds every time a player brutal pounces someone and notifies them if delay has elapsed, much like to my Improved Charger Jump plugin.

Quote:

Changelog: 04-09-16
- First release.
- Again, another bug-free plugin!
Installation:
  1. Download .smx file and put in plugins folder.
  2. Download .sp file and put in scripting folder.
  3. Restart server and you're done!

Attached Files
File Type: sp Get Plugin or Get Source (brutal_hunter_pounce.sp - 9.0 KB)
File Type: smx brutal_hunter_pounce.smx (9.3 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

  • 2 lata później...

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...