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] Fire Glow (1.0) [02-Jun-2012]


  • 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 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 02.06.2012 03:47

Dołączona grafika

About:
  • Creates a dynamic light where Molotovs, Gascans and Firework Crates burn.
  • The light flickers and fades in and out.
  • Maximum of 8 lights simultaneously. Recompile changing "define MAX_LIGHTS" value if you want more.
  • The games cvar inferno_flame_lifetime sets how long Molotovs, Gascans and Firework Crates burn for.
  • If you want to change, save sm_cvar inferno_flame_lifetime 15 to your servers cfgsserver.cfg.
  • 15 is the default value, but you can change. This plugin will adapt the light time.
Thanks:
  • irogue - For the request.
  • Dont Fear The Reaper - Testing and light fade idea.
  • bubbabyte - Found a major bug before release.
  • disawar1 - Helped testing.
Cvars:Saved to l4d_fire_glow.cfg in your servers cfgsourcemod folder. PHP Code:

// 0=Plugin off, 1=Plugin on.l4d_fire_glow_allow "1"// How far does the dynamic light illuminate the area.l4d_fire_glow_distance "250.0"// The light color for Firework Crate explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.l4d_fire_glow_fireworks "255 100 0"// The light color for Molotov and Gascan fires. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.l4d_fire_glow_inferno "255 25 0"// Fire Glow plugin version.l4d_fire_glow_version

Compiling:
  • Put the SDKHooks include into your addonssourcemodscriptinginclude folder.
  • Put the plugins .sp file into your scripting folder and compile the plugin.
Requirements:
  • This plugin requires the SDKHooks extension.
Installation:

DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires SDKHooks!

  • Download the .smx file and put into your servers addonssourcemodplugins folder.
  • This plugin was compiled with SDKHooks version 2.1.
Attached Files Dołączona grafika l4d_fire_glow.smx (6.2 KB) Dołączona grafika Get Plugin or Get Source (l4d_fire_glow.sp - 8.7 KB)

Wyświetl pełny artykuł




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

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