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] Witch Damage - Block Insta-Kill (1.0) [16-Sep-2019]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Prevents the Witch from insta-killing survivors.
  • Damage values for incapped survivors and non-incapped are scaled to the game difficulty with the plugins scale cvar.
  • l4d_witch_damage_scale "25,50,75,100" - This means 25% of the cvars damage value on Easy difficulty, 100% on Expert.


Thanks:

Cvars:

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

PHP Code:

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

// Damage applied when survivor is not incapped. Scaled with scale cvar depending on the game difficulty.
l4d_witch_damage_damage "100"

// Damage applied when survivor is incapped. Scaled with scale cvar depending on the game difficulty.
l4d_witch_damage_incapped "30"

// Scales damage depending on game difficulty, each comma separated: 1st = Easy. 2nd = Normal. 3rd = Advanced. 4th = Expert.
l4d_witch_damage_scale "100,100,100,100"

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

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

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

// Witch Damage plugin version.
l4d_witch_damage_version 



Changes:
Code:

1.0 (16-Sep-2019)
    - Initial release.



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

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