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[L4D & L4D2] Damage Explodes Grenades (1.0) [29-Sep-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Thanks to "backwards" for the idea.
  • Allows grenades to explode when damaged or ignite into flames when caught on fire and then detonate.



CVars:

Saved to l4d_explode_grenades.cfg in your servers \left4dead\cfg\sourcemod\ folder.

PHP Code:

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

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

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

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

// 0=Off. 1=On. Should _spawn grenades (those which can have multiple grenades in 1 spawn) be allowed to ignite or explode.
l4d_explode_grenades_spawners "1"

// After how many seconds does an ignited grenade detonate.
l4d_explode_grenades_time "5.0"

// Which types of grenades can ignite and then detonate. 1=Molotovs, 2=PipeBombs, 4=Vomit Jars. 7=All. Add numbers together.
l4d_explode_grenades_type "7"

// Which types of grenades can take damage and detonate. 1=Molotovs, 2=PipeBombs, 4=Vomit Jars. 7=All. Add numbers together.
l4d_explode_grenades_types "7"

// Damage Explodes Grenades plugin version.
l4d_explode_grenades_version 



Changes:
Code:

1.0 (29-Sep-2021)
    - Initial release.
    - Requires Left4DHooks 1.58 or newer.



Requirements:
  1. Left 4 DHooks Direct.



Installation:
DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left4DHooks!
  1. Download the .smx file and put into your servers \addons\sourcemod\plugins folder.

Attached Files
File Type: smx l4d_explode_grenades.smx (10.3 KB)
File Type: sp Get Plugin or Get Source (l4d_explode_grenades.sp - 17.9 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ę...