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] Special Infected Ignite Explosives (1.1) [04-June-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Thanks to "Lux" for the idea.
  • Allows Special Infected to melee/scratch explosives to ignite them.



CVars:

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

PHP Code:

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

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

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

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

// Allow special infected to scratch and explode: 1=GasCans, 2=Firework Crates, 4=Oxygen Tank, 8=Propane Tank, 15=All. Add numbers together.
l4d_special_explosives_explosives "15"

// 0=Any time. 1=Special Infected must be on fire to ignite explosives
l4d_special_explosives_fire "0"

// Allow these special infected to use: 0=All, 1=Smoker, 2=Boomer, 4=Hunter, 8=Spitter, 16=Jockey, 32=Charger, 64=Tank. Add numbers together.
l4d_special_explosives_types "0"

// Special Infected Ignite Explosives plugin version.
l4d_special_explosives_version 



Changes:
Code:

1.1 (04-Jun-2020)
    - Added cvar "l4d_special_explosives_fire" to control if Special Infected need to be on fire.
    - Added cvar "l4d_special_explosives_types" to control which Special Infected can ignite.
    - Fixed errors from non-networked entities spawning.
    - Fixed possibly including other models.

1.0 (04-Jun-2020)
    - 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_special_explosives.sp - 11.0 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

×
×
  • Dodaj nową pozycję...