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

RSS[L4D2] Infected Ability Touch Hook | 1.01 : April 2, 2021 |


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
Hooks infected abilities and allows plugin developers to do whatever they want such as preventing other SIs interrupt Chargers carrying their victims, stopping Hunters from stealing another SI's victim when vomited, etc. However, as useful as this plugin can be, said developers are still tasked to validate the ability's owner and the entity that it touches.

These are the infected abilities that get hooked by the plugin:
  • ability_tongue
  • ability_vomit
  • ability_selfdestruct (I think this is for the AI Boomers and Boomettes falling from high heights?)
  • ability_lunge
  • ability_spit
  • ability_leap
  • ability_throw

ConVars:
  • infected_ability_touch_hook_version
    → Version of the plugin


Forwards:

PHP Code:

forward Action OnAbilityTouch(const char[] abilityint abilityOwnerint entity); 


Installation:
? *.smx goes into the plugins folder
? *.sp goes into the scripting folder (only if you want to make changes to your liking)
? *.inc goes into the include folder (same as above)
? *.txt goes into the gamedata folder (optional since the plugin automatically makes one if missing)

Notes:
? L4D1 support is possible but I don't have the server binaries for it since I'm only focusing on L4D2 for the time being.

Attached Files
File Type: txt infected_ability_touch_hook.txt (380 Bytes)
File Type: inc infected_ability_touch_hook.inc (824 Bytes)
File Type: sp Get Plugin or Get Source (infected_ability_touch_hook.sp - 4.1 KB)
File Type: smx infected_ability_touch_hook.smx (5.4 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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