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] Explosive Flash (1.0) [07-Nov-2023]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Creates a flash of light when various explosives detonate.
  • Customize the color and brightness of the flashes.
  • Customize which explosives can create a flash.


Thanks:
  • Iizuka07 - For the request.


Cvars:

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

PHP Code:

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

// The flash color for Explosive Barrels explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_barrel "255 35 0"

// The flash color for Grenade Launcher explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_grenade "255 50 0"

// The flash color Oxygen Tank explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_oxygen "255 50 0"

// The flash color Pipe Bomb explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_pipe "255 50 0"

// The flash color Propane Tank explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_propane "255 50 0"

// How far does the Explosive Barrels flash illuminate the area.
l4d_explosive_flash_dist_barrel "500.0"

// How far does the Grenade Launcher flash illuminate the area.
l4d_explosive_flash_dist_grenade "500.0"

// How far does the Oxygen Tank flash illuminate the area.
l4d_explosive_flash_dist_oxygen "500.0"

// How far does the Pipe Bomb flash illuminate the area.
l4d_explosive_flash_dist_pipe "500.0"

// How far does the Propane Tank flash illuminate the area.
l4d_explosive_flash_dist_propane "500.0"

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

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

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

// Duration of the flash for all types.
l4d_explosive_flash_speed "0.4"

// Which types to allow: 1=Explosive Barrel. 2=Propane Tank. 4=Oxygen Tank. 8=PipeBomb. 16=Grenade Launcher (L4D2) 31=All.
l4d_explosive_flash_types "31"

// Explosive Flash plugin version
l4d_explosive_flash_version 



Changes:
Code:

1.0 (07-Nov-2023)
    - Initial release.



Requirements:
  1. Left 4 DHooks Direct plugin version 1.139 or newer.



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

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