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] Throwables Stay Ignited (1.0) [29-Jul-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Keeps ignited throwables on fire (Firework Crates, Gascans, Oxygen Tanks, Propane Tanks) when picked up and prevents them from randomly extinguishing.
  • Fixes the Oxygen Tank from not exploding when picked up after damage and the whistling sound is playing.
  • Can adjust burning duration of each throwable type.
  • Can prevent picking up ignited throwables.
  • This is slightly hackish especially for L4D1, but should work fine.



Thanks:
  • KoMiKoZa - The idea and request.
  • Lux - Ideas how to fix L4D1 issues.
  • Eärendil - Providing a server to test on.
  • Dragokas - Helped testing in L4D1.



CVars:

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

PHP Code:

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

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

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

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

// What to do with damaged Oxygen Tanks that are about to explode: 0=Prevent picking up. 1=Explode in players hands.
l4d_ignited_oxygen "1"

// How many seconds should Firework Crates stay ignited on fire before exploding.
l4d_ignited_time_fireworks "2.0"

// How many seconds should Gascans stay ignited on fire before exploding.
l4d_ignited_time_gascan "2.0"

// How many seconds should Oxygen Tanks stay ignited on fire before exploding.
l4d_ignited_time_oxygen "2.0"

// How many seconds should Propane Tanks stay ignited on fire before exploding.
l4d_ignited_time_propane "2.0"

// Which throwables can be picked up while ignited, otherwise they cannot. 0=All, 1=GasCan, 2=Oxygen Tank, 4=Propane Tank, 8=Firework Crate, 15=All. Add numbers together.
l4d_ignited_types "15"

// Throwables Stay Ignited plugin version.
l4d_ignited_version 



Changes:
Code:

1.0 (28-Jul-2021)
    - Initial release.



Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
  2. Highly recommend installing Physics Fix by "raziEiL [disawar1]" to fix non-explodable throwables.

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