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] F-18 Airstrike (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 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 15.06.2012 06:00

Dołączona grafika

About:
  • Creates an F/A-18 Hornet fly past and AGM-65 Maverick air-to-ground missile.
  • Explosions stumble and damage near by players/common. Cvars provided to set damage, distance and stumble.
  • see the Plugin Structure section below.
  • Addon plugins can be created to call the F-18 Airstrike, use the l4d2_airstrike.tank.sp as an example.
Thanks:
  • gilmon - For the idea.
  • Dont Fear The Reaper - Lots of help with the idea, suggestions and testing.
  • disawar1 - Helped testing.
CVars:Saved to l4d2_airstrike.cfg in your servers cfgsourcemod folder. PHP Code:

// 0=Plugin off, 1=Plugin on.l4d2_airstrike_allow "1"// Hurt players by this much at the center of the explosion. Damages falls off based on the maximum distance.l4d2_airstrike_damage "150"// The range at which the airstrike explosion can hurt players.l4d2_airstrike_distance "400"// =Off. The chance out of 100 to make a panic event when the bomb explodes.l4d2_airstrike_horde "5"// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).l4d2_airstrike_modes ""// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).l4d2_airstrike_modes_off ""// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.l4d2_airstrike_modes_tog "0"// 0=Off, Range at which players are stumbled from the explosion.l4d2_airstrike_stumble "300"// 1=Blue Fire, 2=Flames, 4=Sparks, 8=RPG Smoke, 15=All.l4d2_airstrike_style "15"// F-18 Airstrike plugin version.l4d2_airstrike_version

Changes: Code: 1.0 (15-Jun-2012) - Initial release.Plugins Structure:
  • l4d2_airstrike.core: (required)
  • Creates the F-18 and Airstrike.
  • Cvars to customise the effects and damage.
  • Provides the command sm_strike to open a menu for creating Airstrikes.
  • l4d2_airstrike.tank: (optional)
  • An exmaple plugin which uses the core plugin.
  • Creates an Airstrike where and when a tank spawns.
  • l4d2_airstrike.triggers: (optional)
  • Provides the command sm_strike_triggers to open a menu for saving/editing.
  • Lets you save up to 14 paired Target Zones and Trigger Boxes.
  • Trigger Boxes can be resized and set to trigger only once or multiple times.
  • Set if triggers are allowed to fire more than once and the time interval between refires.
  • Set how many airstrikes appear at once when a trigger is activated.
Compiling:
  • Put the SDKHooks include into your addonssourcemodscriptinginclude folder.
  • Put this plugins l4d2_airstrike.inc file into addonssourcemodscriptinginclude folder.
  • Put this 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.
  • Optional Plugins: Delete if you don't want: l4d2_airstrike.tank.smx or l4d2_airstrike.triggers.smx.
Attached Files Dołączona grafika l4d2_airstrike.zip (53.9 KB)

Wyświetl pełny artykuł




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

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