Skocz do zawartości

[RSS] [L4D & L4D2] Explosive Shots (v1.0) [28-Mar-2023]


GameNation

Rekomendowane odpowiedzi

About:
I made a much more limited plugin and only for Left 4 Dead 2. You can still find it here. A lot of people requested more features, like cover all snipers, prevent infected staggering, etc. Now I made this one to replace the old one and implement all the requested features and some more that I wanted.
Description:
  • Covers both Left 4 Dead and Left 4 Dead 2, but I have only tested it on Left 4 Dead 2.
  • Allows all weapons to cause explosive shots.
  • Miniguns included.
  • Each weapon can have its own settings.
  • Bullets can cause explosions with a chance of success.
  • Explosions can stagger special infected, tanks or witches with a chance of success.
  • Included natives to call to enable/disable explosive shots on specific players.

Natives:
PHP Code:

bool L4D_ExplosiveShots_Set(int clientint mode)
int L4D_ExplosiveShots_Get(int client

ConVars:
Spoiler
PHP Code:

// Name of the config file to load
l4d_expshots_configfile "data/l4d_explosiveshots.cfg"

// 0 = Plugin off. 1 = Plugin on.
l4d_expshots_enable "1"

// Enable the plugin in these gamemodes, separated by spaces. (Empty = all).
l4d_expshots_gamemodes "" 

Install:
  • Place l4d_explosiveshots.smx in your sourcemod/plugins folder.
  • Place l4d_explosiveshots.cfg in your sourcemod/data folder.
Changelog:
Spoiler
  • 1.0 (28-Mar-2023)
    - First release.

GitHub repository

Attached Files
File Type: zip explosive_shots.ZIP (21.1 KB)

Przeczytaj cały wpis na stronie AlliedModders

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.