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

[L4D2] Pour Gas (1.0) [15-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 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 15.06.2012 06:11

Dołączona grafika

About:
  • Players can press/hold RELOAD or ZOOM keys to pour gascans onto the ground.
  • The oil left on the ground can be ignited by bullets, explosions and fires.
  • Number of pours can be limited, forcing the gascan to be dropped after pouring.
  • The dropped gascan will explode when damaged. See the l4d2_pourgas_limit_* cvars.
  • The oil starts to fade after 1 minute and takes 20 seconds to disappear.
  • Any unexploded gascans will be removed after 1min 20sec.
  • 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 uses the Molotov/Gascan inferno entity, causing the burn time to be decided by this cvar.
  • Game Bug: Fire particles disappear after 15 seconds regardless of the cvar inferno_flame_lifetime. Damage still occurs until the time ends.
Thanks:
  • Dont Fear The Reaper - Lots of help with the idea, suggestions and testing.
  • disawar1 - Helped testing, translation idea and Russian translation.
Cvars:Saved to l4d2_pourgas.cfg in your servers cfgsourcemod folder. PHP Code:

// 0=Plugin off, 1=Plugin on.l4d2_pourgas_allow "1"// Chain reaction time. When a puddle is hurt by fire, create it's own fire after this many seconds.l4d2_pourgas_chain "0.5"// How much a player is hurt in the fire. Happens multiple times per second.l4d2_pourgas_damage "0.1"// Display hint when picking up gascans? 0=Off, 1=Chat text, 2=Hint box, 3=Instructor hint (Prints to Chat if clients have instructor hints off), 4=Instructor hint (Hint Box).l4d2_pourgas_hint "2"// How many times to display hints, count is reset each map/chapter.l4d2_pourgas_hints "2"// 0=No, 1=Yes. Should players hold down the RELOAD|ZOOM key to pour?l4d2_pourgas_hold "0"// 0=Infinite. Drop the gascan after this number of pours.l4d2_pourgas_limit "4"// 0=Explosion Off. The dropped gascan explosion distance to hurt players.l4d2_pourgas_limit_dist "200"// 0=Explosion Off. When using the l4d2_pourgas_limit cvar, the dropped gascan will explode causing this much damage at the center.l4d2_pourgas_limit_hurt "50"// 0=Off, The range to stumble players from dropped gascan explosions.l4d2_pourgas_limit_stum "1"// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).l4d2_pourgas_modes ""// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = off).l4d2_pourgas_modes_off ""// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.l4d2_pourgas_modes_tog "0"// Prevent pouring for this many seconds after completing a pour.l4d2_pourgas_timeout "0.4"// pourgas plugin version.l4d2_pourgas_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:
  • Download the .zip and extract the files to their respective folders in your servers addonssourcemod folder.
  • This plugin was compiled with SDKHooks version 2.1.
Current Translations: English (en), German (de), Russian (ru). Attached Files Dołączona grafika l4d2_pourgas.zip (29.3 KB)

Wyświetl pełny artykuł




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

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