Author
|
|
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
|
Plugin ID:
|
3013
|
Plugin Version:
|
1.12
|
Plugin Category:
|
Gameplay
|
Plugin Game:
|
Left 4 Dead
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Creates F-18 flybys which shoot missiles to where they were triggered from.
|
|
|
06-15-2012
, 01:00
[L4D2] F-18 Airstrike (1.12) [20-Dec-2023]
|
#1
|
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 Plugins Structure section below for more info.
- Video demonstration - Thanks to "sonic155" for recording.
- Additional plugins can be created to call the F-18 Airstrike, see l4d2_airstrike.dead_air.sp and l4d2_airstrike.tank.sp for examples.
Thanks:- gilmon - For the idea.
- Dont Fear The Reaper - Lots of help with the idea, suggestions and testing.
- disawar1 - Helped testing.
- Sev / DrDarkTempler - For the vocalize idea.
- worminater - Lots of help with version 1.2.
Admin Commands: (requires "z" flag)
PHP Code:
// Displays a menu with options to show/save an airstrike and triggers.
sm_strike
// Create an Airstrike. Usage: sm_strikes <#userid|name> <type: 1=Aim position. 2=On position> [optional number of airstrikes] -OR- vector position <X> <Y> <Z> <angle> [optional number of airstrikes]
sm_strikes
// Displays a menu with options to show/save an airstrike and triggers.
// Requires: "l4d2_airstrike.triggers" plugin module.
sm_strike_triggers
CVars:
Saved to l4d2_airstrike.cfg in your servers \cfg\sourcemod\ 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 "200"
// The range at which the airstrike explosion can hurt players.
l4d2_airstrike_distance "500"
// =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"
// Maximum number of simultaneous airstrikes. Max: 8. Change MAX_ENTITIES and recompile plugin for more.
l4d2_airstrike_limit "8"
// How many airstrikes appear when manually triggering by menu or command.
l4d2_airstrike_manual "1"
// Display a red ring where the target will hit: 0=Off. 1=Airstrike on Crosshair (cmd/menu). 2=Airstrike on Position (cmd/menu). 4=Airstrikes not from cmd/menu. Add numbers together.
l4d2_airstrike_ring "3"
// 0=Off. Percentage of damage to survivors. Can be 50% or 200% etc.
l4d2_airstrike_scale "50"
// The range at which the explosion can shake players screens.
l4d2_airstrike_shake "1000"
// The maximum distance to vary the missile target zone.
l4d2_airstrike_spread "100"
// 0=Off, Range at which players are stumbled from the explosion.
l4d2_airstrike_stumble "400"
// 1=Blue Fire, 2=Flames, 4=Sparks, 8=RPG Smoke, 15=All.
l4d2_airstrike_style "15"
// The time delay interval between multiple airstrikes.
l4d2_airstrike_time "0.2"
// 0=Off. The chance out of 100 to vocalize the player nearest the explosion.
l4d2_airstrike_vocalize "20"
// F-18 Airstrike plugin version.
l4d2_airstrike_version
Changes:l4d2_airstrike.core:
l4d2_airstrike.dead_air
l4d2_airstrike.no_mercy
l4d2_airstrike.tank:
l4d2_airstrike.triggers
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.
- Provides the command sm_strikes to create Airstrikes by command.
- l4d2_airstrike.dead_air: (optional)
- Causes the barricade to ignite on Dead Air - Garage level (c11m3) when hit by the Airstrike.
- l4d2_airstrike.no_mercy: (optional)
- Causes the gas station to ignite on No Mercy - Sewers (c8m3) level when hit by the Airstrike.
- l4d2_airstrike.tank: (optional)
- An example plugin which uses the core plugin.
- Creates an Airstrike when and where 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.
- Triggers are saved to l4d2_airstrike.cfg in your servers \addons\sourcemod\data\ folder.
Compiling:- Put this plugins l4d2_airstrike.inc file into \addons\sourcemod\scripting\include\ folder.
- Put this plugins .sp file into your scripting folder and compile the plugin.
Updating from 1.4.1 or older:- All Airstrike plugins must be replaced with the new updated version.
Updating from 1.10 or older:- New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
Installation:- Download the .zip and extract the files to their respective folders in your servers \addons\sourcemod\ folder.
- Optional Plugins: Delete if you don't want: l4d2_airstrike.dead_air.smx or l4d2_airstrike.no_mercy.smx or l4d2_airstrike.triggers.smx.
__________________
Last edited by Silvers; 12-19-2023 at 23:59.
|
|
|
|