- 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.
- gilmon - For the idea.
- Dont Fear The Reaper - Lots of help with the idea, suggestions and testing.
- disawar1 - Helped testing.
// 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_versionChanges: 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.
- 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.
- This plugin requires the SDKHooks extension.
- 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.
Wyświetl pełny artykuł