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

[L4D2] Target Patch - Hunter and Tank (1.0) [13-Jan-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Restores L4D1 game behaviour so the Hunter and Tank can attack incapacitated and vomited players.
  • This overrides the ChooseVictim function, by setting the nearest survivor as target.
  • Does not account for line of sight which would need constant inefficient trace rays.
  • Trace rays could be fired every half a second or so. Only request if really needed.


Thanks for testing:
  • Sev - For the idea and request.
  • BlackSabbarh - Also for the request.
  • Lux - For fixing God Frames detour which this is similar to, and would not be possible without.


Cvars:

Saved to l4d2_target_patch.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:

// 0=Plugin off, 1=Plugin on.
l4d2_target_patch_allow "1"

// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d2_target_patch_modes ""

// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d2_target_patch_modes_off ""

// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d2_target_patch_modes_tog "0"

// Which Special Infected should override victims. 1=Hunters. 2=Tanks. 3=Both.
l4d2_target_patch_special "3"

// Target Patch plugin version.
l4d2_target_patch_version 



Changes:
Code:

1.0 (13-Jan-2020)
    - Initial release.



Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
  2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.

Attached Files
File Type: txt l4d2_target_patch.txt (997 Bytes)
File Type: sp Get Plugin or Get Source (l4d2_target_patch.sp - 8.7 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

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

×
×
  • Dodaj nową pozycję...