Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[L4D & L4D2] Explosive Flash (1.0) [07-Nov-2023]


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 504
  • Lokalizacja:AMXX.PL
Offline

Napisano 07.11.2023 16:16

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 cfgsourcemod 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: Installation:

DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left 4 DHooks Direct!

  • Download the .smx file and put into your servers addonssourcemodplugins folder.
Attached Files Dołączona grafika Get Plugin or Get Source (l4d_explosive_flash.sp - 14.3 KB) Dołączona grafika l4d_explosive_flash.smx (10.1 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych