Raised This Month: $7 Target: $400
 1% 

[L4D2] F-18 Airstrike (1.12) [20-Dec-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
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:
    80 
    Plugin Description:
    Creates F-18 flybys which shoot missiles to where they were triggered from.
    Old 06-15-2012 , 01:00   [L4D2] F-18 Airstrike (1.12) [20-Dec-2023]
    Reply With Quote #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:
    Spoiler


    l4d2_airstrike.dead_air
    Spoiler


    l4d2_airstrike.no_mercy
    Spoiler


    l4d2_airstrike.tank:
    Spoiler


    l4d2_airstrike.triggers
    Spoiler



    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:
    1. Put this plugins l4d2_airstrike.inc file into \addons\sourcemod\scripting\include\ folder.
    2. 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.
    Attached Files
    File Type: zip l4d2_airstrike.zip (76.8 KB, 276 views)
    __________________

    Last edited by Silvers; 12-19-2023 at 23:59.
    Silvers is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-15-2012 , 01:37   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #2

    Reserved.
    __________________
    Silvers is offline
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 06-15-2012 , 03:19   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #3

    Holy sh*t. I thought this was never possible because the jet models are small and located on the skybox. Awesome plugin once again Silvers!

    edit: Wait,does it just spawn an explosion or also spawn both the jet model and explosion? Currently can't view pictures...

    Last edited by SyluxLockjaw100; 06-15-2012 at 03:22.
    SyluxLockjaw100 is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 06-15-2012 , 03:37   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #4

    Both the jet model , explosion , rocket model , particles and sound
    __________________

    Last edited by alexip121093; 06-15-2012 at 03:38.
    alexip121093 is offline
    Send a message via MSN to alexip121093
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 06-15-2012 , 04:35   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #5

    Quote:
    Originally Posted by alexip121093 View Post
    Both the jet model , explosion , rocket model , particles and sound
    Awesome! Thanks.
    SyluxLockjaw100 is offline
    Elektramode
    Senior Member
    Join Date: Mar 2010
    Old 06-15-2012 , 07:52   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #6

    Were you inspired a bit by Panxiohai jet plugin? xD. Either way great work.
    Elektramode is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-15-2012 , 08:14   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #7

    Quote:
    Originally Posted by Elektramode View Post
    Were you inspired a bit by Panxiohai jet plugin? xD. Either way great work.
    No, I don't use the jet plugin. Someone gave me the idea for Airstrikes like in The Parish.
    __________________
    Silvers is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 06-15-2012 , 13:07   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #8

    Gonna have to fool around with these new batch of plugins you've released.

    I noticed the L4D1 survivors do not acknowledge the Plane Crash from Dead Air. Do the L4D2 survivors not acknowledge the Jets from the Parish as well?
    Sev is offline
    DrDarkTempler
    Member
    Join Date: Apr 2012
    Old 06-17-2012 , 16:10   Re: [L4D2] F-18 Airstrike (1.0) [15-Jun-2012]
    Reply With Quote #9

    Quote:
    Originally Posted by Sev View Post
    Gonna have to fool around with these new batch of plugins you've released.

    I noticed the L4D1 survivors do not acknowledge the Plane Crash from Dead Air. Do the L4D2 survivors not acknowledge the Jets from the Parish as well?
    The Plane Crash Plugin? The Fake Plane will not trigger survivor to make the "HOLY SHIZZLE" vocal, only the real plane crash do, i think will be gones for the same as the jets missle...


    Btw Silver, Good job on this plugin, been waiting for ages for this...

    1 suggestion tho, can you able to make a screen shaking when striking close by? it'll be cool i think
    DrDarkTempler is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-19-2012 , 23:23   Re: [L4D2] F-18 Airstrike (1.1) [20-Jun-2012]
    Reply With Quote #10

    Thanks sev/DrDarkTempler. The vocalize stuff has been added for this plugin.

    Only L4D2 characters have something to say about the Airstrikes.


    Changes to l4d2_aristrike.core:
    1.1 (20-Jun-2012)
    - Added a hard limit of 8 AirStrikes at one time, in an attempt to prevent some players from crashing.
    - Added cvar "l4d2_airstrike_shake" to set the range at which the explosion can shake players screens.
    - Added cvar "l4d2_airstrike_vocalize" to set the chance to vocalize the player nearest the explosion.
    - Changed some default cvar values.
    - Small fixes.

    Changes to l4d2_aristrike.triggers:
    1.1-tr (20-Jun-2012)
    - Prevents setting the Refire Time and Count values lower than 0.
    __________________

    Last edited by Silvers; 06-19-2012 at 23:24.
    Silvers is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:35.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode