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] L4DNoSmoking (v1.0.0, 2019-07-20)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
This plugins prevents the smoker from smoking the last survivor.
It checks for the following status:
1 survivor running around
the other survivors dead, incapped, pounced, smoked, smoked from ledge, hanging from ledge or falling from ledge.

Tested on L4D1. Included conditions for L4D2 but untested.

Feature:
Use cfg to set the server to automatically slap the smoker to break his tongue or kill the smoker, when he tries to smoke the last survivor.

CVAR/Command list:
killorslap (default=1) 1 = kill smoker / 2 = slap smoker
displaykillmessage (default=3) 0 - Disabled; 1 - small HUD Hint; 2 - big HUD Hint ; 3 - Chat Notification

Changelog:
2019-07-15 (v1.0.0)
* Initial release.

Installation instructions:
Click 'Get Plugin' button, place SMX in the sourcemod plugins folder and you're done. Or compile it yourself.

Dependencies:
no idea about older versions of sourcemod, I compiled it with:
SourcePawn Compiler 1.10.0.6356
and
SourcePawn Compiler 1.10.0.6393

Plans:
none atm

Credits:
Based on code snippets from:
* [L4D, L4D2] No Death Check Until Dead (survivor/infected checks)
* https://forums.alliedmods.net/showthread.php?t=142432
* [L4D & L4D2] Survivor Bot Takeover v0.8 (check incap routine)
* https://forums.alliedmods.net/showthread.php?p=1192594
* And TeleportEntity suggestion by xZk to break tongue instead of using SlapPlayer

Attached Files
File Type: sp Get Plugin or Get Source (L4DNoSmoking.sp - 6.0 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ę...